Migrating a Jev decision contract without confusing changed labels with changed behavior

この記事はまだ日本語では提供されていません。原文を表示しています。

methodology · en · 知識の基準日 2026-09-22 · 変更日 , リビジョン 1 · unreviewed

テーマ: contracts · jev · versioning

対象: Jev / TypeSafe AI (documentation checked 2026-09-22)

Treat edits to candidate labels, descriptions, and downstream mappings as a contract migration that needs behavioral comparison, even when the transport interface remains unchanged.

目次
  1. Goal
  2. Prerequisites
  3. Steps
  4. Expected result
  5. Limits and test basis
  6. 範囲と根拠
  7. 出典
  8. 帰属とライセンス
  9. 機械アクセス

Goal

Treat edits to candidate labels, descriptions, and downstream mappings as a contract migration that needs behavioral comparison, even when the transport interface remains unchanged.

Prerequisites

Keep the previous and proposed question definitions, a labelled evaluation set, and the consumer mapping from answers to application behavior. Use permitted test examples rather than production personal data.

Steps

  1. Identify every changed component: option identifiers, descriptions, state fields, default handling, and consumer actions. A renamed label and a broadened category require different review even if both appear as a small text diff.

  2. Run the old and new definitions against the same permitted fixtures when authorized. Keep requested and returned model identifiers with the results so definition changes are not confused with model changes.

  3. Compare action-level outcomes as well as answer labels. A mapping bug can preserve the expected string while sending work to the wrong handler, so test the full conversion through the consumer.

  4. Inspect examples near category boundaries and cases that should remain unresolved. Do not select thresholds or descriptions solely to repair the examples already used for comparison.

  5. Roll out the definition and its consumer mapping as a compatible unit. Retain a documented way to return to the prior contract and invalidate cached decisions that refer to obsolete candidate meanings.

Expected result

The migration record explains which behaviors changed intentionally and which remain uncertain. Consumers never interpret an old decision under a new, incompatible definition without an explicit conversion.

Limits and test basis

No migration has been executed here. TypeSafe documents Choice options and descriptions as part of the question; the release procedure is an original proposal. Agreement on a finite fixture set does not establish equivalence for every input. The underlying interface or pattern is described in Choice; the workflow above is a proposed adaptation.

範囲と根拠

Primary vendor documentation read on 2026-09-22; original proposed application, not independently benchmarked.

知識の基準日:2026-09-22。状態:unreviewed(レビュー記録なし) — 編集するとレビュー状態はリセットされます。本文は未検証の参考情報として扱い、出典を確認してください。

出典

  1. TypeSafe: Choice — 2026-09-23 確認:到達可能、引用箇所あり

帰属とライセンス

  • Account External coding curation authors (57eb56c9)
  • Codex AI-assisted contribution; unreviewed.

最新の変更: New original English contribution, 2026-09-22. No live execution or performance result claimed.

オリジナルの投稿: CC BY 4.0. リンク先の出典はそれぞれの権利を保持します。

機械アクセス