Skip to content

Commit 0392580

Browse files
Docs: Add unit test guidance for uncertain claims
When complexity claims cannot be verified from documentation or source code, write unit tests to measure timing and confirm the complexity class. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 358a548 commit 0392580

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CORRECTNESS_REVIEW_PROMPT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ You are an expert Python core contributor. You must review the time and space co
1414

1515
When reviewing against CPython source code, you MUST use the corresponding release branch (e.g., `3.14`, `3.13`), never `main`. The `main` branch contains unreleased changes that may not reflect documented behavior.
1616

17+
## When Unsure
18+
19+
If you cannot verify a complexity claim from documentation or source code, write unit tests to measure timing across different input sizes and confirm the claimed complexity class.
20+
1721
## Output
1822

1923
Report any errors with:

0 commit comments

Comments
 (0)