Skip to content

Issue : Inconsistent Statsig User Creation in /tasks route. #300

@PrinceSajjadHussain

Description

@PrinceSajjadHussain

The /tasks route creates a new StatsigUser object every time get_experiment is called, which can lead to inconsistent experiment assignment for a single user within the same request. The StatsigUser should be created once and reused for all Statsig calls within the same request context to ensure consistent evaluation results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions