Skip to content

[deep-report] Fix implausible day-over-day LOC/test-ratio swings in Daily Code Metrics report #55553

Description

@github-actions

Description

The Daily Regulatory Report (discussion #55519, 2026-08-24) found the Daily Code Metrics workflow (.github/workflows/daily-code-metrics.md) produced implausible day-over-day swings between its first two runs: total LOC dropped 1,249,199 → 885,009 (-29%), test-to-source ratio nearly doubled (0.378 → 0.66), and active-files-in-7d rose 434 → 1,976 (+355%) — all in a single day, with both reports self-describing as "baseline established" rather than explaining the swing. This points to unstable file-inclusion/exclusion logic (cloc config, path filters, or glob scoping) between runs rather than genuine repository change.

Expected Impact

A stable, reproducible LOC/test-ratio baseline is required before these metrics are useful for trend tracking — currently the numbers can't be trusted for day-over-day comparison, undermining the whole point of the daily-code-metrics workflow.

Suggested Agent

New Agent (or whoever maintains .github/workflows/daily-code-metrics.md) — compare the exact file-scoping config used in the two runs (gh run view on the two report-generating runs) and pin down what changed between the Aug 23 and Aug 24 executions.

Estimated Effort

Medium (1-4 hours) — requires comparing two historical run logs/configs to find the scoping divergence.

Data Source

DeepReport Intelligence Briefing analysis, 2026-08-25, sourced from Daily Regulatory Report discussion #55519 (Critical Issue 1).

Generated by 🔬 Deep Report · claude · agent · 249.5 AIC · ⌖ 8.79 AIC · ⊞ 12.4K · ◷

  • expires on Aug 26, 2026, 4:39 PM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions