Skip to content

#58 - Alpha_U reports full agreement (1.0) for studies containing only zero-length units - #59

Merged
reckart merged 1 commit into
mainfrom
bugfix/58-Alpha_U-reports-full-agreement-for-studies-containing-only-zero-length-units
Jul 11, 2026
Merged

reckart merged 1 commit into
mainfrom
bugfix/58-Alpha_U-reports-full-agreement-for-studies-containing-only-zero-length-units

Conversation

@reckart

@reckart reckart commented Jul 11, 2026

Copy link
Copy Markdown
Member

What's in the PR

  • Extract study information check into overridable studyCarriesInformation() method in DisagreementMeasure
  • Override studyCarriesInformation() in UnitizingAgreementMeasure to exclude zero-length units as degenerate (issue Krippendorff alpha reports 0.0 on full agreement #35)
  • Add tests for zero-length-unit handling in UnitizingAgreementTest

How to test manually

  • See issue description

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

…y zero-length units

- Extract study information check into overridable `studyCarriesInformation()` method in `DisagreementMeasure`
- Override `studyCarriesInformation()` in `UnitizingAgreementMeasure` to exclude zero-length units as degenerate (issue #35)
- Add tests for zero-length-unit handling in `UnitizingAgreementTest`
@reckart reckart added this to the 2.3.1 milestone Jul 11, 2026
@reckart reckart self-assigned this Jul 11, 2026
@reckart reckart added 🐛Bug Something isn't working Module: Agreement labels Jul 11, 2026
@reckart reckart added this to Kanban Jul 11, 2026
@github-project-automation github-project-automation Bot moved this to In progress in Kanban Jul 11, 2026
@reckart
reckart merged commit 7f9b4fb into main Jul 11, 2026
1 check passed
@reckart
reckart deleted the bugfix/58-Alpha_U-reports-full-agreement-for-studies-containing-only-zero-length-units branch July 11, 2026 17:01
@github-project-automation github-project-automation Bot moved this from In progress to Done in Kanban Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛Bug Something isn't working Module: Agreement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant