What does your program do here?

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

Joost Buijs
Posts: 1562
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: What does your program do here?

Post by Joost Buijs »

Nightmare sticks with Kg2 from depth 10 and thinks it is draw from depth 24 and higher.

Code: Select all

info depth 1 score cp 8 time 0 nodes 253 nps 253 pv f3e4
info depth 2 score cp -26 time 0 nodes 481 nps 481 pv f3e4 d3e5
info depth 3 score cp -33 time 2 nodes 2103 nps 1051500 pv d7d6 c5c4 d6e6
info depth 4 score cp -33 time 3 nodes 3276 nps 1092000 pv d7d6 c5c4 d6d8 f8f7 f3e4
info depth 5 score cp -43 time 5 nodes 5762 nps 1152400 pv d7d6 c5c4 d6d8 f8f7 f3e4 h1h4
info depth 6 score cp -97 time 10 nodes 17162 nps 1716200 pv f3g2 h1h4
info depth 7 score cp -43 time 15 nodes 43302 nps 2886800 pv d7d6 c5c4 f3e4 h1h4 d6d8 f8f7 d8d7 f7f6 d7d6
info depth 8 score cp -52 time 21 nodes 69879 nps 3327571 pv d7d6 c5c4 f3e4 d3f2 e4d4 f2g4 d6d8 f8f7 d4c4 g4e5
info depth 9 score cp -57 time 28 nodes 108004 nps 3857285 pv d7d6 c5c4 f3e4 d3f2 e4d4 f2g4 d4c4 g4e5 c4d4 e5f3 d4e4
info depth 10 score cp -31 time 60 nodes 394279 nps 6571316 pv f3g2 h1c1 d7d8 f8f7 d8d6 d3f4 g2f3 c1f1 f3e4 d4d3 d6d7 f7f6
info depth 11 score cp -48 time 84 nodes 596251 nps 7098226 pv f3g2 h1h6 d7d8 f8f7 d8d7 f7e8 d7d6 e8f7 d6d7
info depth 12 score cp -47 time 115 nodes 892157 nps 7757886 pv f3g2 h1h6 d7d6 c5c4 g2f3 h6h1
info depth 13 score cp -56 time 222 nodes 2217918 nps 9990621 pv f3g2 h1h6 d7d6 c5c4 g2g3 c4c3 d6c6 d3b4 c6c8 f8f7 d5d6 
info depth 14 score cp -74 time 435 nodes 5135588 nps 11805949 pv f3g2 h1h6 d7d6 d3e5 g4e2 c5c4 d6e6 c4c3 e2d1 e5c4 d1c2 h6h5 g2f3 f8f7
info depth 15 score cp -73 time 515 nodes 6132573 nps 11907908 pv f3g2 h1h6 d7d6 d3e5 g4e2 c5c4 d6e6 c4c3 e2d1 e5c4 d5d6 h6h7 g2f3 d4d3 e6e7
info depth 16 score cp -34 time 793 nodes 9591965 nps 12095794 pv f3g2 h1h4 d7d8 f8f7 g2g3 h4h1 d8d7 f7f6 d7d6 f6f7 d6d7 f7f8 g4f3 h1g1 g3h2 d3e5 h2g1 e5d7
info depth 17 score cp -57 time 1091 nodes 13498071 nps 12372200 pv f3g2 h1h4 d7d8 f8f7 g2g3 h4h1 d8d7 f7f6 d7d6 f6f7 d6d7 f7f8 d7c7 h1g1 g3h4 d3e5 g4h5 d4d3 f5f6
info depth 18 score cp -53 time 1454 nodes 18541527 nps 12752081 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 g2f1 g4e3 f1e2 e3f5 d8c8 c4c3 e2d3 f7f6 c8e8 f5e7 e8f8 f6e5
info depth 19 score cp -58 time 2081 nodes 26662395 nps 12812299 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 g2f1 d4d3 d8c8 f7f6 f1e1 g4e5 c8f8 f6e7 f8c8 e7d7 c8a8 e5f3 e1d1
info depth 20 score cp -35 time 4002 nodes 53755191 nps 13432081 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 g2f1 g4e3 f1e2 e3f5 d8c8 c4c3 e2d3 f7f6 d3e4 f5e7 c8c7 d4d3 e4d3 e7d5
info depth 21 score cp -36 time 8143 nodes 110899601 nps 13619010 pv f3g2 h1h6 d7d6 c5c4 d6d8 f8f7 d5d6 h6f6 d6d7 f6d6 d8h8 c4c3 d7d8q d6d8 h8d8 c3c2 d8c8 c2c1q c8c1 d3c1
info depth 22 score cp 0 time 12066 nodes 169429622 nps 14041904 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 g4e5 d8d6 c5c4 d6c6 c4c3 c6c7 f7f6 d5d6
info depth 23 score cp -51 time 22621 nodes 288323894 nps 12745850 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 g2f1 g4e5 f1e2 c4c3 e2d1 d4d3 d8c8 c3c2 d1c1 f7f6 c8c6 f6f5 c6d6 f5e4 d6d8 e4e3 d8c8
info depth 24 score cp 0 time 31852 nodes 425408723 nps 13355793 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 g2f1 g4e5 f1e2 c4c3 e2d1 d4d3 d8c8 c3c2 d1c1 f7f6 c8f8 f6g5 f5f6 e5d7 f8g8 g5f6 g8d8 f6e7
info depth 25 score cp 0 time 40820 nodes 546092393 nps 13378059 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 d8d7 f7f6 d7d6 f6f5 d6c6 c4c3 c6c7 g4e5 g2f1 f5e4 f1e2 d4d3 e2d1 e4d4 d5d6 e5g4
info depth 26 score cp 0 time 54522 nodes 721360025 nps 13230622 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 d8d7 f7f6 d7d6 f6f5 d6c6 c4c3 c6c7 g4e5 g2f1 f5e4 f1e2 d4d3 e2d1 e4d5
info depth 27 score cp 0 time 70229 nodes 930748536 nps 13253051 pv f3g2 d3e5 d7d8 f8f7 g2h1 e5g4 h1g2 c5c4 d8d7 f7f6 d7d6 f6f5 d6c6 c4c3 c6c7 g4e5 g2f1 f5e4 f1e2 d4d3 e2d1 e4d5
stop
bestmove f3g2 ponder d3e5
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: What does your program do here?

