Skip to content

Mitigate incomplete decomposition benchmark runs - #924

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-terminal-safe-output
Nov 24, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/aw-fix-terminal-safe-output

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

The daily decomposition benchmark ended without a terminal safe output after the agent returned an empty response before writing the benchmark. The final turn consumed 16,000 output tokens, suggesting—but not confirming—output-budget exhaustion.

  • Benchmark prompt: Request incremental, bounded edits instead of generating the entire program in one response.
  • Workflow contract: Preserve typechecking, the single benchmark run, and issue reporting.
  • Regression coverage: Guard the incremental-writing guidance and refresh the generated workflow lock.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@pelikhan pelikhan changed the title [WIP] Fix missing terminal safe output in Daily Rig Decomposition Benchmark Mitigate incomplete decomposition benchmark runs Nov 24, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 24, 2026 13:28
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

Matt Pocock Skills Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

The [aw] No-Op Runs tracker omits agent messages. The category uses structured run status, not interpretation of agent prose.

No-op message

Review complete for PR #924: submitted a COMMENT review with three non-blocking inline comments (root-cause verification, prompt placement, test naming). No code changes were made. Work is finished; no further GitHub action needed.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 5.7K · history

@github-actions github-actions Bot left a comment

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.

Skills-Based Review 🧠

Applied /diagnosing-bugs and /tdd. The change is directionally sound and the committed lock hash matches the committed prompt, but I am leaving three non-blocking comments.

📋 Key Themes & Highlights

Key Themes

  • Unverified cause: the output-budget theory is unconfirmed, and nothing records whether this change helps.
  • Prompt placement: the new paragraph splits Step 1 from its command fence.
  • Test naming: the test name claims ordering that substring assertions cannot check.

Positive Highlights

  • ✅ The test asserts the new guidance, and the four assertions match the committed prompt.
  • ✅ The lock body_hash matches the committed markdown, so the lock is in sync.
  • ✅ The change is small and scoped to the workflow prompt and its test.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 5.7K
Comment /matt to run again

@@ -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.

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.

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

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.

@pelikhan
pelikhan merged commit 840fcd3 into main Nov 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Daily Rig Decomposition Benchmark: finished without a terminal safe output

2 participants