Skip to content

New check self_contradiction: flag verdicts contradicting their own evidence #38

Description

@royalpinto007

Problem

Observed failure: "no open security issues" above a pasted list of issues; "all tests passed" next to a traceback.

Pattern

Add a check in agentrace/checks.py (sibling: check_absence_as_evidence, regex + _context() snippet); test via _run(result=...). Fire self_contradiction (medium) on co-occurrence of a zero/absence claim ("none found", "no X", "all passed") with enumerated counter-evidence (numbered items, tables, tracebacks) in the same result.

Acceptance

New check self_contradiction. _run(result="No open issues:\n1. #12 ...\n2. #14 ...") flagged; plain "none found" with no list clean.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

claimedSomeone asked first and is working on thisgood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions