Skip to content

tests(medcat): CU-869d8wft4 Add tests to name count during supervised training#435

Merged
mart-r merged 2 commits into
mainfrom
bug/medcat/CU-869d8wft4-fix-sup-train-name-count
May 12, 2026
Merged

tests(medcat): CU-869d8wft4 Add tests to name count during supervised training#435
mart-r merged 2 commits into
mainfrom
bug/medcat/CU-869d8wft4-fix-sup-train-name-count

Conversation

@mart-r
Copy link
Copy Markdown
Collaborator

@mart-r mart-r commented May 12, 2026

This seems to have not been working in MedCAT==2.5.3, see this discourse thread.

However, at a closer look it turned out this was in latest state of the codebase.
At a closer look it looks like this was fixed by #374 and released in v2.7.0 (April 1st).

I verified by checking that the issue does exist in v2.6.0 but does not in v2.7.0.

Nevertheless, I felt like adding tests for this would be appropriate.

@adam-sutton-1992
Copy link
Copy Markdown
Contributor

LGTM - you know the embedding linker doesn't increase these training counts, right?

@mart-r
Copy link
Copy Markdown
Collaborator Author

mart-r commented May 12, 2026

LGTM - you know the embedding linker doesn't increase these training counts, right?

Yeah, that's fine. These are only really applicable for the vector context model.

Perhaps they should be kept separate from the core structure. But it is what it is for now.

@mart-r mart-r merged commit 0c7ccea into main May 12, 2026
22 checks passed
@mart-r mart-r deleted the bug/medcat/CU-869d8wft4-fix-sup-train-name-count branch May 12, 2026 14:57
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