Skip to content

/domain-model takes over plain Rails questions #72

Open

Description

@stevepolitodesign

In the eval baseline in #71, /domain-model was the only skill
that made a case worse than no skill at all.

domain-model-sti-vs-polymorphic-question asks a plain Rails question:
should Visit belong to members and staff through a polymorphic
association, or should they be STI subclasses of Person? The skill
fired in all 3 runs and started interviewing about the gym instead of
answering:

Before choosing between polymorphic and STI, there's a business
question to settle: is a staff member checking in the same act as a
member checking in?

That case scored 0.00 with the skill and 1.00 without it. Sonnet 5.5
scored 1.00, since it never loaded the skill. The other 2
/domain-model cases scored 1.00, so we want to change when it fires,
not what it does once it's running. The skill's description decides
whether it fires, so that's likely the place to start.

Once #71 merges, we can hill climb by rerunning just this
skill's cases with the same flags as the baseline:

CLAUDE_CODE_EFFORT_LEVEL=high claude plugin eval . --scaffold \
  --case 'domain-model-*' --ablation with-without \
  --model claude-opus-5-5 --judge-model claude-haiku-5-5 --runs 3 \
  --keep-temp --json evals/results/domain-model.json \
  --allow-tools Bash Write Edit Agent Workflow \
    "WebFetch(domain:code.claude.com)" \
    "WebFetch(domain:platform.claude.com)"
bin/eval-summary evals/results/domain-model.json
bin/eval-compare evals/baselines/opus-5-5-high.json evals/baselines/domain-model.json

That's 3 cases, about $3.65 a run. The compare lists every other
skill's cases as missing, which is expected. We're done when domain-model-sti-vs-polymorphic-question
gets to 1.00 and nothing else drops.

Written by Claude Opus 5.5 (claude-opus-5-5). No human has edited this
yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions