| 81 |
81 |
where p.merged_into is null and not p.hidden and p.project_class is null |
| 82 |
82 |
and d.extractor_version = c.parser_version and d.extract_ok |
| 83 |
83 |
and not exists (select 1 from claims cl where cl.subject_type = 'project' and cl.subject_id = p.id) |
| 84 |
|
− and not exists (select 1 from entity_keys k where k.entity_type = 'project' and k.entity_id = p.id and k.created_at > now() - interval '1 day') |
| 85 |
84 |
and p.updated_at < d.updated_at`); |
| 86 |
85 |
for (const r of rows) console.log(` hide ${r.slug.padEnd(70)} ${String(r.planned_mw ?? "").padStart(7)} MW re-extraction produced no project record «${r.name.slice(0, 70)}»`); |
| 87 |
86 |
if (has("--hide-unconfirmed")) for (const r of rows) await db.transaction((tx) => hideProject(tx, r.id, "re-extraction with the current parser produced no project record (class veto / evidence threshold)", "quality-apply")); |
| 88 |
87 |
|