Open linear[bot] opened 3 months ago
To investigate the accuracy of the active length of a session, follow these steps:
Backend Calculation:
ActiveSessionSql
struct in /backend/lambda-functions/digests/utils/utils.go
for how ActiveLength
is calculated and stored.InterestingSessionSql
struct in /backend/lambda-functions/sessionInsights/utils/utils.go
.Frontend Display:
usePlayer
hook in /frontend/src/pages/Player/PlayerHook/PlayerHook.tsx
to understand how the active length is fetched and displayed.GraphQL Schema:
Session
type in /backend/private-graph/graph/model/models_gen.go
to see how the active length is queried.Session Insights:
/backend/lambda-functions/sessionInsights/utils/utils.go
correctly processes and calculates the active length.Debugging:
ActiveLength
.By following these steps, you can pinpoint any discrepancies in the active length calculation and ensure its accuracy.
/backend/lambda-functions/digests/utils/utils.go /backend/lambda-functions/sessionInsights/utils/utils.go /backend/private-graph/graph/generated/generated.go /backend/private-graph/graph/model/models_gen.go /backend/private-graph/graph/schema.resolvers.go /frontend/src/pages/Player/PlayerHook/PlayerHook.tsx
Not sure if the active length is accurate Example: https://app.highlight.io/1/sessions/xRSnNUJIjqSHG6COHuVdxAQ13FRz