REPOSITORY CODING · MEDIUM
Evaluate output capacity after simultaneous consumption and production
Evaluate output capacity after simultaneous consumption and production. Full-place self loops may fire. The complete application includes native models, services, repository projections, a working preview and visible acceptance cases. Preserve the other documented invariants and run bash test/run.sh.
state-spacePetri net reachability laboratory
Work through a real codebase.
Choose an environment, investigate the existing implementation and use the tests to check your change. Sign in to open a workspace; execution and Ono usage follow your plan’s allowances.
Task requirements and environments
Ruby on Rails · 55 minute session
- Accept weighted consume arcs at exact token equality. Test all inputs before firing.
- Evaluate output capacity after simultaneous consumption and production. Full-place self loops may fire.
- Read arcs test availability without consuming tokens. Preserve markings in every trace and graph edge.
- Identify markings by ordered place coordinates and explore the inclusive depth boundary. Distinct permutations never collapse.
- Report true deadlocks even at the cutoff and reject unknown arc places. A frontier cutoff is not a deadlock.
- At most eight places, twelve transitions, capacities twenty, depth five and 120 reachable markings. Transition IDs order BFS edges; disabled trace attempts leave state unchanged.