Write --roast lines for the four results that don't have one

Aperta Adatta ai principianti
#203 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@abhishekrajv7-cmd ci sta già lavorando.

Dal 16/11/2026.

  • #249 di @abhishekrajv7-cmd — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
91/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

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

good first issue

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 with ROAST[0] = True, and the same next step.
  • A test sets recent.ROAST[0] = True, calls recent.say() with a small dict for each kind (look at what keys say() reads, like {"undo": "guard gone since", "gone": ["tests/test_x.py"]}), checks the new words and the unchanged Next:, and fails without your change. Set ROAST[0] back to False at 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di connabyss/bite

Tutte le issue di connabyss/bite

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.