I think that it is correct.
I think that skip all moves with relative score below -0.1 is not a good idea and if you want to have longer lines in the book you can reduce black move penalty to lower number than 0.1 pawns and closer to 0
The minimum relative score of -0.1 is settable in the program, so this is interesting to experiment. The black penalty is also settable. Next I will implement the stopping rule for line score. Make this settable too. Like if line score is below -0.50, don't expand.
Do you have other output preferences. Or do you have other thing to get implemented?
I will send you the python source code when I am done.
I think that the stopping rule basically should be dependent on time and there should be no limit for line score except the limit that is derived by time.
It can be something like
1)add to the book all lines with score>-0.01
if the time to build the book is not finished
2)add to the book all lines with score>-0.02
if the time to build the book is not finished
3)add to the book all lines with score>-0.03
and continue in this way.
if the time to build the book is not finished
24)add to the book all lines with score>-0.24
not that after building a book the user may later expand the book and if there was no time to step 24 but the program finished step 23 the program may continue later from step 24
I think that it is correct.
I think that skip all moves with relative score below -0.1 is not a good idea and if you want to have longer lines in the book you can reduce black move penalty to lower number than 0.1 pawns and closer to 0
The minimum relative score of -0.1 is settable in the program, so this is interesting to experiment. The black penalty is also settable. Next I will implement the stopping rule for line score. Make this settable too. Like if line score is below -0.50, don't expand.
Do you have other output preferences. Or do you have other thing to get implemented?
I will send you the python source code when I am done.
I think that the stopping rule basically should be dependent on time and there should be no limit for line score except the limit that is derived by time.
It can be something like
1)add to the book all lines with score>-0.01
if the time to build the book is not finished
2)add to the book all lines with score>-0.02
if the time to build the book is not finished
3)add to the book all lines with score>-0.03
and continue in this way.
if the time to build the book is not finished
24)add to the book all lines with score>-0.24
not that after building a book the user may later expand the book and if there was no time to step 24 but the program finished step 23 the program may continue later from step 24
The time factor currently in the prgoram is based on movetime per position. I think this controls the quality of the book moves.
If analysis is set to more than 1 pv, I multiply the movetime by 16. I will make this settable too.
Another option that controls expansion is the max ply. This is settable too. With max ply and movetime known you will be able to estimate the maximum time of building the book.
Greg Strong wrote:If you wish to discuss what is the best response to 1. e5, and I think that's a fine topic for conversation, but I would suggest starting a new thread would be more appropriate.
I'd agree if this thread was linear, but the reason we have to use a reply button specific to a post is that the forum software allows branches inside the threads, so they can have their own topics inside them. People using thread view can see these branches and not click them if they're not interested, while the main conversation of the thread continues on the main branch, this allows for several related topics to be discussed on a single thread.
The description of the subforum is "Discussion of anything and everything relating to chess playing software and machines", it's not like I was bringing some politics on here, religion or other crap, you made a comment about a chess move, and I made an inquiry about it. It's not like all threads have to create new threads about every little subject that appears on it, if it was that way we'd probably have 40 different topics coming from Lyudmil Tsvetkov's books threads, instead of 2, but those conversations can happen in the same thread.
It's not derailing, the train has many wagons and we can have different related conversations in each of them, while the main branch of the thread continues its way.
No. If the threading functionality was so great as you suggest, we could have only one topic in the General Topics section and discuss everything there. But instead we have a "New Topic" button for ... for the purpose of creating new topics! It keeps things organized. It is a courtesy to others to try to stay on topic.
I would have ignored this tangent but for the fact that you do this ALL THE TIME. Don't get me wrong - I don't think you are maliciously trying to derail the conversation and certainly don't think you are a "troll." What I think is that you have a very, very, VERY strong desire to post, and very little self-control. All the time. In every conversation. You must post. Something. It's like you just can't help yourself. This discussion was about using engines for automated generation of opening books. You have nothing to contribute to that conversation. So you waited for an opening, and when I mentioned the Sicilian, that opened a tiny window for you to post something - anything - and post you shall at any opportunity.
My comment about the possible best reply of black was related, and on-topic with your comment that mentioned it.
Your comment about my behavior on the forum is completely unrelated to this topic or computer chess in general, so you're being guilty of what you accuss me of. You found a window to attack me, and used it.
Your beliefs create your reality, so be careful what you wish for.
I think that it is correct.
I think that skip all moves with relative score below -0.1 is not a good idea and if you want to have longer lines in the book you can reduce black move penalty to lower number than 0.1 pawns and closer to 0
The minimum relative score of -0.1 is settable in the program, so this is interesting to experiment. The black penalty is also settable. Next I will implement the stopping rule for line score. Make this settable too. Like if line score is below -0.50, don't expand.
Do you have other output preferences. Or do you have other thing to get implemented?
I will send you the python source code when I am done.
I think that the stopping rule basically should be dependent on time and there should be no limit for line score except the limit that is derived by time.
It can be something like
1)add to the book all lines with score>-0.01
if the time to build the book is not finished
2)add to the book all lines with score>-0.02
if the time to build the book is not finished
3)add to the book all lines with score>-0.03
and continue in this way.
if the time to build the book is not finished
24)add to the book all lines with score>-0.24
not that after building a book the user may later expand the book and if there was no time to step 24 but the program finished step 23 the program may continue later from step 24
The time factor currently in the prgoram is based on movetime per position. I think this controls the quality of the book moves.
If analysis is set to more than 1 pv, I multiply the movetime by 16. I will make this settable too.
Another option that controls expansion is the max ply. This is settable too. With max ply and movetime known you will be able to estimate the maximum time of building the book.
The time is not dependent only on the movetime per position but also on the number of positions in book.
I prefer to have no max ply.
lines are practically not going to be too long because the score of long lines is lower than the score of short lines in case that there are no big mistakes.
I think that it is correct.
I think that skip all moves with relative score below -0.1 is not a good idea and if you want to have longer lines in the book you can reduce black move penalty to lower number than 0.1 pawns and closer to 0
The minimum relative score of -0.1 is settable in the program, so this is interesting to experiment. The black penalty is also settable. Next I will implement the stopping rule for line score. Make this settable too. Like if line score is below -0.50, don't expand.
Do you have other output preferences. Or do you have other thing to get implemented?
I will send you the python source code when I am done.
I think that the stopping rule basically should be dependent on time and there should be no limit for line score except the limit that is derived by time.
It can be something like
1)add to the book all lines with score>-0.01
if the time to build the book is not finished
2)add to the book all lines with score>-0.02
if the time to build the book is not finished
3)add to the book all lines with score>-0.03
and continue in this way.
if the time to build the book is not finished
24)add to the book all lines with score>-0.24
not that after building a book the user may later expand the book and if there was no time to step 24 but the program finished step 23 the program may continue later from step 24
The time factor currently in the prgoram is based on movetime per position. I think this controls the quality of the book moves.
If analysis is set to more than 1 pv, I multiply the movetime by 16. I will make this settable too.
Another option that controls expansion is the max ply. This is settable too. With max ply and movetime known you will be able to estimate the maximum time of building the book.
The time is not dependent only on the movetime per position but also on the number of positions in book.
I prefer to have no max ply.
lines are practically not going to be too long because the score of long lines is lower than the score of short lines in case that there are no big mistakes.
The algo currently that I have is depth-first search. It will examine first the full given max ply, take backs and continue on the next best move of white.
Your approach is breadth-first search. I will think about it.
It would output a pgn file in append mode with option for white and black multipv. If you want to build a book for black with best 2 replies, you can use
Could we have the option of feeding it a pgn with multiple lines ?
The script would continue from the last move of the line.
And the pgn output will list the games from move 1 ?
Could we have the option of feeding it a pgn with multiple lines ?
The script would continue from the last move of the line.
And the pgn output will list the games from move 1 ?