You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG/METRICS] Per-file "repo_z_score" telemetry is never populated -- real value lives at summary["repo_macro_species"]["z_score"] #371
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitymetricsHeuristics, risk exposures, and topological math updatespriority: medium
Both read a per-filetelemetry["repo_z_score"] key that is never written anywhere. The real repo-wide z-score is computed and stored, but nested one level differently and at repo scope, not per file: summary["repo_macro_species"]["z_score"] (signal_processor.py, and correctly read this way elsewhere -- e.g. llm_recorder.py:1254,1269 does macro_info = summary.get("repo_macro_species", {}) then macro_info.get("z_score", 0.0)). Nothing ever threads that repo-wide value down into each file's own telemetry dict, so these two flat reads always fall back to 0.0. Both the SQLite repo_z_score REAL column and the LLM brief's per-file z-score are always 0.0.
🎯 Objective
Decide whether per-file repo_z_score should exist at all (each file tagged with the repo's overall drift z-score for context), and if so, make it real.
🛠️ Proposed Implementation
If per-file tagging is the intent: in galaxyscope.py's telemetry-assembly step, copy summary["repo_macro_species"]["z_score"] into each file's telemetry["repo_z_score"] after summary is computed. If it's not actually needed per-file (the repo-level value is enough), remove these two dead reads and the SQLite column instead.
✅ Acceptance Criteria
Either repo_z_score is real per-file data proven by a test, or the dead reads/column are removed with a documented reason.
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitymetricsHeuristics, risk exposures, and topological math updatespriority: medium
Activity
Fix "House of Cards" report section and per-file repo_z_score (#370, #…
squid-protocol commentedon Jul 24, 2026
Fixed in #382 (merged).