Add log-anomaly module: Spring Boot log parser, template mining, swappable embedder, k-means baseline, novel-template and rate-spike detectors with measured blind spots, incidents and a template-only summary prompt on Spring Boot 4.2.0

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
This commit is contained in:
2026-12-01 23:57:00 +05:30
co-authored by Claude Sonnet 5.5
parent 943351bccb
commit dc94d7fece
46 changed files with 2048 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# What each margin flags, k = 4
worst baseline distance: 0.343
margin 0.00 -> threshold 0.343 -> 4 of 5 new templates flagged: Order <*> | HikariPool-<*> - | Failed to | Payment gateway
margin 0.05 -> threshold 0.393 -> 4 of 5 new templates flagged: Order <*> | HikariPool-<*> - | Failed to | Payment gateway
margin 0.10 -> threshold 0.443 -> 2 of 5 new templates flagged: HikariPool-<*> - | Payment gateway
margin 0.20 -> threshold 0.543 -> 1 of 5 new templates flagged: HikariPool-<*> -
## Ranking is more trustworthy than the cut-off
the three real new templates score 0.678, 0.434, 0.459
the harmless reword scores 0.394, so it ranks below all three
a threshold between 0.394 and 0.434 would split them, but it is chosen after seeing the answer