Skip to content

risk_tech_debt is a density over LOC — event-grounded artifact: fixes 'reduce debt' by adding lines (temporal-crucible evidence) #2984

Closed as not planned

Description

@squid-protocol

Temporal-crucible measurement (gitgalaxy#2982): security fixes moved risk_tech_debt down at p=0.0011 vs matched controls while touching a TODO/FIXME/HACK marker in 1 of 186 commits (net −1 marker across all of them). The 'signal' is the denominator: fixes net-add code (median +6 LOC, 77% growing), so constant markers over more lines reads as falling debt. Same shape as #2979 (secrets) and pre-#2908 risk_documentation. The marker counters (planned/fragile debt) are fine — the introduced-commit finding (+91 markers across 25/136 large feature commits) is real signal from them. Fix is a stated ScoreContract: debt per unit, not per line. Evidence regenerates: temporal-crucible docs/exposure_history_report.md § commit anatomy.

Activity

  1. squid-protocol commented on Sep 13, 2026

    @squid-protocol
    OwnerAuthor

    Superseded by #2992 (the measurement-tier scoring reform): the density formula critiqued here is frozen as a deprecated legacy alias rather than reworked — all new measurement flows through count-based families, snapshot percentiles, and count-over-count relations. Closing as superseded.

  2. added
    bug
    metrics
    on Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmetrics

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions