Scenario engineering

Markov chain Monte Carlo over two spaces: the agent's chains of thought (learned from attempts) and each environment's parameters. Use it to estimate difficulty before running agents, sample variants at the learning frontier, turn failure folds into stress scenarios, and find gaps and redundancy in the scenario set.

Difficulty: predicted before running vs observed

predicted (80% interval)observedscale 0–100%

Prediction = forward Monte Carlo over the chain model learned from related attempts (same scenario, family, tags, domain), restricted to this scenario's tools and step budget, shifted by the params' hardness hints and updated with attempts on nearby variants. If the rings sit far outside the bands, the model is miscalibrated for that scenario.

ScenarioPredictedObservedRelated data
Arkher: Two companies with one name (reworded) held-out36% (14–58)0% n=339 chainsPredicted 36%, 80% interval 14%–58%Observed 0% of 3 attempts
Arkher: Signed or not (reworded) held-out81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Revenue trend (reworded) held-out62% (39–86)50% n=239 chainsPredicted 62%, 80% interval 39%–86%Observed 50% of 2 attempts
Arkher: Pricing and unit economics (reworded) held-out68% (47–89)67% n=339 chainsPredicted 68%, 80% interval 47%–89%Observed 67% of 3 attempts
Arkher: A productive back-and-forth: the follow-up builds on the first answer train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Write it as persuasive prose when asked train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Two companies with one name: keep Kestrel Robotics out train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Signed or not: pending and verbal awards are not signed train68% (47–89)67% n=339 chainsPredicted 68%, 80% interval 47%–89%Observed 67% of 3 attempts
Arkher: A private fact, answered on Cohere train85% (68–100)100% n=339 chainsPredicted 85%, 80% interval 68%–100%Observed 100% of 3 attempts
Arkher: Projections from the newest deck, not the June plan train62% (39–86)50% n=239 chainsPredicted 62%, 80% interval 39%–86%Observed 50% of 2 attempts
Arkher: "yes" accepts the offer Arkher just made train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Planned hires, then re-ordered to the user's priorities train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Revenue trend: the annualized growth as well as the summer dip train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Arkher: Draft the investor email itself, not a prompt train44% (23–66)25% n=439 chainsPredicted 44%, 80% interval 23%–66%Observed 25% of 4 attempts
Arkher: Pricing and unit economics from the newest deck, no questions back train52% (29–75)33% n=339 chainsPredicted 52%, 80% interval 29%–75%Observed 33% of 3 attempts
Arkher: Moat for a VC, against three named competitors train81% (62–100)100% n=239 chainsPredicted 81%, 80% interval 62%–100%Observed 100% of 2 attempts
Free disk on api-11 filled by an access log held-out48% (19–77)— n=04 chainsPredicted 48%, 80% interval 19%–77%
Write a launch email for a B2B feature train46% (22–70)50% n=22 chainsPredicted 46%, 80% interval 22%–70%Observed 50% of 2 attempts
Triage a disk-full alert on a web host train49% (28–71)50% n=44 chainsPredicted 49%, 80% interval 28%–71%Observed 50% of 4 attempts
Reconcile monthly revenue between Stripe and the warehouse held-out46% (17–75)— n=04 chainsPredicted 46%, 80% interval 17%–75%
Fix the failing date-parsing test train53% (34–71)57% n=77 chainsPredicted 53%, 80% interval 34%–71%Observed 57% of 7 attempts
EngineeringArkher: Two companies with one name: keep Kestrel Robotics outnot runnable: add an environment spec to vary it

Variant sampler · Metropolis–Hastings over environment params

Energy = ((p̂ − target)/σ)²/2 + crowding near existing variants − exploration bonus for uncertain settings. Samples ∝ exp(−E/T); the lowest-energy, well-separated points become proposals.

Pick a runnable scenario whose environment declares params.

Failure folds · MCMC over chains of thought

The chain sampler explores whole reasoning chains for this scenario's family; folds are ranked by how much more often they appear in failing chains than in passing ones. Novel folds were found by the sampler but never taken by a real attempt. Turn one into a draft stress scenario.

