Practical
MeTTa Challenges
Hands-on MeTTa coding challenges — recursion, higher-order list operations, the Atomspace and Python integration. Submit each on GitHub.
Learn MeTTa by shipping code
The practical companion to Intro to MeTTa. Work through progressive coding challenges — from recursion and higher-order functions to Atomspace knowledge graphs and Python integration.For each challenge you write a .metta solution, push it to GitHub, and register it in the IP Marketplace as verifiable labour you own. Finish the set to earn the MeTTa Challenges — Verified badge.
This is the challenge track the live SJIT and ESU KU cohorts are running now.
A · Recursion & numbers
◆Challenge 1 — sumIf (higher-order + predicate)CHALLENGE◆Challenge 2 — accumulate (generalised fold over a range)CHALLENGE◆Challenge 3 — count-digits (numeric recursion)CHALLENGEB · Higher-order list operations
◆Challenge 7 — map with superpose / collapseCHALLENGE◆Challenge 8 — filter (decons / cons)CHALLENGE◆Challenge 9 — fold + maxCHALLENGE◆Challenge 10 — grand-pipeline (function composition)CHALLENGEC · List algorithms
◆Challenge 11 — find-even (recursive filter)CHALLENGE◆Challenge 12 — reverse-list (accumulator)CHALLENGE◆Challenge 13 — reverse-until (partial reverse)CHALLENGE◆Challenge 14 — count-valid-pending (queue ops)CHALLENGED · Atomspace & knowledge graphs
◆Challenge 4 — Atomspace basics (match &self)CHALLENGE◆Challenge 15 — Knowledge-graph missions (match / add / remove)CHALLENGE◆Challenge 16 — family-nurses (recursive KG query by depth)CHALLENGEE · Python integration
◆Challenge 6 — hyperon — run MeTTa from PythonCHALLENGE
Dev LMS