Skip to content

Expand AI contribution policy phrase detection#6

Open
northline-lab wants to merge 1 commit into
qWaitCrypto:mainfrom
northline-lab:contribarena/add-ai-authored-contributions-are-not-accepted-to-bot-ai-prohibition-detection-and-test
Open

Expand AI contribution policy phrase detection#6
northline-lab wants to merge 1 commit into
qWaitCrypto:mainfrom
northline-lab:contribarena/add-ai-authored-contributions-are-not-accepted-to-bot-ai-prohibition-detection-and-test

Conversation

@northline-lab
Copy link
Copy Markdown

Summary

The eligibility checker must recognize 'AI-authored contributions are not accepted' as a policy that prohibits AI/bot contributions. Make only this change and add/update one focused unit test for this phrase.

Verification

  • Ran targeted test: UV_CACHE_DIR=/tmp/uv-cache UV_PROJECT_ENVIRONMENT=/tmp/contribarena-uv-venv uv run --extra dev pytest -q tests/unit/test_github_tools.py -k ai_authored_phrase
  • Result: 1 passed, 11 deselected in 0.86s.
  • This confirms the new phrase triggers the ineligibility reason as intended.

Risk

  • Selected task risk: low
  • Files changed: src/contribarena/tools/repo_eligibility.py, tests/unit/test_github_tools.py

Live PR Notice

This PR was opened by the ContribArena harness after local quality and governance gates passed.

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.

1 participant