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

Method freshness

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

Source from the content-addressed store, hash-verified

279 }
280
281 pub fn freshness(&self) -> f32 {
282 metadata_score(self.metadata.get(CONTEXT_FRESHNESS_METADATA))
283 }
284
285 /// Format as XML tag for system prompt injection
286 pub fn to_xml(&self) -> String {

Callers 1

ranking_scoreFunction · 0.80

Calls 2

metadata_scoreFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected