Skip to content

Commit 0812356

Browse files
committed
remove obsolete section
1 parent e870b78 commit 0812356

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

src/routes/missing/+page.server.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ type CategoryPairShort = { id1: string; name1: string; id2: string; name2: strin
99
export 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,

src/routes/missing/+page.svelte

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@
3030
<CategoryList categories={data.categories_with_unknown_properties} />
3131
</section>
3232

33-
<section>
34-
<h3>Categories with properties without recorded reason</h3>
35-
36-
<p class="hint">
37-
There are {data.categories_with_unreasoned_properties.length} categories with properties
38-
(satisfied or unsatisfied) that have no reason specified.
39-
</p>
40-
41-
<CategoryList categories={data.categories_with_unreasoned_properties} />
42-
</section>
43-
4433
<section>
4534
<h3>Categories with unknown special morphisms</h3>
4635

0 commit comments

Comments
 (0)