Repository navigation
Commit aad3940
Fix heuristicCheckDbms() False/None inconsistency corrupting kb.reduceTests
heuristicCheckDbms() returned False instead of None on failure, breaking
the is None convention used elsewhere and producing nonsensical "could be
'False'" log messages. Separately, the kb.reduceTests fallback assignment
ignored injection.dbms even though the guarding condition and prompt
message both accounted for it, causing kb.reduceTests to become [None]
and wrongly skip all DBMS-specific tests when no DBMS was actually
identified.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 3cfba46 commit aad3940
2 files changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
| 928 | + | |
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
| |||
0 commit comments