Repository navigation
Mitigate incomplete decomposition benchmark runs #924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,6 +70,11 @@ implements the specification below. Then typecheck it by piping it to the instal | |
| CLI, run from the skill directory so Node's package self-reference resolves the bare | ||
| `"rig"` import, and fix any reported errors before running it: | ||
|
|
||
| Write the program incrementally in several small file edits, completing one section at a | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [/diagnosing-bugs] The PR body says output-budget exhaustion is suspected but not confirmed. This is a prompt-only mitigation, so nothing in the workflow will show whether it helped. 💡 Suggested checkRecord the final turn's output token count, or the stderr of the empty-response turn, in the failure issue. Also note whether |
||
| time (agent definitions, orchestration, then result handling). Do not plan or generate the | ||
| entire program in a single response; keep each edit bounded and proceed directly to the | ||
| next section. The assembled file must still meet all of the requirements below. | ||
|
|
||
| ```bash | ||
| cd .github/skills/rig && cat /tmp/gh-aw/agent/bench.ts | node rig.ts --typecheck | ||
| ``` | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,4 +26,11 @@ describe("Daily Rig Decomposition Benchmark workflow", () => { | |
| expect(markdown).toContain("mark it as a fallback in the report"); | ||
| expect(markdown).toContain("The fallback is a task description, not a substitute for either solution or grading."); | ||
| }); | ||
|
|
||
| it("writes the benchmark in bounded edits before typechecking and running it once", () => { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [/tdd] The test name claims an order (bounded edits, then typecheck, then one run), but the body only checks that four substrings exist. Substring checks cannot verify ordering or behavior, so the name overstates the assertion. 💡 Suggested renameit("keeps incremental-writing and run-once guidance in the benchmark prompt", () => {The assertions can stay as they are. |
||
| expect(markdown).toContain("Write the program incrementally in several small file edits"); | ||
| expect(markdown).toContain("entire program in a single response"); | ||
| expect(markdown).toContain("The assembled file must still meet all of the requirements below."); | ||
| expect(markdown).toContain("Run the program **exactly once**"); | ||
| }); | ||
| }); | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placement: The new paragraph separates the Step 1 lead-in ending "before running it:" from its bash fence at line 78, so the command now follows unrelated prose. Move the paragraph above "Then typecheck it by piping..." so the lead-in stays directly above the fence.