Skip to content

feat(check): vinci-check eval and quality measure how well Vinci answers, and /mal flags a bad answer - #177

Merged
SebasB76 merged 2 commits into
mainfrom
feat/quality-loop
Nov 15, 2026
Merged

SebasB76 merged 2 commits into
mainfrom
feat/quality-loop

Conversation

@SebasB76

@SebasB76 SebasB76 commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

What

Three things that close the gap the audit found: Vinci ran well but nothing measured how well it answers.

vinci-check eval asks the real model 33 student questions with the live prompt, one fresh terminal session each, and checks every reply by rule: which tools it called, what the reply must or must not say, how long it is. A run is saved in the data folder and the next one says which cases changed. The E2E's model is scripted, so until now a change to a SKILL.md or to the model had no check at all.

✅ week: 23 s, 88,969 tokens [semana, show_page]
✅ material_cited: 30 s, 150,456 tokens [archivos, buscar_material, leer_archivo, leer_archivo]
✅ past_exams: 15 s, 121,579 tokens [find_past_exams, find_past_exams]

The first 20 cases passed on the live container (DeepSeek); the run was cut there, see the note below.

vinci-check quality (and vinci-check remote quality) prints each Vinci in numbers from Hermes' own record: messages, answer time, failed tools, chat summaries per 100 messages, spend, /mal reports and corrected citations. No chat text, friends masked.

who              msgs days  median    p90  tools    failed     summaries no reply   tokens    usd /mal cites fixed
captain           115   12    12 s   42 s    244   16 (7%)   15 (13/100)        2    21.7M   0.75    0           0
A***l              72   11    12 s   24 s    109    3 (3%)     0 (0/100)        1     6.7M   0.18    0           0

/mal [qué estuvo mal] on WhatsApp keeps the person's last message and Vinci's answer in quality.jsonl, without the model, and says so in its reply. A friend's report also reaches the captain's chat. vinci-check quality --feedback lists them. A citation the check corrects is recorded in the same file.

Notes for the reviewer

  • Hermes stores a person's message twice (plain, and with the hour in front) and repeats messages in the session that follows a summary. quality._messages counts each once, chat by chat; the first hand-made numbers of the audit were inflated by this.
  • vinci-check eval must not run on a build without fix(tools): the «un momento» line goes to the chat that asked, and a terminal session sends nothing to a chat #178: before it, a tool called from a terminal session could still write to the captain's real chat. The baseline run sent him one dashboard button on WhatsApp and one «un momento» notice on Telegram.

E2E: test_whatsapp_captain sends /mal, reads it back with vinci-check quality --feedback and checks the numbers of vinci-check quality. 5 passed.

Docs: whatsapp.md and uso.md (the /mal command), privacidad.md (quality.jsonl, what a report shares), the control-vinci skill (the three commands and when to run the eval), the feature map, AGENTS.md (Commands, a working rule), experiments/model-eval/README.md.

…s, quality shows each Vinci in numbers, and /mal flags a bad answer

The E2E's model is scripted, so nothing told whether a prompt or model change made Vinci worse, and
quality numbers took hand-written queries over state.db.

- vinci-check eval: one fresh CLI session per question with the live prompt, each reply checked by rule
  (tools called, what it must or must not say, length); a run is saved and the next one says what changed.
- vinci-check quality: messages, answer time, failed tools, chat summaries per 100 messages, spend, /mal
  reports and corrected citations per person, with no chat text and friends masked.
- /mal on WhatsApp keeps the person's last message and Vinci's answer in quality.jsonl, without the model;
  a friend's report also reaches the captain's chat.
- A citation the check corrects is recorded there too.
@SebasB76
SebasB76 merged commit 044b645 into main Nov 15, 2026
1 check passed
@SebasB76
SebasB76 deleted the feat/quality-loop branch November 15, 2026 02:49
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