Experimentation: detect exposures whose rendered variant differs from the assigned one (e.g. shared caches)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading the experimentation SDK exposure flow and the code that reports experiment results; the issue does not name specific files or tests. Determine where the SDK could report the rendered variant and how the platform compares it with the assignment. Done means mismatched exposures and renders can trigger a warning, with tests covering agreement and disagreement.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem. When a page is served from a shared cache whose key ignores the identity (a common nginx/CDN default with Cache-Control: public), visitors see a variant they weren't assigned, but getExperimentFlag still logs the exposure under their assignment. The split stays balanced, so the SRM check can't catch it, and results are silently biased.
Evidence. Controlled runs with a planted effect (3,000 visitors per run, three seeds): 45–47% of exposures were mislabelled; a true +2.9 pt effect reached Flagsmith as −0.4 pt (chance to win 37.4%). Write-up, data and repro: https://github.com/TheNandinee/cached-out
Workaround that works today. Fire an event when the treatment is actually rendered and attach it as a second metric. In a healthy experiment the control arm reads 0%; under the cache bug it read 39.6%.
Suggestion. A built-in 'render check': let the SDK send the rendered variant with the exposure (or a lightweight render event), and show a warning, like SRM, when exposures and renders disagree. A short docs note about caching server-rendered experiments would also help.
- Lingua principale
- Python
- Stelle
- 9.9k
- Fork
- 658
- Merge medio
- 1g 15h
- PR unite (30g)
- 171
Preparare l'ambiente
- Include un Dockerfile o un 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 Flagsmith/flagsmith
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Flagsmith/flagsmith#9119 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Fix Button Alignment in SDK Installation SectionForse già presa @manueldezman l’ha presa 4 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Flagsmith/flagsmith#9056 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceForse già presa @jcd1991 l’ha presa 5 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
Flagsmith/flagsmith#9045 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Expose whether an organisation is blocked for API usageForse già presa @PiUnknown l’ha presa 39 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Flagsmith/flagsmith#8773 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Flagsmith/flagsmith
Issue simili
-
documentation good first issue help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
documentation good first issue help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
[Suggestion]: AgentermAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
collabnix/awesome-mcp-lists#490 ·
I maintainer di solito rispondono entro 2 giorni