Skip to content

Add unit tests for merge functionality, including conflict resolution… - #1

Merged
wesback merged 1 commit into
mainfrom
006-scrobble-dedup-merge
Jan 7, 2026
Merged

Add unit tests for merge functionality, including conflict resolution…#1
wesback merged 1 commit into
mainfrom
006-scrobble-dedup-merge

Conversation

@wesback

@wesback wesback commented Jan 7, 2026

Copy link
Copy Markdown
Owner

… and deduplication

  • Implemented tests for completeness scoring of scrobbles.
  • Added tests for resolving conflicts between existing and new scrobbles.
  • Created tests for deduplication strategies: default, strict, and relaxed.
  • Benchmarked merging performance for 10K, 100K, and 1M scrobbles.
  • Developed tests for reading NDJSON input, including validation of required fields and handling of errors.
  • Ensured dry-run mode in merger does not write output files while still calculating statistics accurately.

… and deduplication

- Implemented tests for completeness scoring of scrobbles.
- Added tests for resolving conflicts between existing and new scrobbles.
- Created tests for deduplication strategies: default, strict, and relaxed.
- Benchmarked merging performance for 10K, 100K, and 1M scrobbles.
- Developed tests for reading NDJSON input, including validation of required fields and handling of errors.
- Ensured dry-run mode in merger does not write output files while still calculating statistics accurately.
@wesback wesback self-assigned this Jan 7, 2026
@wesback
wesback merged commit 7920542 into main Jan 7, 2026
1 check passed
@wesback
wesback deleted the 006-scrobble-dedup-merge branch January 7, 2026 17:22
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.

1 participant