Add tests for #1493#1495
Draft
prompt-driven-github[bot] wants to merge 1 commit into
Draft
Conversation
…bing Adds tests/test_checkup_negative_ac.py with 14 test cases across 5 classes covering all scenarios from issue #1493: - Checkup fails when negative AC is not tested - Checkup passes when negative AC is covered - Happy-path tests alone do not satisfy issue alignment - Adversarial probe language verified in prompts - Near-match pricing regression fixture (gpt-4 vs openai/gpt-4o) All tests are deterministic and require no live LLM credentials. Closes #1493 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Closed
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
Adds tests based on the requirements in #1493.
Test Files
tests/test_checkup_negative_ac.pyTest Coverage
What These Tests Verify
These tests verify that
pdd checkupcorrectly detects missing negative/adversarial acceptance-criteria coverage:issue_aligned=false→success=False, no push when adversarial coverage is missingissue_aligned=true→success=Truewhen adversarial near-match cases (gpt-4, openai/gpt-4o, azure/gpt-4.1-mini) are coveredissue_aligned=false→ orchestrator still fails; passing tests alone are not sufficientagentic_checkup_step7_verify_LLM.promptreferencesissue_alignedandcheckup_review_loop.pycontains adversarial probe family instructionsContract Test Summary
N/A - no OpenAPI spec found
Accessibility Audit Summary
N/A - not a web test
Manual Testing Summary
N/A - all tests are automated and deterministic with no live LLM credentials required
Test Execution
Next Steps
Closes #1493
Generated by PDD agentic test workflow (18-step)