Repository navigation
test: a second chat scenario, from the maintainer's second retest - #32
Conversation
The second retest showed codebud answer "I am Codebud" to "which model are you?", describe a file it had never read, read the user's short analysis instead of the 3.7 MB log, deny having read it, answer a complaint by re-running its steps, and plan a shell pipeline to count files by type. scripts/chat_eval_logs.json plays that as seven turns over a fixture of eight files, one of them a generated 270 KB VPN log whose telling lines (AuthError, an expired certificate) are at the end, and checks: the model named; nothing claimed about a file not read in the turn; the log read, not the analysis; the file just read named; a complaint answered without steps; eight files counted without a refused shell step. chat_eval.py takes --scenario (the first scenario stays the default) and generates large fixture files from a repeated line. * scripts/chat_eval.py (build_parser): New; --scenario. (make_fixture): Generated files. (_check_one): text_contains_model, no_unread_claims, no_steps, no_shell_refused. * scripts/chat_eval_logs.json: New file. * tests/test_chat_eval.py: Test them. * docs/chapters/performance-benchmarking.texi (Chat Session Evaluation): The second scenario.
Review summary: correct (one known gap)One sweep, locally. Conditions.
Verified: 24 unit tests over every check kind, the 8-file count, the log's size and tail, and Known gap, for a follow-up: a claim about a file or directory that wasn't checked (the 3B's "the Verdict: correct. I'll merge when CI passes. |
|
Merging. CI is green on all five jobs: the one failure (macOS Py 3.10) was a pre-existing flaky test, not this PR (a base64 ciphertext happened to contain the test's plaintext CI on the merge is skipped, and why. As agreed, the scenario is measurement only: prompts are never tuned to it. |
A second scenario for
scripts/chat_eval.py, built from the maintainer's second retest. Codebud there:What it adds
scripts/chat_eval_logs.json: seven turns over a fixture of eight files. One is a generated 270 KB VPN log whose telling lines (AuthError, an expired certificate) are at the end. The checks:text_contains_model,no_unread_claims,no_steps,no_shell_refused.--scenario PATH; the first scenario stays the default. Large fixture files are generated from a repeated line.Baseline (current
main)Both models:
log_calc.cinstead oftrac.logwhen told to look at "the log file itself" (the word "log" matched the wrong file), then honestly namedlog_calc.cas what they read;The 3B also said "the
abduldirectory is empty" without looking. The check doesn't catch that, since it watches for invented contents; a follow-up can tighten it. And the 3B's turn-4 answer began by copying the history's internalran: …line.Review and CI