Experimentation: detect exposures whose rendered variant differs from the assigned one (e.g. shared caches)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 9.9k
- Fork
- 658
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 171
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Flagsmith/flagsmith
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Flagsmith/flagsmith#9119 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fix Button Alignment in SDK Installation SectionCó thể đã có người làm @manueldezman đã nhận 4 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Flagsmith/flagsmith#9056 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceCó thể đã có người làm @jcd1991 đã nhận 5 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Flagsmith/flagsmith#9045 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Expose whether an organisation is blocked for API usageCó thể đã có người làm @PiUnknown đã nhận 39 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Flagsmith/flagsmith#8773 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Flagsmith/flagsmith
Issue tương tự
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
[Suggestion]: AgentermĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
collabnix/awesome-mcp-lists#490 ·
Maintainer thường phản hồi trong vòng 2 ngày