pbdeuchler/llm-plugins/confidence-scoring

Claude Code and agent skill by pbdeuchler/llm-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Compute and interpret MAD-based confidence scores for experiment results. Use when logging experiment results after 3+ data points to determine if improvements are real or within noise.

Install

npx vskill@latest install pbdeuchler/llm-plugins/confidence-scoring

SKILL.md

The same SKILL.md was published earlier as pbdeuchler/llm-plugins/confidence-scoring.

Confidence Scoring

Determines whether an observed improvement is real or within measurement noise using Median Absolute Deviation (MAD).

When to Compute

  • After 3+ experiment runs in the current segment (including baseline).
  • Skip if fewer than 3 runs with positive metric values — report confidence: null.

Algorithm

Given all metric values in the current segment (positive values only):

  1. Sorted median: Sort values, take middle element (or average of two middle elements for even count).
  2. MAD: For each value, compute |value - median|. Take the sorted median of those absolute deviations.
  3. Baseline: The metric value of the first experiment in the current segment.
  4. Best kept: The best keep-status metric value (respecting optimization direction).
  5. Delta: |best_kept - baseline|
  6. Confidence: delta / MAD
Edge Cases
  • If MAD = 0 (all values identical): return null — no measurable noise to compare against.
  • If no keep results exist yet: return null.
  • If best kept equals baseline: return null — no improvement to score.

Interpreting the Score

The confidence score is a multiple of the session's noise floor:

ScoreMeaningAction
≥ 2.0×Improvement likely realSafe to trust
1.0×–2.0×Marginal — could be noiseConsider re-running to confirm
< 1.0×Within noise floorTreat as no improvement

How to Apply

When logging an experiment result to autoresearch.jsonl:

  1. Collect all positive metric values from the current segment.
  2. If count < 3, set "confidence": null in the JSONL record.
  3. Otherwise, compute MAD and confidence as above.
  4. Record the numeric confidence value in the JSONL entry.
  5. When deciding keep vs discard: the confidence score is advisory. It never auto-discards. But flag improvements below 1.0× in your ASI notes as "within noise — may not be real."

Example

Runs: [15200, 15400, 14800, 15100, 14600]
Median: 15100
Deviations: [100, 300, 300, 0, 500] → sorted: [0, 100, 300, 300, 500]
MAD: 300
Baseline: 15200 (first run)
Best kept: 14600
Delta: |14600 - 15200| = 600
Confidence: 600 / 300 = 2.0× ← improvement is real

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pbdeuchler/llm-plugins/confidence-scoring/badge)](https://verified-skill.com/skills/pbdeuchler/llm-plugins/confidence-scoring)

Something wrong with this skill or its page? Tell us.