fix: 高密度テスト52/52通過 + SPACES figurative constant FP fix
COBOL技術者による高密度テスト(52 tests)実装: 発見・修正されたバグ: 1. WS-KEY = SPACES の figurative constant 比較が FP 原因 - _matches_key_comparison に figurative constant除外を追加 - 構造検知の信号4でも SPACES/ZERO 等を除外 - structural_matching で単一ファイルプログラムを除外 2. simple_vs_two_stage が常に単純マッチングを返していた - 実証拠なしでも0.5で返す → 他の分類を汚染 - 修正: file_count>=2 + IF + 比較証拠がない場合は unknown 3. simple_vs_two_stageテストを現実に合わせて更新 回帰: 767 passed(0 new failures) 高密度テスト: 52/52 PASS
This commit is contained in:
@@ -27,8 +27,8 @@ ADVERSARIAL_TESTS = [
|
||||
"FP: WS-PREV-KEY without matching logic, should NOT trigger"),
|
||||
("ADV-OLD-SCHOOL.cbl", True,
|
||||
"FN: K01-KEY old-school naming, should detect matching"),
|
||||
("ADV-TINY-MATCH.cbl", True,
|
||||
"FN: Minimal matching (1 file), should detect"),
|
||||
("ADV-TINY-MATCH.cbl", False,
|
||||
"FP: 1 file + SPACES compare is not real matching. Use WS-KEY-A = WS-KEY-B for matching."),
|
||||
("ADV-CALL-MATCH.cbl", False,
|
||||
"FP: CALL+WS-MAST-KEY, subprogram call should win"),
|
||||
("ADV-ASCII-KEY.cbl", False,
|
||||
|
||||
Reference in New Issue
Block a user