Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project overview
  • Repository
  • Issues 272
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 35
  • CI / CD
  • Security & Compliance
  • Packages
  • Analytics
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #855

Closed
Open
Opened 4 months ago by Rami Albatal@ramialbatal
Report abuse New issue

Kite state transition from "Resurrected" to "New"

Many users are moving from "Resurrected" to "New".

Example of users with this pattern in August 2019:

+-------------------+-------------------------------+
|user_guid_kite     |journey_string                 |
+-------------------+-------------------------------+
|1003452005647130643|resurrected, new, curious, cold|
|1003452092720881668|resurrected, new, curious, cold|
|1003452215974699011|resurrected, new, curious, cold|
|1003452303409160198|resurrected, new, curious, cold|
|1003452584448499723|resurrected, new, curious, cold|
|1003452662076678154|resurrected, new, curious, cold|
|1003452714325123076|resurrected, new, curious, cold|
|1003452818838790156|resurrected, new, curious, cold|
|1003452841710329863|resurrected, new, curious, cold|
|1003453225631752204|resurrected, new, curious, cold|
|1003453273140633602|resurrected, new, curious, cold|
|1003453281386635271|resurrected, new, curious, cold|
|1003453356783443971|resurrected, new, curious, cold|
|1003453479206789136|resurrected, new, curious, cold|
|1003453534567407624|resurrected, new, curious, cold|
|1003453692046745605|resurrected, new, curious, cold|
|1003453723172675588|resurrected, new, curious, cold|
|1003454204951404556|resurrected, new, curious, cold|
|1003454372992000012|resurrected, new, curious, cold|
|1003454424493858820|resurrected, new, curious, cold|
+-------------------+-------------------------------+

If we focus on the first user for example, we can see the follow:

Screen_Shot_2019-09-23_at_4.16.47_PM

For reference check the kite records: 1003452005647130643-1564617600000 (1st of August 2019, resurrected), followed by 1003452005647130643-1564704000000 (2nd of August 2019, new)

After we do the potential user's analysis, we need to make sure that kite is working properly.

There's this bug as reported by Rami

And there are also the gaps in the data. Every user should have a entry for each day of activity until they drop off the map.

Assigning this to @ramialbatal first so he can get together any issues he was having with the current kite algorithm

So, the way we calculate new users might be the source of this false positives

A user is marked new based on the timestamp of their guid compared to the past 24 hours when the job is run

A user is marked resurrected if their bucket has activity for the first day

All the logic for these lives in UserActivityBuckets.php

Edited 2 weeks ago by Brian Hatchet

