Skip to content

fix: Auto-generate leaderboard after benchmark — wire VibeReporter in…#28

Merged
umayer16 merged 1 commit intomainfrom
umayer16-patch-13
Mar 19, 2026
Merged

fix: Auto-generate leaderboard after benchmark — wire VibeReporter in…#28
umayer16 merged 1 commit intomainfrom
umayer16-patch-13

Conversation

@umayer16
Copy link
Copy Markdown
Owner

…to save_report() (#22)

Summary

Fixes #22 — the leaderboard markdown was never generated automatically after a benchmark run. Users had to manually run core/reporter.py as a separate step, causing results and leaderboard to go out of sync.

Changes

vibebench.py

  • from core.reporter import VibeReporter moved to top-level imports
  • save_report() now calls VibeReporter(report_name).generate_markdown() immediately after saving the JSON file
  • Wrapped in try/except so a reporter failure never crashes the benchmark — a warning is printed with the manual fallback command instead

Before / After

Before:

✅ Benchmark Complete. Report saved: vibebench_multimodel_20260319_1234.json
# (user must manually run: python core/reporter.py)

After:

✅ Benchmark Complete. Report saved: vibebench_multimodel_20260319_1234.json
✅ Professional Leaderboard generated: VibeBench_Leaderboard.md

Notes

This PR is stacked on #24 (schema fixes) and #23 (--verbose flag). All three fixes are included in this vibebench.py.

Closes #22

…to save_report() (#22)

## Summary

Fixes #22 — the leaderboard markdown was never generated automatically
after a benchmark run. Users had to manually run `core/reporter.py`
as a separate step, causing results and leaderboard to go out of sync.

## Changes

**`vibebench.py`**

- `from core.reporter import VibeReporter` moved to top-level imports
- `save_report()` now calls `VibeReporter(report_name).generate_markdown()`
  immediately after saving the JSON file
- Wrapped in `try/except` so a reporter failure never crashes the benchmark
  — a warning is printed with the manual fallback command instead

## Before / After

**Before:**
```
✅ Benchmark Complete. Report saved: vibebench_multimodel_20260319_1234.json
# (user must manually run: python core/reporter.py)
```

**After:**
```
✅ Benchmark Complete. Report saved: vibebench_multimodel_20260319_1234.json
✅ Professional Leaderboard generated: VibeBench_Leaderboard.md
```

## Notes

This PR is stacked on #24 (schema fixes) and #23 (--verbose flag).
All three fixes are included in this `vibebench.py`.

Closes #22
@umayer16 umayer16 merged commit 9957ce5 into main Mar 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reporter does not auto-run after benchmark — wire core/reporter.py into vibebench.py

1 participant