Design a test-feedback loop for an autonomous coding system.
Instruction: Describe how you would use test results to guide an agent without letting it thrash. Trace on unchanged baseline: test A alternates pass/fail because a clock is uncontrolled; test B cannot connect to its required database. After a patch, neither check has a reliable result. The agent proposes rewriting business logic until both appear green. Specify the next steps and reportable status.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
I'd establish the baseline failure before editing and label each check with the diff it tested...
Your preparation path
Work through these questions in order. Read the answer aloud, then explain it in your own words.
1. Start with the foundations
Build the vocabulary and explain the core decisions.
2. Apply it to a real workflow
Practice diagnosis, validation, and everyday tradeoffs.
3. Prepare for senior discussions
Explain failure boundaries, recovery, and production choices.
- A coding agent can modify infrastructure, app code, and data access layers in one task. How do you constrain it? Member answer
- Two coding agents change an API and its client in parallel. How would you integrate their work safely? Member answer
- A coding-agent hook runs before the repository trust prompt. What is wrong with that design? Member answer
Related Questions
-
easy
-
easy
-
easy
-
easy
-
easy
-
easy