Skip to content

Restore the code-reading case that the snippet file was written for - #42

Merged
huangxinV587 merged 1 commit into
mainfrom
branch/ds-deploy-pool-20261107-r1
Nov 8, 2026
Merged

huangxinV587 merged 1 commit into
mainfrom
branch/ds-deploy-pool-20261107-r1

Conversation

@huangxinV587

Copy link
Copy Markdown
Contributor

tools/bench/cases/snippets/lru_router.py shipped with no case referencing it, so the inventory had no code-reading case even though the snippet exists for exactly that purpose. This adds code-review on top of it.

The task is narrowed to one defect plus one fixed method: the earlier broad "find every flaw and rewrite the class" wording made the model spend its entire output budget thinking and never emit code, which measures thinking but not coding. With the narrow wording a run produces visible code within 2048 tokens (verified: 459 content chars, 1010 reasoning tokens).

Measured on both engines over 3 repeats (medians): DeepInfer TTFT 0.469 s / TPOT 9.31 ms; the shared vLLM endpoint TTFT 0.484 s / TPOT 6.80 ms. Those runs are not a like-for-like engine comparison (different topology, shared endpoint), and no numbers are committed here.

`tools/bench/cases/snippets/lru_router.py` shipped with no case referencing it,
so the inventory had no code-reading case even though the snippet exists for
exactly that purpose. Add `code-review` on top of it.

The task is deliberately narrowed to one defect plus one fixed method: the
earlier broad "find every flaw and rewrite the class" wording made the model
spend its whole output budget thinking and never emit code, which measures the
thinking phase but not the coding phase. With the narrow wording a run produces
visible code within 2048 tokens.
@huangxinV587
huangxinV587 merged commit 6a4f061 into main Nov 8, 2026
2 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.

1 participant