feat(scripts): add --iris-days to decouple repo selection from analysis window - #205
Merged
Merged
Conversation
…is window clone_and_analyze.py's --days only ever controlled repo selection; the `iris .` invocation always ran the full RECOMMENDED_WINDOWS set with no way to request a single window. --iris-days lets callers pick repos by one lookback (e.g. commits in the last 7 days) and analyze them with a different one (e.g. --days 30), independent of the selection window. Co-Authored-By: claude-code_2-1-238_agent <claude-code_2-1-238_agent@iris.invalid>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: claude-code_2-1-238_agent <claude-code_2-1-238_agent@iris.invalid>
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.
Summary
clone_and_analyze.py --daysonly ever filtered which repos to select (commits in the last N days); it never controlled theiris .invocation, which always ran the fullRECOMMENDED_WINDOWSset (7/15/30/60/90).--iris-days, an independent optional flag: when set, runsiris . --days <N>(single window) instead of the default full-window run.--days 7 --iris-days 30: select repos with a commit in the last 7 days, analyze each with only the 30-day window.Test plan
python3 -c "import ast; ast.parse(...)"— syntax check--helpoutput renders correctly with the new flagiris . --days 30is invoked as expected