Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/daily-rig-decomposition-bench.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .github/workflows/daily-rig-decomposition-bench.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Copy link
Copy Markdown
Contributor

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.


Write the program incrementally in several small file edits, completing one section at a

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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 check

Record the final turn's output token count, or the stderr of the empty-response turn, in the failure issue. Also note whether bench.ts was written in an earlier turn. That shows whether incremental edits actually shortened the failing turn.

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
```
Expand Down
7 changes: 7 additions & 0 deletions src/decomposition-bench-workflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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 rename
it("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**");
});
});
Loading