Skip to content

Add noisy issue filters#6

Merged
Photon101 merged 1 commit into
mainfrom
noisy-repo-filters
May 11, 2026
Merged

Add noisy issue filters#6
Photon101 merged 1 commit into
mainfrom
noisy-repo-filters

Conversation

@Photon101

Copy link
Copy Markdown
Owner

Summary

Adds transparent controls for skipping noisy or incentive-misaligned issue results:

  • repeated --exclude-repo owner/name
  • --exclude-title-regex
  • --exclude-bounty-like
  • skipped counts in text and JSON output

This keeps scans focused on durable maintainer-facing work when the goal is credibility rather than token/reaction/promotion tasks.

Fixes #5

Verification

python3 -m pytest -q
python3 -m py_compile src/hubsignal/cli.py tests/test_cli.py
hubsignal --help
PYTHONPATH=src python3 -m hubsignal --query "is:issue is:open label:\"good first issue\" language:Python -label:claimed" --limit 5 --min-stars 1 --exclude-archived --exclude-forks --exclude-bounty-like --exclude-repo Scottcjn/rustchain-bounties --format json

Results:

7 passed in 0.05s

@Photon101 Photon101 merged commit ab038cc into main May 11, 2026
2 checks passed
@Photon101 Photon101 deleted the noisy-repo-filters branch May 11, 2026 00:54

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

Copy link
Copy Markdown

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: 052b45a5ae

ℹ️ 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/hubsignal/cli.py
DEFAULT_QUERY = 'is:issue is:open label:"help wanted"'
BOUNTY_LIKE_PATTERNS = (
"bounty",
"earn",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Match earn as a whole word

Because is_bounty_like checks each pattern with plain substring matching, this earn entry also matches common non-bounty words such as “learn” and “learning”. When users run with --exclude-bounty-like, legitimate good-first/onboarding issues with titles or bodies like “Learn the plugin API” will be skipped as bounty-like, so this should use a word-boundary/phrase match instead of a raw substring.

Useful? React with 👍 / 👎.

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.

Add noisy-repo and bounty filtering controls

1 participant