Repository navigation
Eval and prompt: check a device can do a role before recommending it - #59
Merged
Merged
Conversation
Reading answers about real gear found the agent picking a master clock without checking that the device can send clock. master-clock asks the same of the Ambika and the Shruthi, neither of which sends clock. Over 20 runs, 18 were good and two picked the Ambika: the gate fails on `never` until the agent is tuned for it. Co-Authored-By: Claude <noreply@anthropic.com>
A "PR:" line under each heading, not in it, so headings stay short in an editor's outline. Work from before CI has no PR. CLAUDE.md asks for the line on new entries. Co-Authored-By: Claude <noreply@anthropic.com>
The backlog's Schematic item. Co-Authored-By: Claude <noreply@anthropic.com>
Before picking a device for a role (master clock), search each candidate's manual for what it sends, not only its settings, and give the reason. Gate, 20 runs each: no never failures; master-clock passes fully 19 of 20 (2 of 20 picked the Ambika before). Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
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.
Adds
master-clockto the test studio's questions: "Should the Ambika or the Shruthi be the master clock?"Why: reading answers about real gear, the agent picked the SR-16 over the XR10 as master with no reason, implying the XR10 can't send clock. The XR10's manual says it can, on pages it never retrieved.
The question: neither synth can be master. Their manuals list no MIDI out mode that sends clock, while the Ambika's "bpm is the master tempo" invites picking it. Good answers name a real clock source (the MIDIpal's clock app) or say neither sends clock.
neverfails an answer that picks one, but not "I wouldn't choose the Shruthi as master".Result, 20 agent runs, before the prompt change: 18 good, 2 picked the Ambika anyway: a
neverfailure, so the gate failed.The fix, also here: one line in both prompts (
ask_agentic.py,mcp_server.py): before recommending a device for a role such as master clock, check each candidate's manual for what it sends, not only its settings, and give the reason.Gate after, 20 fresh runs each: answers 99% on both sets, recall 100%, no
neverfailures. master-clock 19/20 fully passing. Others in their usual range (keyboard-shruthi 17 with one turn cap; held out: clock-shruthi 20, ambika-voice-eq 18, midipal-arp-ambika 18, the rest 20). Caveat: 2/20 → 0/20 is a small difference, and the line's example (a tempo setting isn't proof of sending clock) is close to this question.Weaknesses:
sayscheck takes several phrasings.clock-shruthiturns on it.check-examples.jsongains four answers: three good, one that picks the Ambika.Also in this PR: every
HISTORY.mdentry now links the PRs that did the work, on aPR:line under its heading (headings stay short in an editor's outline). Matched from git history and PR titles. Entries from before CI have none, and the "deferred" mapping-file entry and the connection list (written in the studio folder) have none either.CLAUDE.mdasks for the line on new entries.