Skip to content

Commit 704c72f

Browse files
Add interactive dashboard regeneration instructions and enhance report generation
1 parent 5f6b14e commit 704c72f

5 files changed

Lines changed: 2359 additions & 97 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
description: Regenerate the interactive dashboard after code changes
3+
globs:
4+
alwaysApply: true
5+
---
6+
7+
# Regenerate Reports After Changes
8+
9+
After making any code or configuration changes to this repository, **regenerate the interactive dashboard** so the Changelog tab stays current:
10+
11+
```bash
12+
cd /Users/ohadperry/Documents/Dev/complexity-analyzer
13+
python3.12 -c "
14+
from reports.runner import run_reports
15+
from pathlib import Path
16+
run_reports(Path('complexity-report.csv'), Path('output'))
17+
"
18+
```
19+
20+
The Changelog tab in the dashboard is built from `git log` at report-generation time. If you skip regeneration, the changelog will be stale.
21+
22+
Key files involved:
23+
- `reports/interactive_report.py` — `_build_changelog_data()` reads git history
24+
- `reports/runner.py` — `run_reports()` orchestrates all report generation
25+
- `output/index.html` — the generated dashboard

0 commit comments

Comments
 (0)