Repository navigation
Expand file tree
/
Copy pathrust-1.4.0.json
More file actions
61 lines (61 loc) · 2.01 KB
/
Copy pathrust-1.4.0.json
File metadata and controls
61 lines (61 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"core_version": "1.4.0",
"cases": {
"scan-observation-invalid-card": {
"classification": "detector-difference",
"reason": "Core validates card checksums; Python 4.8.1 accepts this card-shaped value. Experimental precision difference, not a claim of full parity.",
"expected": {
"value": {
"result_type": "ScanResult",
"fields": {
"entities": [],
"text": "4111 1111 1111 1112",
"engine_used": "regex"
}
},
"warnings": []
}
},
"scan-observation-boundary": {
"classification": "detector-difference",
"reason": "Core rejects the SSN embedded in an ASCII alphanumeric token; Python 4.8.1 detects the numeric substring.",
"expected": {
"value": {
"result_type": "ScanResult",
"fields": {
"entities": [],
"text": "x123-45-6789y",
"engine_used": "regex"
}
},
"warnings": []
}
},
"locale-unknown": {
"classification": "validation-difference",
"reason": "The capability adapter rejects the unadvertised locale with a backend-specific diagnostic instead of the Python regex locale inventory. The exception remains ValueError.",
"expected": {
"error": {
"type": "ValueError",
"message": "Unsupported locale for the Rust backend: 'xx'"
},
"warnings": []
}
},
"scan-observation-ambiguous-number": {
"classification": "detector-difference",
"reason": "Core's North American area-code check requires a leading digit of 2-9, so a bare 10-digit run starting with 1 stays undetected. This is the deliberate Unix-timestamp protection; Python 4.8.1 matches it.",
"expected": {
"value": {
"result_type": "ScanResult",
"fields": {
"entities": [],
"text": "Invoice 1234567890",
"engine_used": "regex"
}
},
"warnings": []
}
}
}
}