# US Sailplane IGC / XCscore / FAI Badge Flight Validator

Parse an FAI IGC flight-recorder file (A/H/I/C/B/F/L/G records) end to end and audit it like a badge secretary: takeoff/release/landing detection (ENL engine-noise or tow kinematics), total altitude gain, OLC/XCscore-style optimal free distance over the convex hull, best FAI triangle against the 28% shortest-side rule, out-and-return distance, pre-flight C-record declaration chain (declared-before-takeoff, task shape, FAI triangle check), loss-of-height rules, and the G-record security audit with signed-stream coverage reconstruction (H O/P and non-manufacturer L records excluded per the IGC specification). Evaluates Silver / Gold / Diamond badge elements and the 750 km + 250 km diploma ladder.

> Canonical page: https://elysiatools.com/en/tools/us-sailplane-soaring-xcscore-flight-igc-fai-badge-declaration-validator

- **Category:** Sports

- **Keywords:** igc file parser, fai badge claim, soaring validator, xcscore free distance, fai triangle 28 rule, g record audit, flight declaration, vincenty geodesic, silver gold diamond badge, barograph analysis

## Overview

This validator reads the IGC flight data file the way FAI badge software does: it decodes every record type (header metadata, task declaration, fixes with pressure/GNSS altitude and ENL engine noise), reconstructs the flight phases, then scores the optimal cross-country distances (free distance with up to 5 turnpoints over the convex hull — the OLC/XCscore convention — plus FAI triangle and out-and-return). Badge thresholds follow FAI Sporting Code Section 3: Silver 1000 m gain + 5 h duration + 50 km, Gold 3000 m + 300 km, Diamond 5000 m gain + 300 km declared goal + 500 km, diplomas from 750 km in 250 km steps. The security section audits the G record structurally — position, charset, encoding family, and the signed-stream coverage (every record except H O/P-source and pilot L records) — and states plainly that cryptographic verification itself needs the manufacturer VALI program and public key, exactly as the IGC specification prescribes for third-party software.

## Inputs

- **Flight source** (select)
- **IGC file content (when pasting)** (textarea): AFLA123 HFDTE240925 ...
- **Free-distance turnpoints (1–5)** (number): 5

## When to use

- Auditing an official badge claim for FAI Silver, Gold, Diamond legs, or distance diplomas.
- Checking pre-flight task declarations and loss-of-height margins immediately after an XC soaring flight.
- Evaluating optimal free-distance, out-and-return, or FAI triangle geometries from raw IGC barograph and fix data.

## How it works

- Select a pre-loaded synthetic flight or paste raw IGC file content containing header, task declaration (C), and fix (B) records.
- The parser decodes fix coordinates, GNSS/pressure altitudes, and ENL engine noise levels to isolate free-flight release and landing phases.
- Geodesic algorithms calculate optimal multi-turnpoint distances, convex hull free distances, FAI triangle proportions, and maximum altitude gains.
- An interactive HTML report renders the barograph trace, flight path plot, FAI badge eligibility matrix, and G-record structural audit.

## Use cases

- Glider pilots checking whether an afternoon soaring flight satisfied Silver duration or Gold distance requirements before submitting paperwork.
- Badge secretaries screening declared C-record timestamps against takeoff fixes and confirming task geometries meet FAI sporting codes.
- Cross-country pilots optimizing turnpoint selections (up to 5 turnpoints) along their convex hull to maximize XCscore and OLC points.

## Frequently asked questions

### What badge elements does this validator check?

It evaluates FAI Silver (1,000 m gain, 5 h duration, 50 km distance), Gold (3,000 m gain, 300 km distance), Diamond legs (5,000 m gain, 300 km goal, 500 km distance), and diploma tiers starting at 750 km.

### How does the tool determine aerotow release or engine stop?

It analyzes high Engine Noise Level (ENL) transitions alongside kinematic speed and climb rate profiles to pinpoint the start of unpowered free soaring.

### What is the 28% rule for FAI triangles?

For FAI triangle badge tasks under 750 km, the shortest leg must represent at least 28% of the total triangular course distance.

### Does this tool cryptographically validate the G-record signature?

No, it audits G-record presence, syntax, and signed-stream line coverage; cryptographic verification requires the manufacturer's proprietary VALI program and public key.

### How is loss-of-height evaluated for distance claims?

It verifies that the altitude loss between the release point (or start fix) and the finish point does not exceed the FAI margin of 1,000 meters or 1% of the total distance.

## Related tools

- [Chess FEN, PGN & Elo Rating Tutor](https://elysiatools.com/en/tools/chess-fen-pgn-elo-rating-tutor): Parse & validate FEN board snapshots, PGN/SAN movetext (with parity, check/mate counts, threefold); compute Elo rating updates from win/draw/loss results, with Lichess/Chess.com tier bands
- [Leetspeak Decoder & Detector](https://elysiatools.com/en/tools/leetspeak-decoder-detector): Decode leetspeak (1337) to plain text and score how plausibly leet an input is — for password-policy bypass screening, profanity-filter evasion, and log-noise filtering.
- [SMT-LIB 2.7 / AIGER / BTOR2 Formal Verification Orchestrator (CDCL + BMC + k-Induction + Craig Interpolation + IC3)](https://elysiatools.com/en/tools/smt-smtlib-2-7-cvc5-z3-btor2-aiger-k-induction-cddr-dbg-invariant-synthesis-orchestrator): A complete in-browser formal-verification stack — no cvc5/Z3 binary needed: an SMT-LIB 2.7 script parser for the QF_BV + Bool core with Tseitin bit-blasting of the FixedSizeBitVectors operators (add/sub/mul/udiv/urem, shifts, comparators, concat/extract/extend, ite), an AIGER reader (ASCII aag and binary aig with delta decoding; outputs as bad properties), a BTOR2 reader with word-level bit-blasting, and a hand-written CDCL SAT engine (two-watched literals, VSIDS-style activities, 1-UIP learning, restarts) underneath. On sequential models it runs bounded model checking with counterexample-witness traces, k-induction with unique-state strengthening, McMillan-style Craig interpolation computed from the refutation and independently re-certified by SAT before being trusted, and an IC3/PDR-lite frame loop with predecessor-cube blocking.
- [A1Z26 Letter-Number Workbench](https://elysiatools.com/en/tools/a1z26-letter-number-workbench): Convert between letters and numbers (A=1, B=2, … Z=26) with configurable separator and case, decode numbers back to letters, and compute the letter sum of any text.
- [Claim–Evidence–Citation Mapper](https://elysiatools.com/en/tools/claim-evidence-citation-mapper): Extract factual claims from a document, map each to its footnote/link/reference evidence, and flag unsourced, weak-source, duplicate-citation, and ambiguous-scope claims
- [Utility Bill Line-Item Decoder & Hidden Fee Detector (CSR/CFL/MHC/HFA Riders, Peak Demand, kWh↔Btu↔therm↔ton-hours)](https://elysiatools.com/en/tools/csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer): Decode home and commercial electric/gas/water bills: classify tariff riders and charges (CSR/CFL/MHC/HFA-style codes, TOU on/off-peak, demand, capacity tag, decoupling), convert kWh↔Btu↔therms↔Ccf↔m³↔ton-hours with EIA factors, expose hidden fixed fees, and project annual cost with load-factor and peak-shaving savings.
- [Extended Text Base Codecs (Base65536 + netstring)](https://elysiatools.com/en/tools/extended-text-base-codecs): Encode and decode with less-common text codecs: Base65536 (binary → dense Unicode) and netstring (self-delimiting framing). Base85 is intentionally not rebuilt (already covered).
- [Hash Algorithm Comparator](https://elysiatools.com/en/tools/hash-algorithm-comparator): Hash the same input with MD5, SHA-1, SHA-256, SHA-512, BLAKE2b, and BLAKE3 at the same time and compare them side by side: output length, hex/Base64 digest, security status (broken / modern), and a relative speed benchmark. Great for teaching, choosing a hashing algorithm, or sanity-checking checksums.

## Samples

- [Copyright-Free MP3 Audio Samples](https://elysiatools.com/en/samples/mp3-samples): Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Copyright-Free FLAC Audio Samples](https://elysiatools.com/en/samples/flac-samples): Lossless FLAC audio samples for testing and development, mirrored from MP3 set with nature sounds and meditation music
- [Copyright-Free WAV Audio Samples](https://elysiatools.com/en/samples/wav-samples): Uncompressed PCM WAV audio samples for testing and development, mirrored from MP3 set with nature sounds and meditation music
