Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

faircode benchmark --root and --no-plots are not documented in the README or SPEC

Chiusa Adatta ai principianti
#1,040 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@minutechreview ci sta già lavorando.

Dal 17/10/2026.

  • #1054 di @minutechreview — integrata

Valutazione

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

Direzione di ricerca

Leggi la sezione sui benchmark intorno alla riga 1135 di README.md, faircode/SPEC.md, il parser dei benchmark in faircode/cli.py e il test del parser dei comandi del README in tests/test_cli.py. Verifica dalla guida della CLI come si comportano --root e --no-plots, quindi documenta entrambi i flag in README e SPEC ed estendi il test per controllare le opzioni lunghe nei vari sottocomandi. Il lavoro è completato quando i flag sono documentati e il test passa.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation good first issue

Where: README.md (the benchmark section around line 1135), faircode/SPEC.md, faircode/cli.py (benchmark parser), tests/test_cli.py (the README-command parser test, #948).

Current gap: every profile and compare flag appears in the README or SPEC, but faircode benchmark --root PATH (where */audit.yaml is searched) and --no-plots (skip matplotlib, so the command works without the plotting extra) appear only in --help. A reader of the README cannot learn that the harness can run outside the repository root or without matplotlib.

Repro:

$ python3 - <<'E'
from faircode.cli import build_parser
readme = open("README.md", encoding="utf-8").read() + open("faircode/SPEC.md", encoding="utf-8").read()
for name, sub in build_parser()._subparsers._group_actions[0].choices.items():
    for action in sub._actions:
        for option in action.option_strings:
            if option.startswith("--") and option != "--help" and option not in readme: print(name, option)
E
benchmark --root
benchmark --no-plots

Suggested approach: add both flags to the README benchmark examples and SPEC, and extend the README-command test with a check that every long option of every subcommand is mentioned somewhere in README or SPEC.

Lingua principale
HTML
Stelle
47
Fork
45
Merge medio
3h 15m
PR unite (30g)
92

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 yakew7/Fair-Code

Tutte le issue di yakew7/Fair-Code

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.