a-priced-bias-is-a-work-item-not-a-caveat

Solid

Use at implementation, experimentation and analysis on a task graded by an error metric over a predictions file, when a diagnostic you ran after freezing your design says the numbers you are about to ship are biased - too high, too low, on the wrong scale, in the wrong units - and a pre-registered decision rule is the reason you are recording it rather than fixing it. Covers the one test that separates a forbidden search over candidates from an ordinary bias correction, where the correction may be estimated, the held-out check that has to pass before you apply it, and how to ship the corrected file while still reporting the frozen verdict.

AI & Automation 805 stars 25 forks Updated 2 weeks ago NOASSERTION

Install

View on GitHub

Quality Score: 82/100

Stars 20%
97
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# A number that prices a defect in the deliverable is a work item Freezing a decision rule before the results exist is the right habit and it protects exactly one thing: the mapping from a statistic to a verdict. It stops you choosing, after the fact, the comparison that happened to come out well. The graded file is not a verdict. It is an artifact, the grader has no notion of your protocol, and no statistic is being adjudicated by the numbers inside it. So when a diagnostic run after the freeze says those numbers are biased, the freeze has an opinion about what you may *conclude* and no opinion at all about what you may *ship*. Runs conflate the two, and the conflation is expensive: the discipline written to stop you fooling yourself becomes the reason you knowingly ship a defect you have already measured. ## 1. The test, in one question > **Does the correction require me to choose among candidates using their scores?** - **Yes** — that is a search, the freeze forbids it, and it is right to. Swapping the shipped model for the one that came out best in a comparison you ran after the freeze is selection, whatever you call it. - **No** — it is a bias correction, and the freeze has nothing to say. Two operational forms of the same question, either of which settles it in a minute: 1. **Would I apply exactly this correction whichever candidate were in the file?** If yes, it is a property of the data or of the estimator class, not of a leaderboard. 2. **Does applyi...

Details

Author
tangxiangru
Repository
tangxiangru/AutoR
Created
6 months ago
Last Updated
2 weeks ago
Language
Python
License
NOASSERTION

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

calibrate-the-level-on-the-window-you-cannot-score

Use at implementation and afterwards whenever the rows you will be scored on lie outside every window you can check against truth — a forecast horizon that starts where the supplied history ends, a later time period, a different site, batch or cohort, a test split whose label column has been removed — and your only bias check was run on a backtest fold or a random validation split. Covers why "my predictions are unbiased" is a statement about the folds and not about the graded rows, how to measure the overall level of your predictions on the graded rows with no labels at all, why the level ratio is only the alarm and a metric scan is the number, what to do when the two windows disagree, and when a low forecast is correct rather than broken.

805 Updated 2 weeks ago
tangxiangru
DevOps & Infrastructure Listed

decision-bias-check

Audit the decision before it ships. Use for "are we sure about this?", high-stakes choices made on fast intuition, plans with no failure scenario, estimates that are suspiciously optimistic, metrics being gamed (Goodhart), unfalsifiable claims, negotiation prep, or strategies that break in extreme conditions.

7 Updated yesterday
cdeust
AI & Automation Solid

a-model-you-can-audit-is-not-a-model-that-scores

Use at study design and implementation when choosing between a method you can validate quickly and a stronger one you are not sure you can afford. Covers pricing the expensive method with a measurement instead of an impression, the go/no-go that has to be written before the clock is spent, and why the safe choice is only safe on the axes nobody is grading.

805 Updated 2 weeks ago
tangxiangru