Commit 2d5ddbc
fix(extract): read "governed under", "controlled by", and doublet gov-law
Three governing-law phrasings that CHOICE-001 read as "no governing-law clause"
because the GOV_LAW anchor never reached "the laws of X":
- `governed under the laws of X` — GOVERNED_BY allowed only the `by`
preposition; added `under` (same clause, different preposition).
- `controlled by the laws of X` — added `controlled by` to the verb set. It
still requires "the laws of" to follow, so corporate control ("controlled by
Beta Holdings") is not mistaken for a governing-law clause.
- `governed by, and enforced under, the laws of X` — the intervening
verb+preposition doublet sat between the first verb and "the laws of"; the
old pattern accepted only "and construed in accordance with". Generalized to
`and (construed|enforced|interpreted|governed) (in accordance with|under|by)`.
Zero golden churn (no corpus fixture uses these forms). Decoy guards: a
disclaimed "not governed by", an ordinary "operates under the laws of", and
corporate "controlled by X" stay unmatched. 6 regression tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0647790 commit 2d5ddbc
3 files changed
Lines changed: 30 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
1335 | | - | |
| 1335 | + | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
23 | 35 | | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
30 | 47 | | |
31 | 48 | | |
32 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
64 | 72 | | |
65 | | - | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
| |||
0 commit comments