How to disable book/learning in Prodeo 2.6

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

How to disable book/learning in Prodeo 2.6

Post by Ferdy »

Downloaded Prodeo 2.6
execute prodeo.exe in console, type xboard, new, st 10 and go. Then it replies immediately with

Code: Select all

move e2e4
How to disable its book usage and/or perhaps learning?

According to readme.txt
Hash Table
==========

. You can increase (or decrease) the Hash Table size by editing the
WB2UCI.ENG file. Modify the "w4" item of the parameter:

Program = prodeo.exe w4 prodeo.eng

into: w0,w1,w2,w3,w4,w5,w6,w7,w8,w9,wa,wb,wc or wd

w0= 16Mb | w1= 48Mb | w2= 64Mb | w3= 96Mb | w4= 128Mb
w5= 192Mb | w6= 256Mb | w7= 384Mb | w8= 512Mb | w9= 768Mb
wa= 8Mb | wb= 4Mb | wc= 2Mb | wd= 1Mb

Save the file and restart the program. The change is permanent.

. You can turn off ProDeo's opening book by removing the ";" character
from the parameter: ; InitString = BookOff/n
But in this case, I am not using WB2UCI.ENG.
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: How to disable book/learning in Prodeo 2.6

Post by Rebel »

Use the WB command BookOff or add the below parameter to the PRODEO.ENG file in the PERSONAL folder.

[OPENING BOOK = OFF]

MEA for WB in the make?

8-)
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: How to disable book/learning in Prodeo 2.6

Post by Ferdy »

Rebel wrote:Use the WB command BookOff or add the below parameter to the PRODEO.ENG file in the PERSONAL folder.

[OPENING BOOK = OFF]

MEA for WB in the make?

8-)
Using [OPENING BOOK = OFF] does not work. It still move instantly after go in start position. But perhaps this is not an issue since most test positions are different from standard start position.

I have not tried BookOff yet

Yes I am working on MEA.

It seemed Prodeo does not follow the st command. It seemed it is fixed at 10 seconds or so.
Prodeo_2.6_log.txt

Code: Select all

[ 2018-03-20 20:11:02,630 -  WARNING ] Run engine
[ 2018-03-20 20:11:02,630 -    DEBUG ] xboard
[ 2018-03-20 20:11:02,630 -    DEBUG ] post
[ 2018-03-20 20:11:02,630 -    DEBUG ] new
[ 2018-03-20 20:11:02,630 -  WARNING ] 

[ 2018-03-20 20:11:02,630 -  WARNING ] Pos 1
[ 2018-03-20 20:11:02,630 -  WARNING ] id STS(v8.0) AKPC.001
[ 2018-03-20 20:11:02,630 -  WARNING ] FEN: 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-20 20:11:02,630 -  WARNING ] Solutions: g5=10, Bd4=4, Kg8=4, Rd8=3
[ 2018-03-20 20:11:02,630 -    DEBUG ] new
[ 2018-03-20 20:11:02,630 -    DEBUG ] hard
[ 2018-03-20 20:11:02,630 -    DEBUG ] easy
[ 2018-03-20 20:11:02,630 -    DEBUG ] setboard 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-20 20:11:02,630 -    DEBUG ] st 1
[ 2018-03-20 20:11:02,630 -    DEBUG ] go
[ 2018-03-20 20:11:11,842 -    DEBUG ] move b6d4
[ 2018-03-20 20:11:11,842 -  WARNING ] bestmove: Bd4
[ 2018-03-20 20:11:11,842 -  WARNING ] Score for this test: 4
[ 2018-03-20 20:11:11,842 -  WARNING ] Total Score update: 4 / 10 (0.400)
[ 2018-03-20 20:11:11,842 -  WARNING ] 
That

Code: Select all

[ 2018-03-20 20:11:02,630 -    DEBUG ] go
[ 2018-03-20 20:11:11,842 -    DEBUG ] move b6d4
is more than 1 sec, (9.212s)

The other method to get close to time per move setting is by level command which I will try next.

Myrddin looks fine with st command.
Myrddin_0.87_log.txt

Code: Select all

[ 2018-03-20 19:54:22,877 -  WARNING ] Run engine
[ 2018-03-20 19:54:22,877 -    DEBUG ] xboard
[ 2018-03-20 19:54:22,877 -    DEBUG ] protover 2
[ 2018-03-20 19:54:22,938 -    DEBUG ] feature done=1
[ 2018-03-20 19:54:22,938 -    DEBUG ] post
[ 2018-03-20 19:54:22,938 -    DEBUG ] new
[ 2018-03-20 19:54:22,938 -  WARNING ] 

