Repository navigation
Add improve compare to run a guided comparison in one command - #339
Merged
Merged
Conversation
improve compare captures the baseline with the unchanged before runner, freezes the session, captures the changed runner alternating with the before runner as an interleaved control, and writes the verdict. It checks inputs before any runner executes, stops when no baseline attempt completes, and defaults to the aggregate decision. finish's result printing moves into a shared helper so both commands print the same verdict. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
AgentLoop replay self-testThis required repository check evaluates generated synthetic demo traces. It tests the replay and CI machinery; it does not show that this PR improves application performance. AgentLoop CI Report
Performance Gates
Trace inputsThis comparison includes synthetic data. It does not establish application performance gains from a pull request.
Metric Impact
Top Findings
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A fair before/after comparison currently takes four commands (
capture,start,capture --control-argandfinish) with matching flags and paths. That is the step most likely to stop a first-time user, and first use by outside developers is the top open gap indocs/ADOPTION_GAPS.md.What
agentloop improve compare --out DIR --change "..." --before-arg ... -- <after runner>:DIR/baseline;DIR/session(findings, checks andplan.md);DIR/paired;DIR/results.--show-runner-output.--decision aggregate, which suits agents whose timing varies.per-pairis still available. The other options match the individual commands.improvement.compare()exposes the same workflow with aprogresscallback.finish's result printing moved into_print_report, so both commands print the same verdict and timing table. The output offinishis unchanged.git worktreeexample and the trade-off that the plan cannot inform the change), a README pointer and a CHANGELOG entry.Tests
--before-arg.🤖 Generated with Claude Code