Skip to content

Commit aefbf09

Browse files
authored
add more motivation on where to assign (#603)
1 parent 159b934 commit aefbf09

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/sdks/best-practices/where-to-assign.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ Don't be blocked! We're here to help you get up and running with Eppo. Contact u
99
:::
1010

1111
### Best Practice
12-
Strive to place assignment calls as close to code split as possible. This reduces the likelihood of logging an assignment but not delivering the corresponding experience.
12+
13+
Strive to place assignment calls as close to the intervention as possible. This ensures that users who are assigned to an experiment actually experience the feature being tested, leading to cleaner data and more reliable conclusions.
1314

1415
### Why It Matters
15-
When assignment and delivery are not tightly coupled, you may encounter:
16-
- Impact dilution in your analysis
17-
- Inconsistent user experiences
18-
- Difficulty tracking experiment results
16+
17+
When assignment and delivery are not tightly coupled, we face several challenges:
18+
19+
- **Impact dilution**: Assigning users too early means many will never reach the intervention. These users contribute no meaningful data, making it harder to detect real differences between groups. This weakens the statistical power of the experiment, increasing both the uncertainty in the results, and the required duration of the experiment.
20+
21+
- **Difficulty tracking experiment results**: When users are assigned far in advance, it becomes unclear who actually experienced the intervention. This makes debugging, customer support, and analyzing outcomes more difficult, as there is uncertainty around which users were truly exposed to the change.
1922

2023
### Example Implementation
2124
Here's how to properly implement assignment placement in a payment flow test by fetching the assignment and delivering the experience as close together in the code as possible:

0 commit comments

Comments
 (0)