SDKs: a hook called on each exposure, to send assignments to your own analytics
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp, go, java, javascript, python, react, react-native
Línea de trabajo
The issue spans the JavaScript, Python, Go, React, React Native, Java and .NET SDKs, so there is no single file to jump into; each client constructor needs an optional callback plus the plumbing that records exposures server-side. Start by finding where each SDK evaluates a flag and caches the answer, so the hook fires once per exposure rather than per evaluation, and check the React server-render/hydration path for duplicate calls. Done means the callback receives experiment key, variant and user id once per exposure, errors from it are swallowed, the holdout/targeting case is decided and documented, and each SDK's docs show one example per analytics tool. A newcomer could instead pick one SDK and add the docs example for a single analytics tool as a scoped first step.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The SDKs record exposures on the server, but nothing lets an application see them. A team that analyses experiments
in its own analytics tool or warehouse (Segment, GA4, Amplitude, Mixpanel, RudderStack) has no way to send each
assignment there.
Expected:
- An optional callback, set when the client is created, called once per exposure with the experiment key, the
variant and the user id. Whether it is called when the user was not assigned (a holdout, a mutual exclusion group or
targeting, where the server records no exposure) is decided and documented. - Once per exposure, not once per evaluation: repeated and cached answers, and React's server render followed by
hydration, do not call it twice. - An exception thrown in the callback never reaches the caller or changes the answer.
- In the JavaScript, Python, Go, React, React Native, Java and .NET SDKs, with one example per common analytics tool
in the docs. (The OpenFeature providers use OpenFeature's own hooks.)
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 4
- Merge medio
- 5 h 19 min
- PR fusionados (30 d)
- 503
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Controlvar/controlvar
-
Dashboard: the sequential panel's "Ready to stop" banner shows no sample-ratio-mismatch cautionAbiertobug post-launch
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Controlvar/controlvar#1737 ·
Los mantenedores suelen responder en 1 día
-
fix(api): the feature-flag list has no defined order across pagesPosiblemente ocupada @amarkanday la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Controlvar/controlvar#1612 ·
Los mantenedores suelen responder en 1 día
-
bug post-launch
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Controlvar/controlvar#1562 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Controlvar/controlvar#1447 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Experiment setup: emptying a traffic share box and typing a number shows a leading zero ("034")Abiertobug post-launch
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Controlvar/controlvar#1428 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Controlvar/controlvar
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FinanceFlash/unvibecode#509 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
FAIRmat-NFDI/nomad-distro-dev#161 ·
-
bug v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
modelcontextprotocol/python-sdk#3821 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Log-odds calibration uses upper middle score instead of median for even candidate setsPosiblemente ocupada @flysheep-ai la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día