Hztech commited on
Commit
08ef47d
·
verified ·
1 Parent(s): 1e70dbe

Delete repro_issue.py

Browse files
Files changed (1) hide show
  1. repro_issue.py +0 -33
repro_issue.py DELETED
@@ -1,33 +0,0 @@
1
-
2
- from src.utils import clean_name_field
3
-
4
- def test_repro():
5
- print("--- Existing Cases ---")
6
- # Case 1: Exact string from user
7
- input_1 = "ASMAT KKKKKKKKKKKKKKKK"
8
- print(f"Input: '{input_1}' -> '{clean_name_field(input_1)}'")
9
-
10
- # Case 2: Lowercase
11
- input_2 = "asmat kkkkkkkkkkkkkkkk"
12
- print(f"Input: '{input_2}' -> '{clean_name_field(input_2)}'")
13
-
14
- print("\n--- New Edge Cases (Spaced Junk) ---")
15
- # Case 3: Spaced K's
16
- input_3 = "ASMAT K K K K K"
17
- print(f"Input: '{input_3}' -> '{clean_name_field(input_3)}'")
18
-
19
- # Case 4: Mixed spaced junk
20
- input_4 = "ASMAT < K < K"
21
- print(f"Input: '{input_4}' -> '{clean_name_field(input_4)}'")
22
-
23
- # Case 5: Valid name with K initials
24
- input_5 = "JOHN F KENNEDY"
25
- print(f"Input: '{input_5}' -> '{clean_name_field(input_5)}'")
26
-
27
- input_6 = "MARK K" # Valid initial? Or junk?
28
- # Usually MRZ doesn't have initials at the end unless it's part of the name.
29
- # But "MARK K" is ambiguous. "MARK K<" -> "MARK K".
30
- print(f"Input: '{input_6}' -> '{clean_name_field(input_6)}'")
31
-
32
- if __name__ == "__main__":
33
- test_repro()