Post by bob »

op12no2 wrote:Thanks for the replies.

Lozza's pawn eval is too primitive. It was treating the doubled white passers as better than the slightly less advanced connected black passers.

If I hack things to only consider the first passer per file and reward connected passers, KG2 kicks in.

I found this by watching some test tourney games rather than tweak and wait. Lesson learned. Young engine. Watch it more.
I found I learn more about Crafty by watching it play games, as in the ACCA/CCT and HGM's monthly events. If you watch while the game is being played, you follow along and you will notice strange things here and there. A glitch on time usage, or whatever...
flok

Re: What does your program do here?

Post by flok »

Code: Select all

2015-08-13 11:53:15.128063 info string regular: 64 tpt-locks, mask: 3f, groups: 10398378, entries: 83187024, hash group size: 96, has entry size: 12
2015-08-13 11:53:15.128287 NOT loading TPT contents from disk: does not exist?
2015-08-13 11:53:15.135316 OUT: info string 2 thread groups
2015-08-13 11:53:15.135357 OUT: info string Embla v0.2
2015-08-13 11:53:15.135399 OUT: info string info string initial move list size: 36
2015-08-13 11:53:15.135433 OUT: info string info string 12 threads
2015-08-13 11:53:17.395190 IN: position fen 5k2/3R4/3p1P2/2pP1P2/3p2B1/3n1K2/8/7r w - -
2015-08-13 11:53:22.051700 IN: go movetime 301456
2015-08-13 11:53:22.051979 OUT: info string time: 301456
2015-08-13 11:53:22.052159 OUT: info string depth: 0
2015-08-13 11:53:22.052395 OUT: info string timerThread: sleep 301456ms
2015-08-13 11:53:22.052696 OUT: info string current id depth: 1
2015-08-13 11:53:22.052938 OUT: info string time left: 301.455039, prev time: -1.000000
2015-08-13 11:53:22.053903 OUT: info string iteration 1 took 0.001155, 28568.01nps
2015-08-13 11:53:22.053930 OUT: info string D7-D6 [regular]     (13      with [-32767,32767])
2015-08-13 11:53:22.053944 OUT: info string current id depth: 2
2015-08-13 11:53:22.053959 OUT: info string time left: 301.453823, prev time: 0.001155
2015-08-13 11:53:22.059189 OUT: info string iteration 2 took 0.005223, 53608.67nps
2015-08-13 11:53:22.059224 OUT: info string D7-D6 [regular]     (-14     with [-87,113])
2015-08-13 11:53:22.059239 OUT: info string current id depth: 3
2015-08-13 11:53:22.059253 OUT: info string time left: 301.448529, prev time: 0.005223
2015-08-13 11:53:22.104363 OUT: info string iteration 3 took 0.045091, 68306.44nps
2015-08-13 11:53:22.104421 OUT: info string F3-E4 [regular]     (-36     with [-114,86])
2015-08-13 11:53:22.104437 OUT: info string current id depth: 4
2015-08-13 11:53:22.104451 OUT: info string time left: 301.403330, prev time: 0.045091
2015-08-13 11:53:22.121464 OUT: info string iteration 4 took 0.016645, 61339.03nps
2015-08-13 11:53:22.122186 OUT: info string F3-E4 [regular]     (64      with [-136,64])
2015-08-13 11:53:22.122450 OUT: info string current id depth: 4
2015-08-13 11:53:22.122720 OUT: info string time left: 301.385298, prev time: 0.016645
2015-08-13 11:53:22.176285 OUT: info string iteration 4 took 0.053780, 56805.42nps
2015-08-13 11:53:22.176371 OUT: info string F3-E4 [regular]     (64      with [-136,32767])
2015-08-13 11:53:22.176397 OUT: info string current id depth: 5
2015-08-13 11:53:22.176424 OUT: info string time left: 301.331361, prev time: 0.053780
2015-08-13 11:53:22.225592 OUT: info string iteration 5 took 0.048816, 66084.94nps
2015-08-13 11:53:22.226304 OUT: info string F3-G2 [regular]     (164     with [-36,164])
2015-08-13 11:53:22.226556 OUT: info string current id depth: 5
2015-08-13 11:53:22.226828 OUT: info string time left: 301.281189, prev time: 0.048816
2015-08-13 11:53:22.255141 OUT: info string iteration 5 took 0.028528, 59240.10nps
2015-08-13 11:53:22.255207 OUT: info string F3-G2 [regular]     (164     with [-36,32767])
2015-08-13 11:53:22.255233 OUT: info string current id depth: 6
2015-08-13 11:53:22.255260 OUT: info string time left: 301.252525, prev time: 0.028528
2015-08-13 11:53:22.257493 OUT: info string iteration 6 took 0.002228, 32764.49nps
2015-08-13 11:53:22.257532 OUT: info string F3-G2 [regular]     (264     with [64,264])
2015-08-13 11:53:22.257557 OUT: info string current id depth: 6
2015-08-13 11:53:22.257583 OUT: info string time left: 301.250202, prev time: 0.002228
2015-08-13 11:53:22.263644 OUT: info string iteration 6 took 0.005810, 34251.16nps
2015-08-13 11:53:22.264339 OUT: info string F3-G2 [regular]     (549     with [64,32767])
2015-08-13 11:53:22.264619 OUT: info string current id depth: 7
2015-08-13 11:53:22.264888 OUT: info string time left: 301.243128, prev time: 0.005810
2015-08-13 11:53:22.320783 OUT: info string iteration 7 took 0.055834, 56202.26nps
2015-08-13 11:53:22.321263 OUT: info string F3-G2 [regular]     (449     with [449,649])
2015-08-13 11:53:22.321433 OUT: info string current id depth: 7
2015-08-13 11:53:22.321620 OUT: info string time left: 301.186320, prev time: 0.055834
2015-08-13 11:53:22.396991 OUT: info string iteration 7 took 0.075255, 47265.86nps
2015-08-13 11:53:22.397485 OUT: info string F3-E2 [regular]     (355     with [-32767,649])
2015-08-13 11:53:22.397660 OUT: info string current id depth: 8
2015-08-13 11:53:22.397837 OUT: info string time left: 301.110095, prev time: 0.075255
2015-08-13 11:53:22.545274 OUT: info string iteration 8 took 0.147283, 69607.45nps
2015-08-13 11:53:22.545869 OUT: info string F3-G2 [regular]     (255     with [255,455])
2015-08-13 11:53:22.546076 OUT: info string current id depth: 8
2015-08-13 11:53:22.546293 OUT: info string time left: 300.961673, prev time: 0.147283
2015-08-13 11:53:22.921891 OUT: info string iteration 8 took 0.375766, 91509.07nps
2015-08-13 11:53:22.921949 OUT: info string F3-G3 [regular]     (16      with [-32767,455])
2015-08-13 11:53:22.921964 OUT: info string current id depth: 9
2015-08-13 11:53:22.921979 OUT: info string time left: 300.585803, prev time: 0.375766
2015-08-13 11:53:23.986740 OUT: info string iteration 9 took 1.064744, 117456.40nps
2015-08-13 11:53:23.986798 OUT: info string F3-G2 [regular]     (-84     with [-84,116])
2015-08-13 11:53:23.986814 OUT: info string current id depth: 9
2015-08-13 11:53:23.986829 OUT: info string time left: 299.520953, prev time: 1.064744
2015-08-13 11:53:25.394276 OUT: info string iteration 9 took 1.407431, 116605.37nps
2015-08-13 11:53:25.394333 OUT: info string F3-G3 [regular]     (-30     with [-32767,116])
2015-08-13 11:53:25.394349 OUT: info string current id depth: 10
2015-08-13 11:53:25.394365 OUT: info string time left: 298.113417, prev time: 1.407431
2015-08-13 11:53:28.368821 OUT: info string iteration 10 took 2.974433, 169993.41nps
2015-08-13 11:53:28.368899 OUT: info string G4-H5 [regular]     (32767   with [-130,70])
2015-08-13 11:53:28.368929 OUT: info string checkmate detected at 10
2015-08-13 11:53:28.368958 OUT: info string current id depth: 10
2015-08-13 11:53:28.368979 OUT: info string time left: 295.138804, prev time: 2.974433
2015-08-13 11:53:30.619029 OUT: info string iteration 10 took 2.250034, 128366.50nps
2015-08-13 11:53:30.619089 OUT: info string G4-H5 [regular]     (40      with [-130,32767])
2015-08-13 11:53:30.619105 OUT: info string current id depth: 11
2015-08-13 11:53:30.619121 OUT: info string time left: 292.888661, prev time: 2.250034
2015-08-13 11:53:44.869965 OUT: info string iteration 11 took 14.250827, 180072.85nps
2015-08-13 11:53:44.870023 OUT: info string D7-B7 [regular]     (-49     with [-60,140])
2015-08-13 11:53:44.870039 OUT: info string current id depth: 12
2015-08-13 11:53:44.870054 OUT: info string time left: 278.637728, prev time: 14.250827
2015-08-13 11:54:07.472768 OUT: info string iteration 12 took 22.602696, 194434.02nps
2015-08-13 11:54:07.472824 OUT: info string F3-G2 [regular]     (-14     with [-149,51])
2015-08-13 11:54:07.472841 OUT: info string current id depth: 13
2015-08-13 11:54:07.472856 OUT: info string time left: 256.034926, prev time: 22.602696
2015-08-13 11:55:57.069000 OUT: info string iteration 13 took 109.596128, 201660.19nps
2015-08-13 11:55:57.069055 OUT: info string D7-C7 [regular]     (-34     with [-114,86])
2015-08-13 11:55:57.069070 OUT: info string current id depth: 14
2015-08-13 11:55:57.069085 OUT: info string time left: 146.438697, prev time: 109.596128
2015-08-13 11:55:57.069099 OUT: info string abort search with 146.438697 time left
2015-08-13 11:55:57.069126 OUT: info string nps 194879.638761 (q: 12982601, 17227123)
2015-08-13 11:55:57.069148 OUT: info string info string qtpt 0, tpt 4641321
2015-08-13 11:55:57.069145 OUT: info string timerThread: aborted by flag
2015-08-13 11:55:57.069193 OUT: info string timerThread end
2015-08-13 11:55:57.069233 OUT: info score cp -34
2015-08-13 11:55:57.069252 OUT: bestmove d7c7