Skip to content

Feature/issue 277/allow duplicate time#279

Merged
Asanto32 merged 6 commits into
mainfrom
feature/issue-277/allow-duplicate-time
Jan 20, 2026
Merged

Feature/issue 277/allow duplicate time#279
Asanto32 merged 6 commits into
mainfrom
feature/issue-277/allow-duplicate-time

Conversation

@Asanto32
Copy link
Copy Markdown
Collaborator

@Asanto32 Asanto32 commented Jan 19, 2026

Resolves #277
Allows user to set -d/allow_duplicates parameter to continue processing even when sensor data has time duplicates.

Also bumped some dependencies for security.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.72%. Comparing base (59e3647) to head (c56844a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
+ Coverage   96.70%   96.72%   +0.02%     
==========================================
  Files          17       17              
  Lines        1092     1100       +8     
==========================================
+ Hits         1056     1064       +8     
  Misses         36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Asanto32 Asanto32 marked this pull request as ready for review January 19, 2026 22:13
Comment thread src/wristpy/core/models.py Outdated
Comment thread src/wristpy/io/readers/readers.py Outdated
),
],
)
def test_allow_duplicates_option(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test that raises an error if allow_duplicates == False and there are duplicates.

@Asanto32 Asanto32 merged commit bbbd381 into main Jan 20, 2026
32 checks passed
@Asanto32 Asanto32 deleted the feature/issue-277/allow-duplicate-time branch May 7, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Add option to handle duplicate timestamps in Measurement instead of error

2 participants