Skip to content

fix: count every hedged claim occurrence - #11

Closed
slegarraga wants to merge 1 commit into
AgentPostmortem:mainfrom
slegarraga:fix/hedged-claim-count
Closed

fix: count every hedged claim occurrence#11
slegarraga wants to merge 1 commit into
AgentPostmortem:mainfrom
slegarraga:fix/hedged-claim-count

Conversation

@slegarraga

Copy link
Copy Markdown

Closes #7.

Changes check_unverified_claim to count every hedge occurrence instead of capping at one per pattern, while keeping the first match as evidence.

Adds a regression test asserting that three repeated hedges report 3 hedged claim(s).

Verified with pytest (18 passed).

@royalpinto007

Copy link
Copy Markdown
Collaborator

Closing this PR.

The author is no longer an active contributor on these repositories, so this cannot be carried through review or iterated on.

The underlying issue stays open and is available for anyone who wants it. If you were looking at this change, please do open a fresh PR, it is very welcome.

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.

hedged_claim reports the number of hedge patterns, not the number of hedged claims

2 participants