[ 2018-03-20 19:54:22,938 -  WARNING ] Pos 1
[ 2018-03-20 19:54:22,938 -  WARNING ] id STS(v8.0) AKPC.001
[ 2018-03-20 19:54:22,938 -  WARNING ] FEN: 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-20 19:54:22,938 -  WARNING ] Solutions: g5=10, Bd4=4, Kg8=4, Rd8=3
[ 2018-03-20 19:54:22,938 -    DEBUG ] new
[ 2018-03-20 19:54:22,938 -    DEBUG ] hard
[ 2018-03-20 19:54:22,938 -    DEBUG ] easy
[ 2018-03-20 19:54:22,938 -    DEBUG ] setboard 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-20 19:54:22,938 -    DEBUG ] st 1.0
[ 2018-03-20 19:54:22,938 -    DEBUG ] go
[ 2018-03-20 19:54:23,984 -    DEBUG ] move b6d4
[ 2018-03-20 19:54:23,984 -  WARNING ] bestmove: Bd4
[ 2018-03-20 19:54:23,984 -  WARNING ] Score for this test: 4
[ 2018-03-20 19:54:23,984 -  WARNING ] Total Score update: 4 / 10 (0.400)
[ 2018-03-20 19:54:23,984 -  WARNING ] 

[ 2018-03-20 19:54:23,984 -  WARNING ] Pos 2
[ 2018-03-20 19:54:23,984 -  WARNING ] id STS(v8.0) AKPC.002
[ 2018-03-20 19:54:23,984 -  WARNING ] FEN: 1r1qr1k1/p5b1/2p2ppp/3p4/1Pp5/P1Nn1Q2/3BN1PP/R4RK1 b - - 0 1
[ 2018-03-20 19:54:23,984 -  WARNING ] Solutions: f5=10, a5=6, d4=7, Rb7=5
[ 2018-03-20 19:54:23,984 -    DEBUG ] new
[ 2018-03-20 19:54:23,984 -    DEBUG ] hard
[ 2018-03-20 19:54:23,984 -    DEBUG ] easy
[ 2018-03-20 19:54:23,984 -    DEBUG ] setboard 1r1qr1k1/p5b1/2p2ppp/3p4/1Pp5/P1Nn1Q2/3BN1PP/R4RK1 b - - 0 1
[ 2018-03-20 19:54:23,984 -    DEBUG ] st 1.0
[ 2018-03-20 19:54:23,984 -    DEBUG ] go
[ 2018-03-20 19:54:25,029 -    DEBUG ] move d5d4
[ 2018-03-20 19:54:25,029 -  WARNING ] bestmove: d4
[ 2018-03-20 19:54:25,029 -  WARNING ] Score for this test: 7
[ 2018-03-20 19:54:25,029 -  WARNING ] Total Score update: 11 / 20 (0.550)
[ 2018-03-20 19:54:25,029 -  WARNING ] 
Crafty is also fine.
Crafty_25.2_log.txt

Code: Select all

[ 2018-03-20 20:04:15,411 -  WARNING ] Run engine
[ 2018-03-20 20:04:15,411 -    DEBUG ] xboard
[ 2018-03-20 20:04:15,411 -    DEBUG ] protover 2
[ 2018-03-20 20:04:15,444 -    DEBUG ] feature done=1
[ 2018-03-20 20:04:15,444 -    DEBUG ] post
[ 2018-03-20 20:04:15,444 -    DEBUG ] new
[ 2018-03-20 20:04:15,444 -  WARNING ] 

[ 2018-03-20 20:04:15,444 -  WARNING ] Pos 1
[ 2018-03-20 20:04:15,444 -  WARNING ] id STS(v8.0) AKPC.001
[ 2018-03-20 20:04:15,444 -  WARNING ] FEN: 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-20 20:04:15,444 -  WARNING ] Solutions: g5=10, Bd4=4, Kg8=4, Rd8=3
[ 2018-03-20 20:04:15,444 -    DEBUG ] new
[ 2018-03-20 20:04:15,444 -    DEBUG ] hard
[ 2018-03-20 20:04:15,444 -    DEBUG ] easy
[ 2018-03-20 20:04:15,444 -    DEBUG ] setboard 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-20 20:04:15,444 -    DEBUG ] st 1
[ 2018-03-20 20:04:15,444 -    DEBUG ] go
[ 2018-03-20 20:04:16,457 -    DEBUG ] move a5
[ 2018-03-20 20:04:16,457 -  WARNING ] Score for this test: 0
[ 2018-03-20 20:04:16,457 -  WARNING ] Total Score update: 0 / 10 (0.000)
[ 2018-03-20 20:04:16,457 -  WARNING ] 
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: How to disable book/learning in Prodeo 2.6

