Skip to content

feat: add batch-report CLI command to generate Markdown or HTML reports from existing batch runs#85

Merged
dippatel1994 merged 2 commits intollmsresearch:mainfrom
claytonlin1110:feat/batch-report-cli
Mar 11, 2026
Merged

feat: add batch-report CLI command to generate Markdown or HTML reports from existing batch runs#85
dippatel1994 merged 2 commits intollmsresearch:mainfrom
claytonlin1110:feat/batch-report-cli

Conversation

@claytonlin1110
Copy link
Contributor

Summary

Adds a batch-report subcommand that turns an existing batch run’s batch_report.json into a Markdown or HTML report.
Closes #84

Changes

  • paperbanana/core/batch.py: load_batch_report(), generate_batch_report_md(), generate_batch_report_html(), write_batch_report().
  • paperbanana/cli.py: New paperbanana batch-report command with --batch-dir / --batch-id, --output, and --format (markdown | html).
  • tests/test_batch.py: Tests for load/generate/write and invalid inputs.
  • README.md: Documented batch-report usage in the batch section.

Usage

# By path
paperbanana batch-report --batch-dir outputs/batch_20250109_123456_abc --format markdown

# By batch ID (under default output dir)
paperbanana batch-report --batch-id batch_20250109_123456_abc -f html -o report.html

@claytonlin1110
Copy link
Contributor Author

@dippatel1994 Please review

@dippatel1994 dippatel1994 merged commit b88c28d into llmsresearch:main Mar 11, 2026
11 checks passed
@dippatel1994
Copy link
Member

Looks good, thanks @claytonlin1110 for your contribution!

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.

[Feature]: Human-readable batch run reports

2 participants