X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig-xml%2Fevergreen_staged_report.xml;h=26ee65bbeee596e3f391866663acdc72a5c1e2ea;hp=2e2b3d64a76cc9155b94e51b5f0c115f0a29a214;hb=ed7dae56be7fb1dece7fdb5caaea8903c13b32cd;hpb=7271d2ef9e197c42bb73b5562277ec905391678e
diff --git a/mig-xml/evergreen_staged_report.xml b/mig-xml/evergreen_staged_report.xml
index 2e2b3d6..26ee65b 100644
--- a/mig-xml/evergreen_staged_report.xml
+++ b/mig-xml/evergreen_staged_report.xml
@@ -1036,24 +1036,29 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3
- dedupe_format_count
+ dedupe_bib_groups
dedupe
0
- Count of Items Matching By Format
- Count.Format(s)
- SELECT COUNT(id), search_formats FROM bib_matches GROUP BY 2 ORDER BY 2;
+ Scoring and Bib Record Groups
+ Count.Bib REcord Groups
+ SELECT COUNT(id), 'Total Bibs Being Evaluated' FROM biblio.record_entry WHERE deleted IS FALSE AND id IN (SELECT eg::BIGINT FROM bib_id_map)
+ UNION ALL SELECT (COUNT(DISTINCT incoming_bib), 'Incoming Bibs With Matches Found' FROM bib_matches
+ UNION ALL SELECT (COUNT(bre.id) - (SELECT COUNT(DISTINCT incoming_bib) FROM bib_matches)), 'Incoming Bibs With No Match'
+ FROM biblio.record_entry bre WHERE bre.deleted IS FALSE AND bre.id IN (SELECT eg::BIGINT FROM bib_id_map)
+ UNION ALL SELECT COUNT(DISTINCT incoming_bib), 'Incoming Bibs Being Merged into Incumbent' FROM bib_matches WHERE incumbent_bib_score >= incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Higher Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score > incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Equal Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score = incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Lower Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score < incoming_bib_score
+ ;
-
+
- dedupe_scores
+ dedupe_format_count
dedupe
0
- Scoring Values in Matches
- Count.Scoring Information
- SELECT COUNT(id), 'Incumbent Records With Higher Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score > incoming_bib_score
- UNION ALL SELECT COUNT(id), 'Incumbent Records With Equal Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score = incoming_bib_score
- UNION ALL SELECT COUNT(id), 'Incumbent Records With Lower Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score < incoming_bib_score
- ;
+ Count of Items Matching By Format
+ Count.Format(s)
+ SELECT COUNT(id), search_formats FROM bib_matches GROUP BY 2 ORDER BY 2;