Skip to content

feat: run-experiment に reliability_evidence input 配線を追加する - #2586

Merged
squne121 merged 1 commit into
mainfrom
worktree-issue-2585-reliability-evidence-dispatch-wiring
Sep 8, 2026
Merged

squne121 merged 1 commit into
mainfrom
worktree-issue-2585-reliability-evidence-dispatch-wiring

Conversation

@squne121

@squne121 squne121 commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

Checks

  • pnpm typecheck
  • pnpm lint
  • pnpm test
  • pnpm build
  • 上記コマンドをすべてローカルで実行し、成功したことを確認してからチェックしてください

(本 PR は scripts/ci/** の Python のみの変更であり pnpm 系の対象ファイルを含まないため、上記チェックは変更なし・影響なしとして確認済み。実際に実行した検証は下記「検証コマンド結果」を参照)

Schema Change Applicability

Schema Consumer Inventory

N/A(not_schema_change のため)。

Compatibility Decision(互換性判定)

  • change_type: N/A
  • compatibility: N/A
  • migration_required: N/A
  • migration_or_followup: N/A
  • reason: schema 変更を伴わないため。

Safety Claim Matrix

  • N/A
  • reason: 本 PR は CI orchestration script(run-experiment サブコマンドの dispatch input 配線)の変更であり、安全境界・権限・サンドボックス・transport・auth・MCP・native tools・approvalMode・runtime verification・workflow gate のいずれにも該当しない。

Notes

受け入れ条件の達成状況

  • AC1: test_dispatch_workflow_run_sends_reliability_evidence_true(-k reliability_evidence_true)で dispatch_workflow_run(..., reliability_evidence=True) の dispatch inputs dict に "reliability_evidence": "true" が含まれることを確認(1 passed, 112 deselected、head d723ef73f44143bf14c6328f85a423a5ed12a748)。
  • AC2: 既存の test_dispatch_workflow_run_sends_target_sha_not_frozen_source_sha_key が無修正のまま PASS し、reliability_evidence 省略時/False 時の dispatch inputs dict が既存4キー(benchmark_layout, target_sha, block_id, experiment_id)のみで reliability_evidence キーを含まないことを回帰確認(1 passed, 112 deselected)。
  • AC3: -k reliability_evidence_propagat の2件のテストで run_bounded_experiment() / execute_bounded_experiment_to_manifest_v2() の reliability_evidence パラメータが dispatch_workflow_run() に正しく伝播することを確認(2 passed, 111 deselected)。
  • AC4: -k parse_run_experiment_args_reliability_evidence の2件のテストで parse_run_experiment_args(["--reliability-evidence", ...]) が args.reliability_evidence == True を返し、省略時は False を返すことを確認(2 passed, 111 deselected)。
  • AC5: scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py 全件(既存 inputs dict 構造依存テスト含む)が無修正のまま PASS することを確認(113 passed)。

検証コマンド結果

# AC1
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k reliability_evidence_true -q
1 passed, 112 deselected

# AC2
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k dispatch_workflow_run_sends_target_sha_not_frozen_source_sha_key -q
1 passed, 112 deselected

# AC3
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k reliability_evidence_propagat -q
2 passed, 111 deselected

# AC4
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k parse_run_experiment_args_reliability_evidence -q
2 passed, 111 deselected

# AC5(全件)
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -q
113 passed

Allowed Paths 遵守

gh pr diff 2586 --name-only で確認した変更ファイルは以下の2件であり、Issue #2585 の Allowed Paths と完全に一致します(Allowed Paths 外の変更なし):

scripts/ci/collect_e2e_performance_benchmark.py
scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py

dispatch_workflow_run()/run_bounded_experiment()/execute_bounded_experiment_to_manifest_v2() に
reliability_evidence: bool = False を追加し、true 時のみ dispatch する inputs dict に
reliability_evidence: "true" を含める(デフォルト False は既存の4キー構造を完全維持)。
parse_run_experiment_args() に --reliability-evidence(store_true, default False)を追加し、
main_run_experiment() から execute_bounded_experiment_to_manifest_v2() まで配線する。
reliability-assessment job(#2424 で実装済み)が実行可能になり、Reliability track(#2155 Phase 7)の
構造的ブロッカーを解消する。

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Preview URL

Preview removed (PR #2586 closed).

@squne121

squne121 commented Sep 8, 2026

Copy link
Copy Markdown
Owner Author

PR Review 判定 (iteration 0)

Mergeability: verdict は blockers 由来の REQUEST_CHANGES。実装内容自体は妥当(AC1-5全て充足、Allowed Paths gate OK、required CI 6件全green、Closes #2585記載あり、scope creepなし)。

Blockers:

  • PR body に必須セクション ## 受け入れ条件の達成状況(AC1-5ごとの [x]/[ ] + 根拠)が欠落
  • PR body に必須セクション ## Allowed Paths 遵守 が欠落
verdict: REQUEST_CHANGES
reviewed_head_sha: "d723ef73f44143bf14c6328f85a423a5ed12a748"
blockers:
  - "PR body missing required '## 受け入れ条件の達成状況' section (per-AC [x]/[ ] + 根拠 checklist for AC1-AC5)"
  - "PR body missing required '## Allowed Paths 遵守' section"
warnings:
  - "python-test required aggregate check had not yet started at first snapshot; confirmed SUCCESS after polling at the same head SHA"

@squne121

squne121 commented Sep 8, 2026

Copy link
Copy Markdown
Owner Author

PR Review 判定 (iteration 1, re-review)

前回REQUEST_CHANGESの唯一の理由(PR body必須セクション2件の欠落)は解消済み。実装内容(AC1-5全充足、Allowed Paths gate OK、required CI 6件全green、Closes #2585記載あり、scope creepなし)を再確認し、blockerなし。

verdict: APPROVE
reviewed_head_sha: "d723ef73f44143bf14c6328f85a423a5ed12a748"
blockers: []
warnings: []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant