Commit 46271ba
committed
Round 8 closers: _axis_hits helper, asymmetric-wildcard test, defensive guards
- Extract _axis_hits(mr_values_set, cell_value) — collapses the three
'*' in mr_X / val in mr_X callsites in _split_rule_after_revoke.
Semantically asymmetric (only the revoke side honors '*'); distinct
from _dim_matches which is symmetric.
- Defensive: skip URL-branch cells when mr['nonResourceURLs'] is empty —
today unreachable (matcher gates non-empty), but harder to break later.
- _strip_to_set docstring.
- 2 new unit tests: _axis_hits wildcard semantics; asymmetric-wildcard
revoke where only one dimension carries '*' (regression guard for the
prior per-cell filter bug).1 parent 74c4164 commit 46271ba
2 files changed
Lines changed: 33 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
| |||
834 | 839 | | |
835 | 840 | | |
836 | 841 | | |
837 | | - | |
| 842 | + | |
| 843 | + | |
838 | 844 | | |
839 | 845 | | |
840 | | - | |
| 846 | + | |
841 | 847 | | |
842 | 848 | | |
843 | 849 | | |
| |||
868 | 874 | | |
869 | 875 | | |
870 | 876 | | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | 877 | | |
876 | 878 | | |
| 879 | + | |
| 880 | + | |
877 | 881 | | |
878 | 882 | | |
879 | | - | |
| 883 | + | |
880 | 884 | | |
881 | | - | |
| 885 | + | |
882 | 886 | | |
883 | 887 | | |
884 | 888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
431 | 452 | | |
432 | 453 | | |
433 | 454 | | |
| |||
0 commit comments