mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
9887856c33
* chore(diagnose): add a stub endpoint for event diagnosis This adds an insight endpoint that takes a `target_entity` and returns a list of events ordered by significance of a person reaching `target_entity` Followup PRs will add actual calculations but this should act as a conversation piece around the structure of request and response, as well as a stub from which UI development can start. * play around to get mypy typings right * Sort out test reponse structurea * refactor: address CR comments * feat(diagnose): add diagnose stubs for implementation * feat(funnel): add event correlation calculation implementation This adds to the `/api/projects/<team_id>/funnel/correlation` endpoint an implementation that calculates the odds_ratios for each event that a user that has been part of a funnel, successful or otherwise. * chore(correlation): get query working * refactor(correlation): move functions to Query methods
9 lines
150 B
INI
9 lines
150 B
INI
[pytest]
|
|
DJANGO_SETTINGS_MODULE = posthog.settings
|
|
addopts = -p no:warnings --reuse-db
|
|
|
|
markers =
|
|
ee
|
|
clickhouse_only
|
|
skip_on_multitenancy
|