Skip to content

Declare the Lexbench report template as package data #188

Closed

Description

@lanyue-llk

Follow-up to #186.

#186 moved the Lexbench report template to src/harness/lexbench/template/, but pyproject.toml does not declare it as package data yet. A wheel or sdist install therefore lacks the template, and python -m harness.lexbench report stops with an error unless --source or paths.source names one. The old scripts/moli_report/ directory was not installed either, so this is not a regression.

Why it was not done in #186

harness/web_search/runner.py lists pyproject.toml in collection_implementation(), and validate_resume_implementation compares those hashes. Editing the file stops any Web Search cohort that is in flight from resuming. #155 already treats this as an owner decision for the console scripts.

Scope

  • Add template/* to the harness.lexbench entry under tool.setuptools.package-data, when no Web Search collection is in flight. The console scripts in Follow-up to #100: remaining per-track subcommand CLIs #155 can go in the same change.
  • Make tests/package_smoke.py read the template from the installed package, and remove the source-install sentence from src/harness/lexbench/README.md.

Default if not decided: leave the code as is.

Part of #87

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