Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
utopia/migrations/0024_types_resolve_themselves.sql at main · deeplethe/utopia · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
deeplethe
utopia
Repository navigation
Code
Issues
55
(55)
Pull requests
18
(18)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
utopia
/
migrations
/
0024_types_resolve_themselves.sql
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
13 lines (13 loc) · 1 KB
main
Breadcrumbs
utopia
/
migrations
/
0024_types_resolve_themselves.sql
Copy path
Top
File metadata and controls
Code
Blame
13 lines (13 loc) · 1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
--
类型消解排队自动跑(0016 的 C2,0001 P3a 的收尾)。
--
--
此前类型消解只在有人点的时候跑:新文档抽完,实体带着粗类型躺在图里,直到谁想起来
--
去 Ontology 页点一下。现在抽取结束自动排一个 resolve_types 任务,只自动落地最安全的
--
一档(在原类的子树里精化);跨轴的改判仍留给人。
--
--
引擎看过的实体打上 type_resolved_at:自动跑只挑没看过的,否则候选查询按事实数排序,
--
每一轮都是同一批六十个,后面的永远轮不到。人点的那条路不看这个标记——人要的是重新
--
审一遍。
ALTER
TABLE
entities ADD COLUMN type_resolved_at
TIMESTAMPTZ
;
--
缺省开:在 ai-timeline × schema.org 上量过,自动落地那一档对 Wikidata 答案卷的命中
--
39/41(两个"错"里一个是答案卷写窄了);它只往子树里走一格,每一批都可撤
ALTER
TABLE
knowledge_bases ADD COLUMN auto_type_resolution
BOOLEAN
NOT NULL
DEFAULT TRUE;
You can’t perform that action at this time.