MapRun League Results Generator

Southampton Orienteering Club has what is now an annual MapRun league. A few years ago, I wrote a tool to scrape the results for each event, allocate points (only your first attempt counts, and it must be in a specific time window), and publish some HTML results. For example, those from this year (which I might just happen to have won!). For some reason lost in the mists of time, it was written in Node, but I decided that I would rewrite it in Golang before sharing it with the world on GitHub.

When I say “I would rewrite it”, this is 2025, so what I really mean is that I would get some AI to rewrite it for me. In this case, Copilot. It did a pretty good job of it on the first attempt, including some new requirements I’d added about extracting configuration into a separate file. There was one logic error that I had to correct, and then for some reason, it had decided not to bother providing the code to generate the emojis for podium places. To be fair, it even told me it hadn’t done this, and offered to finish the job.

The only subsequent changes were to switch to Kong for CLI parsing (not that there is much) and then the addition of a GitHub workflow to publish release binaries (although how useful they are without signing is debateable). Will anyone else use it? Who knows. Did I manage to push to GitHub the password used to publish results to the SOC website? Perhaps. Have I now changed that password? Definitely!

Comments are closed.