AR21SM/krkn-scenario-discovery
0
krkn Scenario Discovery
Lightweight, deterministic dual-signal retrieval engine for chaos engineering scenario discovery.
Matches natural-language queries to krkn chaos scenarios in under 50ms with no GPU or LLM needed.
API Endpoints
Example
curl -X POST https://AR21SM-krkn-scenario-discovery.hf.space/discover \
-H "Content-Type: application/json" \
-d '{"query": "stress the CPU on my nodes", "top_k": 3}'Architecture
- BM25F field-weighted keyword matching with 75+ chaos synonyms
- Semantic search via all-MiniLM-L6-v2 (ONNX, CPU-only, ~15ms)
- RRF fusion with adaptive weighting based on query type
- OOD detection rejects out-of-scope queries
92% Precision@1 on held-out test set.
Source: GitHub
