Aug 20, 2016 16:36
It finally happened. When saving an entry the database now checks the solution to be in py2web format. Please report bugs (especially for fairies!). This is a major step toward full-text solution search and automatic solution analyzing.
updates
Leave a comment
Comments 13
---
authors:
- Tritten, Pierre
- Luce, Sébastien
source: The Problemist Supplement
date: 2015-09
distinction:
algebraic:
white: [Kg7, Bf3, Sd2]
black: [Pa4, Pe4, Ka3, Bb3, Pc3, Pa2]
neutral: []
stipulation: "h#2"
options:
- Take&MakeChess
twins:
b : Add black Sb3
keywords:
solution: |
"a)
1.c3*d2-b1=R Bf3*e4-e3 2.Rb1-b2 Be3-c5 #
b) bSb3
1.e4*f3-d1=S Sd2-e4 2.Sd1-b2 Se4*c3-c2 #"
The solution is provided by the "Run Popeye" function on the website. However, it generates the error "Solution check failed: Syntax error at '2', line 1, char 61". The error does not occur if the twinning condition is removed and the solution regenerated.
Tobias
Reply
Reply
authors:
- Tritten, Pierre
source: Shachmatnaja Kompozicia
date: 2014
distinction:
algebraic:
white: [Qa8, Kf8, Sg8, Se4, Bg4]
black: [Rof6, Qe5, Rd3, Ph2, Sg1, Kh1]
neutral: []
stipulation: "hs#2"
intended-solutions: 2
keywords:
solution: |
"1.Bg4-h3 Rd3-f3 2.Se4-f2 + ROf6*f2 #
1.Qa8-a1 ROf6-f2 2.Bg4-f3 + Rd3*f3 #"
The above problem has again a solution provided by popeye. I causes the error "Solution check failed: Syntax error at 'O', line 1, char 30"
Reply
Reply
authors:
- Huber, Eric
source: Julia's Fairies
date: 2014
distinction:
algebraic:
white: [Pf6, Ld5, Kh4]
black: [Kg6, Pe5]
neutral: []
stipulation: "hs#2"
options:
- Isardam
- SuperCirce
twins:
b : Move e5 f5
keywords:
solution: |
"a)
1.Ld5*e5-f5[+bPa1=L] + La1*f6-g7[+wPg8=L] 2.Kh4-g5 + Kg6*f5[+wLg6] #
b) bPe5-->f5
1.Ld5*f5-g5[+bPf1=L] + Lf1*f6-f7[+wPe8=L] 2.Kh4-h5 + Kg6*g5[+wLg6] #"
Causes the error "Solution check failed: Board instance has no attribute 'getStm'". Solution is again given by popeye.
Reply
Reply
Because problem cannot be submitted without a py2web-formatted solution, it has become a very tedious work. I haven't found the actual specifications of this format anywhere, so I have no clue what something like "Solution check failed: no pipe" could mean. This means that it's a lot of trial and error to attempt to construct an acceptable solution (unless a problem is simple enough to quickly get a solution from popeyey).
Even edits to already existing problems, like adding a date or source, are not accepted if the solution is not correctly formatted. So, for example, if one would like to add a source to this problem: http://yacpdb.org/#289117, that would require manually constructing a fifty move solution in an unknown format.
Reply
> Solution check failed: *
Means that the server is encountering internal problems. This is normally should never happen, I fixed it by rebooting.
> Even edits to already existing problems, like adding a date or source, are not accepted if the solution is not correctly formatted.
Yes. Sorry, but this is the whole point of it.
Reply
---
authors:
- Caillaud, Michel
source: Messihny
date: 2014
distinction: 4th Comm.
algebraic:
white: [Bld5, Ka2, Qf2]
black: [Pf6, Bld1, Kh1]
neutral: []
options:
- MessignyChess
stipulation: "#4"
keywords:
solution: |
"1.BLd5<->BLd1 ! zugzwang.
1...f6-f5
2.BLd1<->BLd5 zugzwang.
2...f5-f4
3.BLd5<->BLd1 zugzwang.
3...f4-f3
4.BLd1<->BLd5 #"
This seems to mean there is either an issue with the output of popeye, or with the solution verification.
Reply
MessignyChess notation is not yet supported. As a workaround Messigny moves can be written as PWC moves, eg:
1.BLd5*d1 [+bBLd5] etc
Reply
Leave a comment