@@ -9,7 +9,6 @@ type CategoryPairShort = { id1: string; name1: string; id2: string; name2: strin
99export const load = async ( ) => {
1010 const { results, err } = await batch <
1111 [
12- CategoryShort & { count : number } ,
1312 CategoryShort & { count : number } ,
1413 CategoryShort & { count : number } ,
1514 CategoryPairShort ,
@@ -39,16 +38,6 @@ export const load = async () => {
3938 GROUP BY c.id
4039 ORDER BY lower(c.name);
4140 ` ,
42- // missing reasons
43- sql `
44- SELECT c.id, c.name, COUNT(*) AS count
45- FROM categories c
46- JOIN category_property_assignments cp
47- ON cp.category_id = c.id
48- WHERE cp.reason IS NULL
49- GROUP BY c.id
50- ORDER BY lower(c.name);
51- ` ,
5241 // undistinguishable category pairs
5342 sql `
5443 SELECT
@@ -89,7 +78,6 @@ export const load = async () => {
8978 const [
9079 categories_with_missing_morphisms ,
9180 categories_with_unknown_properties ,
92- categories_with_unreasoned_properties ,
9381 undistinguishable_category_pairs ,
9482 functors_with_unknown_properties ,
9583 ] = results
@@ -99,7 +87,6 @@ export const load = async () => {
9987 return {
10088 categories_with_unknown_properties,
10189 categories_with_missing_morphisms,
102- categories_with_unreasoned_properties,
10390 undistinguishable_category_pairs,
10491 functors_with_unknown_properties,
10592 missing_combinations,
0 commit comments