Skip to content

Scorer weight: Infinity passes validation and poisons aggregation #29

Description

@royalpinto007

Problem

weight: Infinity passes validation (Infinity >= 0) and poisons aggregation (Infinity/Infinity = NaN).

Where

src/suite.ts (weight check) + src/scorers/util.ts (aggregation).

Acceptance

Add a failing test first asserting validateSuite rejects non-finite weight values. 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