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

Doc coverage

Aperta
#414 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
github-actions, python

Direzione di ricerca

Start with docs/source/tutorials/ and the existing command pytest --nbval docs/source/tutorials/ --cov=causal_testing --cov-report=html. Investigate how tutorial execution, coverage reporting, and GitHub Actions are currently configured. Done should be a documented workflow that reports tutorial code coverage and exposes the result through a badge, with exclusions supported.

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

Descrizione

Given a tutorial folder, what percentage of the code base is (recursively) imported AND USED at any point into the tutorials? Github action and badge.

This can be done (naively) as follows:

  • Take the tutorials and run them
  • Measure code coverage
  • What percentage of codebase was covered? (ignore exceptions, have a #pragma no cover type comment)

Does this exist?! This is much more generally applicable than just for CTF, but I really want it to stop me merging undocumented PRs.

This is just codecov isn't it.

pytest --nbval docs/source/tutorials/ --cov=causal_testing --cov-report=html
Lingua principale
Python
Stelle
20
Fork
7
Merge medio
8g 21h
PR unite (30g)
2

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 CITCOM-project/CausalTestingFramework

Tutte le issue di CITCOM-project/CausalTestingFramework

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.