MCPcopy Create free account
hub / github.com/AIScientists-Dev/Flowtrace / classifies_run_dir

Function classifies_run_dir

crates/flowtrace-cli/src/serve/classify.rs:128–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126
127 #[test]
128 fn classifies_run_dir() {
129 let scope = PathBuf::from("/tmp/scope");
130 let p = PathBuf::from("/tmp/scope/dream/runs/run_xyz");
131 let e = classify(&scope, &p);
132 assert!(matches!(
133 e,
134 SseEventBody::RunCreated { trace_id, run_id }
135 if trace_id == "dream" && run_id == "run_xyz"
136 ));
137 }
138
139 #[test]
140 fn classifies_outside_scope() {

Callers

nothing calls this directly

Calls 1

classifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…