Repository navigation
implement: deterministic target scoring pure function - #1049
Conversation
Preview URLPreview removed (PR #1049 closed). |
05cad23 to
542e9d5
Compare
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: 542e9d5b65d57fd241a4943235a1681341d8692a
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []Summary
実装・テスト・CI を最新HEADに対して再確認し、実装は Merge Readiness 条件を満たすため APPROVE。
判定: REQUEST_CHANGESそのまま merge しない方がよいです。PR #1049 は ブロッカー1.
|
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2
verdict: APPROVE
reviewed_head_sha: 30c60ab
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: UNSTABLE
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: 30c60ab31c8faf30ab1746e5752edaa12e457341
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: UNSTABLE
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2
Summary
実装・テスト・CI を current head で再確認しました。最新の は CLEAN で、 はありません。
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: 30c60ab31c8faf30ab1746e5752edaa12e457341
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []Summary
実装・テスト・CI を current head で再確認しました。最新の mergeStateStatus は CLEAN で、required_auto_actions はありません。
本PRは #983 をクローズします(close #983)。
概要
TargetingSystem.selectTargetを pure function 化し、候補フィルタ・tie-break・スコアリングを決定論的に実装しました。ignore/nearest_hostile/neutral/isPlayerの扱いを SSOT 方針に合わせ、重複する候補 ID はエラーで reject する防御を追加しました。受け入れ条件の達成状況
targetEntityIdの ASCII 順で固定しました。commandIntentMatch/threatToPlayer/distanceToPlayer/distanceToAlly/isPlayer)で選択を決定しています。threatToPlayerはnearPlayerRadiusPxの値検証付き binary 判定です。pnpm testも通過しています。検証コマンド結果
pnpm typecheck(型チェック)pnpm lint(静的検査)pnpm test(全テスト)pnpm build(本体ビルド)Allowed Paths 遵守
src/systems/TargetingSystem.ts(対象実装)tests/systems/targeting-system.test.ts(対象テスト)