Repository navigation
Add ~460 new coach lines to the most frequently-fired pools - #48
Merged
Merged
Conversation
The canned line pools were repeating too often in play, since the twitch moments (kills, bomb hype, MVP, clock callouts, deaths, match point) never go through the LLM and the per-round economy/round-end fallbacks fire constantly. Roughly double each of the 41 highest- frequency pools with fresh, on-persona lines. Authored via the writers-room workflow (one writer + one adversarial judge per pool) so the new lines match the sarcastic spoken register and don't duplicate the existing set. Cacheable const pools stay variable-free so the TTS prewarm cache and its sim guard still hold. Verified: tsc --noEmit clean, npm run sim passes across 10 randomized runs (fixed 6 lines that tripped per-pool content checks), no duplicate line literals in the file. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
What
Adds 460 new canned coach lines across the 41 most frequently-fired line pools in
src/coach/lines.ts, roughly doubling each.Why
The user reported hearing the same lines too often. The twitch moments — kills, bomb hype, MVP, clock callouts, deaths, tilt, match point, squad lines — never go through the LLM, so their canned pools repeat verbatim; the per-round economy and round-end fallbacks also fire constantly. This pass is weighted toward those highest-frequency pools rather than the rarer break-moment speeches.
Coverage:
How
Authored with the repo's writers-room workflow (one writer + one adversarial judge per pool, 82 agents). Each writer read the existing pool to match the sarcastic spoken register and avoid duplicates; each judge culled soft/off-persona/constraint-breaking candidates. Interpolation discipline preserved: score pools keep
${ourScore}-${theirScore}, name/HP/who pools keep their tokens, and the cacheable const pools stay variable-free so the TTS prewarm cache (and its sim guard) still hold.Verification
tsc --noEmitcleannpm run simpasses across 10 randomized runs — caught and fixed 6 lines that tripped the sim's per-pool content checks (a pistol-eco line that said "save", three CT-defuse lines that didn't name the defuse, two carrier lines that didn't mention the bomb/plant)Reviewer notes
deploy.tsdoesn't prewarm, so either runnpm run prewarmto warm them across voices, or each new line synthesizes live on first occurrence and is cached after.🤖 Generated with Claude Code