pbdeuchler/llm-plugins/confidence-scoring
Claude Code and agent skill by pbdeuchler/llm-plugins
- community
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-scoringSKILL.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):
- Sorted median: Sort values, take middle element (or average of two middle elements for even count).
- MAD: For each value, compute
|value - median|. Take the sorted median of those absolute deviations. - Baseline: The metric value of the first experiment in the current segment.
- Best kept: The best
keep-status metric value (respecting optimization direction). - Delta:
|best_kept - baseline| - Confidence:
delta / MAD
Edge Cases
- If MAD = 0 (all values identical): return
null— no measurable noise to compare against. - If no
keepresults exist yet: returnnull. - 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:
| Score | Meaning | Action | |
|---|---|---|---|
| ≥ 2.0× | Improvement likely real | Safe to trust | |
| 1.0×–2.0× | Marginal — could be noise | Consider re-running to confirm | |
| < 1.0× | Within noise floor | Treat as no improvement |
How to Apply
When logging an experiment result to autoresearch.jsonl:
- Collect all positive metric values from the current segment.
- If count < 3, set
"confidence": nullin the JSONL record. - Otherwise, compute MAD and confidence as above.
- Record the numeric confidence value in the JSONL entry.
- When deciding
keepvsdiscard: 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
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
- SKILL.md in the repositoryCheckingplugins/autoresearch/skills/confidence-scoring/SKILL.md
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
[](https://verified-skill.com/skills/pbdeuchler/llm-plugins/confidence-scoring)