Repository navigation
perf: add semantic-axis evidence runner - #349
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 35 minutes and 57 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: caa56052ab
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
## Summary Adds `devtools semantic-axis-evidence`, a repeatable proof-envelope performance evidence runner over existing synthetic benchmark campaigns. Closes #195 Ref #329 Ref #330 ## Problem Polylogue already had benchmark campaigns and synthetic scale tiers, but their output was campaign reporting rather than proof evidence. Issue #195 asks for comparative performance evidence over semantic complexity axes, with trust metadata and growth-shape semantics, so regressions can be described as changed growth behavior instead of only exceeding a machine-specific wall-time or RSS threshold. ## Solution - Added `devtools/semantic_axis_evidence.py`: - runs one synthetic benchmark campaign across selected scale tiers - maps semantic axes such as `messages` and `conversations` to existing DB stats - computes adjacent axis/metric ratios, elasticity, and a growth-shape classification - emits `EvidenceEnvelope` JSON with `EvidenceEnvelope.trust` populated from git, schema, input, and environment metadata - supports optional `--baseline` comparison for changed-growth-behavior counterexamples - Registered `devtools semantic-axis-evidence` in the command catalog and refreshed generated devtools docs. - Added unit tests for growth-shape evidence, trust metadata, baseline counterexamples, invalid axis/metric inputs, JSON serializability, and CLI reproducer shape. ## Verification - `pytest tests/unit/devtools/test_semantic_axis_evidence.py -q` — 5 passed - `pytest tests/unit/devtools/test_command_catalog.py -q` — 4 passed - `devtools semantic-axis-evidence --campaign fts-rebuild --axis messages --scales small medium --output .local/performance-evidence/issue-195 --no-save` — emitted `status=ok`, `growth_shape=approximately-linear` - `mypy devtools/semantic_axis_evidence.py tests/unit/devtools/test_semantic_axis_evidence.py` — clean - `devtools render-all --check` — clean - `devtools verify` — all checks passed - pre-push `devtools verify --quick` — all checks passed
Polylogue had benchmark campaigns and synthetic scale tiers, but their output was campaign reporting rather than proof evidence. #195 asks for comparative performance evidence over semantic complexity axes, with trust metadata and growth-shape semantics, so regressions can be described as changed growth behavior instead of only exceeding a machine-specific wall-time or RSS threshold. Adds `devtools/semantic_axis_evidence.py`: runs one synthetic benchmark campaign across selected scale tiers; maps semantic axes like `messages` and `conversations` to existing DB stats; computes adjacent axis/metric ratios, elasticity, and a growth-shape classification; emits `EvidenceEnvelope` JSON with `EvidenceEnvelope.trust` populated from git, schema, input, and environment metadata; supports optional `--baseline` comparison for changed-growth-behavior counterexamples. Registers `devtools semantic-axis-evidence` in the command catalog; refreshes generated devtools docs. Verification: pytest over semantic-axis-evidence and command-catalog suites; live `devtools semantic-axis-evidence` probe on fts-rebuild campaign; mypy clean; devtools render-all --check, verify and --quick green. Closes #195 Ref #329 Ref #330
Polylogue had benchmark campaigns and synthetic scale tiers, but their output was campaign reporting rather than proof evidence. #195 asks for comparative performance evidence over semantic complexity axes, with trust metadata and growth-shape semantics, so regressions can be described as changed growth behavior instead of only exceeding a machine-specific wall-time or RSS threshold. Adds `devtools/semantic_axis_evidence.py`: runs one synthetic benchmark campaign across selected scale tiers; maps semantic axes like `messages` and `conversations` to existing DB stats; computes adjacent axis/metric ratios, elasticity, and a growth-shape classification; emits `EvidenceEnvelope` JSON with `EvidenceEnvelope.trust` populated from git, schema, input, and environment metadata; supports optional `--baseline` comparison for changed-growth-behavior counterexamples. Registers `devtools semantic-axis-evidence` in the command catalog; refreshes generated devtools docs. Verification: pytest over semantic-axis-evidence and command-catalog suites; live `devtools semantic-axis-evidence` probe on fts-rebuild campaign; mypy clean; devtools render-all --check, verify and --quick green. Closes #195 Ref #329 Ref #330
Polylogue had benchmark campaigns and synthetic scale tiers, but their output was campaign reporting rather than proof evidence. #195 asks for comparative performance evidence over semantic complexity axes, with trust metadata and growth-shape semantics, so regressions can be described as changed growth behavior instead of only exceeding a machine-specific wall-time or RSS threshold. Adds `devtools/semantic_axis_evidence.py`: runs one synthetic benchmark campaign across selected scale tiers; maps semantic axes like `messages` and `conversations` to existing DB stats; computes adjacent axis/metric ratios, elasticity, and a growth-shape classification; emits `EvidenceEnvelope` JSON with `EvidenceEnvelope.trust` populated from git, schema, input, and environment metadata; supports optional `--baseline` comparison for changed-growth-behavior counterexamples. Registers `devtools semantic-axis-evidence` in the command catalog; refreshes generated devtools docs. Verification: pytest over semantic-axis-evidence and command-catalog suites; live `devtools semantic-axis-evidence` probe on fts-rebuild campaign; mypy clean; devtools render-all --check, verify and --quick green. Closes #195 Ref #329 Ref #330
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Adds
devtools semantic-axis-evidence, a repeatable proof-envelope performance evidence runner over existing synthetic benchmark campaigns.Closes #195
Ref #329
Ref #330
Problem
Polylogue already had benchmark campaigns and synthetic scale tiers, but their output was campaign reporting rather than proof evidence. Issue #195 asks for comparative performance evidence over semantic complexity axes, with trust metadata and growth-shape semantics, so regressions can be described as changed growth behavior instead of only exceeding a machine-specific wall-time or RSS threshold.
Solution
devtools/semantic_axis_evidence.py:messagesandconversationsto existing DB statsEvidenceEnvelopeJSON withEvidenceEnvelope.trustpopulated from git, schema, input, and environment metadata--baselinecomparison for changed-growth-behavior counterexamplesdevtools semantic-axis-evidencein the command catalog and refreshed generated devtools docs.Verification
pytest tests/unit/devtools/test_semantic_axis_evidence.py -q— 5 passedpytest tests/unit/devtools/test_command_catalog.py -q— 4 passeddevtools semantic-axis-evidence --campaign fts-rebuild --axis messages --scales small medium --output .local/performance-evidence/issue-195 --no-save— emittedstatus=ok,growth_shape=approximately-linearmypy devtools/semantic_axis_evidence.py tests/unit/devtools/test_semantic_axis_evidence.py— cleandevtools render-all --check— cleandevtools verify— all checks passeddevtools verify --quick— all checks passed