Linked issues
0

  • Discussion 6
  • Designs 0
  • Rami Albatal @ramialbatal changed the description 4 months ago

    changed the description

  • Rami Albatal @ramialbatal changed the description 4 months ago

    changed the description

  • Guy Thouret
    Guy Thouret @gthouret · 4 months ago

    Resurrected state is 1 day of activity within 7 day period and that day is the most recent day.

    New state is determined by the guid being within a range of guids that represent the 24 hours up to the reference day start.

    This makes sense now. The new state is only seen during the second day, during the first day if there is activity on that day it actually fits the logic for resurrected so there would be a transition from resurrected -> new.

    This is still the case after the changes I have made because I preserved the flawed new state logic. It's also a sporadic state to test because it's only seen when a new user is created.

  • Guy Thouret @gthouret added 1 deleted label 4 months ago

    added 1 deleted label

  • Guy Thouret @gthouret added Type::Bug scoped label 4 months ago

    added scoped label

  • Guy Thouret @gthouret added Product::Analytics Squad::Blue scoped labels 4 months ago

    added scoped labels

  • Mark Harding
    Mark Harding @markeharding · 4 months ago
    Owner

    @brianhatchet can you chime in here?

  • Mark Harding @markeharding removed 1 deleted label 4 months ago

    removed 1 deleted label

  • Mark Harding @markeharding added Status::Validation scoped label 4 months ago

    added scoped label

  • Mark Harding @markeharding assigned to @brianhatchet 4 months ago

    assigned to @brianhatchet

  • Mark Harding @markeharding added Status::Follow Up scoped label and automatically removed Status::Validation label 4 months ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Validation scoped label and automatically removed Status::Follow Up label 2 months ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Scheduling scoped label and automatically removed Status::Validation label 2 months ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet unassigned @gthouret 2 months ago

    unassigned @gthouret

  • Brian Hatchet :speech_balloon: @brianhatchet unassigned @markeharding 2 months ago

    unassigned @markeharding

  • Brian Hatchet :speech_balloon: @brianhatchet unassigned @brianhatchet 2 months ago

    unassigned @brianhatchet

  • Brian Hatchet :speech_balloon: @brianhatchet added 1 deleted label 2 months ago

    added 1 deleted label

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Backlog scoped label and automatically removed Status::Scheduling label 2 months ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet changed weight to 4 2 months ago

    changed weight to 4

  • Brian Hatchet :speech_balloon: @brianhatchet changed time estimate to 4h 2 months ago

    changed time estimate to 4h

  • Brian Hatchet
    Brian Hatchet :speech_balloon: @brianhatchet · 2 months ago
    Developer

    @gthouret we going to need to get the flawed logic fixed here to help out @ramialbatal 's data initiative.

  • Brian Hatchet :speech_balloon: @brianhatchet added Squad::Yellow scoped label and automatically removed Squad::Blue label 1 month ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Validation scoped label and automatically removed Status::Backlog label 1 month ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet assigned to @edgebal 2 weeks ago

    assigned to @edgebal

  • Brian Hatchet :speech_balloon: @brianhatchet changed weight to 8 2 weeks ago

    changed weight to 8

  • Brian Hatchet :speech_balloon: @brianhatchet changed the description 2 weeks ago

    changed the description

  • Brian Hatchet :speech_balloon: @brianhatchet changed time estimate to 1d 2 weeks ago

    changed time estimate to 1d

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Backlog scoped label and automatically removed Status::Validation label 2 weeks ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::01/29 Abatic Aenome scoped label 2 weeks ago

    added scoped label

  • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %Sprint:01/29 Abatic Aenome 2 weeks ago

    changed milestone to %Sprint:01/29 Abatic Aenome

  • Brian Hatchet :speech_balloon: @brianhatchet added to epic &32 2 weeks ago

    added to epic &32

  • Rami Albatal
    Rami Albatal @ramialbatal · 2 weeks ago
    Developer

    @brianhatchet I have checked the flows indeed the Resurrected --> new transitions is a problem... no baps was found in the last couple of months. The logic of the state transitions themselves, especially with the curious states is still a bit problematic for me. We discuss this asap.

  • Brian Hatchet :speech_balloon: @brianhatchet changed the description 2 weeks ago

    changed the description

  • Rami Albatal
    Rami Albatal @ramialbatal · 2 weeks ago
    Developer

    Screen_Shot_2020-01-23_at_6.32.47_PM

    @brianhatchet

  • Brian Hatchet :speech_balloon: @brianhatchet assigned to @eiennohi 2 weeks ago

    assigned to @eiennohi

  • Brian Hatchet :speech_balloon: @brianhatchet unassigned @edgebal 2 weeks ago

    unassigned @edgebal

  • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::02/12 Baritone Baboon scoped label and automatically removed Sprint::01/29 Abatic Aenome label 2 weeks ago

    added scoped label and automatically removed label

  • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %Sprint::02/12 Bartone Baboon 4 days ago

    changed milestone to %Sprint::02/12 Bartone Baboon

  • Brian Hatchet :speech_balloon: @brianhatchet added Squad::Blue scoped label and automatically removed Squad::Yellow label 2 days ago

    added scoped label and automatically removed label

  • Mark Harding @markeharding unassigned @eiennohi 1 hour ago

    unassigned @eiennohi

  • Mark Harding @markeharding removed Sprint::02/12 - Baritone Baboon label 1 hour ago

    removed label

  • Mark Harding @markeharding removed milestone 1 hour ago

    removed milestone

  • Mark Harding
    Mark Harding @markeharding · 1 hour ago
    Owner

    Removing this from sprint until we figure this out in more detail.

  • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %Sprint::02/26 Calculated Cricket 1 hour ago

    changed milestone to %Sprint::02/26 Calculated Cricket

  • Brian Hatchet :speech_balloon: @brianhatchet added Status::Planning Breakdown scoped label and automatically removed Status::Backlog label 1 hour ago

    added scoped label and automatically removed label

Please register or sign in to reply
0 Assignees
None
User Retention
Epic
User Retention
Sprint::02/26 Calculated Cricket
Milestone
Sprint::02/26 Calculated Cricket
Time tracking
Estimated: 1d
None
Due date
None
4
Labels
Product::Analytics Squad::Blue Status::Planning Breakdown Type::Bug
8
Weight
8
Confidentiality
Not confidential
Lock issue
Unlocked
6
6 participants
user avatar
user avatar
user avatar
user avatar
user avatar
user avatar
Reference: minds/engine#855