MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / make_commitment

Function make_commitment

atomic-core/src/change/provenance_graph/tests.rs:25–40  ·  view source on GitHub ↗
(id: &str, summary: &str)

Source from the content-addressed store, hash-verified

23}
24
25fn make_commitment(id: &str, summary: &str) -> ProvenanceNode {
26 ProvenanceNode {
27 id: id.into(),
28 kind: ProvenanceNodeKind::Commitment,
29 timestamp: 2000,
30 summary: summary.into(),
31 detail: None,
32 change_hash: None,
33 tool_name: Some("edit".into()),
34 tool_call_id: Some("call-1".into()),
35 duration_ms: Some(150),
36 classified: false,
37 confidence: None,
38 consolidated_from: Vec::new(),
39 }
40}
41
42fn make_exploration(id: &str, summary: &str) -> ProvenanceNode {
43 ProvenanceNode {

Callers 3

sample_graphFunction · 0.85
test_node_with_detailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected