| Child |
Name |
Tests |
Failures |
Skipped |
Duration |
Success rate |
| empty cache is not active and always returns misses |
empty_isNotActiveAndAlwaysMisses() |
1 |
0 |
0 |
0.001s |
100% |
| CSV with content_hash and AI columns produces a hit for matching hash |
load_csvWithContentHashAndAiColumns_hitOnMatchingHash(Path) |
1 |
0 |
0 |
0.004s |
100% |
| CSV without AI columns (no -ai flag on producing run) produces an inactive cache |
load_csvWithoutAiColumns_producesInactiveCache(Path) |
1 |
0 |
0 |
0.005s |
100% |
| CSV without content_hash column produces an inactive cache (all misses) |
load_csvWithoutContentHashColumn_producesInactiveCache(Path) |
1 |
0 |
0 |
0.002s |
100% |
| method suggestion fields are restored correctly from CSV |
load_methodSuggestionFieldsRestoredCorrectly(Path) |
1 |
0 |
0 |
0.002s |
100% |
| multiple methods sharing the same content_hash are grouped into one AiClassSuggestion |
load_multipleMethodsSameHash_groupedIntoOneSuggestion(Path) |
1 |
0 |
0 |
0.006s |
100% |
| non-security method (ai_security_relevant=false) is cached and restores as non-security |
load_nonSecurityMethod_cachedAndRestoredAsNonSecurity(Path) |
1 |
0 |
0 |
0.002s |
100% |
| lookup with null hash returns empty and increments miss counter |
lookup_nullHash_returnsMissAndIncrementsMisses(Path) |
1 |
0 |
0 |
0.004s |
100% |
| lookup returns empty for a hash not present in the cache |
lookup_unknownHash_returnsMiss(Path) |
1 |
0 |
0 |
0.047s |
100% |