Detecting Information Loss in METAR Parsers and Comparing Test Selection Methods
METARs (Meteorological Aerodrome Reports) contain the weather observations for use by aviation software. We present a set of automated semantic conformance rules which check that the parsers preserve the measured values, the reporting limits and the missing measurements. The rules are derived from the METAR coding manuals and are evaluated on 13,977 controlled inputs from 600 stations and 42,160 unmodified reports. The evaluation is carried out across seven independent parser families and one related language port. Across the first five families we identify 12 information-loss mechanisms in the parser code, nine of these also occur in the unmodified reports. Reduced examples and isolated patch experiments are used to support the mechanism explanations. We then look at how training information and novelty affect test selection. Across two independent targets, eight tests using learned selection give a mean of 1.967 mechanisms, compared to 0.700 with random selection and 0.750 with the same scheduling rule using fixed probabilities. The empirical training alarm rates achieve the same early mean. Leave-one-family-out cross-validation (five-families) and a test pool with no feature overlap both support the early contribution of training information. A domain-informed risk rule leads to higher average discovery at larger budgets. The same conformance rules are also applied to the reports generated by Grammarinator and Gmutator within the reference model.
Authors
- Mustafa Semih Sadak (ORCID: https://orcid.org/0000-0001-5383-0778)
Institutions
- Piri Reis University (TR)
Publication Details
- Journal
- Computer Science
- Published
- 2026-11-26
- DOI
- https://doi.org/10.53070/bbd.2077570
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00