Skip to main content

Module improvement_algorithms

Module improvement_algorithms 

Source
Expand description

Production-grade algorithms for tool improvements.

Provides: Jaro-Winkler string similarity, time-decay effectiveness scoring, pattern detection over tool execution history, and ML-ready feature vectors.

Structs§

MLScoreComponents
ML-ready scoring components for tool effectiveness.
TimeDecayedScore
Time-decay effectiveness score.
ToolCallRecord
A single tool-call record for pattern detection.

Enums§

PatternState
Detected state in a tool-execution sequence.

Functions§

detect_pattern
Detect a pattern in a history of tool-call records.
jaro_winkler_similarity
Jaro-Winkler string similarity in [0.0, 1.0].