Skip to content

Compare, feasibility and task flags: match standard tasks by their exact identity #541

Description

@harenome

Priority

P3 · When convenient: no bundled benchmark has two units whose display names collide

Today

  • Runs: read a standard trial's raw unit id, so labels and runs match tasks exactly #529 gives a standard trial an exact identity: (benchmark, version, dataset, raw unit). parse.shared_tasks matches across runs by it; a job's attempts group by the raw unit, else the task name.
  • Three places still key a task by its display name, where group/1 and group-1 are one name:
    • Compare's matched tasks (compare/comparison.py:178): page, nullius compare --matched and API.
    • Feasibility's controls (runs/feasibility.py:394, :440).
    • Task flags (web/failure.py:126, runs/failure_analysis.py:254) and their command.
  • With group/1 passed and group-1 failed, Compare reports one shared task, and flagging one unit drops both from the filtered score. With a nop rejecting only group-1 and an oracle passing only group/1, feasibility reports one feasible task and no missing control.

Wanted

  • Standard trials are grouped, matched and flagged by their exact identity in all three. A trial whose identity is unresolved stays in its own column and matches nothing.
  • Harbor runs keep today's behavior.
  • A saved display-name flag still applies when it names a single unit.

Acceptance

  • Compare --matched: a true match, a collision kept apart, an unresolved trial matched with nothing; page, command and API agree
  • Feasibility: a nop rejecting group-1 and an oracle passing group/1 leave each unit with a missing control
  • Flagging group-1 keeps group/1's passes in the filtered score
  • A Harbor comparison, feasibility report and flag are unchanged

Related

Follow-up of #529. Part of #524.

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

    P3enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions