lichess.org
Donate

Suggestion: Create new PGN tag pair for rating

There is this WhiteElo and BlackElo tag name in the pgn, which refer to the FIDE elo rating. I would like to suggest to replace this with WhiteGlicko2 and BlackGlicko2 considering that Lichess is using Glicko2 rating system.

Further I would also suggest to add the RD (rating deviation) next to the Glicko2 rating separated by a colon (:).

The use of colon is in the pgn standard see section 8.1 around 8th paragraph.

PGN standard link:
http://www.opensource.apple.com/source/Chess/Chess-109.0.3/Documentation/PGN-Standard.txt

Example.

[Event "Hourly Blitz Inc Arena"]
[Site ""]
[Date "2016.01.11"]
[White "A"]
[Black "Z"]
[Result "1-0"]
[WhiteGlicko2 "2000:70"]
[BlackGlicko2 "1700:95"]
[PlyCount "47"]
[Variant "Standard"]
[TimeControl "180+2"]
[ECO "A46"]
[Opening "Indian Game, Spielmann-Indian"]
[Termination "Normal"]
[Annotator "lichess.org"]

It is now easy to interpret the reliability of the rating of both players based alone on the tag section of the pgn. Expected rating change can also be calculated after reading the result.
#1 Players who download PGN files would like to be able to import them into existing chess software. Perhaps you may convince the authors of PGN to make an RFC so the standard may evolve in a coherent fashion. :-(
http://xkcd.com/927/
@2

""" Players who download PGN files would like to be able to import them into existing chess software. """

True and there is no problem with that. I have Hiarcs Chess Explorer and it can still read the pgn file. The chess software will not crash because of the new format. It is only part of the tag section. And as I said it is in the standard that tag may take 2 or more values separated by colon.

""" Perhaps you may convince the authors of PGN to make an RFC so the standard may evolve in a coherent fashion """

Sorry I am not talking about FRC.
@RealKool #4
Hmm. Just tested with Scid and your exampl pgn, and it does open it without complaining!
I would suggest to leave it as is. WhiteElo / BlackElo are standard tags for importing it into a chess DB. This is propably for most user the case.

Unsupported tags are just skipped.

If Glicko Tag is really needed - a quick search / replace with notepad saves the day.

@6

The idea here is to correct that tag pair. That WhiiteElo is for Elo.

But it is not that easy to just search and replace because I suggested to add the RD.

[WhiteGlicko2 "1580:230"]

Does chess DB able to recognize the tag value 1580:230?

Another option is to separate the RD.

[WhiteGlicko2 "1580"]
[WhiteRD "230"]
Then if chess DB is not revised to recognize the new format you can do the search and replace that is search WhiteGlicko2 and replace it with WhiteElo.
@5

That is because that rating tag is not part of the standard or required 7 tag pairs which are event, site, date, round, white, black, and result.

This topic has been archived and can no longer be replied to.