Stamp BITE-PROOF on the share card for a perfect score
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 90/100
Research direction
Read recent.py and inspect write_card() and its existing done = n == total check. Render cards with write_card(root, 5, 5) and write_card(root, 4, 5), then open them in a browser to check the stamp appears only on the perfect score without covering the card content. Add the test_share_card assertions in tests/test_score_trend.py and run python -m pytest.
Written by the indexing model from the issue text.
Description
What happens: bite_proof/card.svg is the picture of your Bite score to share. A perfect score (say 9/9) looks almost the same as 8/9: just a fuller ring.
What we'd like: when every change was noticed, the card gets a BITE-PROOF stamp, like a rubber stamp: tilted a few degrees, a bold outline, all caps, in the card's green (#5fbf86). It must not cover the score, the cat or the words. Only a perfect score gets it.
Where to look: recent.py, write_card(). done = n == total is already worked out there. The card is plain SVG text, so the stamp is a <g transform="rotate(...)"> with a <rect> and a <text>. Open the card in a browser to see it as you go (bite --demo makes one in a throwaway folder; the demo isn't perfect, so call write_card(root, 5, 5) yourself for the perfect one).
Done when:
- The stamp shows on a perfect card and not on any other.
- A picture of both cards (perfect and not) is in the PR description.
- A test in
tests/test_score_trend.py(seetest_share_card) checks a 5/5 card has the stamp and a 4/5 card doesn't, and fails without your change.
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
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/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
-
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