[Scidvspc-devel] Patch2: MultiPV traffic lights for boards, inturn Enabled for Analysis Board
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: C H. M. <han...@gm...> - 2024-12-25 23:58:57
|
Hi, Eval bar gives position score wrt the main pv only, while with the faster comps and engines and thus in turn multipv, there is additional info like how good or bad or tricky a position is etc. Inturn to show the same to user in a simple and straightforward way, have added generic support for a additional bar next to eval bar, which shows the scores wrt all the PVs in a MultiPV in terms of Red-Yellow-Green traffic light summary wrt each PV, next to one another. So by looking at the color pattern one can get a quick hint has to whether the position is good or bad for white or black and also how sharp or not the position may be and so. The same is enabled for AnalysisBoard, which will be driven from the corresponding engine's MultiPV. On Thu, Dec 26, 2024 at 5:13 AM C Hanish Menon <han...@gm...> wrote: > > Hi, > > This patch adds generic support for showing eval bar wrt any specified > board. Inturn the same is enabled for analysis boards and the main > pv's score is shown as the evalbar. > > Have implemented two different versions of eval bar, one is a simple > linear one and another is a combination of linear+logarithmic one. > > The simple linear version shows the eval bar linearly wrt -4 to 4 with > clipping of values beyond it > > The linear+log version shows a linear movement wrt -1 to 1 which maps > to being adjacent to the 4 and 5 rows, and a logarithmic movement for > beyond. The log values are mapped such that crossing 3 and 6 rows map > to be equivalent to gaining or losing a minor piece and 2 and 7 rows > map to gaining or losing 10 points, and remaining beyond. > > Currently I havent tried to enable this for MainBoard. As one may want > to add an option entry to menu or buttons bar or ... > > -- > Keep ;-) > HanishKVC -- Keep ;-) HanishKVC |