Repository navigation
Commit 7e860d1
committed
fix(evals): assert intermediate count after each save settlement
The save-counter grader only checked the final label after all pending
promises settled, so an implementation that increments on click (before
awaiting save()) produced the same totals and passed.
Add intermediate assertions: count stays 0 while saves are in-flight,
increments to 1 after the first settlement, and stays stable after a
new click until that save also resolves.1 parent 2de06d5 commit 7e860d1
1 file changed
Lines changed: 8 additions & 2 deletions
File tree
- packages/octane-evals/datasets/train/user-apps-v1/tasks/octane.strong-save-counter
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | | - | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
| 55 | + | |
50 | 56 | | |
51 | | - | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
0 commit comments