Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

bundle-lint: validate eval bundles (cases.json / queries.json) before any model call #141

Open

Description

@CloneOfAlex

Describe your idea

A bundle_lint.py (and a --lint-only flag on both runners) that validates an eval bundle against a published JSON Schema.

Why is this needed?

Bundles are the untrusted input of the eval runner (#103), and malformed ones fail late, after spending tokens, or silently (e.g. zero runs per query scoring as passes).

How should it work?

Checks: unique case ids; fixture files that exist; non-empty input and rubric; should_trigger present; no adapter.json beside the bundle (warn); balanced positive/negative trigger queries (warn below 30% of either); duplicate queries. Output in the same JSON finding format as the scanners.

PR

Happy to help implement this if the direction is agreed.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions