Re: [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-26 12:01:35
|
Hi Steve, The MultiPV-TrafficLights divides a single bar into multiple blocks based on the number of PVs in the multipv and inturn paints each block within it based on the score wrt the corresponding pv. Thus a single multicolor (if needed) bar, giving a summary status wrt all PVs in the MultiPVs in one go. In the image which you attached, because all the 4 PVs have similar scores around 0, the full bar is yellow. The PV1 disappearing is more of the separate eval bar, which is independent of the multipv-trafficlights and which is disappearing for some reason on your mac, which you are using. On linux I can see both the eval bar as well as the multipv trafficlights bar. I will check if the disappearing eval bar issue is there on windows (wsl). I am also attaching the image of a position, where all 3 colors and shades are there, bcas what will be the next move will decide whether the game will move/tend towards an advantageous position or balance or losing position. On Thu, Dec 26, 2024 at 9:52 AM Steve A <ste...@gm...> wrote: > > Hmmm. Just doesnt work on my mac. (I'll test it out later on my linux box., so sorry for being lazy) > PV1 is always disappearing, and only yellow shows up. > Pic attached > > I know knowing how sharp a line is is desirable, but i'm not sure traffic lights are the best solution. > > > > On Thu, Dec 26, 2024 at 9:58 AM C Hanish Menon <han...@gm...> wrote: >> >> 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 -- Keep ;-) HanishKVC |