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

Function met_ac

atomic-canonical/src/gate.rs:809–815  ·  view source on GitHub ↗

A `met` acceptance criterion carrying the required verifier + evidence.

(id: &str)

Source from the content-addressed store, hash-verified

807
808 /// A `met` acceptance criterion carrying the required verifier + evidence.
809 fn met_ac(id: &str) -> AcceptanceCriterion {
810 let mut a = ac(id);
811 a.ac_status = "met".to_string();
812 a.verified_by = Some("did:atomic:lee".to_string());
813 a.evidence = Some("urn:atomic:change:01J8".to_string());
814 a
815 }
816
817 /// A `done` task satisfying the given criteria.
818 fn done_task(id: &str, satisfies: &[&str]) -> Task {

Callers 1

met_ac_requiringFunction · 0.85

Calls 1

acFunction · 0.70

Tested by

no test coverage detected