feat(codemode): show eval tool-call throughput - #916
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
senpi.eval.executionevent contractTest evidence
... 1.00 calls/s · 1s ...when wall time was 2s; runtime details lackedtoolCallCount@code-yeongyu/senpi-codemodesuite: 565 passed, 6 skippednpm run check: passednpm run build: passedManual QA
Command:
Result: 9/9 passed.
Observed real TUI header:
Evidence includes raw PTY bytes, xterm.js grid JSON/HTML, Chrome PNG, sanitized fake-provider requests, and cleanup/auth receipts under
local-ignore/qa-evidence/20260817-eval-throughput-badge/.Dual visual QA verdicts: PASS / PASS.
Summary by cubic
Shows eval tool-call throughput in the TUI header using wall-clock time. Previously the header showed only kernel duration; now it displays “N calls · X.XX calls/s · elapsed”, making throughput visible while preserving the
senpi.eval.executionevent contract.EvalToolDetailsaddswallDurationMsandtoolCallCount(additive). KerneldurationMsis unchanged; the renderer preferswallDurationMsfor visible elapsed and throughput.packages/senpi-codemode/CHANGELOG.mdandpackages/senpi-codemode/changes.mddocument behavior and expected conflict zones. Tests updated; added hermetic PTY/xterm/Chrome QA scenario at.agents/skills/senpi-qa/scripts/scenarios/eval-throughput-badge-qa.mjs. No migration required.Written for commit 3908a8c. Summary will update on new commits.