A new base starts with no ontology pack - #585
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #580.
A new base starts with no ontology. Nothing is pre-selected in the creation dialog, the General base made at registration installs no pack, and the General base the web app creates for an empty workspace passes an empty list. The five packs stay where they were, one click away.
Why
schema.org was the default on the argument of #322: without domain and range a fact has no direction. The comparison on #580 (same 15 ai-timeline documents, DeepSeek-V3.2,
auto_extend_ontologyon, bootstrap allowed to finish) says the pack gives types, not predicates:domain_mismatchLeaving the pack out costs ten points of type accuracy on this corpus and buys an ontology the base grows itself, more directed edges, and a ninth of the prompt. Still unmeasured: edges in the empty base that run backwards, which the direction check cannot catch without signatures.
What changed
auth_routes::register: noinstall_packson the General base; the comment says why and points at the measurement.kbs.rs:DEFAULT_PACKis gone;install_packsinstalls what the request names.web/src/api.ts:DEFAULT_ONTOLOGY_PACKSis gone;kb.tsxcreates General with[],MyKbs.tsxstarts the dialog with nothing checked.docs/pipeline.mdand record 0008 (status line, a dated revision with the numbers, the index row).No migration; existing bases keep what they have.
Checked
cargo fmt,cargo clippy -p utopia-server -D warnings;pnpm test,pnpm build.🤖 Generated with Claude Code