ActivityWatch / ActivityWatch/aw-watcher-afk

Data is often doubled with two events starting at same timestamp but different durations

Open
#61 2 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
76
Forks
56
Avg merge
4d 20h
Merged PRs (30d)
1

Description

While experimenting with analysing the watcher data separately, I noticed that data often is doubled, with two events starting at identical timestamps but with different durations. Here are two screenshots demonstrating this, one from the GUI view and one from the database itself.
image
(notice the lines in the middle of the visualization of each period, there are two events there)
image

This, while it doesn't seem to affect the official visualisations much, is rather annoying to work with when working with the data directly.
Seems though like this could be an easy fix even by just filtering the data afterhand with just checking the start timestamp and comparing the durations, leaving only one event, or by implementing some sort of overlap correction.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.