← Back to Pull requests

chore: Remove unused archive files, one-off scripts, and stale images #303

Closed
unknown closed this pull request without merging on Jul 26, 2026 14:01 UTC
View on GitHub
unknown unknown commented on Jul 23, 2026 21:56 UTC
Author

Description

Remove unused files that are no longer referenced by any runtime code, tests, or documentation:

  • data/archive/ (11 files): Historical reference data (CSVs, JSONs, a README) with zero imports from src/, ui/, or tests/. The only references were stale

  • documentation pointers, now cleaned up.
  • scripts/interpolate_benchmark_scores_robust.py: One-shot ML interpolation script whose output is already baked into opensource_all_benchmarks.csv. Not needed for

  • ongoing development.
  • scripts/generate_before_after_comparison.py: One-shot presentation chart generator with hardcoded data. Output was written to data/archive/presentation/.

  • docs/MIGRATION_PLAN.md: Completed NeuralNav→Planner rename and Config Explorer integration plan. The rename is done and config_explorer/ no longer exists.

  • 8 unused image files in docs/: Logo variants and an architecture diagram PNG with zero references. The two logos actually used by the UI live in ui/static/. Kept

  • docs/planner-logo.ico (referenced by README.md).
  • .gitignore fix: generated_configs/ previously only ignored .yaml/.yml, allowing subdirectories to appear as untracked. Now ignores everything except .gitkeep.
  • Stale references cleaned up in data/configuration/slo_templates.json, docs/Recommendation Flow.md, docs/USE_CASE_METHODOLOGY.md, and CLAUDE.md.

    How Has This Been Tested?

  • Verified zero remaining references to deleted files via grep -r across all source, docs, config, and script files

  • make lint — passed

  • make typecheck — passed (122 source files, no issues)

  • make test-unit — 328 tests passed
  • Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.

  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).

  • The developer has manually tested the changes and verified that the changes work
  • Diff: 250 lines (+187 / -63) across 3 files Reviewer: amito Review duration: 3845m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 250 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.331
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #303"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.0% (MEDIUM) · Higher = larger blast radius
    39.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.4% · Safe to merge
    15.4%