-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
🐛BugSomething isn't workingSomething isn't working
Description
The KrippendorffAlphaAgreement is a disagreement measure. If there is a full agreement, then the expected and observed disagreement is calculated as 0.0 in
@Override
public double calculateAgreement()
{
double D_O = calculateObservedDisagreement();
double D_E = calculateExpectedDisagreement();
if (D_O == D_E) {
return 0.0;
}
else {
return 1.0 - (D_O / D_E);
}
}
However, a disagreement of 0 in this case does not yield an agreement of 1.0 but instead an agreement of 0.0.... seems wrong?
Suggested fix:
double D_O = calculateObservedDisagreement();
double D_E = calculateExpectedDisagreement();
if (D_O == 0.0 && D_E == 0.0) {
return 1.0;
}
return 1.0 - (D_O / D_E);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐛BugSomething isn't workingSomething isn't working