0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
Commit Graph

751 Commits

Author SHA1 Message Date
ted kaemming
0944412f48
feat: Support marking materialized columns as disabled and dropping them (#26068) 2024-11-13 10:57:27 -08:00
Daniel Bachhuber
3183e60583
feat(experiments): Add a Cumulative exposures chart (#26129)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-13 17:31:10 +00:00
ted kaemming
1544d3a0cf
refactor: Simplify materialized column implementation strategy switching (#26050) 2024-11-12 10:35:30 -06:00
Michael Matloka
8a356a596a
chore(environments): Backfill project ID on group types (#25980) 2024-11-06 09:31:32 +01:00
Paul D'Ambra
8b4387c561
fix: hogql tests should run through the query cleaning code to avoid flaps (#25900)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-31 11:27:08 +00:00
Juraj Majerik
c61b3a96fc
feat(experiments): holdout groups UI (#25772) 2024-10-28 11:35:23 +01:00
Juraj Majerik
93690df3b3
feat(experiments HogQL): calculate statistics for Funnels (#25626)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-17 14:39:08 +00:00
Juraj Majerik
c6659ed15d
feat(experiments HogQL): calculate statistics for Trends (#25562) 2024-10-16 11:27:00 +02:00
Juraj Majerik
b2070a7d90
chore(experiment): relocate trend statistical methods (#25472) 2024-10-14 11:27:13 +02:00
Juraj Majerik
b94c174842
chore(experiment): relocate funnel statistical methods (#25202) 2024-09-26 10:09:48 +02:00
Georgiy Tarasov
cf97a84328
fix(insights): legacy funnels didn't work with personless events (#25147)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 13:12:55 +00:00
Michael Matloka
de3d95af0d
chore: Person ID overrides by default (#22811)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anirudh Pillai <anirudhx5@gmail.com>
2024-09-13 16:40:46 +00:00
Juraj Majerik
3f2337539d
chore(experiments): rename A/B testing -> Experiments (#24716) 2024-09-02 17:14:49 +02:00
Juraj Majerik
0f14be4327
feat(experiments): add credible intervals for Trends (#24348) 2024-08-14 12:46:45 +00:00
Sandy Spicer
57793efdc6
fix: persons api performance (#24351)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-14 10:55:56 +01:00
Juraj Majerik
388103322f
feat(experiments): calculate credible intervals for Funnel experiments (#24239)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 13:44:36 +02:00
Anirudh Pillai
7ec262d3c8
fix: cohort query reduce memory usage (#24084)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-31 09:00:24 +01:00
Michael Matloka
26f0438221
chore(insights): Yeet groups-on-events from tests + optimizer (#23320)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-11 20:36:37 +02:00
Thomas Obermüller
d129190cae
refactor(queries): remove unused elements chain helper (#23568) 2024-07-11 12:07:26 +02:00
Sandy Spicer
39a4d278ec
fix: reduce cohort calculation memory usage (#23419) 2024-07-02 23:32:32 +00:00
Julian Bez
6c95fd18ba
chore(ruff): Add ruff rules for exception handling (#23251) 2024-06-27 12:39:21 +01:00
Michael Matloka
077b2759fd
chore(insights): Yeet the unbaked groups-on-events (#22764)
* chore(insights): Yeet the unbaked groups-on-events

* Update TestAutoProjectMiddleware

* Update verifiedDomainsLogic.test.ts.snap

* Update funnel_correlation.py

* Update test_property.py

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 16:38:42 +02:00
Michael Matloka
255229bd5b
fix(experiments): Prevent HogQL-only PoE modes breaking legacy insights (#22886)
* fix(experiments): Prevent HogQL-only PoE modes breaking legacy insights

* Actually leave `PERSON_ID_OVERRIDE_PROPERTIES_ON_EVENTS` alone
2024-06-11 23:08:08 +02:00
Thomas Obermüller
8ab8741e63
chore(refactor): pythonic schema (#22573) 2024-06-10 15:19:20 +02:00
timgl
1ec3b5fd41
feat: Always use person_distinct_id_override (#22347) 2024-06-05 12:51:54 -07:00
Ben White
cc9cb45d58
feat: Action steps refactor (attempt 2) (#22137) 2024-05-07 15:25:19 +02:00
Ben White
0fc2c9eccd
revert: "feat: Action steps refactor (part1) (#22091)" (#22136) 2024-05-07 12:32:41 +02:00
Ben White
776298d2a8
feat: Action steps refactor (part1) (#22091) 2024-05-07 12:08:13 +02:00
Julian Bez
9576fab1e4
chore: Add Pyupgrade rules (#21714)
* Add Pyupgrade rules
* Set correct Python version
2024-04-25 08:22:28 +01:00
Julian Bez
a0fc086175
chore(deps): Upgrade ruff (#21648) 2024-04-19 14:19:10 +02:00
Michael Matloka
b7add1d252
refactor(querying): Consolidate PersonOnEventsMode and PersonsOnEventsMode (#21628)
* Consolidate `PersonOnEventsMode` and `PersonsOnEventsMode`

* Fix multi-line imports too

* Fix member casing

* Fix typing

* Fix some more and update baseline

* Fix `PersonsOnEventsMode` member capitalization
2024-04-19 10:06:55 +02:00
Neil Kakkar
703e0b8f66
fix(cohorts): Restrict query by time range (#21621) 2024-04-17 18:20:42 +00:00
Juraj Majerik
4d7e9d6da6
feat(experiments): no results Trends diagnostics (#21558) 2024-04-16 13:04:58 +00:00
Juraj Majerik
5128d29bae
feat(funnel experiment): no results diagnostics (#21400) 2024-04-16 07:07:15 +02:00
Neil Kakkar
de511eeb89
feat(cohorts): Allow adding property filters to events in cohorts (#21375) 2024-04-15 13:08:17 +01:00
timgl
6cf85db922
fix: Three clear options for persons on events (#21455)
* Revert "feat(hogql): Add feature flag for opting queries into v3 persons-on-events (#21150)"

This reverts commit 205376b86e.

* fix: Three clear options for persons on events

* Update UI snapshots for `chromium` (1)

* use UUID to target feature flag

* fix

* add missing option

* fix

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update posthog/models/team/team.py

Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>

* Update posthog/models/team/team.py

Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>

* fix schema

* fix

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>
2024-04-11 18:58:35 +01:00
Juraj Majerik
ed0abf2d6f
feat(experiments): explore results in an insight (#21235)
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2024-04-11 11:05:41 +02:00
Julian Bez
487ca39064
chore: Enable more ruff rules (#21043) 2024-04-08 16:21:51 +01:00
Michael Matloka
1dcffffa0b
feat(dev): Show Celery cohort queries in CH debug modal (#21173)
* feat(dev): Show Celery cohort queries in CH debug modal

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Add test for `user_id:{self.user.id}`

* Fix args

* Update query snapshots

* Fix typing

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-02 17:56:51 +00:00
Neil Kakkar
575684fe1c
fix(experiments): Respect test account filters setting (#20730) 2024-03-06 14:52:45 +00:00
Neil Kakkar
a7aec2dcd3
feat(experiment): Significance for secondary metrics (#20156) 2024-02-21 15:51:15 +00:00
Juraj Majerik
464315a565
fix(funnel experiments): correct significance when *control* is winning (#20165) 2024-02-07 23:06:08 +01:00
Michael Matloka
69ab4dc9f1
perf(funnels): More deep filtering of person distinct ID join (#20112) 2024-02-07 09:23:06 +01:00
Juraj Majerik
d937315391
fix(experiments): fix funnel events validation (#20127) 2024-02-05 14:18:37 +00:00
Juraj Majerik
07cfe91b59
feat(experiments): validate events for Trend experiments (#20058)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-05 11:16:35 +00:00
Juraj Majerik
cb12ce03c2
fix(trend experiments): filter insight results correctly (#20080) 2024-02-01 14:55:00 +00:00
Michael Matloka
b93904e1cd
perf(funnels): Deep filtering of person distinct ID join (#20050)
* perf(funnels): Filter person distinct ID join

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-31 11:09:03 +01:00
Juraj Majerik
fe3c85ef9e
feat(experiments): validate events for Funnel experiments (#19988)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-31 08:38:01 +00:00
Marius Andra
26ddcccafb
fix(funnels): actors modal longer query limit (#19697) 2024-01-11 12:08:54 +01:00
Julian Bez
7cabe21ae3
chore: Upgrade pydantic, mypy, and others (#19660)
* Upgrade pydantic and all related
* Upgrade mypy
* Add mypy-baseline

To update baseline when you fix something (only then!) use:

    [mypy cmd] | mypy-baseline sync
2024-01-10 08:32:55 +00:00