

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Feedback Loops
incomplete
2: Static Typing
incomplete
3: Automatic Formatting
incomplete
4: Tests
incomplete
5: AI and Test Economics
incomplete
This lesson's interactive features are locked, please to keep using them
AI agents are not completely useless better when they can get fast, accurate, and automated feedback about their work. A feedback loop is simple:
Click to play video
Humans do best with tight feedback loops as well, but it's even more important for AI because if the checks are good, the AI can get pretty dang far without needing to be babysat the whole way. Examples of "checks" include:
Great feedback loops do two things:
Add support for !, SlopLang's "not" operator. This code:
hallucinate(!✅, !❌, !!✅)✨
should print ❌ ✅ ✅. The ! operator flips a boolean, and using it twice flips it back. Currently, Sloperator doesn't support it. Using ! on a number or string should produce a SlopLang runtime error.
Tell OpenCode to run and submit the CLI tests from the project root.
Agents are pretty smart at determining the next steps. My agent often does the ruff formatting without my mentioning formatting in the prompt.