Skip to content

Enforce that the trivial category has no unsatisfied properties#100

Merged
ScriptRaccoon merged 2 commits intomainfrom
trivial-category-has-everything
Apr 17, 2026
Merged

Enforce that the trivial category has no unsatisfied properties#100
ScriptRaccoon merged 2 commits intomainfrom
trivial-category-has-everything

Conversation

@ScriptRaccoon
Copy link
Copy Markdown
Owner

@ScriptRaccoon ScriptRaccoon commented Apr 17, 2026

This small PR adds a test (included in pnpm db:test) that confirms that the trivial category has no unsatisfied properties. Together with the existing test that all properties are decided for it, this means that every property is satisfied for the trivial category. This enforces that all properties in the database are "positive". For example, it prevents that "infinite" is added (we use "finite" instead). This was already documented in the contribution guidelines, but now it's properly enforced.

There is a small chance that I regret this decision at some point, but then the easy fix is to add the trivial category to the core categories (currently: Set, Top, Ab) for which every property is checked (satisfied or not).

@ScriptRaccoon ScriptRaccoon changed the title Trivial category has no unsatisfied properties Enforce that the trivial category has no unsatisfied properties Apr 17, 2026
@ScriptRaccoon ScriptRaccoon merged commit 551cc33 into main Apr 17, 2026
1 check passed
@ScriptRaccoon ScriptRaccoon deleted the trivial-category-has-everything branch April 17, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant