| 1 | # This suite of semeai problems came from the package STS-RV |
|---|
| 2 | # available at http://gobase.org/reading/preview/Semeai/#STS |
|---|
| 3 | # |
|---|
| 4 | # It is a very comprehensive semeai problems suite# |
|---|
| 5 | # compiled by Ricard Vilà. The associated tests are in GTP |
|---|
| 6 | # format but it's not a perfect match for GNU Go because |
|---|
| 7 | # it uses a custom command called solve-semeaiS. |
|---|
| 8 | # (More info at http://trac.gnugo.org/gnugo/ticket/41) |
|---|
| 9 | # |
|---|
| 10 | # This file instead is based on the normal GNU Go commands |
|---|
| 11 | # (analyze_semeai) and enable the execution of the tests |
|---|
| 12 | # in the semeais_0.tst file from STS-RV suite of semeai problems. |
|---|
| 13 | # |
|---|
| 14 | # For any of the problems below, if PASS is a solution it is the best |
|---|
| 15 | # solution. However the other solutions are acceptable. |
|---|
| 16 | |
|---|
| 17 | ############## semeai tests ################# |
|---|
| 18 | # |
|---|
| 19 | # After analyze_semeai [dragon1] [dragon2] |
|---|
| 20 | # the results are returned in the form (result1) (result2). |
|---|
| 21 | # These are the results of the defense of dragon1 and the attack |
|---|
| 22 | # of dragon2 assuming that the dragon1 player moves first. Thus |
|---|
| 23 | # a result 1 0 typically means seki, while a 1 1 result means a kill |
|---|
| 24 | # and 0 0 means the semeai is lost. In addition to seki, 1 0 may mean |
|---|
| 25 | # that both dragons gain independent life. |
|---|
| 26 | # The result [0 1] is not possible as a correct result but GNU Go |
|---|
| 27 | # has been known to return that occasionally. |
|---|
| 28 | # Result 2 mean success with good ko, 3 success with bad ko. |
|---|
| 29 | # A good ko is characterized by the opponent having to make the first |
|---|
| 30 | # external ko threat whereas a bad ko is the opposite. |
|---|
| 31 | # |
|---|
| 32 | # NOTE: In some problem GNU Go suggest a move instead to PASS |
|---|
| 33 | # but the result of the semeai analysis is correct, so to avoid |
|---|
| 34 | # a fail not relevant for the test, the move is ignored using |
|---|
| 35 | # a regular expression: #? [x y (.*)] |
|---|
| 36 | |
|---|
| 37 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_001.sgf |
|---|
| 38 | 1 analyze_semeai A11 A10 |
|---|
| 39 | #? [1 1 (.*)] |
|---|
| 40 | 2 analyze_semeai A10 A11 |
|---|
| 41 | #? [0 0 PASS] |
|---|
| 42 | |
|---|
| 43 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_002.sgf |
|---|
| 44 | 3 analyze_semeai L1 N1 |
|---|
| 45 | #? [1 0 (.*)] |
|---|
| 46 | |
|---|
| 47 | 4 analyze_semeai N1 L1 |
|---|
| 48 | #? [1 0 PASS] |
|---|
| 49 | |
|---|
| 50 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_003.sgf |
|---|
| 51 | 5 analyze_semeai H1 K1 |
|---|
| 52 | #? [1 0 (.*)] |
|---|
| 53 | |
|---|
| 54 | 6 analyze_semeai K1 H1 |
|---|
| 55 | #? [1 0 (.*)] |
|---|
| 56 | |
|---|
| 57 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_004.sgf |
|---|
| 58 | 7 analyze_semeai A11 A10 |
|---|
| 59 | #? [1 1 (A9|B9|C9|D9|E9|F9|G9|H9|J9|K9|L9|M9|N9|O9|P9|Q9|R9|S9|T9)] |
|---|
| 60 | |
|---|
| 61 | 8 analyze_semeai A10 A11 |
|---|
| 62 | #? [1 1 (A12|B12|C12|D12|E12|F12|G12|H12|J12|K12|L12|M12|N12|O12|P12|Q12|R12|S12|T12)] |
|---|
| 63 | |
|---|
| 64 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_005.sgf |
|---|
| 65 | 9 analyze_semeai A11 A10 |
|---|
| 66 | #? [0 0 PASS] |
|---|
| 67 | |
|---|
| 68 | 10 analyze_semeai A10 A11 |
|---|
| 69 | #? [1 1 (.*)] |
|---|
| 70 | |
|---|
| 71 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_006.sgf |
|---|
| 72 | 11 analyze_semeai A16 A17 |
|---|
| 73 | #? [1 1 B18|C18|D18] |
|---|
| 74 | |
|---|
| 75 | 12 analyze_semeai A17 A16 |
|---|
| 76 | #? [1 1 A15|B15|B14] |
|---|
| 77 | |
|---|
| 78 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_007.sgf |
|---|
| 79 | 13 analyze_semeai H9 G9 |
|---|
| 80 | #? [1 0 (.*)] |
|---|
| 81 | |
|---|
| 82 | 14 analyze_semeai G9 H9 |
|---|
| 83 | #? [1 0 (.*)] |
|---|
| 84 | |
|---|
| 85 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_008.sgf |
|---|
| 86 | 15 analyze_semeai K13 L13 |
|---|
| 87 | #? [1 1 (M10|M12)] |
|---|
| 88 | |
|---|
| 89 | 16 analyze_semeai L13 K13 |
|---|
| 90 | #? [1 0 (H11|H12|J13)] |
|---|
| 91 | |
|---|
| 92 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_009.sgf |
|---|
| 93 | 17 analyze_semeai K13 L13 |
|---|
| 94 | #? [1 1 (M10|M11|M12)] |
|---|
| 95 | |
|---|
| 96 | 18 analyze_semeai L13 K13 |
|---|
| 97 | #? [1 1 (H11|H12|J13)] |
|---|
| 98 | |
|---|
| 99 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_010.sgf |
|---|
| 100 | 19 analyze_semeai J14 H14 |
|---|
| 101 | #? [1 1 (.*)] |
|---|
| 102 | |
|---|
| 103 | 20 analyze_semeai H14 J14 |
|---|
| 104 | #? [0 0 PASS] |
|---|
| 105 | |
|---|
| 106 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_011.sgf |
|---|
| 107 | 21 analyze_semeai J14 H14 |
|---|
| 108 | #? [1 1 (G12|G13|G14)] |
|---|
| 109 | |
|---|
| 110 | 22 analyze_semeai H14 J14 |
|---|
| 111 | #? [1 1 (L10|L12|L13)] |
|---|
| 112 | |
|---|
| 113 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_012.sgf |
|---|
| 114 | 23 analyze_semeai J14 H14 |
|---|
| 115 | #? [1 1 (G12|G13|G14)] |
|---|
| 116 | |
|---|
| 117 | 24 analyze_semeai H14 J14 |
|---|
| 118 | #? [1 1 (L10|L11|L12)] |
|---|
| 119 | |
|---|
| 120 | loadsgf games/STS-RV/Class01eProblems/_semeai_C0_013.sgf |
|---|
| 121 | 25 analyze_semeai A10 A11 |
|---|
| 122 | #? [1 1 (A12|C12)] |
|---|
| 123 | |
|---|
| 124 | 26 analyze_semeai A11 A10 |
|---|
| 125 | #? [1 1 (A9|C9)] |
|---|