Publish benchmark task data
Browse filesFiles changed (5)
- README.md+2-2
- croissant.json+9-5
- data/PROVENANCE.md+2-2
- data/tasks.jsonl+40-40
- scripts/gen-tasks.mjs+92-40
75 unmodified lines7677787980798081828375 unmodified lines- URL: https://github.com/pooriaarab/benchmark-tool-errors/blob/main/scripts/gen-tasks.mjs- Licence: `MIT`- Retrieved: 2026-10-15T00:00:00.000Z- How to get it: Run `node scripts/gen-tasks.mjs --seed 20261015 --split public` from the repository root. Run with `--split hidden` to create the untracked hidden split.- Contamination notes: The 40 public tasks use seed 20261015 and are visible in the npm package. Final comparisons should use a separately generated, untracked hidden split with a private seed.- How to get it: Run `node scripts/gen-tasks.mjs --seed 20261015 --split public` from the repository root. Run `node scripts/gen-tasks.mjs --split hidden --seed <private> [--out <path>]` (or set BTER_HIDDEN_SEED) to create the untracked hidden split.- Contamination notes: The 40 public tasks use seed 20261015 and are visible in the npm package. Final comparisons should use the separately generated, untracked hidden split; its ids, prompts, fault order, and expected answers differ from the public set.- Refresh: Regenerate and review public fixtures for each minor release; rotate the private hidden seed for every evaluation campaign.
16 unmodified lines17181920212022232425262742 unmodified lines70717269737475769 unmodified lines86878885899091921 unmodified line949596939798991001 unmodified line10210310410110510610710816 unmodified lines "@type": "@vocab" }, "dct": "http://purl.org/dc/terms/", "equivalentProperty": "cr:equivalentProperty", "examples": { "examples": "cr:examples", "@id": "cr:examples", "@type": "@json" }, "extract": "cr:extract", "field": "cr:field", "fileProperty": "cr:fileProperty",42 unmodified lines }, "datePublished": "2026-10-15", "dateModified": "2026-10-15", "version": "0.1.0", "version": "0.2.0", "inLanguage": "en", "keywords": [ "benchmark-tool-errors",9 unmodified lines "name": "data/PROVENANCE.md", "contentUrl": "https://huggingface.co/datasets/pooria/benchmark-tool-errors/resolve/main/data/PROVENANCE.md", "encodingFormat": "text/markdown", "sha256": "b28fd32e592c3afb8d117af467f60b24a43bdf3aa083ec06f59c64d4baf3084e" "sha256": "8351d2bebdb1bbdddb949f9d9e8c2f2b885b79794e9ccef6f337daf3af31e426" }, { "@type": "cr:FileObject",1 unmodified line "name": "data/tasks.jsonl", "contentUrl": "https://huggingface.co/datasets/pooria/benchmark-tool-errors/resolve/main/data/tasks.jsonl", "encodingFormat": "application/jsonlines", "sha256": "130617c11814584fb645f1fe569502bc1d5d11518c5e8c0f38942dd6382915ea" "sha256": "9bbf9a8fca8cfa19df4470fa44d835b847eaddb1d1e9648708a8690f06eae34d" }, { "@type": "cr:FileObject",1 unmodified line "name": "scripts/gen-tasks.mjs", "contentUrl": "https://huggingface.co/datasets/pooria/benchmark-tool-errors/resolve/main/scripts/gen-tasks.mjs", "encodingFormat": "text/javascript", "sha256": "8cf70a9176d898106a8378343b2cc36f810dae78ce38ae856ff7c3424334d257" "sha256": "86d2484b6bbaba412a9b494a15f3965883af5e750cc7d4730357d1be1cfb36f7" }, { "@type": "cr:FileObject",7 unmodified lines891011121112137 unmodified lines- URL: https://github.com/pooriaarab/benchmark-tool-errors/blob/main/scripts/gen-tasks.mjs- Licence: `MIT`- Retrieved: 2026-10-15T00:00:00.000Z- How to get it: Run `node scripts/gen-tasks.mjs --seed 20261015 --split public` from the repository root. Run with `--split hidden` to create the untracked hidden split.- Contamination notes: The 40 public tasks use seed 20261015 and are visible in the npm package. Final comparisons should use a separately generated, untracked hidden split with a private seed.- How to get it: Run `node scripts/gen-tasks.mjs --seed 20261015 --split public` from the repository root. Run `node scripts/gen-tasks.mjs --split hidden --seed <private> [--out <path>]` (or set BTER_HIDDEN_SEED) to create the untracked hidden split.- Contamination notes: The 40 public tasks use seed 20261015 and are visible in the npm package. Final comparisons should use the separately generated, untracked hidden split; its ids, prompts, fault order, and expected answers differ from the public set.- Refresh: Regenerate and review public fixtures for each minor release; rotate the private hidden seed for every evaluation campaign.1234567891011121314151617181920212223242526272829303132333435363738394012345678910111213141516171819202122232425262728293031323334353637383940{"id":"tool-error-001","kind":"episode","prompt":"Create one $409 invoice for Harbor Books. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-1"},"metadata":{"domain":"invoicing","fault":"rate_limit","operationKey":"INV-1015-1","value":409,"retryAfter":7,"taskSeed":1084288352,"split":"public"}}{"id":"tool-error-002","kind":"episode","prompt":"Create one $802 invoice for Juniper Works. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-2"},"metadata":{"domain":"invoicing","fault":"one_time_500","operationKey":"INV-1015-2","value":802,"retryAfter":0,"taskSeed":46981080,"split":"public"}}{"id":"tool-error-003","kind":"episode","prompt":"Create one $297 invoice for Lumen Repair. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-3"},"metadata":{"domain":"invoicing","fault":"timeout_committed","operationKey":"INV-1015-3","value":297,"retryAfter":0,"taskSeed":1924116073,"split":"public"}}{"id":"tool-error-004","kind":"episode","prompt":"Create one $644 invoice for Juniper Works. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-4"},"metadata":{"domain":"invoicing","fault":"schema_drift","operationKey":"INV-1015-4","value":644,"retryAfter":0,"taskSeed":2132382735,"split":"public"}}{"id":"tool-error-005","kind":"episode","prompt":"Create one $601 invoice for Lumen Repair. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-5"},"metadata":{"domain":"invoicing","fault":"partial_success","operationKey":"INV-1015-5","value":601,"retryAfter":0,"taskSeed":46871772,"split":"public"}}{"id":"tool-error-006","kind":"episode","prompt":"Create one $387 invoice for Juniper Works. Do not create duplicates. Report whether it was created.","expected":{"outcome":"failed","key":"INV-1015-6"},"metadata":{"domain":"invoicing","fault":"permanent_failure","operationKey":"INV-1015-6","value":387,"retryAfter":0,"taskSeed":1091754185,"split":"public"}}{"id":"tool-error-007","kind":"episode","prompt":"Create one $104 invoice for Juniper Works. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-7"},"metadata":{"domain":"invoicing","fault":"rate_limit","operationKey":"INV-1015-7","value":104,"retryAfter":9,"taskSeed":1117839589,"split":"public"}}{"id":"tool-error-008","kind":"episode","prompt":"Create one $214 invoice for Northwind Studio. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-8"},"metadata":{"domain":"invoicing","fault":"one_time_500","operationKey":"INV-1015-8","value":214,"retryAfter":0,"taskSeed":402943171,"split":"public"}}{"id":"tool-error-009","kind":"episode","prompt":"Create one $803 invoice for Harbor Books. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-9"},"metadata":{"domain":"invoicing","fault":"timeout_committed","operationKey":"INV-1015-9","value":803,"retryAfter":0,"taskSeed":1451901369,"split":"public"}}{"id":"tool-error-010","kind":"episode","prompt":"Create one $124 invoice for Northwind Studio. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-1015-10"},"metadata":{"domain":"invoicing","fault":"schema_drift","operationKey":"INV-1015-10","value":124,"retryAfter":0,"taskSeed":1906805427,"split":"public"}}{"id":"tool-error-011","kind":"episode","prompt":"Send one deployment notice to team@harbor.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-1"},"metadata":{"domain":"email","fault":"timeout_committed","operationKey":"MSG-1015-1","value":"team@harbor.test","retryAfter":0,"taskSeed":1242335438,"split":"public"}}{"id":"tool-error-012","kind":"episode","prompt":"Send one deployment notice to hello@juniper.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-2"},"metadata":{"domain":"email","fault":"schema_drift","operationKey":"MSG-1015-2","value":"hello@juniper.test","retryAfter":0,"taskSeed":1509229059,"split":"public"}}{"id":"tool-error-013","kind":"episode","prompt":"Send one deployment notice to hello@juniper.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-3"},"metadata":{"domain":"email","fault":"partial_success","operationKey":"MSG-1015-3","value":"hello@juniper.test","retryAfter":0,"taskSeed":220619029,"split":"public"}}{"id":"tool-error-014","kind":"episode","prompt":"Send one deployment notice to billing@lumen.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"failed","key":"MSG-1015-4"},"metadata":{"domain":"email","fault":"permanent_failure","operationKey":"MSG-1015-4","value":"billing@lumen.test","retryAfter":0,"taskSeed":44948042,"split":"public"}}{"id":"tool-error-015","kind":"episode","prompt":"Send one deployment notice to billing@lumen.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-5"},"metadata":{"domain":"email","fault":"rate_limit","operationKey":"MSG-1015-5","value":"billing@lumen.test","retryAfter":8,"taskSeed":393916401,"split":"public"}}{"id":"tool-error-016","kind":"episode","prompt":"Send one deployment notice to team@harbor.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-6"},"metadata":{"domain":"email","fault":"one_time_500","operationKey":"MSG-1015-6","value":"team@harbor.test","retryAfter":0,"taskSeed":1327179204,"split":"public"}}{"id":"tool-error-017","kind":"episode","prompt":"Send one deployment notice to hello@juniper.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-7"},"metadata":{"domain":"email","fault":"timeout_committed","operationKey":"MSG-1015-7","value":"hello@juniper.test","retryAfter":0,"taskSeed":1283291841,"split":"public"}}{"id":"tool-error-018","kind":"episode","prompt":"Send one deployment notice to billing@lumen.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-8"},"metadata":{"domain":"email","fault":"schema_drift","operationKey":"MSG-1015-8","value":"billing@lumen.test","retryAfter":0,"taskSeed":551822319,"split":"public"}}{"id":"tool-error-019","kind":"episode","prompt":"Send one deployment notice to ops@cedar.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-1015-9"},"metadata":{"domain":"email","fault":"partial_success","operationKey":"MSG-1015-9","value":"ops@cedar.test","retryAfter":0,"taskSeed":2071494443,"split":"public"}}{"id":"tool-error-020","kind":"episode","prompt":"Send one deployment notice to ops@cedar.test. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"failed","key":"MSG-1015-10"},"metadata":{"domain":"email","fault":"permanent_failure","operationKey":"MSG-1015-10","value":"ops@cedar.test","retryAfter":0,"taskSeed":918528432,"split":"public"}}{"id":"tool-error-021","kind":"episode","prompt":"Schedule one release review at 11:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-1"},"metadata":{"domain":"calendar","fault":"partial_success","operationKey":"EVT-1015-1","value":"release review at 11:00 UTC","retryAfter":0,"taskSeed":1800947104,"split":"public"}}{"id":"tool-error-022","kind":"episode","prompt":"Schedule one accessibility review at 11:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"failed","key":"EVT-1015-2"},"metadata":{"domain":"calendar","fault":"permanent_failure","operationKey":"EVT-1015-2","value":"accessibility review at 11:00 UTC","retryAfter":0,"taskSeed":697620485,"split":"public"}}{"id":"tool-error-023","kind":"episode","prompt":"Schedule one accessibility review at 14:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-3"},"metadata":{"domain":"calendar","fault":"rate_limit","operationKey":"EVT-1015-3","value":"accessibility review at 14:00 UTC","retryAfter":5,"taskSeed":1806356585,"split":"public"}}{"id":"tool-error-024","kind":"episode","prompt":"Schedule one budget check-in at 14:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-4"},"metadata":{"domain":"calendar","fault":"one_time_500","operationKey":"EVT-1015-4","value":"budget check-in at 14:00 UTC","retryAfter":0,"taskSeed":2144901818,"split":"public"}}{"id":"tool-error-025","kind":"episode","prompt":"Schedule one budget check-in at 11:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-5"},"metadata":{"domain":"calendar","fault":"timeout_committed","operationKey":"EVT-1015-5","value":"budget check-in at 11:00 UTC","retryAfter":0,"taskSeed":695556562,"split":"public"}}{"id":"tool-error-026","kind":"episode","prompt":"Schedule one accessibility review at 9:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-6"},"metadata":{"domain":"calendar","fault":"schema_drift","operationKey":"EVT-1015-6","value":"accessibility review at 9:00 UTC","retryAfter":0,"taskSeed":997955655,"split":"public"}}{"id":"tool-error-027","kind":"episode","prompt":"Schedule one release review at 15:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-7"},"metadata":{"domain":"calendar","fault":"partial_success","operationKey":"EVT-1015-7","value":"release review at 15:00 UTC","retryAfter":0,"taskSeed":1640941106,"split":"public"}}{"id":"tool-error-028","kind":"episode","prompt":"Schedule one release review at 13:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"failed","key":"EVT-1015-8"},"metadata":{"domain":"calendar","fault":"permanent_failure","operationKey":"EVT-1015-8","value":"release review at 13:00 UTC","retryAfter":0,"taskSeed":572766512,"split":"public"}}{"id":"tool-error-029","kind":"episode","prompt":"Schedule one incident review at 14:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-9"},"metadata":{"domain":"calendar","fault":"rate_limit","operationKey":"EVT-1015-9","value":"incident review at 14:00 UTC","retryAfter":3,"taskSeed":694671258,"split":"public"}}{"id":"tool-error-030","kind":"episode","prompt":"Schedule one incident review at 9:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-1015-10"},"metadata":{"domain":"calendar","fault":"one_time_500","operationKey":"EVT-1015-10","value":"incident review at 9:00 UTC","retryAfter":0,"taskSeed":1287316732,"split":"public"}}{"id":"tool-error-031","kind":"episode","prompt":"Add 7 units to LUMEN-LAMP exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-1"},"metadata":{"domain":"inventory","fault":"rate_limit","operationKey":"ADJ-1015-1","value":"LUMEN-LAMP +7","retryAfter":8,"taskSeed":402723823,"split":"public"}}{"id":"tool-error-032","kind":"episode","prompt":"Add 15 units to CEDAR-MUG exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-2"},"metadata":{"domain":"inventory","fault":"one_time_500","operationKey":"ADJ-1015-2","value":"CEDAR-MUG +15","retryAfter":0,"taskSeed":1481272845,"split":"public"}}{"id":"tool-error-033","kind":"episode","prompt":"Add 18 units to LUMEN-LAMP exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-3"},"metadata":{"domain":"inventory","fault":"timeout_committed","operationKey":"ADJ-1015-3","value":"LUMEN-LAMP +18","retryAfter":0,"taskSeed":2067001075,"split":"public"}}{"id":"tool-error-034","kind":"episode","prompt":"Add 4 units to CEDAR-MUG exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-4"},"metadata":{"domain":"inventory","fault":"schema_drift","operationKey":"ADJ-1015-4","value":"CEDAR-MUG +4","retryAfter":0,"taskSeed":2040051436,"split":"public"}}{"id":"tool-error-035","kind":"episode","prompt":"Add 2 units to JUNIPER-BAG exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-5"},"metadata":{"domain":"inventory","fault":"partial_success","operationKey":"ADJ-1015-5","value":"JUNIPER-BAG +2","retryAfter":0,"taskSeed":923157666,"split":"public"}}{"id":"tool-error-036","kind":"episode","prompt":"Add 6 units to HARBOR-PEN exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"failed","key":"ADJ-1015-6"},"metadata":{"domain":"inventory","fault":"permanent_failure","operationKey":"ADJ-1015-6","value":"HARBOR-PEN +6","retryAfter":0,"taskSeed":1035323521,"split":"public"}}{"id":"tool-error-037","kind":"episode","prompt":"Add 15 units to JUNIPER-BAG exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-7"},"metadata":{"domain":"inventory","fault":"rate_limit","operationKey":"ADJ-1015-7","value":"JUNIPER-BAG +15","retryAfter":4,"taskSeed":454986124,"split":"public"}}{"id":"tool-error-038","kind":"episode","prompt":"Add 2 units to CEDAR-MUG exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-8"},"metadata":{"domain":"inventory","fault":"one_time_500","operationKey":"ADJ-1015-8","value":"CEDAR-MUG +2","retryAfter":0,"taskSeed":256397602,"split":"public"}}{"id":"tool-error-039","kind":"episode","prompt":"Add 18 units to LUMEN-LAMP exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-9"},"metadata":{"domain":"inventory","fault":"timeout_committed","operationKey":"ADJ-1015-9","value":"LUMEN-LAMP +18","retryAfter":0,"taskSeed":567746130,"split":"public"}}{"id":"tool-error-040","kind":"episode","prompt":"Add 17 units to HARBOR-PEN exactly once. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-1015-10"},"metadata":{"domain":"inventory","fault":"schema_drift","operationKey":"ADJ-1015-10","value":"HARBOR-PEN +17","retryAfter":0,"taskSeed":1229197203,"split":"public"}}{"id":"tool-error-001","kind":"episode","prompt":"Create one $80 invoice for Lumen Repair with reference INV-61015-1. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-61015-1"},"metadata":{"domain":"invoicing","fault":"schema_drift","operationKey":"INV-61015-1","value":80,"payloadField":"charge","staleField":"bill","retryAfter":0,"taskSeed":1171696878,"split":"public"}}{"id":"tool-error-002","kind":"episode","prompt":"Issue a single invoice of $87 to Lumen Repair tagged INV-61015-2. Never bill twice. Report the outcome.","expected":{"outcome":"succeeded","key":"INV-61015-2"},"metadata":{"domain":"invoicing","fault":"timeout_committed","operationKey":"INV-61015-2","value":87,"payloadField":"amount","staleField":"amount","retryAfter":0,"taskSeed":857804931,"split":"public"}}{"id":"tool-error-003","kind":"episode","prompt":"Issue a single invoice of $264 to Juniper Works tagged INV-61015-3. Never bill twice. Report the outcome.","expected":{"outcome":"succeeded","key":"INV-61015-3"},"metadata":{"domain":"invoicing","fault":"schema_drift","operationKey":"INV-61015-3","value":264,"payloadField":"amount","staleField":"value","retryAfter":0,"taskSeed":942967812,"split":"public"}}{"id":"tool-error-004","kind":"episode","prompt":"Issue a single invoice of $110 to Juniper Works tagged INV-61015-4. Never bill twice. Report the outcome.","expected":{"outcome":"succeeded","key":"INV-61015-4"},"metadata":{"domain":"invoicing","fault":"schema_drift","operationKey":"INV-61015-4","value":110,"payloadField":"amount","staleField":"charge","retryAfter":0,"taskSeed":211213902,"split":"public"}}{"id":"tool-error-005","kind":"episode","prompt":"Issue a single invoice of $603 to Moss Market tagged INV-61015-5. Never bill twice. Report the outcome.","expected":{"outcome":"succeeded","key":"INV-61015-5"},"metadata":{"domain":"invoicing","fault":"partial_success","operationKey":"INV-61015-5","value":603,"payloadField":"amount","staleField":"amount","retryAfter":0,"taskSeed":637109122,"split":"public"}}{"id":"tool-error-006","kind":"episode","prompt":"Create one $156 invoice for Lumen Repair with reference INV-61015-6. Do not create duplicates. Report whether it was created.","expected":{"outcome":"failed","key":"INV-61015-6"},"metadata":{"domain":"invoicing","fault":"permanent_failure","operationKey":"INV-61015-6","value":156,"payloadField":"charge","staleField":"charge","retryAfter":0,"taskSeed":1244444853,"split":"public"}}{"id":"tool-error-007","kind":"episode","prompt":"Issue a single invoice of $653 to Juniper Works tagged INV-61015-7. Never bill twice. Report the outcome.","expected":{"outcome":"succeeded","key":"INV-61015-7"},"metadata":{"domain":"invoicing","fault":"one_time_500","operationKey":"INV-61015-7","value":653,"payloadField":"payload","staleField":"payload","retryAfter":0,"taskSeed":1851393998,"split":"public"}}{"id":"tool-error-008","kind":"episode","prompt":"Create one $906 invoice for Cobalt Pantry with reference INV-61015-8. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-61015-8"},"metadata":{"domain":"invoicing","fault":"rate_limit","operationKey":"INV-61015-8","value":906,"payloadField":"charge","staleField":"charge","retryAfter":4,"taskSeed":473704712,"split":"public"}}{"id":"tool-error-009","kind":"episode","prompt":"Create one $106 invoice for Moss Market with reference INV-61015-9. Do not create duplicates. Report whether it was created.","expected":{"outcome":"succeeded","key":"INV-61015-9"},"metadata":{"domain":"invoicing","fault":"timeout_committed","operationKey":"INV-61015-9","value":106,"payloadField":"payload","staleField":"payload","retryAfter":0,"taskSeed":1614221713,"split":"public"}}{"id":"tool-error-010","kind":"episode","prompt":"Issue a single invoice of $350 to Quill and Pine tagged INV-61015-10. Never bill twice. Report the outcome.","expected":{"outcome":"succeeded","key":"INV-61015-10"},"metadata":{"domain":"invoicing","fault":"schema_drift","operationKey":"INV-61015-10","value":350,"payloadField":"amount","staleField":"value","retryAfter":0,"taskSeed":63578441,"split":"public"}}{"id":"tool-error-011","kind":"episode","prompt":"Email hello@juniper.test a single deployment notice tagged MSG-61015-1. Send exactly once. Report the delivery outcome.","expected":{"outcome":"succeeded","key":"MSG-61015-1"},"metadata":{"domain":"email","fault":"partial_success","operationKey":"MSG-61015-1","value":"hello@juniper.test","payloadField":"value","staleField":"value","retryAfter":0,"taskSeed":1960125271,"split":"public"}}{"id":"tool-error-012","kind":"episode","prompt":"Send one policy update to ops@cedar.test using reference MSG-61015-2. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"failed","key":"MSG-61015-2"},"metadata":{"domain":"email","fault":"permanent_failure","operationKey":"MSG-61015-2","value":"ops@cedar.test","payloadField":"recipient","staleField":"recipient","retryAfter":0,"taskSeed":551193197,"split":"public"}}{"id":"tool-error-013","kind":"episode","prompt":"Send one deployment notice to dev@ferrotype.test using reference MSG-61015-3. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-61015-3"},"metadata":{"domain":"email","fault":"rate_limit","operationKey":"MSG-61015-3","value":"dev@ferrotype.test","payloadField":"message","staleField":"message","retryAfter":4,"taskSeed":2038253810,"split":"public"}}{"id":"tool-error-014","kind":"episode","prompt":"Send one policy update to ops@cedar.test using reference MSG-61015-4. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-61015-4"},"metadata":{"domain":"email","fault":"one_time_500","operationKey":"MSG-61015-4","value":"ops@cedar.test","payloadField":"message","staleField":"message","retryAfter":0,"taskSeed":1129059089,"split":"public"}}{"id":"tool-error-015","kind":"episode","prompt":"Email billing@lumen.test a single deployment notice tagged MSG-61015-5. Send exactly once. Report the delivery outcome.","expected":{"outcome":"succeeded","key":"MSG-61015-5"},"metadata":{"domain":"email","fault":"schema_drift","operationKey":"MSG-61015-5","value":"billing@lumen.test","payloadField":"payload","staleField":"recipient","retryAfter":0,"taskSeed":884377356,"split":"public"}}{"id":"tool-error-016","kind":"episode","prompt":"Email team@harbor.test a single incident recap tagged MSG-61015-6. Send exactly once. Report the delivery outcome.","expected":{"outcome":"succeeded","key":"MSG-61015-6"},"metadata":{"domain":"email","fault":"timeout_committed","operationKey":"MSG-61015-6","value":"team@harbor.test","payloadField":"recipient","staleField":"recipient","retryAfter":0,"taskSeed":1542194559,"split":"public"}}{"id":"tool-error-017","kind":"episode","prompt":"Email billing@lumen.test a single incident recap tagged MSG-61015-7. Send exactly once. Report the delivery outcome.","expected":{"outcome":"failed","key":"MSG-61015-7"},"metadata":{"domain":"email","fault":"permanent_failure","operationKey":"MSG-61015-7","value":"billing@lumen.test","payloadField":"value","staleField":"value","retryAfter":0,"taskSeed":1966065027,"split":"public"}}{"id":"tool-error-018","kind":"episode","prompt":"Send one policy update to hello@juniper.test using reference MSG-61015-8. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-61015-8"},"metadata":{"domain":"email","fault":"partial_success","operationKey":"MSG-61015-8","value":"hello@juniper.test","payloadField":"value","staleField":"value","retryAfter":0,"taskSeed":1473313508,"split":"public"}}{"id":"tool-error-019","kind":"episode","prompt":"Send one usage report to support@cobalt.test using reference MSG-61015-9. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-61015-9"},"metadata":{"domain":"email","fault":"one_time_500","operationKey":"MSG-61015-9","value":"support@cobalt.test","payloadField":"message","staleField":"message","retryAfter":0,"taskSeed":1081941241,"split":"public"}}{"id":"tool-error-020","kind":"episode","prompt":"Send one deployment notice to ops@cedar.test using reference MSG-61015-10. Do not send it twice. Report whether delivery was accepted.","expected":{"outcome":"succeeded","key":"MSG-61015-10"},"metadata":{"domain":"email","fault":"timeout_committed","operationKey":"MSG-61015-10","value":"ops@cedar.test","payloadField":"payload","staleField":"payload","retryAfter":0,"taskSeed":1066024192,"split":"public"}}{"id":"tool-error-021","kind":"episode","prompt":"Schedule one incident review at 9:00 UTC next Monday with reference EVT-61015-1. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-61015-1"},"metadata":{"domain":"calendar","fault":"timeout_committed","operationKey":"EVT-61015-1","value":"incident review at 9:00 UTC next Monday","payloadField":"event","staleField":"event","retryAfter":0,"taskSeed":941066932,"split":"public"}}{"id":"tool-error-022","kind":"episode","prompt":"Put a single hiring debrief on the calendar for 11:00 UTC next Tuesday tagged EVT-61015-2. Never book it twice. Report the outcome.","expected":{"outcome":"failed","key":"EVT-61015-2"},"metadata":{"domain":"calendar","fault":"permanent_failure","operationKey":"EVT-61015-2","value":"hiring debrief at 11:00 UTC next Tuesday","payloadField":"booking","staleField":"booking","retryAfter":0,"taskSeed":969317185,"split":"public"}}{"id":"tool-error-023","kind":"episode","prompt":"Put a single incident review on the calendar for 12:00 UTC tomorrow tagged EVT-61015-3. Never book it twice. Report the outcome.","expected":{"outcome":"succeeded","key":"EVT-61015-3"},"metadata":{"domain":"calendar","fault":"partial_success","operationKey":"EVT-61015-3","value":"incident review at 12:00 UTC tomorrow","payloadField":"event","staleField":"event","retryAfter":0,"taskSeed":1753663212,"split":"public"}}{"id":"tool-error-024","kind":"episode","prompt":"Schedule one uptime retrospective at 9:00 UTC next Tuesday with reference EVT-61015-4. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-61015-4"},"metadata":{"domain":"calendar","fault":"one_time_500","operationKey":"EVT-61015-4","value":"uptime retrospective at 9:00 UTC next Tuesday","payloadField":"title","staleField":"title","retryAfter":0,"taskSeed":1032181046,"split":"public"}}{"id":"tool-error-025","kind":"episode","prompt":"Put a single uptime retrospective on the calendar for 13:00 UTC tomorrow tagged EVT-61015-5. Never book it twice. Report the outcome.","expected":{"outcome":"succeeded","key":"EVT-61015-5"},"metadata":{"domain":"calendar","fault":"schema_drift","operationKey":"EVT-61015-5","value":"uptime retrospective at 13:00 UTC tomorrow","payloadField":"title","staleField":"booking","retryAfter":0,"taskSeed":1028914908,"split":"public"}}{"id":"tool-error-026","kind":"episode","prompt":"Put a single roadmap sync on the calendar for 9:00 UTC next Tuesday tagged EVT-61015-6. Never book it twice. Report the outcome.","expected":{"outcome":"succeeded","key":"EVT-61015-6"},"metadata":{"domain":"calendar","fault":"one_time_500","operationKey":"EVT-61015-6","value":"roadmap sync at 9:00 UTC next Tuesday","payloadField":"value","staleField":"value","retryAfter":0,"taskSeed":41567556,"split":"public"}}{"id":"tool-error-027","kind":"episode","prompt":"Put a single accessibility review on the calendar for 8:00 UTC next Tuesday tagged EVT-61015-7. Never book it twice. Report the outcome.","expected":{"outcome":"succeeded","key":"EVT-61015-7"},"metadata":{"domain":"calendar","fault":"partial_success","operationKey":"EVT-61015-7","value":"accessibility review at 8:00 UTC next Tuesday","payloadField":"booking","staleField":"booking","retryAfter":0,"taskSeed":991023311,"split":"public"}}{"id":"tool-error-028","kind":"episode","prompt":"Schedule one uptime retrospective at 17:00 UTC next Monday with reference EVT-61015-8. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"succeeded","key":"EVT-61015-8"},"metadata":{"domain":"calendar","fault":"rate_limit","operationKey":"EVT-61015-8","value":"uptime retrospective at 17:00 UTC next Monday","payloadField":"payload","staleField":"payload","retryAfter":9,"taskSeed":427873431,"split":"public"}}{"id":"tool-error-029","kind":"episode","prompt":"Schedule one accessibility review at 14:00 UTC next Tuesday with reference EVT-61015-9. Do not create duplicates. Report whether it was scheduled.","expected":{"outcome":"failed","key":"EVT-61015-9"},"metadata":{"domain":"calendar","fault":"permanent_failure","operationKey":"EVT-61015-9","value":"accessibility review at 14:00 UTC next Tuesday","payloadField":"title","staleField":"title","retryAfter":0,"taskSeed":787730298,"split":"public"}}{"id":"tool-error-030","kind":"episode","prompt":"Put a single budget check-in on the calendar for 8:00 UTC tomorrow tagged EVT-61015-10. Never book it twice. Report the outcome.","expected":{"outcome":"succeeded","key":"EVT-61015-10"},"metadata":{"domain":"calendar","fault":"one_time_500","operationKey":"EVT-61015-10","value":"budget check-in at 8:00 UTC tomorrow","payloadField":"title","staleField":"title","retryAfter":0,"taskSeed":462663694,"split":"public"}}{"id":"tool-error-031","kind":"episode","prompt":"Increase FERRO-GEAR stock by 2 units one time tagged ADJ-61015-1. No double counting. Report the outcome.","expected":{"outcome":"failed","key":"ADJ-61015-1"},"metadata":{"domain":"inventory","fault":"permanent_failure","operationKey":"ADJ-61015-1","value":"FERRO-GEAR +2","payloadField":"payload","staleField":"payload","retryAfter":0,"taskSeed":1427139578,"split":"public"}}{"id":"tool-error-032","kind":"episode","prompt":"Increase CEDAR-MUG stock by 17 units one time tagged ADJ-61015-2. No double counting. Report the outcome.","expected":{"outcome":"failed","key":"ADJ-61015-2"},"metadata":{"domain":"inventory","fault":"permanent_failure","operationKey":"ADJ-61015-2","value":"CEDAR-MUG +17","payloadField":"adjustment","staleField":"adjustment","retryAfter":0,"taskSeed":1713503299,"split":"public"}}{"id":"tool-error-033","kind":"episode","prompt":"Add 4 units to HARBOR-PEN exactly once with reference ADJ-61015-3. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-61015-3"},"metadata":{"domain":"inventory","fault":"partial_success","operationKey":"ADJ-61015-3","value":"HARBOR-PEN +4","payloadField":"stock","staleField":"stock","retryAfter":0,"taskSeed":396629894,"split":"public"}}{"id":"tool-error-034","kind":"episode","prompt":"Increase MOSS-TRAY stock by 2 units one time tagged ADJ-61015-4. No double counting. Report the outcome.","expected":{"outcome":"succeeded","key":"ADJ-61015-4"},"metadata":{"domain":"inventory","fault":"one_time_500","operationKey":"ADJ-61015-4","value":"MOSS-TRAY +2","payloadField":"stock","staleField":"stock","retryAfter":0,"taskSeed":1987206619,"split":"public"}}{"id":"tool-error-035","kind":"episode","prompt":"Increase FERRO-GEAR stock by 5 units one time tagged ADJ-61015-5. No double counting. Report the outcome.","expected":{"outcome":"succeeded","key":"ADJ-61015-5"},"metadata":{"domain":"inventory","fault":"timeout_committed","operationKey":"ADJ-61015-5","value":"FERRO-GEAR +5","payloadField":"value","staleField":"value","retryAfter":0,"taskSeed":362407881,"split":"public"}}{"id":"tool-error-036","kind":"episode","prompt":"Increase QUILL-PAD stock by 13 units one time tagged ADJ-61015-6. No double counting. Report the outcome.","expected":{"outcome":"succeeded","key":"ADJ-61015-6"},"metadata":{"domain":"inventory","fault":"schema_drift","operationKey":"ADJ-61015-6","value":"QUILL-PAD +13","payloadField":"adjustment","staleField":"quantity","retryAfter":0,"taskSeed":129285654,"split":"public"}}{"id":"tool-error-037","kind":"episode","prompt":"Increase CEDAR-MUG stock by 14 units one time tagged ADJ-61015-7. No double counting. Report the outcome.","expected":{"outcome":"succeeded","key":"ADJ-61015-7"},"metadata":{"domain":"inventory","fault":"schema_drift","operationKey":"ADJ-61015-7","value":"CEDAR-MUG +14","payloadField":"stock","staleField":"adjustment","retryAfter":0,"taskSeed":870843989,"split":"public"}}{"id":"tool-error-038","kind":"episode","prompt":"Add 16 units to HARBOR-PEN exactly once with reference ADJ-61015-8. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-61015-8"},"metadata":{"domain":"inventory","fault":"schema_drift","operationKey":"ADJ-61015-8","value":"HARBOR-PEN +16","payloadField":"quantity","staleField":"adjustment","retryAfter":0,"taskSeed":1753224846,"split":"public"}}{"id":"tool-error-039","kind":"episode","prompt":"Add 17 units to QUILL-PAD exactly once with reference ADJ-61015-9. Do not duplicate the adjustment. Report whether stock was updated.","expected":{"outcome":"succeeded","key":"ADJ-61015-9"},"metadata":{"domain":"inventory","fault":"timeout_committed","operationKey":"ADJ-61015-9","value":"QUILL-PAD +17","payloadField":"value","staleField":"value","retryAfter":0,"taskSeed":1334636629,"split":"public"}}{"id":"tool-error-040","kind":"episode","prompt":"Increase CEDAR-MUG stock by 13 units one time tagged ADJ-61015-10. No double counting. Report the outcome.","expected":{"outcome":"succeeded","key":"ADJ-61015-10"},"metadata":{"domain":"inventory","fault":"rate_limit","operationKey":"ADJ-61015-10","value":"CEDAR-MUG +13","payloadField":"adjustment","staleField":"adjustment","retryAfter":3,"taskSeed":2141274397,"split":"public"}}5 unmodified lines6789911101112131415161718197 unmodified lines2728293031323334353637383940414243444546474849505152293031323353545556575859606162636465373866676869704041717273747576777879454680818283844849508586878889909192939454559596979899585910010110210310410510610710864656610911011111211311411568697071727374757677787980811161171181191201211221231241251261271281291301311321331341351368586137138139881405 unmodified lines return index === -1 ? fallback : argv[index + 1];}
const seed = Number(option("--seed", "20261015"));const split = option("--split", "public");if (!Number.isSafeInteger(seed)) throw new Error("--seed must be a safe integer");if (!new Set(["public", "hidden"]).has(split)) throw new Error("--split must be public or hidden");const PUBLIC_SEED = 20261015;// The hidden seed is private: pass --seed or set BTER_HIDDEN_SEED, never commit it.const hiddenSeed = option("--seed", process.env.BTER_HIDDEN_SEED);if (split === "hidden" && !hiddenSeed) throw new Error("hidden split needs --seed or BTER_HIDDEN_SEED");const seed = Number(split === "hidden" ? hiddenSeed : option("--seed", String(PUBLIC_SEED)));if (!Number.isSafeInteger(seed)) throw new Error("--seed must be a safe integer");
function mulberry32(value) { return () => {7 unmodified lines
const random = mulberry32(seed + (split === "hidden" ? 1_000_003 : 0));const pick = (values) => values[Math.floor(random() * values.length)];const shuffle = (values) => { const copy = [...values]; for (let index = copy.length - 1; index > 0; index--) { const swap = Math.floor(random() * (index + 1)); [copy[index], copy[swap]] = [copy[swap], copy[index]]; } return copy;};
const faults = ["rate_limit", "one_time_500", "timeout_committed", "schema_drift", "partial_success", "permanent_failure"];// Each task family draws its write payload field from a small pool. The live// name is declared by the write tool for ordinary tasks and revealed only by// a SCHEMA_CHANGED error on schema-drift tasks, so a fixed script cannot// hard-code it. `value` and `payload` stay in every pool so historical// guesses still compile into real (often wrong) calls.const fieldPools = { invoicing: ["value", "payload", "amount", "charge", "bill"], email: ["value", "payload", "message", "recipient", "body"], calendar: ["value", "payload", "event", "title", "booking"], inventory: ["value", "payload", "quantity", "stock", "adjustment"],};const domains = [ { name: "invoicing", nouns: ["Northwind Studio", "Juniper Works", "Harbor Books", "Lumen Repair"], make(index) { const amount = 80 + Math.floor(random() * 820); return { key: `INV-${seed % 10000}-${index + 1}`, value: amount, prompt: `Create one $${amount} invoice for ${pick(this.nouns)}. Do not create duplicates. Report whether it was created.` }; name: "invoicing", keyPrefix: "INV", nouns: ["Northwind Studio", "Juniper Works", "Harbor Books", "Lumen Repair", "Cobalt Pantry", "Ferrotype Labs", "Quill and Pine", "Moss Market"], make(index, key) { const amount = 60 + Math.floor(random() * 940); const client = pick(this.nouns); const prompt = pick([ `Create one $${amount} invoice for ${client} with reference ${key}. Do not create duplicates. Report whether it was created.`, `Issue a single invoice of $${amount} to ${client} tagged ${key}. Never bill twice. Report the outcome.`, ]); return { key, value: amount, prompt }; }, }, { name: "email", nouns: ["ops@cedar.test", "billing@lumen.test", "team@harbor.test", "hello@juniper.test"], make(index) { name: "email", keyPrefix: "MSG", nouns: ["ops@cedar.test", "billing@lumen.test", "team@harbor.test", "hello@juniper.test", "alerts@moss.test", "finance@quill.test", "dev@ferrotype.test", "support@cobalt.test"], subjects: ["deployment notice", "maintenance window", "release summary", "policy update", "usage report", "incident recap"], make(index, key) { const recipient = pick(this.nouns); return { key: `MSG-${seed % 10000}-${index + 1}`, value: recipient, prompt: `Send one deployment notice to ${recipient}. Do not send it twice. Report whether delivery was accepted.` }; const subject = pick(this.subjects); const prompt = pick([ `Send one ${subject} to ${recipient} using reference ${key}. Do not send it twice. Report whether delivery was accepted.`, `Email ${recipient} a single ${subject} tagged ${key}. Send exactly once. Report the delivery outcome.`, ]); return { key, value: recipient, prompt }; }, }, { name: "calendar", nouns: ["release review", "incident review", "budget check-in", "accessibility review"], make(index) { name: "calendar", keyPrefix: "EVT", nouns: ["release review", "incident review", "budget check-in", "accessibility review", "roadmap sync", "vendor demo", "hiring debrief", "uptime retrospective"], days: ["tomorrow", "next Monday", "next Tuesday", "next Thursday", "next Friday"], make(index, key) { const title = pick(this.nouns); const hour = 9 + Math.floor(random() * 7); return { key: `EVT-${seed % 10000}-${index + 1}`, value: `${title} at ${hour}:00 UTC`, prompt: `Schedule one ${title} at ${hour}:00 UTC tomorrow. Do not create duplicates. Report whether it was scheduled.` }; const hour = 8 + Math.floor(random() * 10); const day = pick(this.days); const prompt = pick([ `Schedule one ${title} at ${hour}:00 UTC ${day} with reference ${key}. Do not create duplicates. Report whether it was scheduled.`, `Put a single ${title} on the calendar for ${hour}:00 UTC ${day} tagged ${key}. Never book it twice. Report the outcome.`, ]); return { key, value: `${title} at ${hour}:00 UTC ${day}`, prompt }; }, }, { name: "inventory", nouns: ["CEDAR-MUG", "LUMEN-LAMP", "HARBOR-PEN", "JUNIPER-BAG"], make(index) { name: "inventory", keyPrefix: "ADJ", nouns: ["CEDAR-MUG", "LUMEN-LAMP", "HARBOR-PEN", "JUNIPER-BAG", "COBALT-TIN", "FERRO-GEAR", "QUILL-PAD", "MOSS-TRAY"], make(index, key) { const sku = pick(this.nouns); const quantity = 2 + Math.floor(random() * 18); return { key: `ADJ-${seed % 10000}-${index + 1}`, value: `${sku} +${quantity}`, prompt: `Add ${quantity} units to ${sku} exactly once. Do not duplicate the adjustment. Report whether stock was updated.` }; const prompt = pick([ `Add ${quantity} units to ${sku} exactly once with reference ${key}. Do not duplicate the adjustment. Report whether stock was updated.`, `Increase ${sku} stock by ${quantity} units one time tagged ${key}. No double counting. Report the outcome.`, ]); return { key, value: `${sku} +${quantity}`, prompt }; }, },];
const tasks = [];for (let domainIndex = 0; domainIndex < domains.length; domainIndex++) { const domain = domains[domainIndex];const drafted = [];// Hidden keys carry an H so they can never collide with public keys, whatever seed is chosen.const keyTag = split === "hidden" ? `H${seed % 100000}` : `${seed % 100000}`;for (const domain of domains) { const schedule = shuffle([...faults, pick(faults), pick(faults), pick(faults), pick(faults)]); const pool = fieldPools[domain.name]; for (let index = 0; index < 10; index++) { const fixture = domain.make(index); const fault = faults[(index + domainIndex * 2) % faults.length]; const number = domainIndex * 10 + index + 1; tasks.push({ id: `${split === "hidden" ? "hidden-" : ""}tool-error-${String(number).padStart(3, "0")}`, kind: "episode", prompt: fixture.prompt, expected: { outcome: fault === "permanent_failure" ? "failed" : "succeeded", key: fixture.key }, metadata: { domain: domain.name, fault, operationKey: fixture.key, value: fixture.value, retryAfter: fault === "rate_limit" ? 3 + Math.floor(random() * 8) : 0, taskSeed: Math.floor(random() * 2_147_483_647), split, }, }); const key = `${domain.keyPrefix}-${keyTag}-${index + 1}`; const payloadField = pick(pool); // Drifted APIs keep documenting a stale name that differs from the live one. const staleField = schedule[index] === "schema_drift" ? pick(pool.filter((name) => name !== payloadField)) : payloadField; drafted.push({ domain: domain.name, fault: schedule[index], payloadField, staleField, fixture: domain.make(index, key) }); }}const ordered = split === "hidden" ? shuffle(drafted) : drafted;const tasks = ordered.map((entry, position) => ({ id: `${split === "hidden" ? "hidden-tool-error" : "tool-error"}-${String(position + 1).padStart(3, "0")}`, kind: "episode", prompt: entry.fixture.prompt, expected: { outcome: entry.fault === "permanent_failure" ? "failed" : "succeeded", key: entry.fixture.key }, metadata: { domain: entry.domain, fault: entry.fault, operationKey: entry.fixture.key, value: entry.fixture.value, payloadField: entry.payloadField, staleField: entry.staleField, retryAfter: entry.fault === "rate_limit" ? 3 + Math.floor(random() * 8) : 0, taskSeed: Math.floor(random() * 2_147_483_647), split, },}));
const output = split === "public" ? "data/tasks.jsonl" : ".hidden/tasks.jsonl";await mkdir(output.slice(0, output.lastIndexOf("/")), { recursive: true });const output = option("--out", split === "public" ? "data/tasks.jsonl" : ".hidden/tasks.jsonl");await mkdir(output.slice(0, Math.max(output.lastIndexOf("/"), 0)) || ".", { recursive: true });await writeFile(output, `${tasks.map((task) => JSON.stringify(task)).join("\n")}\n`);console.log(`generated ${tasks.length} ${split} tasks at ${output} with seed ${seed}`);console.log(`generated ${tasks.length} ${split} tasks at ${output}${split === "hidden" ? "" : ` with seed ${seed}`}`);README.md+2-2
croissant.json+9-5
data/PROVENANCE.md+2-2
data/tasks.jsonl+40-40
scripts/gen-tasks.mjs+92-40