PGN score annotation tags wv and bv

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

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12541
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

PGN score annotation tags wv and bv

Post by Dann Corbit »

I have seen games with score annotation tags of wv and bv.

For instance, here is a game that uses wv from TCEC:

Code: Select all

[Event "TCEC Season 10 - Rapid"]
[Site "http://tcec.chessdom.com"]
[Date "2017.12.14"]
[Round "17"]
[White "Wasp 2.5"]
[Black "Andscacs 0.921"]
[Result "1/2-1/2"]
[BlackElo "3083"]
[ECO "C68"]
[EventDate "2017.12.08"]
[GameDuration "00:17:37"]
[Opening "Spanish: Exchange, Alapin Gambit"]
[PlyCount "28"]
[TerminationDetails "3-fold repetition"]
[TimeControl "900+10"]
[WhiteElo "2894"]

{ WhiteEngineOptions: Protocol=UCI; Hash=8192; Threads=43; OwnBook=false; Ponder=false;, BlackEngineOptions: Protocol=UCI; Hash=16384; Threads=43; OwnBook=false; Ponder=false; }
1. e4 { book } e5 { book } 2. Nf3 { book } Nc6 { book }
3. Bb5 { d=25, pd=a6, mt=00:00:56, tl=00:14:33, s=44762 kN/s, n=2528015952, pv=Bb5 a6 Bxc6 dxc6 O-O Qf6 d4 exd4 Bg5 Qd6 Qxd4 Qxd4 Nxd4 Bd6 Nc3 Ne7 Rad1 f6 Be3 O-O f3 Rd8 Nb3 b6 Bf4 Be6 Bxd6 Rxd6, tb=0, R50=49, wv=0.12, }
a6 { d=28, pd=Bxc6, mt=00:00:25, tl=00:15:04, s=41685 kN/s, n=1074029976, pv=a6 Bxc6 dxc6 O-O Bg4 d3 Bd6 Be3 Ne7 h3 Bh5 c3 f6 Nbd2 Bf7 d4 Ng6 dxe5 Nxe5 Nxe5 fxe5 c4 Qf6 Qc2 O-O c5 Be7 Rfd1 Rad8 b4 h6 Nf1 Rxd1 Rxd1 Bh5 g4 Bf7, tb=0, R50=49, wv=0.23, }
4. Bxc6 { d=26, pd=dxc6, mt=00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re1 Bh2+ Kh1 Be5+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
Bd6 { d=41, pd=Nxd3, mt=00:00:31, tl=00:11:53, s=41774 kN/s, n=1302165659, pv=Bd6 Nxd3 Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
10. Nxd3 { d=29, pd=Bh2+, mt=00:00:31, tl=00:08:52, s=56278 kN/s, n=1787191045, pv=Nxd3 Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
Bh2+ { d=63, pd=Kh1, mt=00:00:29, tl=00:11:33, s=52231 kN/s, n=1543705587, pv=Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
11. Kh1 { d=30, pd=Bg3+, mt=00:00:31, tl=00:08:31, s=61178 kN/s, n=1937903607, pv=Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
Bg3+ { d=67, pd=Kg1, mt=00:00:34, tl=00:11:09, s=49539 kN/s, n=1689632041, pv=Bg3+ Kg1 Bh2+, tb=0, R50=49, wv=0.00, }
12. Kg1 { d=33, pd=Bh2+, mt=00:00:31, tl=00:08:09, s=59429 kN/s, n=1877427378, pv=Kg1 Bh2+ Kh1, tb=0, R50=49, wv=0.00, }
Bh2+ { d=69, mt=00:00:29, tl=00:10:50, s=47630 kN/s, n=1388917875, pv=Bh2+, tb=0, R50=48, wv=0.00, }
13. Kh1 { d=31, pd=Bg3+, mt=00:00:31, tl=00:07:48, s=62712 kN/s, n=1975521660, pv=Kh1 Bg3+ Kg1, tb=0, R50=48, wv=0.00, }
Bg3+ { d=70, pd=Kg1, mt=00:00:35, tl=00:10:25, s=48036 kN/s, n=1689548080, pv=Bg3+ Kg1 Bh2+, tb=0, R50=47, wv=0.00, }
14. Kg1 { d=33, pd=Bh2+, mt=00:00:30, tl=00:07:27, s=58352 kN/s, n=1780376583, pv=Kg1 Bh2+, tb=0, R50=47, wv=0.00, }
Bh2+ { d=71, mt=00:00:58, tl=00:09:36, s=46120 kN/s, n=2690259375, pv=Bh2+, tb=0, R50=46, wv=0.00,, Draw by 3-fold repetition }
1/2-1/2

Who is the inventor of this nomenclature? Is it documented in a standard or at least a manual somewhere? I guess it comes from a chess GUI like Shredder or Chessbase, but I am only guessing. I looked in the pgn extension proposal:
http://www.enpassant.dk/chess/palview/enhancedpgn.htm
and did not find it there.

Also, I have seen games which use bv= also, but I cannot seem to find any right now. Can someone provide a sample game that uses bv for the score from black's perspective?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: PGN score annotation tags wv and bv

Post by Ferdy »

Dann Corbit wrote:I have seen games with score annotation tags of wv and bv.

For instance, here is a game that uses wv from TCEC:

Code: Select all

[Event "TCEC Season 10 - Rapid"]
[Site "http://tcec.chessdom.com"]
[Date "2017.12.14"]
[Round "17"]
[White "Wasp 2.5"]
[Black "Andscacs 0.921"]
[Result "1/2-1/2"]
[BlackElo "3083"]
[ECO "C68"]
[EventDate "2017.12.08"]
[GameDuration "00:17:37"]
[Opening "Spanish: Exchange, Alapin Gambit"]
[PlyCount "28"]
[TerminationDetails "3-fold repetition"]
[TimeControl "900+10"]
[WhiteElo "2894"]

{ WhiteEngineOptions: Protocol=UCI; Hash=8192; Threads=43; OwnBook=false; Ponder=false;, BlackEngineOptions: Protocol=UCI; Hash=16384; Threads=43; OwnBook=false; Ponder=false; }
1. e4 { book } e5 { book } 2. Nf3 { book } Nc6 { book }
3. Bb5 { d=25, pd=a6, mt=00:00:56, tl=00:14:33, s=44762 kN/s, n=2528015952, pv=Bb5 a6 Bxc6 dxc6 O-O Qf6 d4 exd4 Bg5 Qd6 Qxd4 Qxd4 Nxd4 Bd6 Nc3 Ne7 Rad1 f6 Be3 O-O f3 Rd8 Nb3 b6 Bf4 Be6 Bxd6 Rxd6, tb=0, R50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be5+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
hxg4 { d=38, pd=Nxe5, mt=00:00:41, tl=00:12:14, s=42535 kN/s, n=1783416152, pv=hxg4 Nxe5 Bd6 Nxg4 Nf6 Re1 Nxg4 Qxg4 Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
9. Nxe5 { d=27, pd=Bd6, mt=00:00:31, tl=00:09:14, s=53467 kN/s, n=1702459431, pv=Nxe5 Bd6 Nxg4 Nf6 Nxf6+ gxf6 Re1 Bh2+ Kh1 Be5+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
Bd6 { d=41, pd=Nxd3, mt=00:00:31, tl=00:11:53, s=41774 kN/s, n=1302165659, pv=Bd6 Nxd3 Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
10. Nxd3 { d=29, pd=Bh2+, mt=00:00:31, tl=00:08:52, s=56278 kN/s, n=1787191045, pv=Nxd3 Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
Bh2+ { d=63, pd=Kh1, mt=00:00:29, tl=00:11:33, s=52231 kN/s, n=1543705587, pv=Bh2+ Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
11. Kh1 { d=30, pd=Bg3+, mt=00:00:31, tl=00:08:31, s=61178 kN/s, n=1937903607, pv=Kh1 Bg3+ Kg1 Bh2+, tb=0, R50=50, wv=0.00, }
Bg3+ { d=67, pd=Kg1, mt=00:00:34, tl=00:11:09, s=49539 kN/s, n=1689632041, pv=Bg3+ Kg1 Bh2+, tb=0, R50=49, wv=0.00, }
12. Kg1 { d=33, pd=Bh2+, mt=00:00:31, tl=00:08:09, s=59429 kN/s, n=1877427378, pv=Kg1 Bh2+ Kh1, tb=0, R50=49, wv=0.00, }
Bh2+ { d=69, mt=00:00:29, tl=00:10:50, s=47630 kN/s, n=1388917875, pv=Bh2+, tb=0, R50=48, wv=0.00, }
13. Kh1 { d=31, pd=Bg3+, mt=00:00:31, tl=00:07:48, s=62712 kN/s, n=1975521660, pv=Kh1 Bg3+ Kg1, tb=0, R50=48, wv=0.00, }
Bg3+ { d=70, pd=Kg1, mt=00:00:35, tl=00:10:25, s=48036 kN/s, n=1689548080, pv=Bg3+ Kg1 Bh2+, tb=0, R50=47, wv=0.00, }
14. Kg1 { d=33, pd=Bh2+, mt=00:00:30, tl=00:07:27, s=58352 kN/s, n=1780376583, pv=Kg1 Bh2+, tb=0, R50=47, wv=0.00, }
Bh2+ { d=71, mt=00:00:58, tl=00:09:36, s=46120 kN/s, n=2690259375, pv=Bh2+, tb=0, R50=46, wv=0.00,, Draw by 3-fold repetition }
1/2-1/2

Who is the inventor of this nomenclature?
Probably Martin.
Is it documented in a standard or at least a manual somewhere?
Probably not documented as the comment is already clear, also this is part of a comment so practically you can do anything about it to suit your needs.
I guess it comes from a chess GUI like Shredder or Chessbase, but I am only guessing. I looked in the pgn extension proposal:
http://www.enpassant.dk/chess/palview/enhancedpgn.htm
and did not find it there.
ChessGui GUI can output similar to this. cutechess by Jeremy can probably also output something like this. Martin use this move comment info to show in different parts of a webpage including the charts.
Also, I have seen games which use bv= also, but I cannot seem to find any right now. Can someone provide a sample game that uses bv for the score from black's perspective?
When black to move just change the score sign and label it with bv. Writing a script to convert wv to bv or add bv altogether should not be difficult. Or modify the cutechess of Jeremy changing wv to bv, or request Matthias to modify chessgui output.

Jeremy's github repo.
https://github.com/jeremybernstein/cute ... its/master
There is verboseplus and nTCEC branches maybe one of them has wv. I have not tried compiling it.
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: PGN score annotation tags wv and bv

Post by Matthias Gemuh »

Dann Corbit wrote:I have seen games with score annotation tags of wv and bv.
I the idea "ev" for engines-point-of-view and "wv" for whites-point-of-view came from Martin TCEC. I had it only as a visual aid in ChessGUI, then Martin came along and urged me to put it in his PGN files.

I don't think I did any "bv".
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de