发布

  • [OPIK-6214] [FE] fix: clear stale experiment results on version/dataset switch (#6483)

    frostbyte_neo 发布于 2026-04-24 15:36:54 +00:00

    • [OPIK-6214] [FE] fix: clear experiment results when switching dataset version

    When switching test suite versions or datasets in the playground,
    old experiment results (assertion badges, pass rates) persisted because
    experimentByPromptId was not cleared on dataset/version change.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • fix: clear stale experiments on page refresh (remove null guard)

    The null guard on prevDatasetIdRef prevented clearing persisted
    createdExperiments after page refresh, since Zustand async hydration
    causes a null -> value transition that was being skipped.

    Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

    • Revert "fix: clear stale experiments on page refresh (remove null guard)"

    This reverts commit b706683185c10e6603ec37217788aa1a8b85d683.


    Co-authored-by: Claude Opus 4.6 noreply@anthropic.com

    下载附件