TCEC-Chess / tcecgames

The TCEC games archive
18 stars 3 forks source link

PGN competition event tag naming updates for better usability #11

Closed skiminki closed 2 years ago

skiminki commented 2 years ago

The current competition event tags are a bit inconsistent in the compiled PGNs, which makes the event listing in chess GUIs such as chessx somewhat user unfriendly. To illustrate, below are some snippets of the event names listed in alphabetical order:

TCEC Cup 1 Final
TCEC Cup 1 Quarterfinal
TCEC Cup 1 Round16
TCEC Cup 1 Round32
TCEC Cup 1 Semifinal
...
TCEC Cup 9 Round32
TCEC Cup 9 Semifinal
TCEC Season 1 - Division 1
TCEC Season 1 - Division 2
TCEC Season 1 - Division 3
TCEC Season 1 - Elite Match
TCEC Season 10 - Stage 1
...
TCEC Season 16 - FRC CPU League 1
...
TCEC Season 2 - Elite Match
TCEC Season 20 - Division P
TCEC Season 20 - FRC3 Final
...
TCEC Season 6 - FRC
...

Some of the problems are:

I'm proposing doing the following naming changes in the compiled PGNs so that it's easier to use event listing and event search in chess GUIs:

To put this all together, here are some examples:

TCEC Season 02 - Elite Match
TCEC Season 06 - FRC 0
TCEC Season 13 - Cup 1 Final
TCEC Season 16 - FRC 1 CPU League 1
TCEC Season 20 - Division P

Another consideration would be to also add a running event number within the season, so that we'd get also the events chronologically ordered by alphabetical ordering. For example:

TCEC Season 01 Event 01 - Division 3
TCEC Season 01 Event 02 - Division 2
TCEC Season 01 Event 03 - Division 1
TCEC Season 01 Event 04 - Elite Match
...
TCEC Season 04 Event 01 - Stage 1
TCEC Season 04 Event 02 - Stage 2a
TCEC Season 04 Event 03 - Stage 2b
TCEC Season 04 Event 04 - Stage 3
TCEC Season 04 Event 05 - Stage 4
...

The rationale here is that it's not always intuitive to determine from the naming that what event precedes what.

Although if we'd do this, then it could be better to compactify the season/event tag a bit, and do something like this: TCEC S04 E05 - Stage 4 Very long event names won't fit nicely in multi-column listings in chess databases.

skiminki commented 2 years ago

The current patch set produces the events in the following format: TCEC Season <num> (<eventId>) <EventName>. This makes the events appear in chronological order when sorted alphabetically, and all events also get a unique session/event identifier. Some samples below:

TCEC Season 01 (01) Division 3
TCEC Season 01 (02) Division 2
TCEC Season 01 (03) Division 1
TCEC Season 01 (04) Elite Match
...
TCEC Season 13 (06a) Cup 1 Round32
TCEC Season 13 (06b) Cup 1 Round16
TCEC Season 13 (06c) Cup 1 Quarterfinal
TCEC Season 13 (06d) Cup 1 Semifinal
TCEC Season 13 (06e) Cup 1 Final
...
TCEC Season 21 (35) FRC4 Testing
TCEC Season 21 (36) FRC4 League A
TCEC Season 21 (37) FRC4 League B
TCEC Season 21 (38) FRC4 League C
TCEC Season 21 (39) FRC4 League D
TCEC Season 21 (40) FRC4 Semileague 1

Some events numbers have a letter after them. In general, this happens when the original event PGN has multiple different event tags in it, although this occurs only in some test events. The cups are also grouped similarly as events and per-round subevents. This is a byproduct of the cup event grouping to single PGNs by the scripting.

The full event list attached. event-tags.txt