compare: a single PASS/FAIL flip is reported as Fixed or Regressed even when the case is flaky
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
Read internal/compare/compare.go to see where per-case Fixed/Regressed is decided, then trace how skill-up run --iteration samples a version and what benchmark.json records today (RunsPerConfiguration: 1). The design questions — Wilson vs Clopper-Pearson, minimum N, and how --fail-on-regression treats noise — are still open, so the first step is agreeing on those before writing code. Done means compare can consume per-case k/n samples and label a flip as changed-within-noise when the intervals overlap.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem / motivation
skill-up compare classifies each case from one run per side: in internal/compare/compare.go, old non-PASS → new PASS is Fixed and the reverse is Regressed, and --fail-on-regression gates on that classification. An LLM agent can flip a case between two runs with nothing changed, so a single flip reads as a fix or a regression.
skill-up run --iteration N already samples a version N times, but its per-case stability summary is printed to the terminal only, and benchmark.json records RunsPerConfiguration: 1, so compare cannot use those samples. skill-upper's own workflow asks to repeat both versions for uncertain or intermittent outcomes, yet compare has no way to consume that evidence.
Proposed solution
- Persist per-case k/n from
--iterationruns next to the iteration artifacts (for example astability.jsonin the run root). - Let
comparetake an iteration root, or several result files, per side. - Report Fixed / Regressed only when the one-sided 95% Wilson bounds of the two PASS rates separate; otherwise report "changed within noise", flagged flaky when either side has both outcomes.
- Keep today's single-run behavior as the default, and label it as single-sample in the output.
Alternatives considered
- Exact (Clopper-Pearson) intervals instead of Wilson: more conservative at small N.
- A fixed minimum N per side before compare classifies at all.
Additional context
Open questions: which interval method, the minimum N, and how --fail-on-regression should treat changes within noise. Happy to implement once the direction is agreed.
- Lingua principale
- Go
- Stelle
- 1.5k
- Fork
- 135
- Merge medio
- 2g 19h
- PR unite (30g)
- 63
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 alibaba/skill-up
-
Prevent case ID output path traversal and cases.files path escapeForse già presa @BiBoyang l’ha presa 3 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
alibaba/skill-up#422 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
alibaba/skill-up#408 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
alibaba/skill-up#407 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
alibaba/skill-up#406 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di alibaba/skill-up
Issue simili
-
go_tool_binary: GOMAXPROCS=1 makes a cold builder build 3-4x slowerForse già presa @TrapsterDK l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bazel-contrib/rules_go#4816 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
mark3labs/mcp-go#1397 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
fix(tool/internal/setup): clearer errors when loading rule files from OTELC_RULESForse già presa @NeoSamyak l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
open-telemetry/opentelemetry-go-compile-instrumentation#1946 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[ci] Publish Committer Docker Hub images under lfdtchaguarForse già presa @cendhu l’ha presa oggi. Apertadeployment enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
alibaba/MongoShake#1077 ·
I maintainer di solito rispondono entro 1 giorno