home / fault-atlas / probes

probes: 73

The exact question asked of a corpus, kept verbatim (code column): a Python regex on one document, a SPARQL query on a public endpoint, a shell request. result_count/result_of is the re-run figure on result_date; matches_excerpt says whether that figure is the one quoted in the observation (0 = differs, both kept).

This data as json

id form_id form_name file kind corpus_id written run result_count result_of result_date matches_excerpt note code
73 form-140 Editorial status printed in the document probes/2026-08/line-140.py python corpus-europe-pmc-jats-2023-2026 2026-08-08 python3 tools/run_probe.py probes/2026-08/line-140.py <dir with the 272 .xml> 6 272 2026-09-09 0 The figure quoted in the excerpt was counted on 2026-08-08 by a finer, hand-run measurement whose code was not kept; this probe is the one that was kept, and its figure is the one that can be re-run. Both stand, dated. """Fault Atlas probe — catalogue line 140 (form-140). Extracted verbatim from the August 2026 observation campaign (Loxyn SAS, Lyon). A probe answers one question on one JATS XML file: "is this fault here, and where?" It repairs nothing and decides nothing. Returns a list of excerpts, empty if absent. Run on the reproducible corpus (see corpora/europe-pmc-jats-2023-2026-272.json): python3 tools/run_probe.py probes/2026-08/line-140.py <dir with the 272 .xml> """ import re, collections, unicodedata SONDES = {} def sonde(ligne, nom): def deco(f): SONDES[ligne] = (nom, f); return f return deco def _txt(x): """texte brut d'un XML JATS, balises retirées""" return re.sub(r'<[^>]+>', ' ', x) @sonde(140, "statut éditorial imprimé (preprint, non relu)") def d140(x): """⚠️ CORRIGÉE le 08/08 : la 1re version captait « pmc-prop-preprint », une métadonnée PMC présente dans 272/272 articles. Une sonde à 100 % est une alarme de méthode, pas une découverte. On retire d'abord le bloc custom-meta.""" corps = re.sub(r'(?s)<custom-meta-group.*?</custom-meta-group>', ' ', x) corps = re.sub(r'(?s)<processing-meta.*?</processing-meta>', ' ', corps) return sorted(set(re.findall( r'(?i)\b(this is a preprint|not (?:been )?peer[- ]reviewed|author manuscript|' r'accepted manuscript|posted as a preprint)\b', _txt(corps))))[:4]
Powered by Datasette · Queries took 0.484ms