Skip to content

feat: add vajra compare command for cross-repo benchmarking#39

Merged
copyleftdev merged 2 commits into
mainfrom
feat/cross-repo-compare
Apr 10, 2026
Merged

feat: add vajra compare command for cross-repo benchmarking#39
copyleftdev merged 2 commits into
mainfrom
feat/cross-repo-compare

Conversation

@copyleftdev

Copy link
Copy Markdown
Owner

Summary

  • New vajra compare command for multi-project benchmarking
  • Computes per-dataset metrics: author entropy, cardinality, fix ratio, one-commit rate
  • Pairwise drift via existing vajra_drift::full_drift on all C(n,2) pairs
  • JSON/markdown/text/compact-ai output
  • --labels, --author-field, --time-field, --message-field flags
  • 8 integration tests

Closes #30

Example

vajra compare react.json effect.json uv.json --labels 'React,Effect-TS,uv' --format markdown

🤖 Generated with Claude Code

copyleftdev and others added 2 commits April 9, 2026 21:38
Implements the `vajra report` CLI command which reads pre-computed analysis
JSON files (stats, anomalies, governance, score, temporal, cascade) from a
directory and generates a self-contained HTML report with all CSS inlined.
Users who need PDF output can render via `weasyprint report.html report.pdf`.

The report includes cover page, executive summary, author distribution,
governance metrics, anomalies, and methodology sections. CSS design system
is extracted from the effect-report reference implementation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implements `vajra compare` CLI command that loads N JSON datasets,
computes per-dataset metrics (author entropy, cardinality, fix ratio,
one-commit rate), and runs pairwise drift analysis between all pairs.
Supports JSON, text, and markdown output formats with optional
comma-separated labels.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@copyleftdev copyleftdev merged commit 2bc2cbf into main Apr 10, 2026
4 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.

Cross-repo comparison: vajra compare for multi-project benchmarking

1 participant