Check for mistakes agents have made before.
A new agent can make the same mistake you fixed in an earlier review. Coldfix documents past failures and provides local checks for some of those patterns.
Coldfix
Find a test the runner would miss
4class DemoTests(unittest.TestCase):
5 pass
8def test_never_collected():
9 pass
unittest skips this function
test_demo.py:8
Choose a lesson you can apply
Open a lesson to see the failure it addresses. The library labels lessons with a rerunnable proof and lessons based on reviewed guidance.
In this example, Python’s unittest runner does not collect a function that looks like a test. The Coldfix scan points to the line for review.
What the evidence shows
The library has 30 lessons. Of those, 28 have rerunnable proofs and 2 contain reviewed guidance. The library includes 25 portable scans.
See the full evidenceTry it with your agent
Read https://github.com/coldstack-dev/coldfix/blob/daef1bd8114fd8ef73f1a3681ead06c41569cb40/README.md. Run the relevant portable checks on my patch and show me each finding with its lesson.Run a quickstart yourself
git clone https://github.com/coldstack-dev/coldfix
cd coldfix
pipx install .
coldfix check library/reject-linter-error-output/fixtures/bad