Post by Ferdy »

Use level if st is not supported. Example at movetime 15s, using a period of 40 moves, level 40 10 0, that is 10 minutes in 40 moves or 10*60/40 = 15s.
[ 2018-03-21 01:26:43,056 - INFO ] Run engine Prodeo 2.6
[ 2018-03-21 01:26:43,058 - DEBUG ] >> xboard
[ 2018-03-21 01:26:43,058 - DEBUG ] >> post
[ 2018-03-21 01:26:43,059 - DEBUG ] >> new
[ 2018-03-21 01:26:43,059 - INFO ]

[ 2018-03-21 01:26:43,059 - INFO ] Pos 1
[ 2018-03-21 01:26:43,059 - INFO ] id STS(v8.0) AKPC.001
[ 2018-03-21 01:26:43,059 - INFO ] FEN: 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-21 01:26:43,059 - INFO ] Solutions: g5=10, Bd4=4, Kg8=4, Rd8=3
[ 2018-03-21 01:26:43,059 - DEBUG ] >> new
[ 2018-03-21 01:26:43,059 - DEBUG ] >> hard
[ 2018-03-21 01:26:43,059 - DEBUG ] << easy
[ 2018-03-21 01:26:43,059 - DEBUG ] >> setboard 1qr2k1r/pb3pp1/1b2p2p/3nP3/1p6/3B2QN/PP3PPP/R1BR2K1 b - - 0 1
[ 2018-03-21 01:26:43,059 - DEBUG ] >> level 40 10 0
[ 2018-03-21 01:26:43,059 - DEBUG ] >> time 60000

[ 2018-03-21 01:26:43,059 - DEBUG ] >> go
[ 2018-03-21 01:26:44,289 - DEBUG ] << 1 -469 0 14 c8c2 d3c2
[ 2018-03-21 01:26:45,276 - DEBUG ] << 11 59 0 2360922 b6d4 d1e1 d5e7 g1h1 e7f5 d3f5 e6f5 f2f3 c8e8 f3f4 f8g8 g3d3 b8a8
[ 2018-03-21 01:26:56,486 - DEBUG ] << var:curmov=14 40 42 b8d6
[ 2018-03-21 01:26:56,486 - DEBUG ] << move b6d4
[ 2018-03-21 01:26:56,486 - INFO ] elapsed(ms) since go: 13427
[ 2018-03-21 01:26:56,486 - INFO ] bestmove: Bd4
[ 2018-03-21 01:26:56,486 - INFO ] Score for this test: 4
[ 2018-03-21 01:26:56,486 - INFO ] Total Score update: 4 / 10 (0.400)
[ 2018-03-21 01:26:56,486 - INFO ]
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: How to disable book/learning in Prodeo 2.6

Post by Rebel »

Ferdy wrote:
Rebel wrote:Use the WB command BookOff or add the below parameter to the PRODEO.ENG file in the PERSONAL folder.

[OPENING BOOK = OFF]

MEA for WB in the make?

8-)
Using [OPENING BOOK = OFF] does not work. It still move instantly after go in start position. But perhaps this is not an issue since most test positions are different from standard start position.
Parameter indeed stopped working somewhere between versions :wink:
I have not tried BookOff yet
Works, checked.
Yes I am working on MEA.

It seemed Prodeo does not follow the st command. It seemed it is fixed at 10 seconds or so.
fixed time is part of setlevel, st is not supported.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: How to disable book/learning in Prodeo 2.6

Post by Ovyron »

Rebel wrote:Parameter indeed stopped working somewhere between versions :wink:
Hmm, does it smell like some new incoming bugfix version? :)

I'm wondering if you're saving some big surprise for us for some PD 3.0...
Your beliefs create your reality, so be careful what you wish for.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: How to disable book/learning in Prodeo 2.6

Post by Ferdy »

Rebel wrote:
Ferdy wrote:
Rebel wrote:Use the WB command BookOff or add the below parameter to the PRODEO.ENG file in the PERSONAL folder.

[OPENING BOOK = OFF]

MEA for WB in the make?

8-)
Using [OPENING BOOK = OFF] does not work. It still move instantly after go in start position. But perhaps this is not an issue since most test positions are different from standard start position.
Parameter indeed stopped working somewhere between versions :wink:
I have not tried BookOff yet
Works, checked.
Yes I am working on MEA.

It seemed Prodeo does not follow the st command. It seemed it is fixed at 10 seconds or so.
fixed time is part of setlevel, st is not supported.
Yes BookOff worked.

Currently the command line would look like this.

Code: Select all

