'No AEP uplift' warning is medium severity for an expected, by-design result

Aperta
#205 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
analytics

Direzione di ricerca

The warning text is built in subject.py; find where the 'gives no AEP uplift' message is emitted and see how it is raised per analysis. The fix is to emit it once per method instead of once per analysis, possibly by tracking methods already warned about. Check the existing warning tests in the test suite to confirm the new behaviour and that data-related warnings are unaffected.

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

Descrizione

v1

Any analysis using a method with no long-term step (e.g. the toggle energy ratio) while asking for report=("aep", ...) — the default — gets a medium-severity warning per analysis: "{name} gives no AEP uplift: it has no long-term step" (subject.py). This isn't about the data; it's a known, by-design property of the method, raised even when the AEP report is just the unchanged default. At medium severity, once per analysis, it crowds out warnings that are actually about the data, especially in a campaign with many analyses sharing one method.

Suggestion: raise it once per method rather than once per analysis.

Lingua principale
Python
Stelle
29
Fork
13
Merge medio
1g 6h
PR unite (30g)
33

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 resgroup/wind-up

Tutte le issue di resgroup/wind-up

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.