Skip to main content

Crate skm_learn

Crate skm_learn 

Source
Expand description

§skm-learn

Evaluation, metrics, and optimization for Agent Skills.

This crate provides:

  • TriggerTestHarness for testing skill selection accuracy
  • SelectionMetrics for real-time performance tracking
  • DescriptionOptimizer for LLM-driven description improvement
  • UsageAnalytics for long-term usage pattern analysis

Structs§

DescriptionOptimizer
LLM-driven description optimizer.
InMemoryAnalyticsStore
In-memory analytics store (for testing/development).
MetricsSummary
Summary of metrics.
OptimizationIteration
Result of a single optimization iteration.
OptimizationResult
Result of the full optimization process.
OptimizerConfig
Configuration for the optimizer.
SelectionEvent
A recorded selection event.
SelectionMetrics
Real-time metrics collector.
SkillTestReport
Report for a single skill across test runs.
SqliteAnalyticsStore
SQLite-based analytics store.
TestCase
A single test case.
TestCaseResult
Result of running a single test case.
TestReport
Full test report.
TestSuite
A collection of test cases.
TriggerTestHarness
Test harness for running trigger test suites.
UsageAnalytics
High-level usage analytics interface.

Enums§

Feedback
User feedback on a selection.
LearnError
Errors from learning operations.
TestExpectation
What skill(s) are expected for a test case.

Traits§

AnalyticsStore
Trait for analytics storage backends.