Skip to content

Citation ties go to the first source, attribution depends on input order #19

Description

@royalpinto007

Problem

Two identical sources always attribute to s1: the strict > comparison makes attribution depend on input order.

Where

src/answerproof/citations.py (if s > best_score, first-wins implicit).

Acceptance

Add a failing test first with tied sources, expecting a deterministic order-independent tie-break (documented). Then fix.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions