Generated scenarios and difficulty¶
A fixed set of scenarios can be learnt. An agent can pass every published scenario and still fail a slight variation of one: it was tuned to the tests, or it relies on cues the tests happen to share. Forge answers that with generated scenarios: new scenarios made from the shipped ones, labelled by the same graders.
Mutators¶
A mutator changes a scenario in one way the graders can judge: a homoglyph in a vendor name, an invoice split under the approval limit, a payment call that times out after it took effect, a passport that expired last week. There are mutators for every domain, in seven families; the catalogue lists them all. Each declares how the result is labelled:
- recompute: the graders see the change and label the result;
- preserve: the change cannot alter the correct outcome;
- override: the mutator states the new expectation.
A candidate the graders cannot label cleanly (an injection that could be read either way, an outcome that does not follow from the records) is redrawn, never written. No language model writes or labels a scenario.
The difficulty dial¶
The difficulty dial has five levels. Each sets how many mutators stack, their intensity, the heaviest mutator allowed and whether families mix:
| Level | Label | Mutators | Intensity | Heaviest mutator | Families mix |
|---|---|---|---|---|---|
| 1 | mild | 1 | 0.2-0.4 | weight 1 | no |
| 2 | moderate | 1-2 | 0.3-0.6 | weight 2 | no |
| 3 | compound | 2-3 | 0.4-0.7 | weight 2 | yes |
| 4 | hard | 3-4 | 0.6-0.9 | weight 3 | yes |
| 5 | adversarial | 4-5 | 0.8-1.0 | weight 3 | yes |
A mild scenario is a familiar task with one light change: an amount just under the limit,
a clock moved out of business hours. An adversarial one stacks several, from different
families: an amount split into instalments under the limit, an injection escalated over
several emails, and a payment call that times out after it went through. Every generated scenario
records the level drawn and the difficulty it reached: the sum, over its mutators, of
weight times intensity. The dial is data, in credencestack/forge/difficulty.yaml.
Where the levels are used¶
credencestack generate --difficulty 1-5writes scenarios at the levels you ask for.credencestack testruns generated scenarios after the fixed ones: levels 1, 3 and 5 inquickmode, every level instandardandthorough. The assessment shows the pass rate per level, so you see where the agent stops coping.- The brittleness benchmark reports the drop from fixed to generated scenarios, level by level.
Provenance¶
A generated scenario's generated block records its seed scenario, every mutator and its
intensity, the level, the difficulty, the generator version, the master seed and its
index. The same seed reproduces it exactly; credencestack generate --validate checks that
and re-labels every scenario.
See generating scenarios with Forge, the brittleness benchmark, and how this relates to current AI research.