0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
posthog/ee
Neil Kakkar e60e3c7964
Setup Funnel Unordered persons and Testing (#4943)
* wip: pagination for persons on clickhouse funnels

* wip: added offset support for getting a list of persons; added support for conversion window;

* fixed mypy exception

* helper function to insert data for local testing

* moved generate code into separate class for more functionality later

* corrected person_distinct_id to use the person id from postgres

* minor corrections to generate local class along with addition of data cleanup via destroy() method

* reduce the number of persons who make it to each step

* moved funnel queries to a new folder for better organization; separated funnel_persons and funnel_trends_persons into individual classes;

* funnel persons and tests

* initial implementation

* invoke the funnel or funnel trends class respectively

* add a test

* add breakdown handling and first test

* add test stubs

* remove repeats

* mypy corrections and PR feedback

* run funnel test suite on new query implementation

* remove imports

* corrected tests

* minor test updates

* correct func name

* fix types

* unordered step and test

* func name change

* move builder functions to funnel base

* add test classe for new funnel

* resolve issues with unordered funnel

* oops

* remove breakdown, fix mypy error

* Handle multiple same events in the funnel (#4863)

* dedup + tests

* deep equality. Tests to come

* write test for entity equality

* finish testing funnels

* clean up comments

* from O(2^N) to O(N)

* add query intuition blurb

* rm todo

* wip persons

* wip persons 2

* address comments

* test things, fix bugs

* match result format to funnel.py

Co-authored-by: Buddy Williams <buddy@posthog.com>
Co-authored-by: eric <eeoneric@gmail.com>
2021-07-01 12:11:54 -04:00
..
api Event definition drawer properties (#4722) 2021-06-24 09:00:59 +02:00
bin Add frontend local dev script for Clickhouse development (#4891) 2021-06-28 23:02:13 -07:00
certs Publish events to Kafka for consumption (#1644) 2020-09-15 20:04:38 -07:00
clickhouse Setup Funnel Unordered persons and Testing (#4943) 2021-07-01 12:11:54 -04:00
idl Delete omni_person.proto (#3014) 2021-01-21 14:13:04 +01:00
kafka_client Plugin log entries (#3482) 2021-05-06 10:54:32 +03:00
management/commands Rename is_ee_enabled to is_clickhouse_enabled (#4216) 2021-05-13 16:56:54 +02:00
migrations Event properties taxonomy (#4486) 2021-06-03 09:22:16 -04:00
models Remove free clickhouse license (#4788) 2021-06-17 16:47:04 +03:00
tasks Funnel persons per step and dropoff (#4883) 2021-06-29 12:22:42 -04:00
__init__.py Add enterprise edition and licensing (#1390) 2020-08-14 11:23:55 +02:00
apps.py Add enterprise edition and licensing (#1390) 2020-08-14 11:23:55 +02:00
conftest.py Plugin log entries (#3482) 2021-05-06 10:54:32 +03:00
docker-compose.ch.test.yml Fix docker dev environment (#3861) 2021-04-03 20:41:47 +02:00
docker-compose.ch.yml Add frontend local dev script for Clickhouse development (#4891) 2021-06-28 23:02:13 -07:00
LICENSE Updated where our enterprise terms are found (#2881) 2021-01-08 12:09:27 +01:00
settings.py Plugins access control (#3486) 2021-03-17 15:01:55 +01:00
urls.py Debug CH queries (#2666) 2020-12-07 16:06:14 +01:00