feat: MQA quality scoring — Phase 3a URL reachability (opt-in, v2.15.0)#57
Merged
Conversation
Add the optional URL-reachability metrics of the MQA accessibility dimension. - New setting "URL-Erreichbarkeit prüfen" (Quality (MQA) section, default OFF). When enabled, dcat:accessURL and dcat:downloadURL are checked via HTTP HEAD (GET fallback on 405/501) on save; status 200–399 counts as reachable. - Results are cached for 24h in a per-URL transient, so repeated saves don't re-request. Short 5s timeout. - With the setting on, the assessable maximum rises from ~295 to ~375 of 405; only DCAT-AP SHACL (30) remains "not assessed". Privacy/perf: opt-in, requests go only to the dataset's own URLs (no third-party service). Meta-box "not assessed" hint made phase-agnostic (points to the "–" markers). i18n: 4 new strings; en_US.mo recompiled. Version 2.15.0. Tests: 151 pass (2 added: reachability cache-hit + 2xx mapping), PHPStan clean, PHPCS exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JB1xUQM892bVZ4Yv3MZjvq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MQA-Scoring — Phase 3a: URL-Erreichbarkeit (opt-in)
Ergänzt die netzwerkabhängigen Erreichbarkeits-Metriken der Zugänglichkeits-Dimension (80 Punkte) — als Opt-in, wie besprochen (Option A: nur Erreichbarkeit, kein Fremddienst).
Umsetzung
dcat:accessURLunddcat:downloadURLbeim Speichern per HTTP HEAD geprüft (GET-Fallback bei 405/501); Status 200–399 = erreichbar.Datenschutz / Performance
Verifikation
en_US.moneu kompiliert · Version → 2.15.0Verbleibend: nur noch Phase 3b (DCAT-AP-SHACL, 30 P) über einen externen Validator — separat/optional.
🤖 Generated with Claude Code
Generated by Claude Code