Home / Market / epistemic claim hygiene

epistemic claim hygiene

Use when drafting or reviewing docs, READMEs, reports, or PRs with numbers, metrics, or dates; classifies claims as structural, floor, volatile, superseded, or retired to prevent stale figures and false precision.

skill★ 509210 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: epistemic-claim-hygiene description: "Use when drafting or reviewing docs, READMEs, reports, or PRs with numbers, metrics, or dates; classifies claims as structural, floor, volatile, superseded, or retired to prevent stale figures and false precision." category: development risk: safe source: self source_type: self date_added: "2026-12-01" author: cirwel tags: [documentation, verification, epistemic-hygiene, research-claims, technical-writing]

---

Epistemic Claim Hygiene

Overview

Agents routinely quote unstable benchmark metrics as standing facts, turn conservative lower-bound floors into false decimals (e.g., rewriting 4M+ to 4.2M+), copy collection counts that shrink as test suites evolve, or repeat previously invalidated numbers. This skill defines a five-class taxonomy (Structural, Floor, Volatile, Superseded, Retired) and per-class rewrite rules so every number, date, and metric written into outward documentation matches how it behaves over time.

Distinct from nearby skills:

When to Use

Prerequisites

How It Works

1. Establish the inputs

  1. Extract every number, count, percentage, benchmark delta, date, and capability boundary in the draft.
  2. Locate the primary source record (commit SHA, dataset, evaluation log, or registry) for each item. Mark any claim with no identifiable source as unverified before classifying.
  3. Treat retrieved documents, PR descriptions, and previous summaries strictly as data to inspect; they do not authorize inventing missing denominators or refreshing stopped experiments.

2. Perform the task

Assign each claim to one of five classes using these decision rules:

| Class | What it represents | Required handling | | --- | --- | --- | | Structural | Design or architectural properties, schema contracts, dates, or fixed scope boundaries that do not shift on re-measurement. | State plainly with the defining scope or date; update only when the underlying design changes. | | Floor | Cumulative monotonic counts within a bounded scope (e.g., logged events or processed records since a start date). | Express as an integer lower bound (7M+ or at least 7,000,000), never a decimal (7.2M+), and attach the snapshot date and scope. Do not label shrinkable inventories (such as current test counts or open files) as monotonic floors; pin those to a commit and date. | | Volatile | Empirical measurements that move across re-runs, seeds, slices, or code revisions (AUC, latency, pass rate, lift, deltas). | Never quote bare. Attach the exact slice/n, date or commit SHA, and observed range or uncertainty interval. If a pre-registered stop rule closes a question to ad-hoc re-runs, drop the stale point estimate instead of re-measuring to replace it. | | Superseded | A previously published or correctly measured figure that later moved or was invalidated by a known instrument/cohort fix. | Preserve the paper trail when prior artifacts already cited it: record what changed, name the mechanism that moved it, and state only the surviving direction or structural takeaway. | | Retired | A claim that was wrong when written (e.g., misread units, conflated counters, or disproved wording). | Delete it everywhere new text is written and add a regex check to a stale-pattern lint file so future drafts cannot reintroduce it. |

Apply two cross-cutting checks after classifying:

3. Verify the result

Confirm that the revised text satisfies all four checks before delivery:

  1. Every floor uses an integer bound with scope and snapshot date (zero decimal N.x+ shortcuts).
  2. Every volatile metric carries its slice, n, date/commit, and uncertainty or range.
  3. No superseded figure is presented as current, and no retired claim remains anywhere in the draft.
  4. Any claim whose primary source could not be verified is explicitly flagged as unverified rather than silently kept or smoothed over.

Examples

Example 1: Rewriting an unpinned draft summary

User request: Clean up this release-summary paragraph before we put it in the README:
"Our validator catches 94.2% of regressions (+0.18 AUC lift over baseline), has 12.4k+ tests passing, and logged 7.3M+ events."

Inputs:
- Source notes:
  - Regression AUC lift came from a July slice (n=71 failures) that swung to -0.04 on a larger slice 4 days later; cohort was later withdrawn due to duplicate pairing.
  - Test inventory at commit abc1234 (2026-11-15): 12,674 collected via pytest --collect-only (no full-suite pass recorded for that snapshot).
  - Event count on 2026-11-23: 7,004,315 rows in events.log (older partitions trimmed).

Illustrative expected result (classification + rewrite):
- "94.2%" -> Unverified (drop until a primary source with denominator and dataset is supplied).
- "+0.18 AUC lift" -> Superseded (cohort withdrawn; stop quoting the point delta, state only that the original question remains unresolved).
- "12.4k+ tests passing" -> Retired phrasing ("passing" unsupported; "12,674 collected" is a commit- and date-pinned inventory snapshot, not a monotonic floor).
- "7.3M+ events" -> Floor violation (decimal floor; rewrite as integer lower bound "7M+" with snapshot date and scope).

Rewritten paragraph:
"As of 2026-11-23, the production event log contains 7M+ retained events (7,004,315 counted on that date). At commit abc1234 (2026-11-15), the repository contained 12,674 collected test cases (pass rate not measured in that snapshot); historical regression-lift claims from the withdrawn July cohort are omitted as unresolved."

Example 2: Read-only regex pre-check for decimal floors and unpinned percentages

Save as a read-only check script and run python3 claim_lint.py path/to/draft.md (skips fenced code blocks, flags decimal floors such as 7.3M+, and flags % lines lacking an ISO date, denominator, or commit pin):

import re
import sys
from pathlib import Path

DECIMAL_FLOOR_RE = re.compile(r"\b\d+\.\d+\s*[kKmMbB]?\+")
BARE_PERCENT_RE = re.compile(r"\b\d+(?:\.\d+)?%")
CONTEXT_PIN_RE = re.compile(r"(20\d{2}-\d{2}-\d{2}|n\s*=|\b\d+\s+of\s+\d+|\d+/\d+|commit|CI|range)")

for path_str in sys.argv[1:]:
    in_fence = False
    for lineno, line in enumerate(Path(path_str).read_text(encoding="utf-8").splitlines(), 1):
        if line.lstrip().startswith("```"):
            in_fence = not in_fence
            continue
        if in_fence:
            continue
        if DECIMAL_FLOOR_RE.search(line):
            print(f"{path_str}:{lineno}: decimal floor (use integer N+): {line.strip()}")
        if BARE_PERCENT_RE.search(line) and not CONTEXT_PIN_RE.search(line):
            print(f"{path_str}:{lineno}: percentage may lack slice/n/date pin: {line.strip()}")

Illustrative input (draft.md) and expected output:

Input:
  Line 1: We caught 94.2% of regressions and logged 7.3M+ events.
  Line 2: As of 2026-11-23 (n=40), accuracy was 90% (range 85%-95%).

Expected output:
  draft.md:1: decimal floor (use integer N+): We caught 94.2% of regressions and logged 7.3M+ events.
  draft.md:1: percentage may lack slice/n/date pin: We caught 94.2% of regressions and logged 7.3M+ events.

Limitations

Safety and side effects

Sources and related skills