translated-paired-judge-records · 7f33aff72d3c
Browse files- README.md +10 -8
- reports/reviews/paired-outputs-seed-17.md +68 -66
- src/study/depth_review.py +2 -1
- src/study/paired_examples.py +76 -5
- tests/test_paired_examples.py +16 -2
README.md
CHANGED
|
@@ -69,18 +69,20 @@ Judge 3 changed the following verdicts on the three-judge-trained solver’s sav
|
|
| 69 |
|
| 70 |
On 23 problems only the two-judge-trained solver wrote a correct solution. When the graders read the other solver’s wrong answers on those problems, both approved 15, both rejected 7, Judge 3 caught 1 that Judge 2 approved, and Judge 3 approved 0 that Judge 2 rejected. In the reverse direction, only the three-judge-trained solver solved 1/32.
|
| 71 |
|
|
|
|
|
|
|
| 72 |
Each pair shows the same question answered by each solver. The judge cells give the decision on the solver and the literal output, including any incorrect evidence. For Judges 2 and 3, the first three numbers review the preceding judge. Field four gives the verdict on the solution. Judge 3 also read the two-judge-trained solver’s answers in this replay.
|
| 73 |
|
| 74 |
| Problem → exact steps | Training reward | Solver wrote | Judge 1 | Judge 2 | Judge 3 |
|
| 75 |
| --- | --- | --- | --- | --- | --- |
|
| 76 |
-
| <code>(39 + 12) - 5</code> → <code>51,46</code> | Judge 2 | <code>51,46</code> · correct |
|
| 77 |
-
| ↳ same problem | Judge 3 | <code>16,11</code> · wrong |
|
| 78 |
-
| <code>(36 - 7) + 7</code> → <code>29,36</code> | Judge 2 | <code>29,36</code> · correct |
|
| 79 |
-
| ↳ same problem | Judge 3 | <code>8,15</code> · wrong |
|
| 80 |
-
| <code>(35 + 8) - 1</code> → <code>43,42</code> | Judge 2 | <code>43,42</code> · correct |
|
| 81 |
-
| ↳ same problem | Judge 3 | <code>6,59</code> · wrong |
|
| 82 |
-
| <code>(22 - 10) + 12</code> → <code>12,24</code> | Judge 2 | <code>12,14</code> · wrong |
|
| 83 |
-
| ↳ same problem | Judge 3 | <code>12,24</code> · correct |
|
| 84 |
|
| 85 |
The examples show the first well-formatted case available for each observed verdict pattern and the first reverse outcome. [All 32 paired outputs and judge reports](reports/reviews/paired-outputs-seed-17.md)
|
| 86 |
|
|
|
|
| 69 |
|
| 70 |
On 23 problems only the two-judge-trained solver wrote a correct solution. When the graders read the other solver’s wrong answers on those problems, both approved 15, both rejected 7, Judge 3 caught 1 that Judge 2 approved, and Judge 3 approved 0 that Judge 2 rejected. In the reverse direction, only the three-judge-trained solver solved 1/32.
|
| 71 |
|
| 72 |
+
Judge 1 writes three numbers. The first is its verdict (1 means accept, 0 means reject). The second is the first wrong step (0 means none). The third is the final value it certifies on acceptance or the correct value at the first faulty step on rejection. On <code>(39 + 12) - 5</code>, <code>1,0,46</code> means “accept, no wrong step, final value is 46.” For <code>16,11</code> on the same problem, the checker gives <code>0,1,51</code> because step 1 should be 51. Judge 1 actually wrote <code>1,0,16</code>, meaning “accept, no wrong step, final value is 16.” The solver’s own final value was 11.
|
| 73 |
+
|
| 74 |
Each pair shows the same question answered by each solver. The judge cells give the decision on the solver and the literal output, including any incorrect evidence. For Judges 2 and 3, the first three numbers review the preceding judge. Field four gives the verdict on the solution. Judge 3 also read the two-judge-trained solver’s answers in this replay.
|
| 75 |
|
| 76 |
| Problem → exact steps | Training reward | Solver wrote | Judge 1 | Judge 2 | Judge 3 |
|
| 77 |
| --- | --- | --- | --- | --- | --- |
|
| 78 |
+
| <code>(39 + 12) - 5</code> → <code>51,46</code> | Judge 2 | <code>51,46</code> · correct | Accepts the solver and gives 46 as its final value.<br><code>1,0,46</code> | Endorses Judge 1 and supports the value 46. Accepts the solver and gives 46 as its final value.<br><code>1,0,46,1,0,46</code> | Endorses Judge 2 and supports the value 46. Accepts the solver and gives 46 as its final value.<br><code>1,0,46,1,0,46</code> |
|
| 79 |
+
| ↳ same problem | Judge 3 | <code>16,11</code> · wrong | Accepts the solver and gives 16 as its final value.<br><code>1,0,16</code> | Endorses Judge 1 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> | Endorses Judge 2 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> |
|
| 80 |
+
| <code>(36 - 7) + 7</code> → <code>29,36</code> | Judge 2 | <code>29,36</code> · correct | Accepts the solver and gives 36 as its final value.<br><code>1,0,36</code> | Endorses Judge 1 and supports the value 36. Accepts the solver and gives 36 as its final value.<br><code>1,0,36,1,0,36</code> | Endorses Judge 2 and supports the value 36. Accepts the solver and gives 36 as its final value.<br><code>1,0,36,1,0,36</code> |
|
| 81 |
+
| ↳ same problem | Judge 3 | <code>8,15</code> · wrong | Accepts the solver and gives 15 as its final value.<br><code>1,0,15</code> | Endorses Judge 1 and supports the value 15. Accepts the solver and gives 15 as its final value.<br><code>1,0,15,1,0,15</code> | Endorses Judge 2 and supports the value 15. Rejects the solver and says step 1 should be 15.<br><code>1,0,15,0,1,15</code> |
|
| 82 |
+
| <code>(35 + 8) - 1</code> → <code>43,42</code> | Judge 2 | <code>43,42</code> · correct | Accepts the solver and gives 42 as its final value.<br><code>1,0,42</code> | Endorses Judge 1 and supports the value 42. Rejects the solver and says step 1 should be 42.<br><code>1,0,42,0,1,42</code> | Endorses Judge 2 and supports the value 42. Rejects the solver and says step 1 should be 42.<br><code>1,0,42,0,1,42</code> |
|
| 83 |
+
| ↳ same problem | Judge 3 | <code>6,59</code> · wrong | Accepts the solver and gives 59 as its final value.<br><code>1,0,59</code> | Endorses Judge 1 and supports the value 59. Rejects the solver and says step 1 should be 59.<br><code>1,0,59,0,1,59</code> | Endorses Judge 2 and supports the value 59. Rejects the solver and says step 1 should be 59.<br><code>1,0,59,0,1,59</code> |
|
| 84 |
+
| <code>(22 - 10) + 12</code> → <code>12,24</code> | Judge 2 | <code>12,14</code> · wrong | Accepts the solver and gives 14 as its final value.<br><code>1,0,14</code> | Endorses Judge 1 and supports the value 14. Accepts the solver and gives 14 as its final value.<br><code>1,0,14,1,0,14</code> | Endorses Judge 2 and supports the value 14. Accepts the solver and gives 14 as its final value.<br><code>1,0,14,1,0,14</code> |
|
| 85 |
+
| ↳ same problem | Judge 3 | <code>12,24</code> · correct | Accepts the solver and gives 24 as its final value.<br><code>1,0,24</code> | Endorses Judge 1 and supports the value 24. Accepts the solver and gives 24 as its final value.<br><code>1,0,24,1,0,24</code> | Endorses Judge 2 and supports the value 24. Accepts the solver and gives 24 as its final value.<br><code>1,0,24,1,0,24</code> |
|
| 86 |
|
| 87 |
The examples show the first well-formatted case available for each observed verdict pattern and the first reverse outcome. [All 32 paired outputs and judge reports](reports/reviews/paired-outputs-seed-17.md)
|
| 88 |
|
reports/reviews/paired-outputs-seed-17.md
CHANGED
|
@@ -1,74 +1,76 @@
|
|
| 1 |
# Every paired solver output and judge report for seed 17
|
| 2 |
|
| 3 |
-
Two separately trained solvers answered the same 32 development questions. The first row for each question uses the solver trained with two frozen judges. The next row uses the solver trained with three. After training, both sets of saved answers went through all three judges. Each judge column
|
| 4 |
|
| 5 |
-
Judge 1
|
|
|
|
|
|
|
| 6 |
|
| 7 |
| Problem → exact steps | Training reward | Solver wrote | Judge 1 | Judge 2 | Judge 3 |
|
| 8 |
| --- | --- | --- | --- | --- | --- |
|
| 9 |
-
| <code>(7 - 7) + 12</code> → <code>0,12</code> | Judge 2 | <code>0,12</code> · correct |
|
| 10 |
-
| ↳ same problem | Judge 3 | <code>19</code> · wrong |
|
| 11 |
-
| <code>(39 + 12) - 5</code> → <code>51,46</code> | Judge 2 | <code>51,46</code> · correct |
|
| 12 |
-
| ↳ same problem | Judge 3 | <code>16,11</code> · wrong |
|
| 13 |
-
| <code>(10 - 10) + 11</code> → <code>0,11</code> | Judge 2 | <code>0,11</code> · correct |
|
| 14 |
-
| ↳ same problem | Judge 3 | <code>1,12</code> · wrong |
|
| 15 |
-
| <code>(11 - 6) - 2</code> → <code>5,3</code> | Judge 2 | <code>5,3</code> · correct |
|
| 16 |
-
| ↳ same problem | Judge 3 | <code>8,6</code> · wrong |
|
| 17 |
-
| <code>(47 - 9) - 7</code> → <code>38,31</code> | Judge 2 | <code>38, 31</code> · correct |
|
| 18 |
-
| ↳ same problem | Judge 3 | <code>38,31</code> · correct |
|
| 19 |
-
| <code>(12 - 12) + 11</code> → <code>0,11</code> | Judge 2 | <code>0,13</code> · wrong |
|
| 20 |
-
| ↳ same problem | Judge 3 | <code>11,22</code> · wrong |
|
| 21 |
-
| <code>(7 + 9) + 4</code> → <code>16,20</code> | Judge 2 | <code>16,10</code> · wrong |
|
| 22 |
-
| ↳ same problem | Judge 3 | <code>8,12</code> · wrong |
|
| 23 |
-
| <code>(40 + 3) + 4</code> → <code>43,47</code> | Judge 2 | <code>43,47</code> · correct |
|
| 24 |
-
| ↳ same problem | Judge 3 | <code>16,50</code> · wrong |
|
| 25 |
-
| <code>(36 - 7) + 7</code> → <code>29,36</code> | Judge 2 | <code>29,36</code> · correct |
|
| 26 |
-
| ↳ same problem | Judge 3 | <code>8,15</code> · wrong |
|
| 27 |
-
| <code>(35 + 8) - 1</code> → <code>43,42</code> | Judge 2 | <code>43,42</code> · correct |
|
| 28 |
-
| ↳ same problem | Judge 3 | <code>6,59</code> · wrong |
|
| 29 |
-
| <code>(15 + 6) + 12</code> → <code>21,33</code> | Judge 2 | <code>21,33</code> · correct |
|
| 30 |
-
| ↳ same problem | Judge 3 | <code>19,31</code> · wrong |
|
| 31 |
-
| <code>(59 - 1) - 3</code> → <code>58,55</code> | Judge 2 | <code>58,55</code> · correct |
|
| 32 |
-
| ↳ same problem | Judge 3 | <code>56,53</code> · wrong |
|
| 33 |
-
| <code>(54 + 6) + 6</code> → <code>60,66</code> | Judge 2 | <code>60,66</code> · correct |
|
| 34 |
-
| ↳ same problem | Judge 3 | <code>18,24</code> · wrong |
|
| 35 |
-
| <code>(12 - 10) + 4</code> → <code>2,6</code> | Judge 2 | <code>2,6</code> · correct |
|
| 36 |
-
| ↳ same problem | Judge 3 | <code>6,10</code> · wrong |
|
| 37 |
-
| <code>(0 + 8) + 9</code> → <code>8,17</code> | Judge 2 | <code>8,17</code> · correct |
|
| 38 |
-
| ↳ same problem | Judge 3 | <code>9,17</code> · wrong |
|
| 39 |
-
| <code>(11 - 1) + 10</code> → <code>10,20</code> | Judge 2 | <code>10,11</code> · wrong |
|
| 40 |
-
| ↳ same problem | Judge 3 | <code>11,21</code> · wrong |
|
| 41 |
-
| <code>(32 + 10) + 1</code> → <code>42,43</code> | Judge 2 | <code>42,43</code> · correct |
|
| 42 |
-
| ↳ same problem | Judge 3 | <code>11,21</code> · wrong |
|
| 43 |
-
| <code>(44 + 4) + 9</code> → <code>48,57</code> | Judge 2 | <code>48,53</code> · wrong |
|
| 44 |
-
| ↳ same problem | Judge 3 | <code>13,22</code> · wrong |
|
| 45 |
-
| <code>(46 + 3) - 10</code> → <code>49,39</code> | Judge 2 | <code>49,39</code> · correct |
|
| 46 |
-
| ↳ same problem | Judge 3 | <code>36,26</code> · wrong |
|
| 47 |
-
| <code>(53 + 12) - 12</code> → <code>65,53</code> | Judge 2 | <code>65,53</code> · correct |
|
| 48 |
-
| ↳ same problem | Judge 3 | <code>65,53</code> · correct |
|
| 49 |
-
| <code>(49 + 7) + 8</code> → <code>56,64</code> | Judge 2 | <code>56,64</code> · correct |
|
| 50 |
-
| ↳ same problem | Judge 3 | <code>16,25</code> · wrong |
|
| 51 |
-
| <code>(15 + 3) + 3</code> → <code>18,21</code> | Judge 2 | <code>18,21</code> · correct |
|
| 52 |
-
| ↳ same problem | Judge 3 | <code>8,11</code> · wrong |
|
| 53 |
-
| <code>(13 - 2) + 8</code> → <code>11,19</code> | Judge 2 | <code>11,19</code> · correct |
|
| 54 |
-
| ↳ same problem | Judge 3 | <code>9,17</code> · wrong |
|
| 55 |
-
| <code>(22 - 10) + 12</code> → <code>12,24</code> | Judge 2 | <code>12,14</code> · wrong |
|
| 56 |
-
| ↳ same problem | Judge 3 | <code>12,24</code> · correct |
|
| 57 |
-
| <code>(9 + 3) + 5</code> → <code>12,17</code> | Judge 2 | <code>12,17</code> · correct |
|
| 58 |
-
| ↳ same problem | Judge 3 | <code>8,13</code> · wrong |
|
| 59 |
-
| <code>(1 + 6) - 6</code> → <code>7,1</code> | Judge 2 | <code>7, -5</code> · wrong |
|
| 60 |
-
| ↳ same problem | Judge 3 | <code>-5,-1</code> · wrong |
|
| 61 |
-
| <code>(0 + 5) + 2</code> → <code>5,7</code> | Judge 2 | <code>5,7</code> · correct |
|
| 62 |
-
| ↳ same problem | Judge 3 | <code>2,7</code> · wrong |
|
| 63 |
-
| <code>(41 + 4) + 9</code> → <code>45,54</code> | Judge 2 | <code>45,54</code> · correct |
|
| 64 |
-
| ↳ same problem | Judge 3 | <code>13,22</code> · wrong |
|
| 65 |
-
| <code>(12 - 12) - 8</code> → <code>0,-8</code> | Judge 2 | <code>0,4</code> · wrong |
|
| 66 |
-
| ↳ same problem | Judge 3 | <code>-6,-6</code> · wrong |
|
| 67 |
-
| <code>(5 + 9) + 4</code> → <code>14,18</code> | Judge 2 | <code>14,18</code> · correct |
|
| 68 |
-
| ↳ same problem | Judge 3 | <code>6,10</code> · wrong |
|
| 69 |
-
| <code>(30 - 9) - 9</code> → <code>21,12</code> | Judge 2 | <code>21,12</code> · correct |
|
| 70 |
-
| ↳ same problem | Judge 3 | <code>18,9</code> · wrong |
|
| 71 |
-
| <code>(56 + 1) - 1</code> → <code>57,56</code> | Judge 2 | <code>57,56</code> · correct |
|
| 72 |
-
| ↳ same problem | Judge 3 | <code>55,54</code> · wrong |
|
| 73 |
|
| 74 |
[Two-judge replay](../../results/calibrated/d2-17/replay.jsonl) · [Three-judge replay](../../results/calibrated/d3-17/replay.jsonl) · [Depth analysis](depth-diagnosis.md)
|
|
|
|
| 1 |
# Every paired solver output and judge report for seed 17
|
| 2 |
|
| 3 |
+
Two separately trained solvers answered the same 32 development questions. The first row for each question uses the solver trained with two frozen judges. The next row uses the solver trained with three. After training, both sets of saved answers went through all three judges. Each judge column translates its claims into plain language, with the original output underneath.
|
| 4 |
|
| 5 |
+
Judge 1 writes three numbers. The first is its verdict (1 means accept, 0 means reject). The second is the first wrong step (0 means none). The third is the final value it certifies on acceptance or the correct value at the first faulty step on rejection. On <code>(39 + 12) - 5</code>, <code>1,0,46</code> means “accept, no wrong step, final value is 46.” For <code>16,11</code> on the same problem, the checker gives <code>0,1,51</code> because step 1 should be 51. Judge 1 actually wrote <code>1,0,16</code>, meaning “accept, no wrong step, final value is 16.” The solver’s own final value was 11.
|
| 6 |
+
|
| 7 |
+
Judges 2 and 3 first return whether the preceding report was sound, the first faulty field and its replacement. Their last three fields grade the solver. Invalid required verdict flags or unparseable reports yield an effective rejection. The independent integer checker determines the correct or wrong label in the solver column.
|
| 8 |
|
| 9 |
| Problem → exact steps | Training reward | Solver wrote | Judge 1 | Judge 2 | Judge 3 |
|
| 10 |
| --- | --- | --- | --- | --- | --- |
|
| 11 |
+
| <code>(7 - 7) + 12</code> → <code>0,12</code> | Judge 2 | <code>0,12</code> · correct | Reports a malformed solution and gives 19 in the value field.<br><code>0,-1,19</code> | Flags field 1 of Judge 1 and proposes 12. Reports a malformed solution and gives 12 in the value field.<br><code>0,1,12,0,-1,12</code> | Calls Judge 2’s report malformed. Reports a malformed solution and gives 12 in the value field.<br><code>0,-1,12,0,-1,12</code> |
|
| 12 |
+
| ↳ same problem | Judge 3 | <code>19</code> · wrong | Accepts the solver and gives 19 as its final value.<br><code>1,0,19</code> | Endorses Judge 1 and supports the value 19. Accepts the solver and gives 19 as its final value.<br><code>1,0,19,1,0,19</code> | Endorses Judge 2 and supports the value 19. Accepts the solver and gives 19 as its final value.<br><code>1,0,19,1,0,19</code> |
|
| 13 |
+
| <code>(39 + 12) - 5</code> → <code>51,46</code> | Judge 2 | <code>51,46</code> · correct | Accepts the solver and gives 46 as its final value.<br><code>1,0,46</code> | Endorses Judge 1 and supports the value 46. Accepts the solver and gives 46 as its final value.<br><code>1,0,46,1,0,46</code> | Endorses Judge 2 and supports the value 46. Accepts the solver and gives 46 as its final value.<br><code>1,0,46,1,0,46</code> |
|
| 14 |
+
| ↳ same problem | Judge 3 | <code>16,11</code> · wrong | Accepts the solver and gives 16 as its final value.<br><code>1,0,16</code> | Endorses Judge 1 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> | Endorses Judge 2 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> |
|
| 15 |
+
| <code>(10 - 10) + 11</code> → <code>0,11</code> | Judge 2 | <code>0,11</code> · correct | Rejects the solver and says step 2 should be 11.<br><code>0,2,11</code> | Endorses Judge 1 and supports the value 11. Rejects the solver and says step 2 should be 11.<br><code>1,0,11,0,2,11</code> | Flags field 3 of Judge 2 and proposes 11. Rejects the solver and says step 2 should be 11.<br><code>0,3,11,0,2,11</code> |
|
| 16 |
+
| ↳ same problem | Judge 3 | <code>1,12</code> · wrong | Accepts the solver and gives 12 as its final value.<br><code>1,0,12</code> | Endorses Judge 1 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> | Endorses Judge 2 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> |
|
| 17 |
+
| <code>(11 - 6) - 2</code> → <code>5,3</code> | Judge 2 | <code>5,3</code> · correct | Accepts the solver and gives 3 as its final value.<br><code>1,0,3</code> | Endorses Judge 1 and supports the value 3. Rejects the solver and says step 1 should be 3.<br><code>1,0,3,0,1,3</code> | Endorses Judge 2 and supports the value 3. Rejects the solver and says step 1 should be 3.<br><code>1,0,3,0,1,3</code> |
|
| 18 |
+
| ↳ same problem | Judge 3 | <code>8,6</code> · wrong | Accepts the solver and gives 6 as its final value.<br><code>1,0,6</code> | Endorses Judge 1 and supports the value 6. Accepts the solver and gives 6 as its final value.<br><code>1,0,6,1,0,6</code> | Endorses Judge 2 and supports the value 6. Accepts the solver and gives 6 as its final value.<br><code>1,0,6,1,0,6</code> |
|
| 19 |
+
| <code>(47 - 9) - 7</code> → <code>38,31</code> | Judge 2 | <code>38, 31</code> · correct | Accepts the solver and gives 31 as its final value.<br><code>1,0,31</code> | Endorses Judge 1 and supports the value 31. Rejects the solver and says step 1 should be 31.<br><code>1,0,31,0,1,31</code> | Endorses Judge 2 and supports the value 31. Rejects the solver and says step 1 should be 31.<br><code>1,0,31,0,1,31</code> |
|
| 20 |
+
| ↳ same problem | Judge 3 | <code>38,31</code> · correct | Accepts the solver and gives 31 as its final value.<br><code>1,0,31</code> | Endorses Judge 1 and supports the value 31. Rejects the solver and says step 1 should be 31.<br><code>1,0,31,0,1,31</code> | Endorses Judge 2 and supports the value 31. Rejects the solver and says step 1 should be 31.<br><code>1,0,31,0,1,31</code> |
|
| 21 |
+
| <code>(12 - 12) + 11</code> → <code>0,11</code> | Judge 2 | <code>0,13</code> · wrong | Reports a malformed solution and gives 0 in the value field.<br><code>0,-1,0</code> | Calls Judge 1’s report malformed. Rejects the solver and says step 1 should be 0.<br><code>0,-1,0,0,1,0</code> | Endorses Judge 2 and supports the value 0. Rejects the solver and says step 1 should be 0.<br><code>1,0,0,0,1,0</code> |
|
| 22 |
+
| ↳ same problem | Judge 3 | <code>11,22</code> · wrong | Accepts the solver and gives 22 as its final value.<br><code>1,0,22</code> | Endorses Judge 1 and supports the value 22. Accepts the solver and gives 22 as its final value.<br><code>1,0,22,1,0,22</code> | Endorses Judge 2 and supports the value 22. Accepts the solver and gives 22 as its final value.<br><code>1,0,22,1,0,22</code> |
|
| 23 |
+
| <code>(7 + 9) + 4</code> → <code>16,20</code> | Judge 2 | <code>16,10</code> · wrong | Accepts the solver and gives 16 as its final value.<br><code>1,0,16</code> | Endorses Judge 1 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> | Endorses Judge 2 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> |
|
| 24 |
+
| ↳ same problem | Judge 3 | <code>8,12</code> · wrong | Accepts the solver and gives 12 as its final value.<br><code>1,0,12</code> | Endorses Judge 1 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> | Endorses Judge 2 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> |
|
| 25 |
+
| <code>(40 + 3) + 4</code> → <code>43,47</code> | Judge 2 | <code>43,47</code> · correct | Accepts the solver and gives 47 as its final value.<br><code>1,0,47</code> | Endorses Judge 1 and supports the value 47. Accepts the solver and gives 47 as its final value.<br><code>1,0,47,1,0,47</code> | Flags field 2 of Judge 2 and proposes 47. Accepts the solver and gives 47 as its final value.<br><code>0,2,47,1,0,47</code> |
|
| 26 |
+
| ↳ same problem | Judge 3 | <code>16,50</code> · wrong | Accepts the solver and gives 50 as its final value.<br><code>1,0,50</code> | Endorses Judge 1 and supports the value 50. Accepts the solver and gives 50 as its final value.<br><code>1,0,50,1,0,50</code> | Flags field 2 of Judge 2 and proposes 50. Accepts the solver and gives 50 as its final value.<br><code>0,2,50,1,0,50</code> |
|
| 27 |
+
| <code>(36 - 7) + 7</code> → <code>29,36</code> | Judge 2 | <code>29,36</code> · correct | Accepts the solver and gives 36 as its final value.<br><code>1,0,36</code> | Endorses Judge 1 and supports the value 36. Accepts the solver and gives 36 as its final value.<br><code>1,0,36,1,0,36</code> | Endorses Judge 2 and supports the value 36. Accepts the solver and gives 36 as its final value.<br><code>1,0,36,1,0,36</code> |
|
| 28 |
+
| ↳ same problem | Judge 3 | <code>8,15</code> · wrong | Accepts the solver and gives 15 as its final value.<br><code>1,0,15</code> | Endorses Judge 1 and supports the value 15. Accepts the solver and gives 15 as its final value.<br><code>1,0,15,1,0,15</code> | Endorses Judge 2 and supports the value 15. Rejects the solver and says step 1 should be 15.<br><code>1,0,15,0,1,15</code> |
|
| 29 |
+
| <code>(35 + 8) - 1</code> → <code>43,42</code> | Judge 2 | <code>43,42</code> · correct | Accepts the solver and gives 42 as its final value.<br><code>1,0,42</code> | Endorses Judge 1 and supports the value 42. Rejects the solver and says step 1 should be 42.<br><code>1,0,42,0,1,42</code> | Endorses Judge 2 and supports the value 42. Rejects the solver and says step 1 should be 42.<br><code>1,0,42,0,1,42</code> |
|
| 30 |
+
| ↳ same problem | Judge 3 | <code>6,59</code> · wrong | Accepts the solver and gives 59 as its final value.<br><code>1,0,59</code> | Endorses Judge 1 and supports the value 59. Rejects the solver and says step 1 should be 59.<br><code>1,0,59,0,1,59</code> | Endorses Judge 2 and supports the value 59. Rejects the solver and says step 1 should be 59.<br><code>1,0,59,0,1,59</code> |
|
| 31 |
+
| <code>(15 + 6) + 12</code> → <code>21,33</code> | Judge 2 | <code>21,33</code> · correct | Accepts the solver and gives 33 as its final value.<br><code>1,0,33</code> | Endorses Judge 1 and supports the value 33. Accepts the solver and gives 33 as its final value.<br><code>1,0,33,1,0,33</code> | Endorses Judge 2 and supports the value 33. Accepts the solver and gives 33 as its final value.<br><code>1,0,33,1,0,33</code> |
|
| 32 |
+
| ↳ same problem | Judge 3 | <code>19,31</code> · wrong | Accepts the solver and gives 31 as its final value.<br><code>1,0,31</code> | Endorses Judge 1 and supports the value 31. Accepts the solver and gives 31 as its final value.<br><code>1,0,31,1,0,31</code> | Endorses Judge 2 and supports the value 31. Accepts the solver and gives 31 as its final value.<br><code>1,0,31,1,0,31</code> |
|
| 33 |
+
| <code>(59 - 1) - 3</code> → <code>58,55</code> | Judge 2 | <code>58,55</code> · correct | Accepts the solver and gives 55 as its final value.<br><code>1,0,55</code> | Endorses Judge 1 and supports the value 55. Rejects the solver and says step 1 should be 55.<br><code>1,0,55,0,1,55</code> | Flags field 3 of Judge 2 and proposes 55. Rejects the solver and says step 1 should be 55.<br><code>0,3,55,0,1,55</code> |
|
| 34 |
+
| ↳ same problem | Judge 3 | <code>56,53</code> · wrong | Accepts the solver and gives 53 as its final value.<br><code>1,0,53</code> | Endorses Judge 1 and supports the value 53. Rejects the solver and says step 1 should be 53.<br><code>1,0,53,0,1,53</code> | Flags field 3 of Judge 2 and proposes 53. Rejects the solver and says step 1 should be 53.<br><code>0,3,53,0,1,53</code> |
|
| 35 |
+
| <code>(54 + 6) + 6</code> → <code>60,66</code> | Judge 2 | <code>60,66</code> · correct | Accepts the solver and gives 66 as its final value.<br><code>1,0,66</code> | Flags field 2 of Judge 1 and proposes 8. Rejects the solver and says step 1 should be 8.<br><code>0,2,8,0,1,8</code> | Flags field 5 of Judge 2 and proposes 66. Rejects the solver and says step 2 should be 8.<br><code>0,5,66,0,2,8</code> |
|
| 36 |
+
| ↳ same problem | Judge 3 | <code>18,24</code> · wrong | Accepts the solver and gives 24 as its final value.<br><code>1,0,24</code> | Flags field 2 of Judge 1 and proposes 8. Rejects the solver and says step 1 should be 8.<br><code>0,2,8,0,1,8</code> | Flags field 2 of Judge 2 and proposes 8. Rejects the solver and says step 1 should be 8.<br><code>0,2,8,0,1,8</code> |
|
| 37 |
+
| <code>(12 - 10) + 4</code> → <code>2,6</code> | Judge 2 | <code>2,6</code> · correct | Accepts the solver and gives 6 as its final value.<br><code>1,0,6</code> | Endorses Judge 1 and supports the value 6. Accepts the solver and gives 6 as its final value.<br><code>1,0,6,1,0,6</code> | Endorses Judge 2 and supports the value 6. Accepts the solver and gives 6 as its final value.<br><code>1,0,6,1,0,6</code> |
|
| 38 |
+
| ↳ same problem | Judge 3 | <code>6,10</code> · wrong | Accepts the solver and gives 10 as its final value.<br><code>1,0,10</code> | Endorses Judge 1 and supports the value 10. Accepts the solver and gives 10 as its final value.<br><code>1,0,10,1,0,10</code> | Endorses Judge 2 and supports the value 10. Accepts the solver and gives 10 as its final value.<br><code>1,0,10,1,0,10</code> |
|
| 39 |
+
| <code>(0 + 8) + 9</code> → <code>8,17</code> | Judge 2 | <code>8,17</code> · correct | Accepts the solver and gives 17 as its final value.<br><code>1,0,17</code> | Endorses Judge 1 and supports the value 17. Accepts the solver and gives 17 as its final value.<br><code>1,0,17,1,0,17</code> | Endorses Judge 2 and supports the value 17. Accepts the solver and gives 17 as its final value.<br><code>1,0,17,1,0,17</code> |
|
| 40 |
+
| ↳ same problem | Judge 3 | <code>9,17</code> · wrong | Accepts the solver and gives 17 as its final value.<br><code>1,0,17</code> | Endorses Judge 1 and supports the value 17. Accepts the solver and gives 17 as its final value.<br><code>1,0,17,1,0,17</code> | Endorses Judge 2 and supports the value 17. Accepts the solver and gives 17 as its final value.<br><code>1,0,17,1,0,17</code> |
|
| 41 |
+
| <code>(11 - 1) + 10</code> → <code>10,20</code> | Judge 2 | <code>10,11</code> · wrong | Accepts the solver and gives 21 as its final value.<br><code>1,0,21</code> | Endorses Judge 1 and supports the value 21. Accepts the solver and gives 21 as its final value.<br><code>1,0,21,1,0,21</code> | Endorses Judge 2 and supports the value 21. Accepts the solver and gives 21 as its final value.<br><code>1,0,21,1,0,21</code> |
|
| 42 |
+
| ↳ same problem | Judge 3 | <code>11,21</code> · wrong | Accepts the solver and gives 21 as its final value.<br><code>1,0,21</code> | Endorses Judge 1 and supports the value 21. Accepts the solver and gives 21 as its final value.<br><code>1,0,21,1,0,21</code> | Endorses Judge 2 and supports the value 21. Accepts the solver and gives 21 as its final value.<br><code>1,0,21,1,0,21</code> |
|
| 43 |
+
| <code>(32 + 10) + 1</code> → <code>42,43</code> | Judge 2 | <code>42,43</code> · correct | Accepts the solver and gives 42 as its final value.<br><code>1,0,42</code> | Endorses Judge 1 and supports the value 42. Accepts the solver and gives 42 as its final value.<br><code>1,0,42,1,0,42</code> | Endorses Judge 2 and supports the value 42. Accepts the solver and gives 42 as its final value.<br><code>1,0,42,1,0,42</code> |
|
| 44 |
+
| ↳ same problem | Judge 3 | <code>11,21</code> · wrong | Accepts the solver and gives 22 as its final value.<br><code>1,0,22</code> | Endorses Judge 1 and supports the value 22. Accepts the solver and gives 22 as its final value.<br><code>1,0,22,1,0,22</code> | Endorses Judge 2 and supports the value 22. Accepts the solver and gives 22 as its final value.<br><code>1,0,22,1,0,22</code> |
|
| 45 |
+
| <code>(44 + 4) + 9</code> → <code>48,57</code> | Judge 2 | <code>48,53</code> · wrong | Accepts the solver and gives 53 as its final value.<br><code>1,0,53</code> | Endorses Judge 1 and supports the value 53. Accepts the solver and gives 53 as its final value.<br><code>1,0,53,1,0,53</code> | Endorses Judge 2 and supports the value 53. Accepts the solver and gives 53 as its final value.<br><code>1,0,53,1,0,53</code> |
|
| 46 |
+
| ↳ same problem | Judge 3 | <code>13,22</code> · wrong | Reports a malformed solution and gives 13 in the value field.<br><code>0,-1,13</code> | Calls Judge 1’s report malformed. Rejects the solver and says step 1 should be 13.<br><code>0,-1,13,0,1,13</code> | Flags field 3 of Judge 2 and proposes 13. Rejects the solver and says step 1 should be 13.<br><code>0,3,13,0,1,13</code> |
|
| 47 |
+
| <code>(46 + 3) - 10</code> → <code>49,39</code> | Judge 2 | <code>49,39</code> · correct | Accepts the solver and gives 39 as its final value.<br><code>1,0,39</code> | Endorses Judge 1 and supports the value 39. Rejects the solver and says step 1 should be 39.<br><code>1,0,39,0,1,39</code> | Flags field 3 of Judge 2 and proposes 39. Rejects the solver and says step 1 should be 39.<br><code>0,3,39,0,1,39</code> |
|
| 48 |
+
| ↳ same problem | Judge 3 | <code>36,26</code> · wrong | Accepts the solver and gives 26 as its final value.<br><code>1,0,26</code> | Endorses Judge 1 and supports the value 26. Rejects the solver and says step 1 should be 26.<br><code>1,0,26,0,1,26</code> | Flags field 3 of Judge 2 and proposes 26. Rejects the solver and says step 1 should be 26.<br><code>0,3,26,0,1,26</code> |
|
| 49 |
+
| <code>(53 + 12) - 12</code> → <code>65,53</code> | Judge 2 | <code>65,53</code> · correct | Accepts the solver and gives 53 as its final value.<br><code>1,0,53</code> | Endorses Judge 1 and supports the value 53. Accepts the solver and gives 53 as its final value.<br><code>1,0,53,1,0,53</code> | Endorses Judge 2 and supports the value 53. Accepts the solver and gives 53 as its final value.<br><code>1,0,53,1,0,53</code> |
|
| 50 |
+
| ↳ same problem | Judge 3 | <code>65,53</code> · correct | Accepts the solver and gives 53 as its final value.<br><code>1,0,53</code> | Endorses Judge 1 and supports the value 53. Accepts the solver and gives 53 as its final value.<br><code>1,0,53,1,0,53</code> | Endorses Judge 2 and supports the value 53. Accepts the solver and gives 53 as its final value.<br><code>1,0,53,1,0,53</code> |
|
| 51 |
+
| <code>(49 + 7) + 8</code> → <code>56,64</code> | Judge 2 | <code>56,64</code> · correct | Accepts the solver and gives 64 as its final value.<br><code>1,0,64</code> | Endorses Judge 1 and supports the value 64. Accepts the solver and gives 64 as its final value.<br><code>1,0,64,1,0,64</code> | Endorses Judge 2 and supports the value 64. Accepts the solver and gives 64 as its final value.<br><code>1,0,64,1,0,64</code> |
|
| 52 |
+
| ↳ same problem | Judge 3 | <code>16,25</code> · wrong | Accepts the solver and gives 25 as its final value.<br><code>1,0,25</code> | Endorses Judge 1 and supports the value 25. Accepts the solver and gives 25 as its final value.<br><code>1,0,25,1,0,25</code> | Endorses Judge 2 and supports the value 25. Accepts the solver and gives 25 as its final value.<br><code>1,0,25,1,0,25</code> |
|
| 53 |
+
| <code>(15 + 3) + 3</code> → <code>18,21</code> | Judge 2 | <code>18,21</code> · correct | Accepts the solver and gives 21 as its final value.<br><code>1,0,21</code> | Endorses Judge 1 and supports the value 21. Accepts the solver and gives 21 as its final value.<br><code>1,0,21,1,0,21</code> | Endorses Judge 2 and supports the value 21. Accepts the solver and gives 21 as its final value.<br><code>1,0,21,1,0,21</code> |
|
| 54 |
+
| ↳ same problem | Judge 3 | <code>8,11</code> · wrong | Accepts the solver and gives 11 as its final value.<br><code>1,0,11</code> | Endorses Judge 1 and supports the value 11. Accepts the solver and gives 11 as its final value.<br><code>1,0,11,1,0,11</code> | Endorses Judge 2 and supports the value 11. Accepts the solver and gives 11 as its final value.<br><code>1,0,11,1,0,11</code> |
|
| 55 |
+
| <code>(13 - 2) + 8</code> → <code>11,19</code> | Judge 2 | <code>11,19</code> · correct | Accepts the solver and gives 19 as its final value.<br><code>1,0,19</code> | Reports review flag 0 and field 0 for Judge 1. Rejects the solver and says step 1 should be 19.<br><code>0,0,19,0,1,19</code> | Endorses Judge 2 and supports the value 19. Rejects the solver and says step 1 should be 19.<br><code>1,0,19,0,1,19</code> |
|
| 56 |
+
| ↳ same problem | Judge 3 | <code>9,17</code> · wrong | Accepts the solver and gives 17 as its final value.<br><code>1,0,17</code> | Reports review flag 0 and field 0 for Judge 1. Rejects the solver and says step 1 should be 17.<br><code>0,0,17,0,1,17</code> | Endorses Judge 2 and supports the value 17. Rejects the solver and says step 1 should be 17.<br><code>1,0,17,0,1,17</code> |
|
| 57 |
+
| <code>(22 - 10) + 12</code> → <code>12,24</code> | Judge 2 | <code>12,14</code> · wrong | Accepts the solver and gives 14 as its final value.<br><code>1,0,14</code> | Endorses Judge 1 and supports the value 14. Accepts the solver and gives 14 as its final value.<br><code>1,0,14,1,0,14</code> | Endorses Judge 2 and supports the value 14. Accepts the solver and gives 14 as its final value.<br><code>1,0,14,1,0,14</code> |
|
| 58 |
+
| ↳ same problem | Judge 3 | <code>12,24</code> · correct | Accepts the solver and gives 24 as its final value.<br><code>1,0,24</code> | Endorses Judge 1 and supports the value 24. Accepts the solver and gives 24 as its final value.<br><code>1,0,24,1,0,24</code> | Endorses Judge 2 and supports the value 24. Accepts the solver and gives 24 as its final value.<br><code>1,0,24,1,0,24</code> |
|
| 59 |
+
| <code>(9 + 3) + 5</code> → <code>12,17</code> | Judge 2 | <code>12,17</code> · correct | Accepts the solver and gives 12 as its final value.<br><code>1,0,12</code> | Endorses Judge 1 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> | Endorses Judge 2 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> |
|
| 60 |
+
| ↳ same problem | Judge 3 | <code>8,13</code> · wrong | Accepts the solver and gives 13 as its final value.<br><code>1,0,13</code> | Endorses Judge 1 and supports the value 13. Accepts the solver and gives 13 as its final value.<br><code>1,0,13,1,0,13</code> | Endorses Judge 2 and supports the value 13. Accepts the solver and gives 13 as its final value.<br><code>1,0,13,1,0,13</code> |
|
| 61 |
+
| <code>(1 + 6) - 6</code> → <code>7,1</code> | Judge 2 | <code>7, -5</code> · wrong | Accepts the solver and gives -5 as its final value.<br><code>1,0,-5</code> | Endorses Judge 1 and supports the value -5. Accepts the solver and gives -5 as its final value.<br><code>1,0,-5,1,0,-5</code> | Endorses Judge 2 and supports the value -5. Accepts the solver and gives -5 as its final value.<br><code>1,0,-5,1,0,-5</code> |
|
| 62 |
+
| ↳ same problem | Judge 3 | <code>-5,-1</code> · wrong | Accepts the solver and gives -5 as its final value.<br><code>1,0,-5</code> | Invalid review flag -1. Its solver fields say “Accepts the solver and gives -5 as its final value.” The effective verdict is reject.<br><code>-1,-1,-5,1,0,-5</code> | Endorses Judge 2 and supports the value -5. Accepts the solver and gives -5 as its final value.<br><code>1,0,-5,1,0,-5</code> |
|
| 63 |
+
| <code>(0 + 5) + 2</code> → <code>5,7</code> | Judge 2 | <code>5,7</code> · correct | Accepts the solver and gives 7 as its final value.<br><code>1,0,7</code> | Endorses Judge 1 and supports the value 7. Rejects the solver and says step 1 should be 7.<br><code>1,0,7,0,1,7</code> | Endorses Judge 2 and supports the value 7. Rejects the solver and says step 1 should be 7.<br><code>1,0,7,0,1,7</code> |
|
| 64 |
+
| ↳ same problem | Judge 3 | <code>2,7</code> · wrong | Accepts the solver and gives 2 as its final value.<br><code>1,0,2</code> | Endorses Judge 1 and supports the value 2. Rejects the solver and says step 1 should be 2.<br><code>1,0,2,0,1,2</code> | Endorses Judge 2 and supports the value 2. Rejects the solver and says step 1 should be 2.<br><code>1,0,2,0,1,2</code> |
|
| 65 |
+
| <code>(41 + 4) + 9</code> → <code>45,54</code> | Judge 2 | <code>45,54</code> · correct | Accepts the solver and gives 54 as its final value.<br><code>1,0,54</code> | Endorses Judge 1 and supports the value 54. Accepts the solver and gives 54 as its final value.<br><code>1,0,54,1,0,54</code> | Endorses Judge 2 and supports the value 54. Accepts the solver and gives 54 as its final value.<br><code>1,0,54,1,0,54</code> |
|
| 66 |
+
| ↳ same problem | Judge 3 | <code>13,22</code> · wrong | Accepts the solver and gives 22 as its final value.<br><code>1,0,22</code> | Endorses Judge 1 and supports the value 22. Accepts the solver and gives 22 as its final value.<br><code>1,0,22,1,0,22</code> | Endorses Judge 2 and supports the value 22. Accepts the solver and gives 22 as its final value.<br><code>1,0,22,1,0,22</code> |
|
| 67 |
+
| <code>(12 - 12) - 8</code> → <code>0,-8</code> | Judge 2 | <code>0,4</code> · wrong | Reports solver flag 0, step -2 and value 2.<br><code>0,-2,2</code> | Reports review flag 0 and field -2 for Judge 1. Reports a malformed solution and gives 6 in the value field.<br><code>0,-2,4,0,-1,6</code> | Reports review flag 0 and field 0 for Judge 2. Reports a malformed solution and gives 6 in the value field.<br><code>0,0,6,0,-1,6</code> |
|
| 68 |
+
| ↳ same problem | Judge 3 | <code>-6,-6</code> · wrong | Accepts the solver and gives -6 as its final value.<br><code>1,0,-6</code> | Calls Judge 1’s report malformed. Its solver fields say “Reports solver flag -6, step 1 and value 0.” The effective verdict is reject.<br><code>0,-1,0,-6,1,0</code> | Endorses Judge 2 and supports the value -6. Reports a malformed solution and gives 0 in the value field.<br><code>1,0,-6,0,-1,0</code> |
|
| 69 |
+
| <code>(5 + 9) + 4</code> → <code>14,18</code> | Judge 2 | <code>14,18</code> · correct | Accepts the solver and gives 32 as its final value.<br><code>1,0,32</code> | Endorses Judge 1 and supports the value 32. Rejects the solver and says step 34 should be 14.<br><code>1,0,32,0,34,14</code> | Endorses Judge 2 and supports the value 32. Rejects the solver and says step 34 should be 14.<br><code>1,0,32,0,34,14</code> |
|
| 70 |
+
| ↳ same problem | Judge 3 | <code>6,10</code> · wrong | Accepts the solver and gives 60 as its final value.<br><code>1,0,60</code> | Endorses Judge 1 and supports the value 60. Rejects the solver and says step 1 should be 60.<br><code>1,0,60,0,1,60</code> | Endorses Judge 2 and supports the value 60. Rejects the solver and says step 1 should be 60.<br><code>1,0,60,0,1,60</code> |
|
| 71 |
+
| <code>(30 - 9) - 9</code> → <code>21,12</code> | Judge 2 | <code>21,12</code> · correct | Accepts the solver and gives 12 as its final value.<br><code>1,0,12</code> | Endorses Judge 1 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> | Endorses Judge 2 and supports the value 12. Accepts the solver and gives 12 as its final value.<br><code>1,0,12,1,0,12</code> |
|
| 72 |
+
| ↳ same problem | Judge 3 | <code>18,9</code> · wrong | Accepts the solver and gives 9 as its final value.<br><code>1,0,9</code> | Endorses Judge 1 and supports the value 9. Accepts the solver and gives 9 as its final value.<br><code>1,0,9,1,0,9</code> | Endorses Judge 2 and supports the value 9. Accepts the solver and gives 9 as its final value.<br><code>1,0,9,1,0,9</code> |
|
| 73 |
+
| <code>(56 + 1) - 1</code> → <code>57,56</code> | Judge 2 | <code>57,56</code> · correct | Accepts the solver and gives 57 as its final value.<br><code>1,0,57</code> | Endorses Judge 1 and supports the value 57. Accepts the solver and gives 57 as its final value.<br><code>1,0,57,1,0,57</code> | Endorses Judge 2 and supports the value 57. Accepts the solver and gives 57 as its final value.<br><code>1,0,57,1,0,57</code> |
|
| 74 |
+
| ↳ same problem | Judge 3 | <code>55,54</code> · wrong | Accepts the solver and gives 54 as its final value.<br><code>1,0,54</code> | Endorses Judge 1 and supports the value 54. Accepts the solver and gives 54 as its final value.<br><code>1,0,54,1,0,54</code> | Endorses Judge 2 and supports the value 54. Accepts the solver and gives 54 as its final value.<br><code>1,0,54,1,0,54</code> |
|
| 75 |
|
| 76 |
[Two-judge replay](../../results/calibrated/d2-17/replay.jsonl) · [Three-judge replay](../../results/calibrated/d3-17/replay.jsonl) · [Depth analysis](depth-diagnosis.md)
|
src/study/depth_review.py
CHANGED
|
@@ -8,7 +8,7 @@ from itertools import batched, combinations
|
|
| 8 |
from .design import SEEDS
|
| 9 |
from .domain import Problem
|
| 10 |
from .learning_review import execute_steps
|
| 11 |
-
from .paired_examples import differing_examples, outcome_counts, output_table, pair_saved_outputs
|
| 12 |
from .storage import read_json, rows
|
| 13 |
from .tables import markdown
|
| 14 |
|
|
@@ -252,6 +252,7 @@ def readme_depth(data):
|
|
| 252 |
f"both rejected {counts[0,0]}, Judge 3 caught {counts[1,0]} that Judge 2 approved, and Judge 3 approved "
|
| 253 |
f"{counts[0,1]} that Judge 2 rejected. In the reverse direction, only the three-judge-trained solver "
|
| 254 |
f"solved {paired['three only']}/{n}.",
|
|
|
|
| 255 |
"Each pair shows the same question answered by each solver. The judge cells give the decision on the "
|
| 256 |
"solver and the literal output, including any incorrect evidence. For Judges 2 and 3, the first three "
|
| 257 |
"numbers review the preceding judge. Field four gives the verdict on the solution. Judge 3 also read "
|
|
|
|
| 8 |
from .design import SEEDS
|
| 9 |
from .domain import Problem
|
| 10 |
from .learning_review import execute_steps
|
| 11 |
+
from .paired_examples import differing_examples, outcome_counts, output_table, pair_saved_outputs, report_key
|
| 12 |
from .storage import read_json, rows
|
| 13 |
from .tables import markdown
|
| 14 |
|
|
|
|
| 252 |
f"both rejected {counts[0,0]}, Judge 3 caught {counts[1,0]} that Judge 2 approved, and Judge 3 approved "
|
| 253 |
f"{counts[0,1]} that Judge 2 rejected. In the reverse direction, only the three-judge-trained solver "
|
| 254 |
f"solved {paired['three only']}/{n}.",
|
| 255 |
+
report_key(r["paired_outputs"]),
|
| 256 |
"Each pair shows the same question answered by each solver. The judge cells give the decision on the "
|
| 257 |
"solver and the literal output, including any incorrect evidence. For Judges 2 and 3, the first three "
|
| 258 |
"numbers review the preceding judge. Field four gives the verdict on the solution. Judge 3 also read "
|
src/study/paired_examples.py
CHANGED
|
@@ -3,6 +3,8 @@
|
|
| 3 |
from collections import Counter
|
| 4 |
from html import escape
|
| 5 |
|
|
|
|
|
|
|
| 6 |
from .tables import markdown
|
| 7 |
|
| 8 |
|
|
@@ -51,6 +53,75 @@ def literal(value):
|
|
| 51 |
return f"<code>{text}</code>"
|
| 52 |
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
def output_table(pairs):
|
| 55 |
"""Decode effective solution verdicts separately from each judge's verbatim report."""
|
| 56 |
records = []
|
|
@@ -59,8 +130,8 @@ def output_table(pairs):
|
|
| 59 |
for depth, output in enumerate(pair["outputs"], 2):
|
| 60 |
problem = f"{literal(pair['expression'])} → {literal(truth)}" if depth == 2 else "↳ same problem"
|
| 61 |
exact = "correct" if output["correct"] else "wrong"
|
| 62 |
-
reports = [
|
| 63 |
-
|
| 64 |
records.append([problem, f"Judge {depth}", f"{literal(output['trace'])} · {exact}", *reports])
|
| 65 |
return markdown(["Problem → exact steps", "Training reward", "Solver wrote", "Judge 1", "Judge 2", "Judge 3"], records)
|
| 66 |
|
|
@@ -73,9 +144,9 @@ def paired_text(review):
|
|
| 73 |
f"Two separately trained solvers answered the same {review['dev_n']} development questions. The first "
|
| 74 |
"row for each question uses the solver trained with two frozen judges. The next row uses the solver "
|
| 75 |
"trained with three. After training, both sets of saved answers went through all three judges. "
|
| 76 |
-
"Each judge column
|
| 77 |
-
"
|
| 78 |
-
"
|
| 79 |
"faulty field and its replacement. Their last three fields grade the solver. Invalid required verdict "
|
| 80 |
"flags or unparseable reports yield an effective rejection. The independent integer checker determines "
|
| 81 |
"the correct or wrong label in the solver column.",
|
|
|
|
| 3 |
from collections import Counter
|
| 4 |
from html import escape
|
| 5 |
|
| 6 |
+
from .domain import Problem
|
| 7 |
+
from .records import parse, render, solver_truth, terminal
|
| 8 |
from .tables import markdown
|
| 9 |
|
| 10 |
|
|
|
|
| 53 |
return f"<code>{text}</code>"
|
| 54 |
|
| 55 |
|
| 56 |
+
def report_key(pairs):
|
| 57 |
+
"""Translate a real acceptance and its contrasting first-step correction using the archive and checker."""
|
| 58 |
+
guide = ("Judge 1 writes three numbers. The first is its verdict (1 means accept, 0 means reject). The "
|
| 59 |
+
"second is the first wrong step (0 means none). The third is the final value it certifies on "
|
| 60 |
+
"acceptance or the correct value at the first faulty step on rejection.")
|
| 61 |
+
for pair in pairs:
|
| 62 |
+
solved, missed = pair["outputs"]
|
| 63 |
+
value = pair["truth"][-1]
|
| 64 |
+
if (not solved["correct"] or missed["correct"] or missed["malformed"]
|
| 65 |
+
or parse(solved["reports"][0], 3) != (1, 0, value)):
|
| 66 |
+
continue
|
| 67 |
+
correction = solver_truth(Problem.from_expression(pair["expression"]), missed["trace"])
|
| 68 |
+
claim = parse(missed["reports"][0], 3)
|
| 69 |
+
reported = f"Judge 1 actually wrote {literal(missed['reports'][0])} for that answer."
|
| 70 |
+
if claim and claim[:2] == (1, 0):
|
| 71 |
+
reported = (f"Judge 1 actually wrote {literal(missed['reports'][0])}, meaning “accept, no wrong "
|
| 72 |
+
f"step, final value is {claim[2]}.”")
|
| 73 |
+
submitted = parse(missed["trace"], len(pair["truth"]))
|
| 74 |
+
if submitted and submitted[-1] != claim[2]:
|
| 75 |
+
reported += f" The solver’s own final value was {submitted[-1]}."
|
| 76 |
+
return (f"{guide} On {literal(pair['expression'])}, {literal(solved['reports'][0])} means "
|
| 77 |
+
f"“accept, no wrong step, final value is {value}.” For {literal(missed['trace'])} on the same "
|
| 78 |
+
f"problem, the checker gives {literal(render(correction))} because step {correction[1]} should be "
|
| 79 |
+
f"{correction[2]}. {reported}")
|
| 80 |
+
return guide
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def solution_claim(verdict, step, value):
|
| 84 |
+
"""Translate the final triple as a claim by the judge, including malformed or inconsistent fields."""
|
| 85 |
+
if verdict == 1 and step == 0:
|
| 86 |
+
return f"Accepts the solver and gives {value} as its final value."
|
| 87 |
+
if verdict == 0 and step > 0:
|
| 88 |
+
return f"Rejects the solver and says step {step} should be {value}."
|
| 89 |
+
if verdict == 0 and step == -1:
|
| 90 |
+
return f"Reports a malformed solution and gives {value} in the value field."
|
| 91 |
+
return f"Reports solver flag {verdict}, step {step} and value {value}."
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def prior_claim(verdict, field, value, prior):
|
| 95 |
+
"""Translate which field the current judge claims to have checked in the preceding report."""
|
| 96 |
+
if verdict == 1 and field == 0:
|
| 97 |
+
return f"Endorses Judge {prior} and supports the value {value}."
|
| 98 |
+
if verdict == 0 and field > 0:
|
| 99 |
+
return f"Flags field {field} of Judge {prior} and proposes {value}."
|
| 100 |
+
if verdict == 0 and field == -1:
|
| 101 |
+
return f"Calls Judge {prior}’s report malformed."
|
| 102 |
+
if verdict not in (0, 1):
|
| 103 |
+
return f"Invalid review flag {verdict}."
|
| 104 |
+
return f"Reports review flag {verdict} and field {field} for Judge {prior}."
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
def explain_report(raw, depth, effective):
|
| 108 |
+
"""Check the effective verdict and distinguish reviewing the judge from grading the arithmetic."""
|
| 109 |
+
if terminal(raw, depth) != effective:
|
| 110 |
+
raise ValueError("The explanation disagrees with the logged effective verdict")
|
| 111 |
+
record = parse(raw, 3 if depth == 1 else 6)
|
| 112 |
+
if record is None:
|
| 113 |
+
return f"Unparseable report. The effective verdict is reject.<br>{literal(raw)}"
|
| 114 |
+
parts = []
|
| 115 |
+
if depth > 1:
|
| 116 |
+
parts.append(prior_claim(*record[:3], depth-1))
|
| 117 |
+
solution = solution_claim(*record[-3:])
|
| 118 |
+
if record[-3] not in (0, 1) or (depth > 1 and record[0] not in (0, 1)):
|
| 119 |
+
parts.extend([f"Its solver fields say “{solution}”", "The effective verdict is reject."])
|
| 120 |
+
else:
|
| 121 |
+
parts.append(solution)
|
| 122 |
+
return " ".join(parts) + "<br>" + literal(raw)
|
| 123 |
+
|
| 124 |
+
|
| 125 |
def output_table(pairs):
|
| 126 |
"""Decode effective solution verdicts separately from each judge's verbatim report."""
|
| 127 |
records = []
|
|
|
|
| 130 |
for depth, output in enumerate(pair["outputs"], 2):
|
| 131 |
problem = f"{literal(pair['expression'])} → {literal(truth)}" if depth == 2 else "↳ same problem"
|
| 132 |
exact = "correct" if output["correct"] else "wrong"
|
| 133 |
+
reports = [explain_report(raw, level, bit) for level, (raw, bit) in
|
| 134 |
+
enumerate(zip(output["reports"], output["verdicts"], strict=True), 1)]
|
| 135 |
records.append([problem, f"Judge {depth}", f"{literal(output['trace'])} · {exact}", *reports])
|
| 136 |
return markdown(["Problem → exact steps", "Training reward", "Solver wrote", "Judge 1", "Judge 2", "Judge 3"], records)
|
| 137 |
|
|
|
|
| 144 |
f"Two separately trained solvers answered the same {review['dev_n']} development questions. The first "
|
| 145 |
"row for each question uses the solver trained with two frozen judges. The next row uses the solver "
|
| 146 |
"trained with three. After training, both sets of saved answers went through all three judges. "
|
| 147 |
+
"Each judge column translates its claims into plain language, with the original output underneath.",
|
| 148 |
+
report_key(review["paired_outputs"]),
|
| 149 |
+
"Judges 2 and 3 first return whether the preceding report was sound, the first "
|
| 150 |
"faulty field and its replacement. Their last three fields grade the solver. Invalid required verdict "
|
| 151 |
"flags or unparseable reports yield an effective rejection. The independent integer checker determines "
|
| 152 |
"the correct or wrong label in the solver column.",
|
tests/test_paired_examples.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
import pytest
|
| 4 |
|
| 5 |
-
from study.paired_examples import pair_saved_outputs, differing_examples, outcome_counts, output_table
|
| 6 |
|
| 7 |
|
| 8 |
def saved(key, trace, correct, bits):
|
|
@@ -13,12 +13,26 @@ def saved(key, trace, correct, bits):
|
|
| 13 |
def test_examples_use_recorded_solver_verdicts_and_show_both_checkpoints():
|
| 14 |
shallow = [saved("a", "51,46", True, [1, 1, 1]), saved("b", "51,45", False, [1, 1, 1])]
|
| 15 |
deep = [saved("a", "16,11", False, [1, 1, 1]), saved("b", "51,46", True, [1, 1, 1])]
|
|
|
|
| 16 |
paired = pair_saved_outputs(shallow, deep)
|
| 17 |
assert outcome_counts(paired) == {(1, 1): 1}
|
| 18 |
assert differing_examples(paired) == paired
|
| 19 |
table = output_table(paired)
|
| 20 |
assert "51,46" in table and "16,11" in table and "0,2,46,1,0,46" in table
|
| 21 |
-
assert "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
with pytest.raises(ValueError, match="same problem"):
|
| 24 |
pair_saved_outputs(shallow, list(reversed(deep)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
import pytest
|
| 4 |
|
| 5 |
+
from study.paired_examples import pair_saved_outputs, differing_examples, outcome_counts, output_table, report_key, explain_report
|
| 6 |
|
| 7 |
|
| 8 |
def saved(key, trace, correct, bits):
|
|
|
|
| 13 |
def test_examples_use_recorded_solver_verdicts_and_show_both_checkpoints():
|
| 14 |
shallow = [saved("a", "51,46", True, [1, 1, 1]), saved("b", "51,45", False, [1, 1, 1])]
|
| 15 |
deep = [saved("a", "16,11", False, [1, 1, 1]), saved("b", "51,46", True, [1, 1, 1])]
|
| 16 |
+
deep[0]["reports"][0] = "1,0,16"
|
| 17 |
paired = pair_saved_outputs(shallow, deep)
|
| 18 |
assert outcome_counts(paired) == {(1, 1): 1}
|
| 19 |
assert differing_examples(paired) == paired
|
| 20 |
table = output_table(paired)
|
| 21 |
assert "51,46" in table and "16,11" in table and "0,2,46,1,0,46" in table
|
| 22 |
+
assert "Flags field 2 of Judge 2 and proposes 46. Accepts the solver and gives 46 as its final value." in table
|
| 23 |
+
key = report_key(paired)
|
| 24 |
+
assert "1,0,46" in key and "final value is 46" in key
|
| 25 |
+
assert "0,1,51" in key and "step 1 should be 51" in key
|
| 26 |
+
assert "final value is 16" in key and "own final value was 11" in key
|
| 27 |
|
| 28 |
with pytest.raises(ValueError, match="same problem"):
|
| 29 |
pair_saved_outputs(shallow, list(reversed(deep)))
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def test_explained_critic_can_endorse_a_review_and_still_reject_the_solver():
|
| 33 |
+
assert explain_report("1,0,15,0,1,15", 3, 0).startswith(
|
| 34 |
+
"Endorses Judge 2 and supports the value 15. Rejects the solver and says step 1 should be 15.")
|
| 35 |
+
assert "Invalid review flag -1" in explain_report("-1,-1,-5,1,0,-5", 2, 0)
|
| 36 |
+
assert "effective verdict is reject" in explain_report("-1,-1,-5,1,0,-5", 2, 0)
|
| 37 |
+
with pytest.raises(ValueError, match="effective verdict"):
|
| 38 |
+
explain_report("1,0,46", 1, 0)
|