mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-25 01:21:24 +01:00
The recommendation judge's calibration test checks two real captured questions (GST-3447) (#4705)
The recommendation judge's calibration test now checks two real captured questions, one on each side of the pass line, so a judge-model change can't silently change what the AskUserQuestion format eval passes. Why: after the judge moved to Haiku 5.5, the format eval started failing on recommendations the old judge passed, and no calibration case covered that boundary. Nothing to do. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/outside-voice#1 reader=outside-voice
This commit is contained in:
1 parent
ccd80de8eb
commit
dd1b610a3a
5 files changed
+98
-1
No files matched your search
@@ -0,0 +1,38 @@
|
||||
Review mode
|
||||
|
||||
D1 — Which review mode should this CEO review of the developer pricing tier plan use?
|
||||
Project/branch/task: Reviewing plan.md ("developer-friendly" pricing tier) on branch main.
|
||||
ELI10: The mode decides how hard I push on scope. I can push it bigger, offer add-ons one at a time, keep the scope as written and stress-test it, or cut it to the smallest useful version. This plan is a pricing change, not code. It has no file list, and its main premise (price is what stops developers) was never checked with a single developer.
|
||||
Stakes if we pick wrong: If we expand a plan built on a guess, more work goes into the guess. If we cut too early, we might drop the one experiment that would test it.
|
||||
Recommendation: Hold scope because the plan fits no clear category (a business pricing change with zero planned files), and its untested premise needs stress-testing before anything gets added.
|
||||
Note: options differ in kind, not coverage — no completeness score.
|
||||
Pros / cons:
|
||||
A) Hold scope (recommended)
|
||||
✅ Goes straight after the untested premise and the vague "more signups" metric before any scope is added
|
||||
✅ Checks failure modes, edge cases (who qualifies, abuse, revenue loss from existing users switching down) and observability
|
||||
❌ Won't put forward bigger growth ideas beyond pricing, like free credits, OSS programs or better docs
|
||||
B) Selective expansion
|
||||
✅ Keeps the current scope and also offers each possible add-on as a separate yes/defer/skip choice
|
||||
✅ Brings up options next to pricing that might fix developer adoption better than a cheaper tier
|
||||
❌ Spends review time on add-ons before anyone has confirmed that pricing is the real barrier
|
||||
C) Scope expansion
|
||||
✅ Aims for the ideal developer adoption strategy, not just one price change, and could find a 10x better path
|
||||
✅ Brings up at least five adjacent quick wins that could make developers happy during onboarding
|
||||
❌ Makes an unproven hypothesis bigger; more work rides on a premise nobody has tested yet
|
||||
D) Scope reduction
|
||||
✅ Cuts down to the smallest test, such as five developer interviews or a pricing-page A/B test, before building a tier
|
||||
✅ Lowest cost and risk; you learn whether price matters before you touch billing or packaging
|
||||
❌ May postpone a real launch if the team already has data on price friction that isn't in the plan
|
||||
Net: Stress-test the guess as written (A), shop for add-ons (B/C), or shrink to a cheap test of the guess first (D).
|
||||
|
||||
Hold scope (recommended)
|
||||
Keep scope as written; stress-test premise, metric, edge cases, failure modes. ✅ Attacks the untested price premise and vague signup metric first ✅ Covers tier abuse, downgrade cannibalization, observability ❌ Won't propose non-pricing adoption ideas
|
||||
|
||||
Selective expansion
|
||||
Hold current scope, then offer each expansion one at a time to add/defer/skip. ✅ You choose every addition individually ✅ Can surface non-pricing adoption levers ❌ Spends effort on add-ons before the premise is validated
|
||||
|
||||
Scope expansion
|
||||
Push for the ideal developer adoption strategy, 10x value for 2x effort. ✅ Could find a much better path than a cheaper tier ✅ Includes a 5+ item quick-win scan ❌ Expands work riding on an untested hypothesis
|
||||
|
||||
Scope reduction
|
||||
Cut to the minimum viable test of the premise before building a tier. ✅ Cheapest path to learning if price is the real barrier ✅ Avoids billing and packaging changes until validated ❌ May delay a launch if the team has unstated price data
|
||||
@@ -0,0 +1,38 @@
|
||||
Review mode
|
||||
|
||||
D1 — Which review mode should this CEO review use for the developer pricing tier plan?
|
||||
Project/branch/task: Reviewing plan.md ("developer-friendly" pricing tier) on branch main.
|
||||
ELI10: The plan wants a cheaper tier to get more developers signing up. But nobody has asked developers whether price is what's stopping them, and "more signups" has no target number. The mode decides how I review it: dream bigger, offer optional add-ons one at a time, test the current plan hard without changing its size, or cut it down to the smallest test of the idea.
|
||||
Stakes if we pick wrong: Adding scope on top of a guess could mean launching a tier that cuts revenue without bringing in developers, and with no target number nobody can tell whether it worked.
|
||||
Recommendation: HOLD SCOPE because the plan's weakest points are its untested premise (no developer conversations) and a metric with no number, and HOLD spends the review on those instead of adding scope on top of an unproven guess.
|
||||
Note: options differ in kind, not coverage — no completeness score.
|
||||
Pros / cons:
|
||||
A) HOLD SCOPE (recommended)
|
||||
✅ Spends the review on the untested premise and the metric with no number
|
||||
✅ Keeps the plan the size it is while still checking failure modes and rollback
|
||||
❌ Won't suggest bigger ideas like usage-based pricing or a free developer sandbox
|
||||
B) SELECTIVE EXPANSION
|
||||
✅ Keeps the current scope and offers optional add-ons for you to accept or reject one by one
|
||||
✅ Can bring up ideas like a self-serve trial or a startup program as options
|
||||
❌ More questions, and every add-on still rests on the same unproven premise
|
||||
C) SCOPE EXPANSION
|
||||
✅ Rethinks developer adoption from scratch, not just the price point
|
||||
✅ Could turn up a bigger lever than price, like onboarding friction or the docs
|
||||
❌ Pushes hard for bigger scope before anyone has shown that price is the problem
|
||||
D) SCOPE REDUCTION
|
||||
✅ Cuts the plan to the smallest test: talk to developers or run a short pricing experiment
|
||||
✅ Cheapest way to find out if price matters before committing to a new tier
|
||||
❌ Might drop the tier launch entirely if you've already committed to it for other reasons
|
||||
Net: The choice is between testing the plan as written, offering optional add-ons, rethinking it from scratch, or cutting it down to an experiment before building anything.
|
||||
|
||||
HOLD SCOPE (recommended)
|
||||
Keep the plan's current scope and test it hard: the untested premise, the metric with no number, failure modes and rollback. ✅ Spends the review on the untested premise and the metric with no number ✅ Keeps the plan the size it is while still checking failure modes and rollback ❌ Won't suggest bigger ideas like usage-based pricing or a free developer sandbox
|
||||
|
||||
SELECTIVE EXPANSION
|
||||
Keep the current scope, then offer each possible add-on separately for you to add, defer or skip. ✅ Keeps the current scope and offers optional add-ons for you to accept or reject one by one ✅ Can bring up ideas like a self-serve trial or a startup program as options ❌ More questions, and every add-on still rests on the same unproven premise
|
||||
|
||||
SCOPE EXPANSION
|
||||
Dream big: design the best possible developer adoption plan and push for bigger ideas. ✅ Rethinks developer adoption from scratch, not just the price point ✅ Could turn up a bigger lever than price, like onboarding friction or the docs ❌ Pushes hard for bigger scope before anyone has shown that price is the problem
|
||||
|
||||
SCOPE REDUCTION
|
||||
Cut the plan to the smallest version that tests whether price is really the barrier. ✅ Cuts the plan to the smallest test: talk to developers or run a short pricing experiment ✅ Cheapest way to find out if price matters before committing to a new tier ❌ Might drop the tier launch entirely if you've already committed to it for other reasons
|
||||
@@ -307,7 +307,7 @@ export const E2E_TOUCHFILES: Record<string, string[]> = {
|
||||
'test/fixtures/native-auto-decide-ag.json', 'test/helpers/native-auto-decide.ts', 'test/fixtures/auto-decide-current-declaration-6aef.json', 'test/fixtures/auto-decide-explanatory-mode-043a.json', 'test/fixtures/auto-decide-explanatory-mode-749df.json', 'bin/gstack-skill-start', 'bin/gstack-skill-end', 'office-hours/**', 'ETHOS.md', 'scripts/resolvers/preamble/generate-completion-status.ts', 'scripts/resolvers/question-tuning.ts', 'scripts/resolvers/preamble/generate-ask-user-format.ts', 'scripts/resolvers/preamble.ts', 'scripts/resolvers/preamble-hoist.ts', 'test/helpers/claude-pty-runner.ts', 'test/helpers/pty/**', 'test/fixtures/design-ui-boxed-question.json', 'test/helpers/hermetic-skill-runtime.ts', 'test/helpers/pty-trust-dialog.ts', 'test/skill-e2e-office-hours-auto-mode.test.ts', 'test/helpers/plan-mode-evidence.ts', 'test/fixtures/eng-d2-truncated-border-0bcd.json', 'test/fixtures/eng-d1-clipped-elision-1579.json', 'test/fixtures/eng-d2-planning-prelude-4d.json', 'test/fixtures/ceo-approach-z-call.json', 'test/fixtures/ceo-approach-z-screen.txt',
|
||||
'test/fixtures/pty-companion-cli.ts', 'lib/fs-atomic.ts', 'test/helpers/plan-skill-questions.ts', 'test/fixtures/eng-auq-validation-error.json', 'test/fixtures/bash-directory-permission.json', 'test/fixtures/design-tasks-bash-permission.json', 'test/fixtures/read-permission.json', 'test/fixtures/ceo-split-e5-numbered-description-491.json', 'test/helpers/plan-skill-question-events.ts', 'test/helpers/plan-skill-question-hook-scope.ts', 'test/helpers/skill-census.ts', 'test/helpers/auto-decision-state.ts', 'test/helpers/autoplan-artifact-digest.ts', 'test/helpers/autoplan-artifact-permission.ts', 'test/helpers/autoplan-artifact-recorder.ts', 'test/helpers/dx-selected-navigation.ts', 'test/helpers/e2e-gate.ts', 'test/helpers/eng-cache-writer-decision.ts', 'test/helpers/owned-claude-transcript.ts', 'test/helpers/plan-count-artifacts.ts', 'test/helpers/plan-count-file-permission.ts', 'test/helpers/plan-count-fixture.ts', 'test/helpers/plan-count-pending-exit.ts', 'test/helpers/plan-count-pending-question.ts', 'test/helpers/plan-count-transcript.ts', 'test/helpers/plan-floor-review.ts', 'test/helpers/plan-floor-target.ts', 'test/helpers/plan-scope-selection.ts', 'test/helpers/plan-seed-submission.ts', 'test/helpers/pty-screen.ts', 'bin/gstack-context-recovery'],
|
||||
'office-hours-phase4-fork': [ 'ETHOS.md','bin/gstack-state-root.sh', 'lib/state-root.ts', 'bin/gstack-skill-start', 'bin/gstack-skill-end', 'office-hours/**', 'scripts/resolvers/preamble/generate-ask-user-format.ts', 'scripts/resolvers/preamble/generate-completion-status.ts', 'scripts/resolvers/preamble.ts', 'scripts/resolvers/preamble-hoist.ts', 'scripts/resolvers/question-tuning.ts', 'test/helpers/llm-judge.ts', 'test/skill-e2e-office-hours-phase4.test.ts', 'bin/gstack-context-recovery' ],
|
||||
'llm-judge-recommendation': ['codex/**', 'test/helpers/llm-judge.ts', 'test/llm-judge-recommendation.test.ts', 'scripts/resolvers/preamble/generate-ask-user-format.ts', 'codex/SKILL.md.tmpl', 'scripts/resolvers/review-dashboard.ts', 'scripts/resolvers/plan-gates.ts', 'scripts/resolvers/spec-review.ts', 'scripts/resolvers/outside-voice-steps.ts', 'scripts/resolvers/review-scope.ts', 'scripts/resolvers/outside-voice.ts'],
|
||||
'llm-judge-recommendation': ['codex/**', 'test/helpers/llm-judge.ts', 'test/llm-judge-recommendation.test.ts', 'test/fixtures/judge-recommendation/**', 'scripts/resolvers/preamble/generate-ask-user-format.ts', 'codex/SKILL.md.tmpl', 'scripts/resolvers/review-dashboard.ts', 'scripts/resolvers/plan-gates.ts', 'scripts/resolvers/spec-review.ts', 'scripts/resolvers/outside-voice-steps.ts', 'scripts/resolvers/review-scope.ts', 'scripts/resolvers/outside-voice.ts'],
|
||||
// v1.21+ AUTO_DECIDE preserve eval (periodic). Verifies the Tool resolution
|
||||
// fix doesn't trip the legitimate /plan-tune opt-in path: when the user has
|
||||
// written a never-ask preference, AUQ should still auto-decide rather than
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
*/
|
||||
|
||||
import { expect } from 'bun:test';
|
||||
import * as fs from 'node:fs';
|
||||
import * as path from 'node:path';
|
||||
import { CAPTURE_MS } from './helpers/eval-budgets';
|
||||
import { judgePanel, judgePanelMajority, judgePanelMedian, judgePanelReasoning, judgeRecommendation } from './helpers/llm-judge';
|
||||
import { describeIfSelected, testIfSelected } from './helpers/e2e-helpers';
|
||||
@@ -118,6 +120,24 @@ Net: ...`);
|
||||
expect(noRec.has_because).toBe(false);
|
||||
expect(noRec.reason_substance).toBe(1);
|
||||
|
||||
// REAL CAPTURES on either side of the 3/4 line, from the auq-format-gate
|
||||
// runs after #4630 moved this judge from Haiku 4.5 to Haiku 5.5. Haiku 4.5
|
||||
// scored both 5; Haiku 5.5 scored 44955253712 at 3 in 25 of 25 samples and
|
||||
// 44962016350 at 4 or 5 in 15 of 15, as did Sonnet 5.5. A judge swap that
|
||||
// moves either side changes what the gate passes.
|
||||
const fixture = (run: string) =>
|
||||
fs.readFileSync(path.join(import.meta.dir, 'fixtures', 'judge-recommendation', `auq-format-gate-${run}.txt`), 'utf8');
|
||||
const contrasted = await judgeRecommendationPanel(fixture('44962016350'));
|
||||
expect(
|
||||
contrasted.reason_substance,
|
||||
`expected >=4 for a plan-specific reason that names the tradeoff against adding scope; got ${contrasted.reason_substance}: ${contrasted.reasoning}`,
|
||||
).toBeGreaterThanOrEqual(4);
|
||||
const categoryLed = await judgeRecommendationPanel(fixture('44955253712'));
|
||||
expect(
|
||||
categoryLed.reason_substance,
|
||||
`expected <4 for a reason resting on the plan's category with no tradeoff; got ${categoryLed.reason_substance}: ${categoryLed.reasoning}`,
|
||||
).toBeLessThan(4);
|
||||
|
||||
// CROSS-MODEL synthesis recommendations: when /codex or the Claude
|
||||
// adversarial subagent emit a synthesis Recommendation line, it follows
|
||||
// the same canonical shape and is graded by the same rubric. These
|
||||
|
||||
Reference in new issue
Block a user