Skip to content

[Sad Catapella B8][Scientific identity] Changing notebook output directory retains and can overwrite the wrong confirmed experiment design #98

Closed

Description

@guijacquemet

Audit basis and classification

Batch 8 at d7a538e56d41ac1093ba79adcad397c21b3dfd32. Confirmed UI state/flow bug by source tracing; runtime integration test not executed.

Evidence

Deterministic regression scenario

Create experiment with confirmed, independently saved output-A design control=ctrl and output-B design control=drug, both with valid matching folders. Load notebook pointing at A, confirm labels and roles, then change only output widget to B and click run. The UI retains A's confirmed design and can publish it to B, overriding B's user-approved controls/repeat grouping. A change to a completely new output also shows misleading saved state from A.

Impact

Loss of confirmed experimental pairing/control provenance and potential overwriting of an existing valid design in another workspace. The current run revalidates axis and source data, but it cannot detect that the wrong design object was provided.

Fix/acceptance

Bind design state to canonical output folder identity. On output change, invalidate confirmed design state, inspect/load destination design with existing refusal-on-unreadable semantics, and require explicit confirmation before run. Do not silently copy the previous output's design to a new destination. If user explicitly chooses Copy my design to new output, make that an explicit audited action. Add A→B→A, missing destination, unreadable design, changed controls/groups and save-failure integration tests. No Numba opportunity.

Activity

  1. added a commit that references this issue on Nov 2, 2026
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