Corrupted · Hard AgenticProblem of the week
Both Crews Sign
Two crews are painting the same carnival float from different clipboards. Your three corrections belong on both. Someone has already pencilled in a new colour for the lamp.
Publish two matching manifests that preserve every pencil change and all three corrections.
The score is the fraction of performances that finish with both correct signed copies.
manifest.csv lists fields in wire order, their starting values, the brief and both crews’ permitted pencil colours. desk.txt describes the calls and observation tokens.key,base,brief,crew,pencil_options flag,red,blue,, rail,red,plum,, wheel,red,amber,, lamp,cream,,A,cobalt rope,cream,,B,ochre bell,jade,,,
book show read crew → version|value/value/... in manifest.csv order stage crew, version, value/value/..., token → STAGED or UNKNOWN commit tokenA, tokenB → COMMITTED, STALE or UNKNOWN status token → STAGED or MISSING status tokenA,tokenB → COMMITTED, STALE or MISSING
Submit one JSON object with book, start and nodes. Each node has a do action, optional args array, and optional next. A next string names the next node. A next object maps returned observations to node names. The * entry can catch other observations. An illegal action, missing branch, or exhausted budget ends that episode without success. The same graph runs afresh on each episode. Trimite un obiect JSON cu book, start și nodes. Fiecare nod conține acțiunea do și, opțional, lista args și câmpul next. Un next de tip șir numește nodul următor. Un obiect next asociază observațiile cu noduri. Cheia * poate prelua celelalte observații. O acțiune ilegală, o ramură lipsă sau epuizarea bugetului încheie episodul fără succes. Graful repornește de la început în fiecare episod.
{
"book": "show",
"start": "desk",
"nodes": {
"desk": {"do":"read","args":["A"]}
}
}{
"book": "show",
"start": "readA",
"nodes": {
"readA": {"do":"read","args":["A"],"next":{"v1|red/red/red/cobalt/cream/jade":"readB1"}},
"readB1": {"do":"read","args":["B"],"next":{"v1|red/red/red/cream/ochre/jade":"a1_1"}},
"a1_1": {"do":"stage","args":["A","v1","blue/plum/amber/cobalt/ochre/jade","blue1_1"],"next":{"STAGED":"b1_1","UNKNOWN":"statusa1_1"}},
"statusa1_1": {"do":"status","args":["blue1_1"],"next":{"STAGED":"b1_1"}},
"b1_1": {"do":"stage","args":["B","v1","blue/plum/amber/cobalt/ochre/jade","amber1_1"],"next":{"STAGED":"c1_1","UNKNOWN":"statusb1_1"}},
"statusb1_1": {"do":"status","args":["amber1_1"],"next":{"STAGED":"c1_1"}},
"c1_1": {"do":"commit","args":["blue1_1","amber1_1"],"next":{"UNKNOWN":"check1_1","STALE":"readA"}},
"check1_1": {"do":"status","args":["blue1_1","amber1_1"]}
}
}Sign in to play. It is free.
Sign in