Skip to content

Remove collar=0 from the codebase - #114

Merged
boeddeker merged 15 commits into
mainfrom
boeddeker-patch-1
Jun 17, 2025
Merged

Remove collar=0 from the codebase#114
boeddeker merged 15 commits into
mainfrom
boeddeker-patch-1

Conversation

@boeddeker

Copy link
Copy Markdown
Member

Remove collar=0 from the codebase, it makes causes too much trouble.
See #113

@boeddeker boeddeker changed the title Boeddeker patch 1 Remove collar=0 from the codebase Jun 16, 2025
@boeddeker
boeddeker requested a review from thequilo June 16, 2025 14:17
Comment thread meeteval/wer/wer/di_cp.py Outdated
reference,
hypothesis,
*,
collar: int,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove or correct type annotation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also for all other occurences. As we discussed, int is the wrong annotation, but the correct annotation is tricky.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done. I removed them.
Maybe for documentation:

  • None: collar is not used
  • int: Works always
  • decimal.Decimal: Works for cli, but not, when the user changes the times to be float
  • float: Works for usercode

Comment thread tests/test_di_cp.py Outdated
@boeddeker
boeddeker merged commit aaf57a8 into main Jun 17, 2025
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