发布

  • [OPIK-4730] [BE] Preserve dataset_version_id in experiment UPDATE query (#5555)

    frostbyte_neo 发布于 2026-03-09 13:39:07 +00:00

    • [OPIK-4730] [BE] Preserve dataset_version_id in experiment UPDATE query

    The UPDATE SQL template in ExperimentDAO was missing dataset_version_id
    in its INSERT column list and SELECT clause. When an experiment was
    updated (e.g., via log_experiment_scores after experiment_scoring_functions
    run), the INSERT-SELECT created a new row with an empty dataset_version_id,
    breaking the output columns join in DatasetItemVersionDAO.

    • [OPIK-4730] [BE] Add test for dataset_version_id preservation on experiment update

    Adds an integration test that creates an experiment with a dataset
    (which assigns a dataset_version_id), updates it with experiment_scores,
    and verifies the dataset_version_id is preserved after the update.

    下载附件