Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion edgebench/tasks/arc_compiler_runtime/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and runs each with `tsx` under `timeout 90`. Raw score = `100 × WEIGHTED_PASSED
snapshot; all 361 packages that step adds are checked against v1's versions. Base: `bases/python`.
- `judge/eval_hidden.py` is v1's inline eval program, verbatim; `judge/run.sh` and
`judge/write_result.py` are new and write `result.json` with v1's structured-result logic.
- `instruction.md`: v1's prompt, verbatim.
- `instruction.md`: v1's prompt, verbatim in 1.0.0; 1.0.1 adds the `analyze()` return shape.

## Deviations from v1

Expand Down Expand Up @@ -48,6 +48,15 @@ each. The grader is deterministic. Raw score (= 0..100).

Every row matches exactly, including raw and weighted counts, and equals the historical v1 scores.

## Changes

### 1.0.1

The hidden type-system suites (1000 of the 2970 weighted points, 33.67 of 100) call `.filter` on the
return value of `analyze()`, but nothing the agent sees gives that shape, and the starter returns an
object. A submission that keeps the object scores 0 on those suites. `instruction.md` now states the
shape. The judge and work images are unchanged (same tags), so grading is unchanged.

## Known issues

Kept as in v1, so scores stay comparable. Fixing any of them changes scores and bumps `version`.
Expand Down
4 changes: 3 additions & 1 deletion edgebench/tasks/arc_compiler_runtime/instruction.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Implement the missing Arc compiler and runtime modules under compiler/src/. Use CHEATSHEET.md, TASK.md, and the public smoke tests as the language contract. Modify only files under compiler/src/. Do not modify tests, scoring scripts, task metadata, Dockerfiles, package files, node_modules, generated dist artifacts, source maps, or evaluator-owned files. Work offline and do not depend on hidden tests or hard-coded answers.
Implement the missing Arc compiler and runtime modules under compiler/src/. Use CHEATSHEET.md, TASK.md, and the public smoke tests as the language contract. Modify only files under compiler/src/. Do not modify tests, scoring scripts, task metadata, Dockerfiles, package files, node_modules, generated dist artifacts, source maps, or evaluator-owned files. Work offline and do not depend on hidden tests or hard-coded answers.

The evaluator calls `analyze(parse(lex(source)))`. `analyze` in `compiler/src/semantic.js` must return an array of diagnostics (empty when there are none), each an object with `level` (`"error"` or `"warning"`) and `message` (a string). The starter's `analyze` returns a different shape.
2 changes: 1 addition & 1 deletion edgebench/tasks/arc_compiler_runtime/task.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "Arc Compiler Runtime"
category = "Systems & Software Engineering"
language = "Python" # v1 tasks.jsonl value (base image); the submission itself is JavaScript run by Node 20
description = "Implement a complete TypeScript compiler pipeline (lexer, parser, type checker, code generator) for a novel programming language defined by specification documents."
version = "1.0.0"
version = "1.0.1"
status = "migrated"

[environment]
Expand Down