feat(experiments): add draft launchdarkly-experiment-hypothesis-builder skill#95
feat(experiments): add draft launchdarkly-experiment-hypothesis-builder skill#95mabramowitz-pixel wants to merge 10 commits into
Conversation
…er skill Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Skill eval results
Only suites whose source actually changed since their last recorded score were re-run. Soft-failing while we stabilise the baseline. |
|
From the eval on #96 — here's a prompt you can paste into Claude (run from the repo root) to fix the three findings, then re-run the eval to confirm it goes green. The three findings map to failing assertions in the suite ( via LD Research 🤖 |
… alignment in hypothesis-builder Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…hard, dominant, and strip write walkthrough Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ag/update-feature-flag) at top of hypothesis-builder Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ilder Five test cases picked by the three-lens method (golden path, weak-input coaching, search-term stemming, metric<->outcome alignment, non-real input safety). Adds shared list-metrics / list-metric-events tool defs + mocks (reused by future experiment and metrics suites), manifest entry, and npm scripts. Stacked on the skill PR (#95) so the diff is eval-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…o obtain IDs; leave null Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…h) blocking — forbid A/A hypothesis + silent metric substitution Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Eval outcome + known residual (A/A gating)The eval suite (#96) is green against these skill fixes. Summary of the three behaviors the evals check:
Known residual — A/A gating (model adherence). For the input "A/A test to validate bucketing," the agent (Sonnet 4.6) recognizes it's an A/A yet still drafts an "A/A validation hypothesis" rather than stopping to confirm intent. Step 0 was strengthened twice to forbid exactly this (an A/A has identical variants ⇒ no hypothesis; reply must be a single clarifying question), and the agent still builds the package. Behavior is also noisy run-to-run. This is a model-adherence limitation on one input, not a wording gap — the suite clears the 75% gate because the other four cases are clean and nothing writes. Filing as a known limitation rather than over-tuning the prose further. |
Advisory / handoff-only run via read-only mcp_tool_allowlist; trajectory + llm-rubric assertions across 5 cases (golden path, weak input, metric resolution, metric/outcome mismatch, A/A safety). Adds shared list-metrics and list-metric-events tool defs + mocks. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ique model Replace the 9-step workflow with a focused scaffold engine that detects components (change/measurement/rationale), fills holes from user input, and returns fixed critique messages. Slims the handoff payload and moves flag/metric resolution, config, and sample sizing to experiment-setup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Keep both the new investigate skill from main and the updated hypothesis-builder entry with v0.2.0 description. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ensures skills.json matches what generate_catalog.py --check expects (unicode escapes for non-ASCII characters). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cchung-at-LD
left a comment
There was a problem hiding this comment.
I've made changes to the skill file according to the designs.
Summary
Draft skill for AI-assisted experiment hypothesis building, now in its third iteration (v0.3.0).
v0.3.0 changes — Structural alignment to finalized designs and detection-model improvements:
is_junk/is_aa/measurement_count/rewrite_worthy), with routing as a separate UI-presentation stepthenhole joined with "or" and an amber Measurement warning (replaces the up-arrow primary-switch pills)routefield withcomponents+measurementCount+ non-exclusiveflagslaunchdarkly-experiment-setupfor buildPrevious work
(Same-repo replacement for #94, which was opened from a fork and couldn't run Skill Evals.)
Test plan
python3 scripts/validate_skills.pypassespython3 scripts/generate_catalog.pyregeneratesskills.jsonwith updated entryevals/launchdarkly-experiment-hypothesis-builder/🤖 Generated with Claude Code