Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Coding in the AI era
/
Tests as agent guardrails
An agent is replacing a parser behind a stable public function. Which assertion is the mo…
from Tests as agent guardrails
Node 24
intermediate
2 min
An agent is replacing a parser behind a stable public function. Which assertion is the most resilient guardrail?
Supported inputs return the specified values and malformed inputs produce the documented diagnostics
The parser creates exactly four private token objects
A private helper is called before another private helper
The new source has the same number of branches as the old source
Check
Ask AI about this kata
Report an error
next kata
Which observation most directly shows that a new regression test guards the reported defe…
Quiz
A new version is available
Reload