MCPcopy Create free account
hub / github.com/AI45Lab/Code / trust

Method trust

core/src/context/mod.rs:277–279  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

275 }
276
277 pub fn trust(&self) -> f32 {
278 metadata_score(self.metadata.get(CONTEXT_TRUST_METADATA))
279 }
280
281 pub fn freshness(&self) -> f32 {
282 metadata_score(self.metadata.get(CONTEXT_FRESHNESS_METADATA))

Callers 1

ranking_scoreFunction · 0.80

Calls 2

metadata_scoreFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected