ActivityWatch / ActivityWatch/aw-watcher-afk

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

未关闭
#61 2 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
76
派生
56
平均合并
4 天 20 小时
30 天内合并 PR
1

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。