Skip to content

feat: add --show-after output filter to classify#49

Merged
ghinks merged 1 commit into
mainfrom
feat/show-after-filter
May 1, 2026
Merged

feat: add --show-after output filter to classify#49
ghinks merged 1 commit into
mainfrom
feat/show-after-filter

Conversation

@ghinks
Copy link
Copy Markdown
Owner

@ghinks ghinks commented Apr 30, 2026

Summary

  • Adds --show-after YYYY-MM-DD to the classify command
  • Stats baseline (--start / --end) is computed from the full window as normal — only the displayed outliers are filtered to those merged after the given date
  • Typical use: compute stats over a 6–12 month baseline, display only the last 2 weeks of outliers
  • Supported everywhere: CLI flag, TOML [defaults], [[repositories]], and [[organizations]]
  • README updated with option table entry, a usage example, a flow diagram, and the config file example

Closes #46

Test plan

  • --show-after 2024-12-15 with a baseline window displays only outliers after that date
  • Omitting --show-after behaves identically to before (no regression)
  • show_after in a TOML config file is picked up correctly
  • All unit tests pass (uv run pytest -m "not integration")

🤖 Generated with Claude Code

Adds a --show-after YYYY-MM-DD option to classify. Stats baseline
(--start / --end) is computed from the full window as normal; only
the displayed outliers are narrowed to those merged after the given
date. Supported on the CLI, in TOML config files (all sections), and
documented in the README.

Closes #46

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1dcbd102d5

ℹ️ 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".

Comment thread src/review_classification/cli/app.py
@ghinks ghinks merged commit 993b1f4 into main May 1, 2026
1 check passed
@ghinks ghinks deleted the feat/show-after-filter branch May 1, 2026 20:05
ghinks added a commit that referenced this pull request May 1, 2026
Revert "Merge pull request #49 from ghinks/feat/show-after-filter"
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.

classify date confusion add show after date?

1 participant