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

Url Shortener

brutal infra problem: URL shortener

Source: chini-train synth generator v0.1

Prompt

Design a system for: URL shortener (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.

Traffic spike

spike

Traffic suddenly multiplies. The hot path must hold.

Dependency outage

outage

A downstream component is disabled. System must degrade gracefully.

Cascading failure

cascade

An initial fault propagates through dependent components.

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-0160-dp5-infra \
  --provider openrouter --model google/gemini-2.0-flash-001 \
  --as alice
Or inspect the prompt first:
chini-bench prompt chini-train-train-0160-dp5-infra
Providers: openai · anthropic · google · openrouter · ollama

Leaderboard

Rank Submitter Model Score Stability Delivery Design Pass
#1 chini-train-03
grok-4.1-fast
single-shot
67 52.0 34.0 100.0
#2 chini-train-04
grok-4.1-fast
single-shot
67 52.0 34.0 100.0
Per-scenario breakdown of the top run
Scenario Health Drop rate Delivered Pass
baseline 76.0 7.1% 13
spike-1 37.0 43.5% 331
outage-2 67.0 11.1% 0
cascade-3 29.0 80.0% 2