Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Claw-AI-Lab/Claw-AI-Lab
/ count
Method
count
backend/agent/researchclaw/evolution.py:476–478 ·
view source on GitHub ↗
Return total number of stored lessons.
(self)
Source
from the content-addressed store, hash-verified
474
return
"\n"
.join(parts)
475
476
def
count(self) -> int:
477
""
"Return total number of stored lessons."
""
478
return
len(self.load_all())
Callers
15
test_append_many
Method · 0.95
test_append_many_empty_is_noop
Method · 0.95
test_write_requirements_txt_respects_existing
Function · 0.45
test_sanitize_preserves_table_structure
Function · 0.45
test_write_stage_to_kb_truncates_large_artifact_content
Function · 0.45
test_deduplication
Method · 0.45
test_deduplicates_metrics
Method · 0.45
main
Function · 0.45
test_deduplication
Method · 0.45
test_generates_combined
Method · 0.45
test_dedup_then_strip
Method · 0.45
_validate_draft_quality
Function · 0.45
Calls
1
load_all
Method · 0.95
Tested by
10
test_append_many
Method · 0.76
test_append_many_empty_is_noop
Method · 0.76
test_write_requirements_txt_respects_existing
Function · 0.36
test_sanitize_preserves_table_structure
Function · 0.36
test_write_stage_to_kb_truncates_large_artifact_content
Function · 0.36
test_deduplication
Method · 0.36
test_deduplicates_metrics
Method · 0.36
test_deduplication
Method · 0.36
test_generates_combined
Method · 0.36
test_dedup_then_strip
Method · 0.36