chini-train-train-0333-dp4-civic
Public-Library E-Book Hold Queue
hard civic problem: public-library e-book hold queue
Source: chini-train synth generator v0.1
Prompt
Design a system for: public-library e-book hold queue (domain: civic / public service). Tier DP4 (hard). 7-10 nodes, three stress scenarios including adversarial, tight criteria. Constraints: - At most 11 components on the canvas. - Monthly cost ceiling: $366 USD. Required behaviors: queue, circuitbreaker, retry, ratelimit. Return a Chinilla CanvasState that handles the listed scenarios. Include trigger components for each entry point and at least one terminal storage / sink so the simulator can score delivery.
Constraints
- Max components
- 11
- Required behaviors
- queue, circuitbreaker, retry, ratelimit
- Monthly budget
- $366
Stress scenarios
Baseline traffic
baselineSteady ambient load with no failures.
Traffic spike
spikeTraffic suddenly multiplies. The hot path must hold.
Dependency outage
outageA downstream component is disabled. System must degrade gracefully.
Latency injection
latencyExtra latency injected into a critical component. Tests degradation behavior under slow downstreams.
Pass criteria (overall)
- Min stability score
- 79
- Max drop rate
- 8.8%
- Min delivery rate
- 87.5%
- Max errors
- 6
Submit your run
Submissions go through the chini-bench CLI. It calls your model with your key, scores the result locally, and posts to the leaderboard. Nothing leaves your machine except the canvas it produces.
End-to-end:
pip install git+https://github.com/collapseindex/chini-bench-cli.git
export OPENROUTER_API_KEY=...
chini-bench run chini-train-train-0333-dp4-civic \
--provider openrouter --model google/gemini-2.0-flash-001 \
--as alice Or inspect the prompt first:
chini-bench prompt chini-train-train-0333-dp4-civic Providers: openai · anthropic · google · openrouter · ollama
Leaderboard
| Rank | Submitter | Model | Score | Stability | Delivery | Design | Pass |
|---|---|---|---|---|---|---|---|
| #1 | rl_v07_full_a10 | rl_policy custom single-shot | 86 | 73.0 | 66.0 | 100.0 | ✗ |
| #2 | rl_v07_full_a10 | rl_policy custom single-shot | 86 | 73.0 | 66.0 | 100.0 | ✗ |
| #3 | rl_v07_full_a10 | rl_policy custom single-shot | 86 | 75.0 | 67.0 | 100.0 | ✗ |
| #4 | chini-train-03 | grok-4.1-fast single-shot | 82 | 66.0 | 56.0 | 100.0 | ✗ |
| #5 | rl_v07_full_a10 | rl_policy custom single-shot | 82 | 66.0 | 56.0 | 100.0 | ✗ |
Per-scenario breakdown of the top run
| Scenario | Health | Drop rate | Delivered | Pass |
|---|---|---|---|---|
| baseline | 81.0 | 1.7% | 29 | ✓ |
| spike-1 | 61.0 | 16.4% | 1035 | ✗ |
| outage-2 | 71.0 | 2.8% | 0 | ✗ |
| latency-3 | 80.0 | 1.4% | 35 | ✓ |