Write --roast lines for the four results that don't have one
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 91/100
Direzione di ricerca
Leggi recent.py e trova say() e il testo esistente di ROAST[0]. Aggiungi una prima frase di roast per ciascuno dei quattro tipi di risultato elencati, mantenendo ciascuna equivalente nei fatti e lasciando invariato il testo di **Next:**. Aggiungi test che impostino recent.ROAST[0] = True, chiamino recent.say() con un piccolo dict per ciascun tipo, verifichino il nuovo testo e il passaggio successivo, quindi ripristinino l'impostazione a False; esegui python -m pytest.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens: bite --roast gives some results a gentler, funnier line. "No test noticed" becomes "If this fix wandered off, nothing would notice. A test would." and a commit's own tests that miss become "These tests are looking the other way." But four results have no roast line yet, so they read the same with --roast as without:
- ⚠️ ITS TEST IS GONE (the test that noticed the fix was deleted later)
- ⚠️ PART NOT NOTICED (tests notice part of the change, not all of it)
- ❌ tests already fail (Bite can't ask its question)
- ⚠️ no tests found
What we'd like: a roast line for each of the four. The house rules for roast lines:
- Every word must be literally true. It's a different way to say the same fact, not a joke that changes the fact.
- Gentle, never mean to the person. Tease the code, not who wrote it.
- The
**Next:** ...part stays exactly as it is.
Where to look: recent.py, say(). Search for ROAST[0] to see how the existing ones switch wording. Put your four lines in the PR description so they're easy to read and argue about.
Done when:
say()gives a different first sentence for each of the four withROAST[0] = True, and the same next step.- A test sets
recent.ROAST[0] = True, callsrecent.say()with a small dict for each kind (look at what keyssay()reads, like{"undo": "guard gone since", "gone": ["tests/test_x.py"]}), checks the new words and the unchanged Next:, and fails without your change. SetROAST[0]back toFalseat the end.
New here? CONTRIBUTING.md has setup (pip install -e .[test], then python -m pytest). Comment to claim it.
Generated by Claude Code
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 5
- Merge medio
- 1h 19m
- PR unite (30g)
- 191
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di connabyss/bite
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di connabyss/bite
Issue simili
-
pydanty:is-working
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pydantic/pydantic-ai#14472 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
patrickballard/wheelgap#728 ·
-
bug good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
choras-org/simulation-backend#58 ·
I maintainer di solito rispondono entro 1 giorno
-
backend part-1-modeling testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100