Skip to content

test: add behavioral spec files for review training data - #1

Merged
shanjairaj7 merged 1 commit into
mainfrom
feat/test-specs
Mar 1, 2026
Merged

test: add behavioral spec files for review training data#1
shanjairaj7 merged 1 commit into
mainfrom
feat/test-specs

Conversation

@shanjairaj7

Copy link
Copy Markdown
Collaborator

Summary

  • Adds three pytest spec files under tests/review/ that document correct SDK usage patterns as executable specifications
  • Each test corresponds to a named correctness or security requirement (webhook HMAC validation, thread_id propagation, idempotency key construction)
  • Specs pass locally against the real SDK types and serve as training data for LLM code review models to recognize correct patterns

Test plan

  • All 15 tests pass locally (python3 -m pytest tests/review/ -v)
  • Verify CI passes on the PR

…dempotency

Adds three pytest spec files under tests/review/ that document correct SDK
usage patterns as executable specifications. Each test corresponds to a
named correctness or security requirement for LLM training data and code review.
@shanjairaj7
shanjairaj7 merged commit 633d53c into main Mar 1, 2026
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