Skip to content

Commit d45812f

Browse files
committed
Add notes about proper verification
1 parent 4a79b7d commit d45812f

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

‎Readme.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,19 @@ Measured in clock cycles from the simulated machine. All of these numbers are fo
2121
While it's no longer a good time-limited test, you can still use this test to get us excited about hiring you! If you optimize below 1487 cycles, beating Claude Opus 4.5's best performance at launch, email us at performance-recruiting@anthropic.com with your code (and ideally a resume) so we can be appropriately impressed, especially if you get near the best solution we've seen. New model releases may change what threshold impresses us though, and no guarantees that we keep this readme updated with the latest on that.
2222

2323
Run `python tests/submission_tests.py` to see which thresholds you pass.
24+
25+
## Warning: LLMs can cheat
26+
27+
None of the solutions we received on the first day post-release below 1300 cycles were valid solutions. In each case, a language model modified the tests to make the problem easier.
28+
29+
If you use an AI agent, we recommend instructing it not to change the `tests/` folder and to use `tests/submission_tests.py` for verification.
30+
31+
Please run the following commands to validate your submission, and mention that you did so when submitting:
32+
```
33+
# This should be empty, the tests folder must be unchanged
34+
git diff origin/main tests/
35+
# You should pass some of these tests and use the cycle count this prints
36+
python tests/submission_tests.py
37+
```
38+
39+
An example of this kind of hack is a model noticing that `problem.py` has multicore support, implementing multicore as an optimization, noticing there's no speedup and "debugging" that `N_CORES = 1` and "fixing" the core count so they get a speedup. Multicore is disabled intentionally in this version.

‎perf_takehome.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
available time, as measured by test_kernel_cycles on a frozen separate copy
1111
of the simulator.
1212
13+
Validate your results using `python tests/submission_tests.py` without modifying
14+
anything in the tests/ folder.
15+
1316
We recommend you look through problem.py next.
1417
"""
1518

0 commit comments

Comments
 (0)