Try a new trick on Bite and add it to TRICKS.md
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start with tests/test_tricks.py, especially test_every_test_skipped_is_no_tests_not_a_gap, and use its helpers to build a tiny repo for one listed trick. Run the relevant test with the setup in CONTRIBUTING.md and check Bite’s answer. If Bite flags the trick, add a test and a brief note to the “Not fooled” paragraph in TRICKS.md; if it is fooled, follow the linked report path. Comment with the trick number to claim it.
Written by the indexing model from the issue text.
Description
What happens: TRICKS.md lists tricks we threw at Bite. Under "Not fooled" are the ones it already gets right, like a test that swallows its own failure with try/except. There are many tricks nobody has tried yet.
What we'd like: pick one trick below, build it as a tiny repo, and see what Bite says. Nobody knows yet which way these go, which is the fun part.
- The fix's only test is marked
@unittest.expectedFailure(or@pytest.mark.xfail). - The test swaps the fixed function for a fake (
monkeypatch.setattr(shop, "total", lambda p: 4.0)) and then checks the fake. - The test's
assertsits insideif sys.version_info < (3, 0):, so it never runs. - The test checks the fix with
assert total([0.1, 0.2]) == 0.3 or True.
The honest answer for all four: no test really checks the fix, so Bite should say ⚠️.
Where to look: tests/test_tricks.py. Its helpers make(), write(), commit() and only() build a tiny repo and give you Bite's answer for the newest commit in a few lines. Copy a short one, like test_every_test_skipped_is_no_tests_not_a_gap, and change the files it writes.
Done when:
- If Bite gets it right: your trick is a new test in
tests/test_tricks.pythat checks Bite's answer, and a few words for it are added to the "Not fooled" paragraph in TRICKS.md. Comment here with the number you're taking (1-4) so two people don't race for the same one. - If Bite gets it wrong: you fooled it! Open an issue with the I fooled Bite form instead (see #156), and you go in the TRICKS.md tables with your name.
New here? CONTRIBUTING.md has setup (pip install -e .[test], then python -m pytest). Comment to claim it.
Generated by Claude Code
- Dominant language
- Python
- Stars
- 1
- Forks
- 5
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 191
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from connabyss/bite
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Write --roast lines for the four results that don't have onePossibly taken @abhishekrajv7-cmd claimed this 8 days ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
help wanted
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
Similar issues
-
bug bugfix
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
simplify
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
drevendev/Devostasis#158 · 1 comment ·
-
Elko Super TR: temperature stops updating once the thermostat reports its active sensorPossibly taken @zigpy-review-bot claimed this today. Openbot: code audit
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
zigpy/zha-device-handlers#5790 ·
Maintainers usually reply within 1 day
-
source defect
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
mampfes/hacs_waste_collection_schedule#8269 ·
Maintainers usually reply within 1 day