libscid snapshot+b450b7969924
Chess applications made easy.
Source on GitHub License GPL v2
Loading...
Searching...
No Matches
Player Metadata

Player metadata is the player-only payload attached to canonical names in a spelling file. PlayerInfo interprets the comment after a player entry, while PlayerElo stores optional rating history from Elo lines.

The spell checker returns this data only for unambiguous player lookups. A name that is absent or matches more than one canonical player produces no metadata, because there is no single record to return.

Domain Model

PlayerInfo is a parser over an owned comment string. It extracts Scid's conventional title prefix, the final three-character country field, peak rating in brackets, birth date and optional death date. The raw comment remains available through getComment().

PlayerElo stores the rating rows as year/rating pairs. getElo() maps a Core date to the correct slot using Scid's historical publication cadence rules, returning zero when the data has no usable rating for that date.