REPORT: wrong perft result by qperft.

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
vittyvirus
Posts: 646
Joined: Wed Jun 18, 2014 2:30 pm
Full name: Fahad Syed

Re: REPORT: wrong perft result by qperft.

Post by vittyvirus »

The new version of Yaka:

Code: Select all

Yaka (no movelists) 0.0 x64 by Syed Fahad
position fen rnbqkb1r/pp1p1ppp/2p5/4P3/2B5/8/PPP1NnPP/RNBQK2R w KQkq - 0 6
d
    +---+---+---+---+---+---+---+---+
  8 | r | n | b | q | k | b |   | r |
    +---+---+---+---+---+---+---+---+
  7 | p | p |   | p |   | p | p | p |
    +---+---+---+---+---+---+---+---+
  6 |   |   | p |   |   |   |   |   |
    +---+---+---+---+---+---+---+---+
  5 |   |   |   |   | P |   |   |   |
    +---+---+---+---+---+---+---+---+
  4 |   |   | B |   |   |   |   |   |
    +---+---+---+---+---+---+---+---+
  3 |   |   |   |   |   |   |   |   |
    +---+---+---+---+---+---+---+---+
  2 | P | P | P |   | N | n | P | P |
    +---+---+---+---+---+---+---+---+
  1 | R | N | B | Q | K |   |   | R |
    +---+---+---+---+---+---+---+---+
      a   b   c   d   e   f   g   h
Side to move: White     En Passant Square: -
Castling Rights: KQkq
perft 7
d1d2: 2481769422
d1d3: 3719739001
d1d4: 3598056747
d1d5: 2815305249
d1d6: 2314600161
d1d7: 207937563
h1f1: 2220729699
h1g1: 1983977646
c1d2: 2107363662
c1e3: 3184524390
c1f4: 2482656228
c1g5: 2400385594
c1h6: 2344263758
c4b3: 1816240296
c4d3: 1886965922
c4b5: 2130713616
c4d5: 2046941872
c4a6: 1855061374
c4e6: 2444185312
c4f7: 86568355
b1d2: 1435627351
b1a3: 2002068159
b1c3: 2655487727
e2g1: 2354927176
e2c3: 3057530890
e2g3: 2865273204
e2d4: 3061284388
e2f4: 2949871106
e1f1: 2483161986
e1d2: 1152858513
e1f2: 1701268892
e1g1: 2291266832
a2a3: 2245837704
b2b3: 2166557328
c2c3: 2411002727
g2g3: 1981011243
h2h3: 2217212927
e5e6: 2461806026
a2a4: 2548648372
b2b4: 2263311424
g2g4: 2033046400
h2h4: 2387827889
Took 288299 ms for 94854874131 nodes, 329015 knps
Oh yeah!
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: Correction of my error.

Post by sje »

Kotlov wrote:please correct CPW
http://chessprogramming.wikispaces.com/Perft+Results

Position 5
This position was discussed on Talkchess and caught bugs in engines several years old at depth 3.[5]
Depth
Nodes
1 42 - 44!!!
2 1352
3 53392
That entire table is wrong.

Symbolic, running on a BeagleBone Black, says:

Code: Select all

[] sf rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8 
[] pctran 0
Count: 1   Pt: 0.000   Wt: 0.000   U: 0   Inf Hz   0 s
[] pctran 1
Count: 44   Pt: 0.000   Wt: 0.000   U: 0   Inf Hz   0 s
[] pctran 2
Count: 1,486   Pt: 0.107   Wt: 0.106   U: 1.00817   13.8333 KHz   72.2894 us
[] pctran 3
Count: 62,379   Pt: 0.111   Wt: 0.111   U: 0.996331   560.317 KHz   1.7847 us
[] pctran 4
Count: 2,103,487   Pt: 0.541   Wt: 0.545   U: 0.99265   3.88802 MHz   257.2 ns
[] pctran 5
Count: 89,941,194   Pt: 8.160   Wt: 8.312   U: 0.981652   11.022 MHz   90.7277 ns
elpapa
Posts: 211
Joined: Sun Jan 18, 2009 11:27 pm
Location: Sweden
Full name: Patrik Karlsson

Re: Correction of my error.

Post by elpapa »

In think the table is correct, but it's showing the wrong position.