I'll provide 5 distinct intents for each symbol to better cover the full functionality and use cases.
- I want to solve time-based constraints using the clock-zones library
- I want to create colorful terminal output for debugging and visualization
- I want to parse complex constraint expressions with regex patterns
- I want to serialize my entities and constraints to JSON or other formats
- I want to deserialize saved schedules back into my application
- I want to express time constraints in a specialized language
- I want to generate feasible schedules that satisfy all my constraints
- I want to understand how the library modules interact with each other
- I want to see the supported constraint syntax for my scheduling needs
- I want to model real-world scheduling problems with time dependencies
- I want to access all essential types from a single import
- I want to see which modules are available in the library
- I want to use the library without understanding its internal organization
- I want to integrate this library into my own scheduling application
- I want to extend the library while maintaining access to its core features
- I want to see a complete example of how to use the library
- I want to understand the workflow from data input to schedule output
- I want to copy-paste a working example to start my own project
- I want to see what constraints work together in a feasible schedule
- I want to understand the expected input and output formats
- I want to create a schedulable item with specific properties
- I want to define an item with a name, category, and frequency
- I want to associate multiple constraints with a single entity
- I want to track optional properties like amount, split, and notes
- I want to differentiate between entities of different categories
- I want to construct an entity from raw string data
- I want to parse frequency strings into appropriate enum values
- I want to convert constraint strings into constraint expressions
- I want to handle optional fields that might be null
- I want to validate that my entity definition is well-formed
- I want to specify that an entity occurs once daily
- I want to specify that an entity occurs twice daily
- I want to specify that an entity occurs three times daily
- I want to specify that an entity occurs every X hours
- I want to specify custom occurrence times for an entity
- I want to parse "daily" into a Frequency::Daily enum
- I want to parse "2x daily" into a Frequency::TwiceDaily enum
- I want to parse "every 4 hours" into a Frequency::EveryXHours enum
- I want to handle various ways to express the same frequency
- I want to get error messages for unrecognized frequency formats
- I want to calculate how many daily occurrences an entity has
- I want to know how many clock variables to allocate for an entity
- I want to convert "every X hours" into a concrete number of instances
- I want to handle custom frequency specifications
- I want to support scheduling algorithms that need instance counts
- I want to work with minute-based time values
- I want to work with hour-based time values
- I want to compare different time units for equality
- I want to serialize and deserialize time units
- I want to represent different granularities of time
- I want to parse "m" into TimeUnit::Minute
- I want to parse "h" into TimeUnit::Hour
- I want to handle variations like "min", "minute", "minutes"
- I want to handle variations like "hr", "hour", "hours"
- I want to get clear error messages for unknown time units
- I want to convert hours to minutes for internal calculations
- I want to keep minute values unchanged
- I want to normalize all time values to a single unit
- I want to prepare values for clock zone constraints
- I want to handle potentially large time values correctly
- I want to specify that something must happen before something else
- I want to specify that something must happen after something else
- I want to specify that things must be separated by a minimum time
- I want to specify minimum separation between instances of the same entity
- I want to select different constraint behaviors in my constraint expressions
- I want to define a complete constraint with time, unit, type, and reference
- I want to represent constraints like "≥30m before food"
- I want to represent constraints like "≥2h after medication"
- I want to represent constraints like "≥1h apart from category"
- I want to represent constraints like "≥8h apart" for multiple instances
- I want to reference a specific entity by name
- I want to reference all entities in a category
- I want to create a constraint between instances of the same entity
- I want to handle references that need to be resolved later
- I want to distinguish between external and internal references
- I want to parse a string like "≥1h before food" into a constraint
- I want to parse a string like "≥30m after medication"
- I want to parse a string like "≥2h apart from category"
- I want to parse a string like "≥6h apart" for recurring instances
- I want to get detailed error messages for malformed constraints
- I want to convert a table of strings into Entity objects
- I want to parse optional fields that might contain "null"
- I want to extract constraint expressions from JSON-like array strings
- I want to handle different data types in my table (strings, numbers)
- I want to get specific error messages for format problems
- I want to associate a clock variable with an entity name
- I want to track which instance number a clock represents
- I want to maintain a link between variables and their meaning
- I want to find entity information from a variable reference
- I want to organize multiple clocks for the same entity
- I want to compile a set of entities and constraints into a schedule
- I want to organize entities by name and category
- I want to maintain a mapping between clock IDs and variables
- I want to track the current state of the constraint zone
- I want to debug the compilation process when needed
- I want to initialize a compiler with my list of entities
- I want to automatically group entities by category
- I want to calculate the total clock variables needed
- I want to create an unconstrained initial zone
- I want to enable debug mode for troubleshooting
- I want to execute the complete compilation process
- I want to allocate clocks for all entity instances
- I want to apply daily bounds to limit schedule times
- I want to apply frequency and entity-specific constraints
- I want to check if my constraint set is feasible
- I want to create a unique clock variable for each entity instance
- I want to assign incrementing variable indices to clocks
- I want to track which entity and instance each clock represents
- I want to see debug information about created clocks
- I want to maintain a mapping of clock IDs to their information
- I want to restrict all events to happen within a 24-hour period
- I want to set lower bounds of 0 minutes for all clocks
- I want to set upper bounds of 1440 minutes for all clocks
- I want to see debug information about the bounds being set
- I want to ensure all events happen on the same day
- I want to enforce proper ordering of entity instances
- I want to apply minimum spacing between instances
- I want to group clocks by their entity names
- I want to handle entities with only one instance
- I want to see debug information about frequency constraints
- I want to handle "apart" constraints between instances
- I want to handle "before" constraints between entities
- I want to handle "after" constraints between entities
- I want to handle "apart from" constraints between entities
- I want to collect constraint operations for safe application
- I want to handle "or" expressions in entity references
- I want to find clock variables for an entity by name
- I want to find clock variables for all entities in a category
- I want to combine multiple reference resolutions
- I want to get appropriate errors for unresolvable references
- I want to generate concrete times from a feasible constraint zone
- I want to handle the case when the zone is empty
- I want to calculate a time within the feasible range for each clock
- I want to create a mapping of clock IDs to specific minutes
- I want to extract a schedule that satisfies all constraints
- I want to convert a raw schedule into a human-readable format
- I want to sort events chronologically
- I want to group events by entity
- I want to see time in HH:MM format
- I want to include entity details like amount and unit in the output
- I want to identify which constraints make my schedule infeasible
- I want to test basic daily bounds for feasibility
- I want to test ordering constraints for feasibility
- I want to test spacing constraints for feasibility
- I want to identify problematic entity-specific constraints
- I want to test if adding a constraint would make the schedule infeasible
- I want to add constraints only if they preserve feasibility
- I want to see debug information about constraint additions
- I want to see which constraints cannot be added
- I want to ensure my schedule remains feasible as constraints are added
- I want to run the scheduling example
- I want to see a success message if scheduling works
- I want to see an error message if scheduling fails
- I want to handle the result of the example function
- I want to execute the library functionality from a binary