mea.exe --engine prodeo.exe --name "Prodeo 2.6" --protocol xboard --protover 1 --stmode 0 ... 
Then I can revise the code to say

Code: Select all

if 'Prodeo' in name&#58;
    send&#40;'BookOff')
But if you can fix the [OPENING BOOK = OFF] then it would be better.

How to use "setlevel" to make Prodeo search at fixed time?
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: How to disable book/learning in Prodeo 2.6

Post by Rebel »

Ferdy wrote: Currently the command line would look like this.

Code: Select all

mea.exe --engine prodeo.exe --name "Prodeo 2.6" --protocol xboard --protover 1 --stmode 0 ... 
Then I can revise the code to say

Code: Select all

if 'Prodeo' in name&#58;
    send&#40;'BookOff')
But if you can fix the [OPENING BOOK = OFF] then it would be better.
I will do that.
How to use "setlevel" to make Prodeo search at fixed time?
setlevel mode seconds

mode=2 for fixed time.

But I will implement the st command.

Things are not completely WB compatible since the original REBEL 12 of 2003 was only meant to run under Chesspartner.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: How to disable book/learning in Prodeo 2.6

Post by Ferdy »

Rebel wrote:But I will implement the st command.
That is better.

This is what I have so far. If engine does not support st command, it will use level command. Engine should support setboard command.

Code: Select all

A. Processor
Brand          &#58; Intel&#40;R&#41; Core&#40;TM&#41; i7-2600K CPU @ 3.40GHz
Arch           &#58; X86_64
Count          &#58; 8

B. Engine settings
Threads        &#58; 1
Hash &#40;mb&#41;      &#58; 128
Time&#40;s&#41;/pos    &#58; 3.0

C. Test set
Filename       &#58; STS&#91;8.0&#93;Advancementoff-g-hpawnsII.epd
NumPos         &#58; 100

D. Results
Engine                   &#58; Rating   Top1  MaxTop1  Top1Rate  Score  MaxScore  ScoreRate
Crafty 25.2              &#58;   2928     65      100     0.650    760      1000      0.760
Tucano 7.00              &#58;   2872     62      100     0.620    725      1000      0.725
The Baron 3.41           &#58;   2823     54      100     0.540    677      1000      0.677
Scorpio 2.81 MCTS        &#58;   2910     47      100     0.470    648      1000      0.648
Prodeo 2.6               &#58;   2700     48      100     0.480    622      1000      0.622
Danasah 7.0              &#58;   2588     45      100     0.450    602      1000      0.602
Yace 0.99.87             &#58;   2505     33      100     0.330    558      1000      0.558
Myrddin 0.87             &#58;   2377     23      100     0.230    438      1000      0.438
I am still looking and trying other WB engines. I will release a beta tomorrow.

Prodeo on level command is severely handicapped.

Code: Select all

&#91; 2018-03-21 01&#58;48&#58;31,380 -     INFO &#93; elapsed&#40;ms&#41; since go&#58; 2050
&#91; 2018-03-21 01&#58;48&#58;31,380 -     INFO &#93; bestmove&#58; h4
&#91; 2018-03-21 01&#58;48&#58;31,380 -     INFO &#93; Top 1 move!!
&#91; 2018-03-21 01&#58;48&#58;31,380 -     INFO &#93; Score for this test&#58; 10
&#91; 2018-03-21 01&#58;48&#58;31,380 -     INFO &#93; Total Score update&#58; 622 / 1000 &#40;0.622&#41;
&#91; 2018-03-21 01&#58;48&#58;31,380 -    DEBUG &#93; >> quit
&#91; 2018-03-21 01&#58;48&#58;31,394 -     INFO &#93; 

&#91; 2018-03-21 01&#58;48&#58;31,411 -     INFO &#93; Time allocation  &#58; BAD!! spending less time
&#91; 2018-03-21 01&#58;48&#58;31,411 -     INFO &#93; ExpectedTime     &#58; 300.0s
&#91; 2018-03-21 01&#58;48&#58;31,411 -     INFO &#93; ActualTime       &#58; 199.7s
&#91; 2018-03-21 01&#58;48&#58;31,411 -     INFO &#93; TimeMargin/pos   &#58; 0.2s
&#91; 2018-03-21 01&#58;48&#58;31,411 -     INFO &#93; TimeMarginTotal  &#58; 20.0s
&#91; 2018-03-21 01&#58;48&#58;32,533 -     INFO &#93; Writing analysis results ...
&#91; 2018-03-21 01&#58;48&#58;33,657 -     INFO &#93; Done!!
&#91; 2018-03-21 01&#58;48&#58;33,657 -     INFO &#93; move Prodeo_2.6_log.txt to log dir