Skip to content

実装: collect_e2e_performance_benchmark.py の run-experiment が reliability_evidence input を配線しておらず Reliability track 全体が構造的にブロックされる問題を修正する #2585

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "#2155"
goal_ref: "run-experiment orchestrator が reliability_evidence input を配線し、Reliability track (#2155 Phase 7) のblockerを解消する"
change_kind: code

Parent Issue

#2155

Parent Goal Ref

  • Goal: 検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 は M5 delivery close verification として、Start Conditions step 3 (publication wiring preflight)・Phase 3 (blocks=1)・Phase 7 (Reliability V1 close-grade) を含む Reliability track 全体の close-grade 実CI証跡を確認することを目的とする。
  • Desired Destination: run-experiment orchestrator が dispatch する workflow run に reliability evidence artifact が確実に付与され、reliability-assessment job が実行可能な状態になること。

Current Validated Scope

  • scripts/ci/collect_e2e_performance_benchmark.py の run-experiment サブコマンド関連関数(dispatch_workflow_run / run_bounded_experiment / execute_bounded_experiment_to_manifest_v2 / parse_run_experiment_args / main_run_experiment)に reliability_evidence フラグを追加配線する。
  • 対応する unit test を scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py に追加する。

Remaining Parent Gaps

Outcome

scripts/ci/collect_e2e_performance_benchmark.py の run-experiment サブコマンドに --reliability-evidence フラグが追加され、指定時のみ dispatch される inputs dict に reliability_evidence: "true" が含まれるようコードが変更され、対応する unit test が追加されて uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -q が全件 PASS している状態。

Runtime Verification Applicability

In Scope

  • dispatch_workflow_run() に reliability_evidence: bool = False パラメータを追加し、true 時のみ inputs["reliability_evidence"] = "true" をセットする
  • run_bounded_experiment() と execute_bounded_experiment_to_manifest_v2() に同名パラメータを追加し、dispatch_workflow_run() 呼び出しへ伝播する
  • parse_run_experiment_args() に --reliability-evidence(action="store_true", default=False)を追加する
  • main_run_experiment() で args.reliability_evidence を execute_bounded_experiment_to_manifest_v2() へ渡す
  • AC1〜AC4をカバーする focused unit test を新規または既存拡張で追加する

Out of Scope

Acceptance Criteria

  • AC1: dispatch_workflow_run(..., reliability_evidence=True) を呼んだ際、dispatch される inputs dict に "reliability_evidence": "true" が含まれる
  • AC2: dispatch_workflow_run(..., reliability_evidence=False)(またはデフォルト、引数省略)を呼んだ際、dispatch される inputs dict は既存の4キー(benchmark_layout, target_sha, block_id, experiment_id)のみで、reliability_evidence キーを含まない(既存挙動の完全な後方互換)
  • AC3: run_bounded_experiment() / execute_bounded_experiment_to_manifest_v2() の reliability_evidence パラメータが dispatch_workflow_run() に正しく伝播する(unit test で検証)
  • AC4: parse_run_experiment_args(["--reliability-evidence", ...]) が args.reliability_evidence == True を返す。省略時は False
  • AC5: 既存の test_dispatch_workflow_run_sends_target_sha_not_frozen_source_sha_key 等、既存の inputs dict 構造に依存する既存テストが変更なしで引き続き PASS する(後方互換性の regression 確認)

Verification Commands

# AC1
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k reliability_evidence_true -q

# 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

# AC3
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k reliability_evidence_propagat -q

# AC4
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k parse_run_experiment_args_reliability_evidence -q

# AC5
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -q

Allowed Paths

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

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

なし

Required Design References

  • docs/dev/current-focus.md

Scope Delta(任意)

N/A

Notes for Reviewer

Activity

  1. added
    enhancement
    phase/implementation
    triage-required
    agent/implementer
    on Sep 8, 2026
  2. squne121 commented on Sep 8, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-09-08T14:00:57Z)

    • PR: feat: run-experiment に reliability_evidence input 配線を追加する #2586
    • Worktree: .claude/worktrees/issue-2585-reliability-evidence-dispatch-wiring
    • Branch: worktree-issue-2585-reliability-evidence-dispatch-wiring
    • Verification: AC1〜AC5 全件 PASS(uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -q → 113 passed)
    • 後続: PR レビュー(pr-review-judge)→ マージ → post-merge-cleanup
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

    agent/implementerenhancementphase/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions