Skill / SKILL.md

Calibrating Thresholds And Baselines

wdm0006/python-skills

Check that a score-threshold-flag pipeline actually separates anything before you trust or tune it — reference constants that are hand-authored but formatted as measurements, a computed feature whose units do not match the constant it is compared against, per-class fire rates that expose a flag firing on nearly every item of both classes, rate features confounded by item length, confidence scores where one feature family contributes once per sub-feature, threshold sweeps hardcoded to one comparison direction and one statistic, and separating features that carry the decision from features that only populate a warning list. Use when writing or reviewing an anomaly detector, a quality or risk score, a fraud/abuse heuristic, a lint-style flag set, or any pipeline that z-scores features against stored baseline constants and emits flags.
2 views 121 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Check that a score-threshold-flag pipeline actually separates anything before you trust or tune it — reference constants that are hand-authored but formatted as measurements, a computed feature whose units do not match the constant it is compared against, per-class fire rates that expose a flag firing on nearly every item of both classes, rate features confounded by item length, confidence scores where one feature family contributes once per sub-feature, threshold sweeps hardcoded to one comparison direction and one statistic, and separating features that carry the decision from features that only populate a warning list. Use when writing or reviewing an anomaly detector, a quality or risk score, a fraud/abuse heuristic, a lint-style flag set, or any pipeline that z-scores features against stored baseline constants and emits flags.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wdm0006/python-skills' skill-source

Use the complete skill-source/skills/common/threshold-calibration directory with your client’s skill installer.

  • skills/common/threshold-calibration

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/common/threshold-calibration

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
18f989408d0dec85e87cffe44798117e51db9753a7ad35c6fdd2fcb6100385b2
Format validation findings
  • Declared name does not match the source directory.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills