BUILD200 (2026.11.05.1) — закрепить плашку удаления и снимать штраф после гола по ACK vMix

This commit is contained in:
2026-11-05 11:48:31 +03:00
parent 011e84485e
commit 2a243e3441
30 changed files with 3044 additions and 207 deletions

View File

@@ -1,3 +1,4 @@
from tests.test_build200_penalty_display import test_penalty_display as run_penalty_display
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
@@ -15,11 +16,6 @@ def test_authoritative_strength_change_rebalances_penalty_targets():
def test_penalty_plan_rebalances_after_strength_refresh_to_single_advantage_plate():
start = APP_JS.index("function penaltyDisplayEntriesByTargetSide")
end = APP_JS.index("function hockeyPenaltySideMappingDetail", start)
block = APP_JS[start:end]
assert 'penaltyLocalAdvantageSide(home.length, away.length)' in block
assert 'transitionEntry = all[0]' in block
assert 'routedToAdvantage: true' in block
assert 'if (!advantageSide)' in block
"""Execute the current single-plate contract, including the 2/4 owner pin."""
run_penalty_display('conditional_and_fallback_same_owner')