2 attempts · 3600 sampled chains (1364 failing) · acceptance 32% · natural fail share 1% · β = -4.67 (balances terminals; doesn't bias P(chain | outcome))

FoldLiftIn failingIn passingReal attempts
start → observe novel1.2×
9%
7%0
start → think novel1.0×
8%
8%0
think → think novel1.0×
6%
5%0

Coverage & diversity of the scenario set

Each scenario's attempts give a distribution over folds. Similarity = 1 − Jensen–Shannon divergence; near-identical pairs exercise the same behavior. Gaps are folds the pooled-chain sampler finds plausible but no scenario has exercised.

ScenarioFolds coveredUnused tools
Arkher: Two companies with one name (reworded) n=3
3/32
finish_episode
Arkher: Signed or not (reworded) n=2
3/32
finish_episode
Arkher: Revenue trend (reworded) n=2
3/32
finish_episode
Arkher: Pricing and unit economics (reworded) n=3
3/32
finish_episode
Arkher: A productive back-and-forth: the follow-up builds on the first answer n=2
4/32
finish_episode
Arkher: Write it as persuasive prose when asked n=2
3/32
finish_episode
Arkher: Two companies with one name: keep Kestrel Robotics out n=2
3/32
finish_episode
Arkher: Signed or not: pending and verbal awards are not signed n=3
3/32
finish_episode
Arkher: A private fact, answered on Cohere n=3
3/32
finish_episode
Arkher: Projections from the newest deck, not the June plan n=2
3/32
finish_episode
Arkher: "yes" accepts the offer Arkher just made n=2
5/32
finish_episode
Arkher: Planned hires, then re-ordered to the user's priorities n=2
4/32
finish_episode
Arkher: Revenue trend: the annualized growth as well as the summer dip n=2
3/32
finish_episode
Arkher: Draft the investor email itself, not a prompt n=4
3/32
finish_episode
Arkher: Pricing and unit economics from the newest deck, no questions back n=3
3/32
finish_episode
Arkher: Moat for a VC, against three named competitors n=2
3/32
finish_episode
Free disk on api-11 filled by an access log n=0
0/32
no attempts
Write a launch email for a B2B feature n=2
7/32
—
Triage a disk-full alert on a web host n=4
10/32
disk_usage, list_large_files, delete_file, truncate_file, service_status, restart_service, set_log_level
Reconcile monthly revenue between Stripe and the warehouse n=0
0/32
no attempts
Fix the failing date-parsing test n=7
15/32
—

Possibly redundant (similarity ≥ 85%, ≥ 3 attempts each)

  • Arkher: Two companies with one name (reworded) ↔ Arkher: Pricing and unit economics (reworded) 100%
  • Arkher: Two companies with one name (reworded) ↔ Arkher: Signed or not: pending and verbal awards are not signed 100%
  • Arkher: Two companies with one name (reworded) ↔ Arkher: Draft the investor email itself, not a prompt 100%
  • Arkher: Two companies with one name (reworded) ↔ Arkher: Pricing and unit economics from the newest deck, no questions back 100%
  • Arkher: Pricing and unit economics (reworded) ↔ Arkher: Signed or not: pending and verbal awards are not signed 100%
  • Arkher: Pricing and unit economics (reworded) ↔ Arkher: Draft the investor email itself, not a prompt 100%
  • Arkher: Pricing and unit economics (reworded) ↔ Arkher: Pricing and unit economics from the newest deck, no questions back 100%
  • Arkher: Signed or not: pending and verbal awards are not signed ↔ Arkher: Draft the investor email itself, not a prompt 100%
  • Arkher: Signed or not: pending and verbal awards are not signed ↔ Arkher: Pricing and unit economics from the newest deck, no questions back 100%
  • Arkher: Draft the investor email itself, not a prompt ↔ Arkher: Pricing and unit economics from the newest deck, no questions back 100%
  • Arkher: Two companies with one name (reworded) ↔ Arkher: A private fact, answered on Cohere 99%
  • Arkher: Pricing and unit economics (reworded) ↔ Arkher: A private fact, answered on Cohere 99%
  • Arkher: Signed or not: pending and verbal awards are not signed ↔ Arkher: A private fact, answered on Cohere 99%
  • Arkher: A private fact, answered on Cohere ↔ Arkher: Draft the investor email itself, not a prompt 99%
  • Arkher: A private fact, answered on Cohere ↔ Arkher: Pricing and unit economics from the newest deck, no questions back 99%

Gaps: plausible folds no scenario exercises

None found.