Launch special: 50% off Pro monthly with code LAUNCH50 Upgrade now
Skip to main content
← All problems
chini-train-train-0170-dp5-infra

Session-Store With Cache Stampede Risk

brutal infra problem: session-store with cache stampede risk

Source: chini-train synth generator v0.1

Prompt

Design a system for: session-store with cache stampede risk (domain: SWE backend / infra).

Tier DP5 (brutal). 9-12 nodes, four scenarios with high intensity, brutal criteria. Failing examples.

Constraints:
- At most 12 components on the canvas.
- Monthly cost ceiling: $332 USD. Required behaviors: storage, queue, circuitbreaker, retry.

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
12
Required behaviors
storage, queue, circuitbreaker, retry
Monthly budget
$332

Stress scenarios

Baseline traffic

baseline

Steady ambient load with no failures.

Adversarial burst

adversarial

Hostile packets injected on top of clean traffic. Defenses must block them without dropping good requests.

Dependency outage

outage

A downstream component is disabled. System must degrade gracefully.

Traffic spike

spike

Traffic suddenly multiplies. The hot path must hold.

Pass criteria (overall)

Min stability score
78
Max drop rate
7.3%
Min delivery rate
88.0%
Max errors
5

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-0170-dp5-infra \
  --provider openrouter --model google/gemini-2.0-flash-001 \
  --as alice
Or inspect the prompt first:
chini-bench prompt chini-train-train-0170-dp5-infra
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
87 70.0 90.0 100.0
#2 chini-train-03
grok-4.1-fast
single-shot
77 67.0 68.0 85.0
#3 rl_v07_full_a10
rl_policy
custom single-shot
75 66.0 79.0 75.0
#4 rl_v07_full_a10
rl_policy
custom single-shot
68 53.0 39.0 100.0
Per-scenario breakdown of the top run
Scenario Health Drop rate Delivered Pass
baseline 82.0 1.7% 29
adversarial-1 56.0 73.5% 124
outage-2 83.0 1.4% 35
spike-3 59.0 19.4% 1133