Skip to content

fix(evaluation): an ingested arm is the method its producer names - #1289

Merged
frapercan merged 1 commit into
integration/three-familiesfrom
fix/an-ingested-arm-is-a-method
Nov 22, 2026
Merged

frapercan merged 1 commit into
integration/three-familiesfrom
fix/an-ingested-arm-is-a-method

Conversation

@frapercan

Copy link
Copy Markdown
Owner

What

  • The window summary names an ingested set's arm by its producer's record when the set has no method row. The arm is then a method, with no neighbours and no depth.
  • The panel keeps the name "own annotations", and the default reference, for the platform's own-annotations method only. A method built on its rows keeps its own name.

Why

On 211->227 the ranked own annotations and the own annotations with a model's nearest neighbour added showed as "candidates · k=893" and "k=935". Read as retrievals, their limit per entry (the term count of the busiest protein) passed for a depth. The ranked arms were also labelled "own annotations", the name of the arm they are compared against.

Tests

  • tests/test_the_window_summary.py: an ingested set is the method its producer names (Postgres).
  • apps/web/tests/windowPanel.test.ts: a method built on the own annotations is named by its own name and is never taken as the reference.
  • Local runs:
    • pytest --with-postgres tests/test_the_window_summary.py: 16 passed;
    • vitest tests/windowPanel.test.ts: 19 passed;
    • ruff format and check, smells, sets, openapi-refs;
    • mypy on the changed module.

The summary's response shape is unchanged, so the OpenAPI document does not move.

An ingested set (ingest_method_predictions) has no method row, and its
configuration carries the method's name as its model name, so the window
summary read it as a retrieval: the panel showed the ranked own annotations
and the own annotations with a model's nearest neighbour added as
"candidates" at a depth of hundreds, the term count of the busiest protein,
which is all its limit per entry says. When a set has no method row, the
summary now names the arm by its producer's record, so it is a method, with
no neighbours and no depth.

The panel named every method whose name starts with own-annotations "own
annotations" and took the first of them as its default reference. A method
built on the own annotations' rows has its own name now, and only the
platform's own-annotations method is the reference.
@frapercan
frapercan marked this pull request as ready for review November 22, 2026 07:29
@frapercan
frapercan merged commit 2631404 into integration/three-families Nov 22, 2026
20 checks passed
@frapercan
frapercan deleted the fix/an-ingested-arm-is-a-method branch November 22, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant