{"database": "pub10", "private": false, "path": "/pub10", "size": 3645440, "tables": [{"name": "apps", "columns": ["app_id", "frame", "frame_key", "name", "vendor_url", "pcf_id", "pcf_category", "archive_status", "sources", "source_words", "features", "both_runs", "run_a_only", "run_b_only", "added", "archive_note"], "primary_keys": ["app_id"], "count": 25, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "features", "column": "app_id", "other_column": "app_id"}, {"other_table": "sources", "column": "app_id", "other_column": "app_id"}, {"other_table": "candidates", "column": "app_id", "other_column": "app_id"}, {"other_table": "skipped_by_extractors", "column": "app_id", "other_column": "app_id"}, {"other_table": "missed_proposals", "column": "app_id", "other_column": "app_id"}], "outgoing": [{"other_table": "pcf_categories", "column": "pcf_id", "other_column": "pcf_id"}]}, "private": false}, {"name": "audit", "columns": ["feature_id", "supported_by_excerpt", "supported_in_context", "is_capability", "single_capability", "no_marketing", "actor_ok", "trivial", "correct", "note", "stratum"], "primary_keys": ["feature_id"], "count": 150, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "features", "column": "feature_id", "other_column": "feature_id"}]}, "private": false}, {"name": "candidates", "columns": ["candidate_id", "app_id", "run", "statement", "excerpt", "source_url", "source_file", "script_check", "verifier_verdict", "verifier_reason", "verifier_correction", "adjudicator", "adjudicator_reason", "in_final_set"], "primary_keys": ["candidate_id"], "count": 3819, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "features", "column": "candidate_id", "other_column": "pipeline_id"}], "outgoing": [{"other_table": "apps", "column": "app_id", "other_column": "app_id"}]}, "private": false}, {"name": "documents", "columns": ["name", "text"], "primary_keys": ["name"], "count": 9, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "features", "columns": ["feature_id", "app_id", "statement", "form", "excerpt", "source_url", "source_file", "source_sha256", "found_by", "found_by_runs", "verification", "pipeline_id", "audited", "audit_correct", "audit_note"], "primary_keys": ["feature_id"], "count": 2021, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "audit", "column": "feature_id", "other_column": "feature_id"}], "outgoing": [{"other_table": "candidates", "column": "pipeline_id", "other_column": "candidate_id"}, {"other_table": "apps", "column": "app_id", "other_column": "app_id"}]}, "private": false}, {"name": "metrics", "columns": ["metric", "value"], "primary_keys": ["metric"], "count": 43, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "missed_proposals", "columns": ["app_id", "statement", "excerpt", "proposed_by", "accepted", "reason"], "primary_keys": [], "count": 56, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "apps", "column": "app_id", "other_column": "app_id"}]}, "private": false}, {"name": "pcf_categories", "columns": ["pcf_id", "name", "github_topics"], "primary_keys": ["pcf_id"], "count": 13, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "apps", "column": "pcf_id", "other_column": "pcf_id"}, {"other_table": "screening", "column": "pcf_id", "other_column": "pcf_id"}], "outgoing": []}, "private": false}, {"name": "pilot_apps", "columns": ["app_id", "frame", "name", "pcf_id", "url", "snapshot"], "primary_keys": ["app_id"], "count": 8, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "pilot_features", "columns": ["feature_id", "app_id", "statement", "excerpt", "source_url", "extracted_by", "verification"], "primary_keys": ["feature_id"], "count": 322, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "provenance", "columns": ["agent", "role", "run", "apps", "models", "effort", "max_output_tokens", "claude_code", "started", "finished", "input_tokens", "output_tokens", "cache_read_tokens", "cache_write_tokens"], "primary_keys": [], "count": 79, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "screening", "columns": ["frame", "candidate", "screener_verdict", "screener_code", "screener_reason", "adjudicated", "adjudication_reason", "in_sample", "pcf_id", "set"], "primary_keys": [], "count": 576, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "pcf_categories", "column": "pcf_id", "other_column": "pcf_id"}]}, "private": false}, {"name": "skipped_by_extractors", "columns": ["app_id", "run", "excerpt", "reason"], "primary_keys": [], "count": 537, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "apps", "column": "app_id", "other_column": "app_id"}]}, "private": false}, {"name": "sources", "columns": ["app_id", "source_file", "url", "retrieved", "http_status", "words", "sha256"], "primary_keys": [], "count": 241, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "apps", "column": "app_id", "other_column": "app_id"}]}, "private": false}, {"name": "features_fts", "columns": ["feature_id", "statement", "excerpt", "features_fts", "rank"], "primary_keys": [], "count": 2021, "hidden": true, "fts_table": "features_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "features_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "features_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 69, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "features_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 2021, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "features_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 60, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}], "hidden_count": 5, "views": [], "queries": [{"title": "25 random final statements", "description": "Reload for a new sample.", "sql": "select f.feature_id, a.name as app, f.statement, f.excerpt, f.verification, f.source_url from features f join apps a using (app_id) order by random() limit 25", "name": "random_sample", "private": false}, {"title": "Everything that happened to one application's statements", "description": "Enter an app id such as F2-015 (Pipedrive).", "sql": "select candidate_id, run, statement, excerpt, verifier_verdict, verifier_reason, verifier_correction, adjudicator, adjudicator_reason, in_final_set from candidates where app_id = :app_id order by candidate_id", "name": "app_trail", "private": false}, {"title": "Corrected statements: original vs final wording", "sql": "select c.app_id, c.statement as original, f.statement as final, c.verifier_reason as reason, c.adjudicator from candidates c join features f on f.pipeline_id = c.candidate_id where f.verification = 'corrected' order by c.app_id", "name": "corrections", "private": false}, {"title": "Rejected for a reason other than duplication", "sql": "select app_id, candidate_id, statement, excerpt, verifier_reason, adjudicator_reason from candidates where adjudicator = 'rejected' order by app_id", "name": "substantive_rejections", "private": false}, {"title": "Run A vs run B, per application", "sql": "select app_id, name, features, both_runs, run_a_only, run_b_only, added, round(100.0 * both_runs / (both_runs + run_a_only + run_b_only), 1) as overlap_pct from apps order by overlap_pct", "name": "run_overlap", "private": false}, {"title": "Blind audit: rows the auditor would not accept", "sql": "select a.feature_id, a.stratum, f.statement, f.excerpt, a.supported_by_excerpt, a.supported_in_context, a.single_capability, a.is_capability, a.note from audit a join features f using (feature_id) where a.correct = 0 order by a.stratum, a.feature_id", "name": "audit_problems", "private": false}, {"title": "Blind audit: share passing each check, by stratum", "sql": "select stratum, count(*) as n, round(avg(correct)*100,1) as correct_pct, round(avg(supported_by_excerpt)*100,1) as excerpt_alone_pct, round(avg(supported_in_context)*100,1) as in_context_pct, round(avg(single_capability)*100,1) as single_pct, round(avg(is_capability)*100,1) as capability_pct, round(avg(no_marketing)*100,1) as no_marketing_pct from audit group by stratum", "name": "audit_summary", "private": false}, {"title": "Token usage by agent role", "sql": "select role, count(*) as agents, sum(output_tokens) as output_tokens, sum(cache_read_tokens) as cache_read_tokens, sum(cache_write_tokens) as cache_write_tokens from provenance group by role", "name": "tokens_by_role", "private": false}, {"title": "Search statements and excerpts", "sql": "select f.feature_id, f.app_id, f.statement, f.excerpt from features_fts s join features f on f.rowid = s.rowid where features_fts match :q limit 200", "name": "search", "private": false}], "allow_execute_sql": true, "query_ms": 42.01716184616089, "source": "Ahmed ElBatanony, Innopolis University", "license": "Not yet licensed \u2014 internal review only"}