Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(experiments HogQL): calculate statistics for Funnels #25626

Merged
merged 13 commits into from
Oct 17, 2024

Conversation

jurajmajerik
Copy link
Contributor

@jurajmajerik jurajmajerik commented Oct 16, 2024

Changes

Same as #25562 but for Funnels.

How did you test this code?

  • existing tests passing
  • new tests added for the standard flow + events validation

@jurajmajerik jurajmajerik changed the title feat(experiments HogQL): calculate statistics for Trends feat(experiments HogQL): calculate statistics for Funnels Oct 16, 2024
Copy link
Contributor

github-actions bot commented Oct 16, 2024

Size Change: 0 B

Total Size: 1.14 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.14 MB

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

self.assertAlmostEqual(result.credible_intervals["control"][0], 0.1941, places=3)
self.assertAlmostEqual(result.credible_intervals["control"][1], 0.9324, places=3)
self.assertAlmostEqual(result.credible_intervals["test"][0], 0.2836, places=3)
self.assertAlmostEqual(result.credible_intervals["test"][1], 0.9473, places=3)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm surprised this is not flaky, old runner needed the flaky decorator on these tests because sometimes the values will be a bit off.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

3 snapshot changes in total. 0 added, 3 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

5 snapshot changes in total. 0 added, 5 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 4 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@jurajmajerik jurajmajerik enabled auto-merge (squash) October 17, 2024 14:11
@jurajmajerik jurajmajerik merged commit 93690df into master Oct 17, 2024
94 checks passed
@jurajmajerik jurajmajerik deleted the experiment-funnel-plug-stats branch October 17, 2024 14:39
timgl pushed a commit that referenced this pull request Oct 17, 2024
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants