code-coordinator 0.5.783__py3-none-any.whl → 0.5.784__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {code_coordinator-0.5.783.dist-info → code_coordinator-0.5.784.dist-info}/METADATA +1 -1
- {code_coordinator-0.5.783.dist-info → code_coordinator-0.5.784.dist-info}/RECORD +8 -8
- coord/board_doctor_policy.py +101 -42
- coord/queue_diagnose.py +71 -5
- {code_coordinator-0.5.783.dist-info → code_coordinator-0.5.784.dist-info}/WHEEL +0 -0
- {code_coordinator-0.5.783.dist-info → code_coordinator-0.5.784.dist-info}/entry_points.txt +0 -0
- {code_coordinator-0.5.783.dist-info → code_coordinator-0.5.784.dist-info}/licenses/LICENSE +0 -0
- {code_coordinator-0.5.783.dist-info → code_coordinator-0.5.784.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
code_coordinator-0.5.
|
|
1
|
+
code_coordinator-0.5.784.dist-info/licenses/LICENSE,sha256=851BVZZwf_pEv2ydSlMmcZrwnwSS5YJ98wdLze7lyL8,4212
|
|
2
2
|
coord/__init__.py,sha256=3FN2qrrxtW87xSsSD557YcMwHLDahnFK8LvqQI7Wlf4,9783
|
|
3
3
|
coord/_board_mapping.py,sha256=Qxht1x0e3EzawMtqgNf-SeiJjCNiZHP-AERoVf75A7A,13332
|
|
4
4
|
coord/acceptance.py,sha256=WspJv7soXc2cSXgn9s78BHD8y0qeGBIyaNmsAl4pYVc,119974
|
|
@@ -16,7 +16,7 @@ coord/block_log.py,sha256=Zk2d-e13ftibSuvu3dVA1BzJBlmBrLk7CcVIQe998aE,57901
|
|
|
16
16
|
coord/board_doctor.py,sha256=FvmpgKpYCGfEb1byrs42rjitrCe__RnOnb5_uU5IQGo,205451
|
|
17
17
|
coord/board_doctor_followthrough.py,sha256=7oQECx1khCoYEH70RIoddIKDB0IwCa4iZKoL96Jz3G0,53955
|
|
18
18
|
coord/board_doctor_permissions.py,sha256=oztwZCKhP-m7vInQJ8V5tnHzMrdoAOtdcpFi4qWp7RI,145529
|
|
19
|
-
coord/board_doctor_policy.py,sha256
|
|
19
|
+
coord/board_doctor_policy.py,sha256=-qAvegRlMCXAC3vZPx5IP0n3rSLTpYcEBgdRH_LxCYk,184833
|
|
20
20
|
coord/board_schema.py,sha256=5eUL7pgVOTM8YQ_aswhS7Ahv3RYwtH4nz09AUVlo_Dg,30265
|
|
21
21
|
coord/board_service.py,sha256=sZocSH9LVDS-al_acRJ08lLl8MOEHFa-yo7odkiGIhc,13798
|
|
22
22
|
coord/board_wire.py,sha256=ytWfr50aZc4Wk8_TpZTNNO_Ug690F0-TP5_u-50IuUc,22654
|
|
@@ -124,7 +124,7 @@ coord/preflight_size.py,sha256=5tEp8q_eNJs5TATgZHOoBz4qCHhsoF8HU4_PIgO_Ra8,28536
|
|
|
124
124
|
coord/prereqs.py,sha256=_ClfiS1XgoVvP9eAmU3WpCwYJSgV9N7wQ1jBqlS8f8k,79795
|
|
125
125
|
coord/prereview_gate.py,sha256=KBt5MaHQAyXZYJX8I12rMFctq9nfX9KXGqZlg0T8gYI,23252
|
|
126
126
|
coord/progress.py,sha256=uwHE7uaBt69EmQmYhXFe25iHGbAeEkr2z1kTG8xZhw4,28879
|
|
127
|
-
coord/queue_diagnose.py,sha256=
|
|
127
|
+
coord/queue_diagnose.py,sha256=0Ny67wqS1zMZymYfO36S7hPtxxF4AWOJxvFQs9Z5mQc,98396
|
|
128
128
|
coord/reconcile.py,sha256=6QGu3_L2rcNP--e6DZQXXZEY70NuGuDvP4DSa5XJJsk,266041
|
|
129
129
|
coord/reconcile_tick.py,sha256=sQWfNcxetnC1vMWK0yKaqWW0HpBbDyKV5Tdc9yuWAVY,2908
|
|
130
130
|
coord/refine_chat.py,sha256=u-GFMazvNDfuaSenVebmszhuRvtcuVNEgNXZz3l5pP4,18447
|
|
@@ -316,8 +316,8 @@ coord/skills/review-verdict-recovery/SKILL.md,sha256=Grg8GWkJLK20ct2YiigbTFfNOki
|
|
|
316
316
|
coord/skills/tui-quadraui-workflow/SKILL.md,sha256=4hUZza9wSSnPhf0eRAOh2r_MQZxK2pXYO5g-kxmJq-U,3832
|
|
317
317
|
coord/skills/update-issue/SKILL.md,sha256=VrPinEmLZrCSNDrnz96hQomyO403o5c4i0RdsnUnWA0,3642
|
|
318
318
|
coord/templates/deploy-cloudflare.node.yml,sha256=icsTiWn2ziQJnpZODhhFKYlnqjt2xAXsbwlQufdxhuM,2078
|
|
319
|
-
code_coordinator-0.5.
|
|
320
|
-
code_coordinator-0.5.
|
|
321
|
-
code_coordinator-0.5.
|
|
322
|
-
code_coordinator-0.5.
|
|
323
|
-
code_coordinator-0.5.
|
|
319
|
+
code_coordinator-0.5.784.dist-info/METADATA,sha256=pFo6THBJ7-4Wvp1nycrVTZPRrY9cWUixQhLGqsY558E,17855
|
|
320
|
+
code_coordinator-0.5.784.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
321
|
+
code_coordinator-0.5.784.dist-info/entry_points.txt,sha256=o-Hq8pvG7ReGePvN_4iOKjLNqiq-MJ43HbPurqjNPZo,41
|
|
322
|
+
code_coordinator-0.5.784.dist-info/top_level.txt,sha256=w5sTrXesTCebhXyYv2qufOZGo0PoD1Lxgn0Q3MAXjh4,6
|
|
323
|
+
code_coordinator-0.5.784.dist-info/RECORD,,
|
coord/board_doctor_policy.py
CHANGED
|
@@ -3574,27 +3574,65 @@ def _is_relaunch_shaped_remedy(proposed_command: str) -> bool:
|
|
|
3574
3574
|
def _covering_escalation_remedy_refused_now(
|
|
3575
3575
|
existing: Mapping[str, Any], row: StuckRow,
|
|
3576
3576
|
) -> bool:
|
|
3577
|
-
"""#3999: true when *existing* — a covering escalation for a
|
|
3578
|
-
stage than *row*'s own board-doctor alert — names a relaunch
|
|
3579
|
-
that
|
|
3577
|
+
"""#3999/#4033: true when *existing* — a covering escalation for a
|
|
3578
|
+
DIFFERENT stage than *row*'s own board-doctor alert — names a relaunch
|
|
3579
|
+
remedy that is already known to be a dead end for *row*.
|
|
3580
3580
|
|
|
3581
|
-
|
|
3582
|
-
|
|
3581
|
+
*existing*'s own ``proposed_command`` must be relaunch-shaped
|
|
3582
|
+
(:func:`_is_relaunch_shaped_remedy`) in every case — otherwise its
|
|
3583
3583
|
remedy (a retry, an override, a human decision) is orthogonal to
|
|
3584
|
-
whether checks are red and must not be second-guessed from here
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3584
|
+
whether checks are red and must not be second-guessed from here. Given
|
|
3585
|
+
that, either of two independent reasons proves the relaunch dead:
|
|
3586
|
+
|
|
3587
|
+
1. *row* is :attr:`StuckRow.fresh` evidence of exactly the shape that
|
|
3588
|
+
makes a relaunch unsafe to even attempt right now — a live-red
|
|
3589
|
+
check combined with the branch's OWN diff already reading green
|
|
3590
|
+
(:data:`queue_diagnose.CAUSE_INTEGRATION_RED`) or red
|
|
3591
|
+
(:data:`queue_diagnose.CAUSE_CI_RED`). A stale/non-fresh row, or
|
|
3592
|
+
one whose cause says nothing about the PR's checks at all, proves
|
|
3593
|
+
nothing about whether *existing*'s remedy still works here (#3777's
|
|
3594
|
+
same "new evidence only" bar `_fixit_rebudget_environmental`
|
|
3595
|
+
applies).
|
|
3596
|
+
2. *row*'s own issue already gave up on the #2972/#3454 fix-round
|
|
3597
|
+
ceiling (`coord.drive_queue.fix_round_ceiling_blocked_for_issue`).
|
|
3598
|
+
A relaunch-shaped command is exactly `_requeue_command`'s ``remove``
|
|
3599
|
+
+ ``add`` pair, and that helper's own docstring states plainly that
|
|
3600
|
+
the pair does NOT reset the ceiling's own budget — so proposing it
|
|
3601
|
+
as "the" remedy for a row the ceiling has already given up on is a
|
|
3602
|
+
dead end by construction, independent of *row*'s cause/freshness:
|
|
3603
|
+
a diagnosed gate-blocked or merge-conflict cause still means the
|
|
3604
|
+
ceiling's own remedy never runs again (#4033 — the hours-long
|
|
3605
|
+
silent gap `_covering_escalation_names_concrete_action` alone could
|
|
3606
|
+
not close, because `_requeue_command`'s output is never blank).
|
|
3594
3607
|
"""
|
|
3595
|
-
|
|
3608
|
+
command = str(existing.get("proposed_command") or "")
|
|
3609
|
+
if not _is_relaunch_shaped_remedy(command):
|
|
3596
3610
|
return False
|
|
3597
|
-
|
|
3611
|
+
if row.fresh and row.cause in _CI_SHAPED_INVESTIGATE_CAUSES:
|
|
3612
|
+
return True
|
|
3613
|
+
from coord.drive_queue import fix_round_ceiling_blocked_for_issue # noqa: PLC0415
|
|
3614
|
+
|
|
3615
|
+
parsed = _parse_row_key(row.key)
|
|
3616
|
+
if parsed is None:
|
|
3617
|
+
return False
|
|
3618
|
+
repo_name, issue_number = parsed
|
|
3619
|
+
return fix_round_ceiling_blocked_for_issue(repo_name, issue_number)
|
|
3620
|
+
|
|
3621
|
+
|
|
3622
|
+
def _covering_escalation_names_concrete_action(existing: Mapping[str, Any]) -> bool:
|
|
3623
|
+
"""Does *existing* — a different-stage escalation `write_drive_escalation`
|
|
3624
|
+
is weighing deferring to — actually tell an operator what to do next?
|
|
3625
|
+
|
|
3626
|
+
`coord.state.get_drive_escalation` only ever returns a row that is
|
|
3627
|
+
still open (a dismissed row is deleted, not marked closed), so a
|
|
3628
|
+
non-``None`` *existing* already answers "is the covering record still
|
|
3629
|
+
live". It says nothing about whether that record ever carried a real
|
|
3630
|
+
remedy: a row whose ``proposed_command`` is blank or whitespace-only
|
|
3631
|
+
names nothing to run, so deferring to it leaves the stuck row with no
|
|
3632
|
+
alert and no actionable next step at all — worse than no cover,
|
|
3633
|
+
because it also blocks this writer's own alert from ever landing.
|
|
3634
|
+
"""
|
|
3635
|
+
return bool(str(existing.get("proposed_command") or "").strip())
|
|
3598
3636
|
|
|
3599
3637
|
|
|
3600
3638
|
def write_drive_escalation(
|
|
@@ -3616,14 +3654,22 @@ def write_drive_escalation(
|
|
|
3616
3654
|
covers this issue — `drive_escalations` holds one row per issue, so an
|
|
3617
3655
|
unconditional write here would clobber a live e.g. `plan.blocked`
|
|
3618
3656
|
escalation's `reason`/`gate_readings`/`created_at` with a generic one.
|
|
3619
|
-
|
|
3657
|
+
A covering row only actually counts as cover when
|
|
3658
|
+
:func:`_covering_escalation_names_concrete_action` confirms it still
|
|
3659
|
+
names something to run; one that does not falls straight through to
|
|
3660
|
+
recording this writer's own alert instead, the same as if no covering
|
|
3661
|
+
row existed at all. Given a row that does name an action, the skip case
|
|
3662
|
+
returns :data:`ALERT_SKIPPED` — UNLESS *row* is given and
|
|
3620
3663
|
:func:`_covering_escalation_remedy_refused_now` confirms the covering
|
|
3621
|
-
escalation's own remedy is a relaunch
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3664
|
+
escalation's own remedy is a relaunch already known to be a dead end
|
|
3665
|
+
for *row* — either because *row*'s fresh evidence already proves the
|
|
3666
|
+
relaunch unsafe (#3999), or because *row*'s own issue already gave up
|
|
3667
|
+
on the #2972/#3454 fix-round ceiling, which a relaunch does not reset
|
|
3668
|
+
(#4033): a dead end never "covers" anything, and leaving it in place
|
|
3669
|
+
would leave the row un-alerted forever rather than just until the
|
|
3670
|
+
stuck cause resolves, so this upgrades (overwrites) it with the real
|
|
3671
|
+
cause/evidence instead of skipping. *row* is ``None`` for
|
|
3672
|
+
`_followthrough_notify`'s own calls
|
|
3627
3673
|
(no `StuckRow` to check), which keeps today's skip-only behavior.
|
|
3628
3674
|
Otherwise records (or renews) the row and returns only once the write
|
|
3629
3675
|
is confirmed by reading it back — a clean `record_drive_escalation`
|
|
@@ -3638,18 +3684,29 @@ def write_drive_escalation(
|
|
|
3638
3684
|
try:
|
|
3639
3685
|
existing = get_drive_escalation(repo_name, issue_number)
|
|
3640
3686
|
if existing is not None and existing.get("stage") != stage:
|
|
3641
|
-
if
|
|
3687
|
+
if not _covering_escalation_names_concrete_action(existing):
|
|
3688
|
+
click.echo(
|
|
3689
|
+
f"warning: board-doctor NOT deferring to a covering "
|
|
3690
|
+
f"{existing.get('stage')!r} escalation for "
|
|
3691
|
+
f"{repo_name}#{issue_number} — it names no "
|
|
3692
|
+
"proposed_command at all, so it covers nothing; recording "
|
|
3693
|
+
"this row's own cause/evidence instead",
|
|
3694
|
+
err=True,
|
|
3695
|
+
)
|
|
3696
|
+
elif row is None or not _covering_escalation_remedy_refused_now(existing, row):
|
|
3642
3697
|
return ALERT_SKIPPED
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3698
|
+
else:
|
|
3699
|
+
click.echo(
|
|
3700
|
+
f"warning: board-doctor overriding a covering "
|
|
3701
|
+
f"{existing.get('stage')!r} escalation for "
|
|
3702
|
+
f"{repo_name}#{issue_number} — its own remedy "
|
|
3703
|
+
f"({existing.get('proposed_command')!r}) names a relaunch "
|
|
3704
|
+
f"already known to be a dead end for this row (its fresh "
|
|
3705
|
+
f"{row.cause} evidence, or its issue having already given "
|
|
3706
|
+
"up on the fix-round ceiling — #3999/#4033); recording the "
|
|
3707
|
+
"real cause instead of leaving a dead end as cover",
|
|
3708
|
+
err=True,
|
|
3709
|
+
)
|
|
3653
3710
|
record_drive_escalation(
|
|
3654
3711
|
repo_name,
|
|
3655
3712
|
issue_number,
|
|
@@ -3687,14 +3744,16 @@ def escalation_alert_dispatcher(row: StuckRow) -> bool | str:
|
|
|
3687
3744
|
than ``True``, because no board-doctor alert exists to suppress future
|
|
3688
3745
|
ones — `drive_escalations` holds one row per issue, so the covering
|
|
3689
3746
|
escalation may be dismissed by its own writer at any time, and the
|
|
3690
|
-
next sweep must then be free to file this row's alert itself. #3999
|
|
3691
|
-
passing *row* through to :func:`write_drive_escalation` lets
|
|
3692
|
-
skip be bypassed too, but only for the narrow case
|
|
3747
|
+
next sweep must then be free to file this row's alert itself. #3999/
|
|
3748
|
+
#4033: passing *row* through to :func:`write_drive_escalation` lets
|
|
3749
|
+
THAT skip be bypassed too, but only for the narrow case
|
|
3693
3750
|
:func:`_covering_escalation_remedy_refused_now` confirms — a covering
|
|
3694
|
-
escalation whose own remedy is a relaunch
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3751
|
+
escalation whose own remedy is a relaunch already known to be a dead
|
|
3752
|
+
end for *row* (its fresh evidence proves the relaunch unsafe, or its
|
|
3753
|
+
issue already gave up on the fix-round ceiling a relaunch cannot
|
|
3754
|
+
reset) never actually "covers" anything, so leaving it in place would
|
|
3755
|
+
dead-end the row rather than defer to a cover that could still resolve
|
|
3756
|
+
on its own.
|
|
3698
3757
|
|
|
3699
3758
|
Never raises: an escalation write failing must not take the sweep
|
|
3700
3759
|
down with it, the same contract
|
coord/queue_diagnose.py
CHANGED
|
@@ -59,7 +59,11 @@ from collections.abc import Callable, Iterable, Mapping, Sequence
|
|
|
59
59
|
from dataclasses import dataclass
|
|
60
60
|
from typing import TYPE_CHECKING, Any, Protocol
|
|
61
61
|
|
|
62
|
-
from coord.drive_queue import
|
|
62
|
+
from coord.drive_queue import (
|
|
63
|
+
QueueEntry,
|
|
64
|
+
is_fix_round_ceiling_blocked,
|
|
65
|
+
is_unreachable_wait_shape,
|
|
66
|
+
)
|
|
63
67
|
from coord.models import (
|
|
64
68
|
is_needs_decomposition_reason,
|
|
65
69
|
is_premise_refusal_reason,
|
|
@@ -878,6 +882,50 @@ _RULES = (
|
|
|
878
882
|
)
|
|
879
883
|
|
|
880
884
|
|
|
885
|
+
#: The rule order used once a row has exhausted its fix-round budget and
|
|
886
|
+
#: will not be relaunched or retried by anything else in the fleet. Reached
|
|
887
|
+
#: through :func:`diagnose` only when `coord.drive_queue.
|
|
888
|
+
#: is_fix_round_ceiling_blocked` reads true for *entry* — never a second,
|
|
889
|
+
#: independently-decided ceiling check (the same predicate
|
|
890
|
+
#: `coord.board_doctor` and `coord.drive_queue` itself already answer to).
|
|
891
|
+
#:
|
|
892
|
+
#: Identical to :data:`_RULES` except :func:`_rule_conflict` moves from
|
|
893
|
+
#: ahead of the CI/gate rules to just behind them. For an ordinary row that
|
|
894
|
+
#: distinction does not matter — another diagnosis pass is coming, so
|
|
895
|
+
#: naming the conflict first (and letting the mechanical conflict-fix leg
|
|
896
|
+
#: run) is a safe, cheap first move regardless of what else is also wrong.
|
|
897
|
+
#: A ceiling-blocked row gets no such follow-up pass: it is diagnosed once
|
|
898
|
+
#: and then left alone (or alerted on) until an operator intervenes. Naming
|
|
899
|
+
#: a standing conflict as the cause there, while a currently-failing
|
|
900
|
+
#: smoke/CI/review gate is the actual reason nothing has progressed, points
|
|
901
|
+
#: every downstream consumer — the auto-dispatcher, the operator reading
|
|
902
|
+
#: the alert — at the wrong fix: the conflict-fix leg has no way to touch a
|
|
903
|
+
#: real build/test/review failure, so it reruns forever while the real
|
|
904
|
+
#: blocker goes unmentioned. Putting the gate/CI rules first here means the
|
|
905
|
+
#: cause named is whichever gate is *actually* still failing; a standing
|
|
906
|
+
#: conflict is only reported when nothing else is — i.e. when the conflict
|
|
907
|
+
#: really is the thing blocking progress.
|
|
908
|
+
#:
|
|
909
|
+
#: Derived from :data:`_RULES` itself — moving :func:`_rule_conflict` to
|
|
910
|
+
#: just after :func:`_rule_gate_blocked` — rather than hand-copied, so a
|
|
911
|
+
#: rule added to/removed from :data:`_RULES` later can never silently fail
|
|
912
|
+
#: to apply here too (the hardest population to notice a missing rule in,
|
|
913
|
+
#: since nothing re-diagnoses a ceiling-blocked row a second time).
|
|
914
|
+
def _reorder_rules_for_ceiling_blocked(
|
|
915
|
+
rules: tuple[Callable[[QueueEntry, LiveState], tuple[str, str, str] | None], ...],
|
|
916
|
+
) -> tuple[Callable[[QueueEntry, LiveState], tuple[str, str, str] | None], ...]:
|
|
917
|
+
without_conflict = tuple(rule for rule in rules if rule is not _rule_conflict)
|
|
918
|
+
insert_at = without_conflict.index(_rule_gate_blocked) + 1
|
|
919
|
+
return (
|
|
920
|
+
*without_conflict[:insert_at],
|
|
921
|
+
_rule_conflict,
|
|
922
|
+
*without_conflict[insert_at:],
|
|
923
|
+
)
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
_RULES_CEILING_BLOCKED = _reorder_rules_for_ceiling_blocked(_RULES)
|
|
927
|
+
|
|
928
|
+
|
|
881
929
|
# ── the diagnosis ────────────────────────────────────────────────────────────
|
|
882
930
|
|
|
883
931
|
|
|
@@ -916,12 +964,30 @@ def diagnose(
|
|
|
916
964
|
) -> Diagnosis:
|
|
917
965
|
"""Derive *entry*'s real blocker from *live*. **Pure — no I/O, no clock.**
|
|
918
966
|
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
967
|
+
Below the rule-table selection (#4033, next paragraph), the stated
|
|
968
|
+
reason is read exactly once more, at the end, and only to ask whether
|
|
969
|
+
the evidence still supports it — it never selects, orders or breaks
|
|
970
|
+
ties between causes within whichever table ends up in play.
|
|
971
|
+
|
|
972
|
+
Which TABLE is in play is itself one last_reason-driven read, made
|
|
973
|
+
once, before the rule loop runs: :data:`_RULES_CEILING_BLOCKED`
|
|
974
|
+
instead of :data:`_RULES` whenever *entry* already reads
|
|
975
|
+
`coord.drive_queue.is_fix_round_ceiling_blocked` — see that data's own
|
|
976
|
+
docstring for why a row nothing will retry needs its standing conflict
|
|
977
|
+
ranked behind a currently-failing gate rather than ahead of it. This
|
|
978
|
+
is a coarser, earlier decision than the per-cause tie-breaking the
|
|
979
|
+
previous paragraph rules out — picking a global order to try, not
|
|
980
|
+
selecting a cause directly — the same way :func:`_rule_terminal_park`
|
|
981
|
+
(#3979) already reads ``last_reason`` from inside a single rule to
|
|
982
|
+
classify, without this function itself picking a cause.
|
|
922
983
|
"""
|
|
984
|
+
rules = (
|
|
985
|
+
_RULES_CEILING_BLOCKED
|
|
986
|
+
if is_fix_round_ceiling_blocked(entry.state, entry.last_reason)
|
|
987
|
+
else _RULES
|
|
988
|
+
)
|
|
923
989
|
verdict: tuple[str, str, str] | None = None
|
|
924
|
-
for rule in
|
|
990
|
+
for rule in rules:
|
|
925
991
|
verdict = rule(entry, live)
|
|
926
992
|
if verdict is not None:
|
|
927
993
|
break
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|