Skip to content

Commit 8297ff3

Browse files
committed
feat(verify): promote green directly to verified (drop live-source gate)
1 parent 400d807 commit 8297ff3

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

app/verify/promote.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,14 @@ def decide(
6666
# Reality confirm: external source agrees -> strongest promotion.
6767
if crossref_decision == "confirm":
6868
return PromotionDecision(True, "crossref-confirm")
69-
# Heuristic fallback where reality is silent: a green record (consistent +
70-
# complete + authoritative-source) whose source is live. green≈verified was
71-
# validated against the human-curated set, so this is a sound proxy.
72-
if band == "green" and has_live_authoritative_source(source_urls, url_cache):
73-
return PromotionDecision(True, "green+live-source")
69+
# green = passed the offline inspection: an authoritative source (T1/T2) IS
70+
# cited, cross-field consistency holds, the record is complete, and there are
71+
# no hard violations. That is the verification result, so promote it (unless
72+
# crossref contradicted above). The earlier live-HTTP source re-check was
73+
# dropped: most green records cite spec DBs (phonedb/cpubenchmark) that block
74+
# automated requests, which kept verified stuck far below the green band.
75+
if band == "green":
76+
return PromotionDecision(True, "green")
7477
return PromotionDecision(False, "needs-confirmation")
7578

7679

0 commit comments

Comments
 (0)