Browser troubles (or, That’s a Wrap!)

Up until very recently I had been exclusively using Mozilla’s Firefox browser, both for writing these blog entries, and for reading them. As any reader of mine knows, I tend to include lots of data, be it player lists or entire Swiss crosstables of various tournaments. One of the reasons I started this blog was…

YARP – Yet Another Renormalization Procedure

No physics here, sorry. This is renormalization for chess players. Here’s the result of a simple algorithm I cooked up to extract a “reasonable” <Event / Site / EventDate> combination for unnormalized <CG> tournaments. The careful reader would spot a couple of degenerate cases where the <CG> tid was used to break the degeneracy. Now,…

(The Good), the Bad, and the Ugly

I now have the entire <Tournament Index> properly indexed with <CG> id’s, for the tournament (tid), game (gid), and White and Black players (pid). This is tremendous progress, allowing me to examine many aspects of the database’s integrity and consistency. But useful though that is, it requires me to lot the PGN into my Python…

What’s Another Round (among friends!)

I posted at least once before about <CG> tournaments which were missing Round numbers for some of the games. Now that I have fully tamed the <CG> database by properly attaching full id’s to each and every game in the <Tournament Index>, I can revisit the topic. What follows is a list of all tournaments…

A Select Unnormalized Selection

These are tournaments, pre-2000, non-WCC, which have unnormalized <Event> fields in the PGN. Cleaning this up is trivial (on <CG>), but it’s perhaps the simplest and most readily apparent example of the problem: # Z is just a list of pre-2000 (tid,[Events,Sites,EventDates]). >>> for z in Z: if ‘World Championship’ not in TN[z[0]] and len(z[1][0])…

Unnormalized CG tournaments in the Tournament Index

I now have assembled a PGN file of all the tournaments in the <CG> Tournament Index, embedding each with a <CG_id> = <tid.gid.w_pid.b_pid>. This allows me to examine the games as grouped in a tournament belonging to the <CG> Tournament Index. The advantage of this approach, is that it allows the headers to be examined,…