If It Only Runs on Your Laptop, It's a Zero: A Bootcamp Lab on Clean-Box Agents
说明与用途
学生需要提交在干净的远程机器上成功运行的代码,且不访问本地秘密。实验要求固定测试和强制性收据以确认隔离执行。
问题
Students often submit code that only passes tests on their personal laptops, leaking secrets or relying on local state, making grading unreliable.
结果
The lab enforces environment isolation, ensuring student submissions are reproducible on a clean server and preventing secret leakage.
工作流
- Clone the lab stub
- Run local tests to confirm failure
- Modify src/retryFetch.js to satisfy contract
- Keep tests frozen
- Submit repo with four files
- Remote clean-box runs tests and generates receipt.json
- Instructor verifies receipt and grading
证据
A zip is an automatic fail. I want a repo with four files, no more:
The agent cannot “improve” the tests. The agent cannot slurp secrets.
- 记录日期: 2026-09-21T12:15:41.319Z