Skip to content

removed unused hamming distance functions - #1213

Merged
ryneeverett merged 2 commits into
GothenburgBitFactory:developfrom
Lotram:simplify-annotation-merge
May 28, 2026
Merged

removed unused hamming distance functions#1213
ryneeverett merged 2 commits into
GothenburgBitFactory:developfrom
Lotram:simplify-annotation-merge

Conversation

@Lotram

@Lotram Lotram commented May 19, 2026

Copy link
Copy Markdown
Collaborator

I simplified the code related to merging tags and annotations.

In particular, the hamming distance code was unused.

While I think it makes sense to keep the "normalize_annotation" function (even though I don't see why the annotation would slightly change between calls to services), I'm not sure the "compare only length of shortest string" behavior brings anything useful (but I kept it for now).

Comment thread bugwarrior/db.py
@ryneeverett

Copy link
Copy Markdown
Collaborator

While I think it makes sense to keep the "normalize_annotation" function (even though I don't see why the annotation would slightly change between calls to services), I'm not sure the "compare only length of shortest string" behavior brings anything useful (but I kept it for now).

Agreed. I'm supportive of intentionally removing that behavior, I just wanted to make sure we didn't do so on accident.

@Lotram
Lotram force-pushed the simplify-annotation-merge branch from 9fde844 to 8a0d1a0 Compare May 25, 2026 15:47
@ryneeverett
ryneeverett merged commit 10f028b into GothenburgBitFactory:develop May 28, 2026
8 checks passed
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.

2 participants