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

Method learning_count

atomic-agent/src/transcript/reasoning.rs:43–45  ·  view source on GitHub ↗

Returns the total number of learnings across all categories.

(&self)

Source from the content-addressed store, hash-verified

41
42 /// Returns the total number of learnings across all categories.
43 pub fn learning_count(&self) -> usize {
44 self.learnings.repo.len() + self.learnings.code.len() + self.learnings.workflow.len()
45 }
46
47 /// Returns true if the reasoning is essentially empty (no useful content).
48 pub fn is_empty(&self) -> bool {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected