MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / shell_command_metadata_refines_category

Function shell_command_metadata_refines_category

src/analytics.rs:672–684  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

670
671 #[test]
672 fn shell_command_metadata_refines_category() {
673 let events = infer_usage_events(
674 Some("functions.exec_command"),
675 Some(r#"{"cmd":"rg -n \"analytics\" src tests"}"#),
676 None,
677 );
678 assert_usage_event(
679 &events,
680 UsageKind::Tool,
681 "functions.exec_command",
682 UsageCategory::BroadFileSearch,
683 );
684 }
685
686 #[test]
687 fn infers_skills_from_metadata_and_text() {

Callers

nothing calls this directly

Calls 2

infer_usage_eventsFunction · 0.85
assert_usage_eventFunction · 0.85

Tested by

no test coverage detected