I’ve been a competition pilot, racing other hang glider pilots around unseen turnpoints in the sky.
With data points coming in every second for upwards of a hundred pilots and geometry on a sphere or ellipsoid, scoring is a complex task. FAI-CIVL govern the sport. They make the rules and provide FS, the official program for scoring.
The paragliding world cup has its own set of rules but these are very close to those of FAI-CIVL. They use another program for scoring, CompCheck.
Both FS and CompCheck are closed source. Many of those involved with FS want to make it open source but this has not happened yet.
I help maintain FS and started flare-timing and CIVL-GAP.
A reference implementation of the rules as a suite of command line apps, one for each step in the process of scoring.
An upstream version of rules marked up in LaTeX with questions, corrections, clarifying appendices and suggested changes.
Packages from flare-timing released on hackage.