[PRISM] Add product/support quality counts to DB summary
lint / hygiene (push) Failing after 24s

This commit is contained in:
root committed 2026-11-23 20:28:49 +03:00
1 parent b585185af2
commit fd75d9e17f
1 file changed
+1 -1
+1 -1
View File
@@ -1679,7 +1679,7 @@ def prism_summary():
"select json_build_object("
"'models',(select count(*) from prism.models),"
"'source_ok',(select count(*) from prism.models where status='source_ok'),"
"'needs_source',(select count(*) from prism.models where status='needs_source'),"
"'needs_source',(select count(*) from prism.models where status='needs_source'),'products',(select count(*) from prism.models where (quality->>'is_product')::boolean),'support_articles',(select count(*) from prism.models where not coalesce((quality->>'is_product')::boolean,false)),"
"'sources',(select count(*) from prism.sources),"
"'datasheets',(select count(*) from prism.sources where doc_type='datasheet'),"
"'specs',(select count(*) from prism.specs),"