Exploration proposes an alignment per table
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read decision 0036 to understand the alignment proposal concept, then examine the current exploration code and ontology_proposals structure. Trace decide_proposal and the adopt endpoints to add the grouping and transactional adopt path. Finally, update scripts/bench/mappings.mjs to score alignments using the truth file's new alignment section.
索引モデルが issue の本文から書いたものです。
説明
Exploration today reads a schema and produces entities of two classes it inserted itself. 0036 decisions 1, 2 and 6: it produces instead an alignment proposal per table — the class the table is a table of, the attributes its columns carry, the relations its foreign keys are, and for each aligned column an expression that turns the column into the attribute's value — and a person adopts it.
What a proposal holds
For dw.dwd_ord_dtl on the wide corpus:
| column | is |
|---|---|
amt_pay, qty, ord_st, dt_crt |
attributes of Order |
buyer_id, shop_id |
relations Order → Customer, Order → Shop |
shop_nm, prov, buyer_lvl |
attributes of Shop, Address, Customer, flattened in |
ver, etl_dt, rmk, price_old |
nothing |
Exploration finds existing classes and attributes first (the ontology, with a pack from 0008, usually has Order) and proposes new ones only where none fits — 0003's loop with a schema in place of a corpus. On a base with no ontology it proposes the class (decision 6); the difference from today is that a proposal waits and ensure_concept_types did not.
Where it goes
ontology_proposals already has the four sections this needs — entity_types, attribute_types, relation_types, map_to — and the attribute payload already carries datatype and unit. What it does not have is a way to say "these forty rows are one table's alignment, adopt or reject them together", and decide_proposal today only marks a row; creating the ontology rows is the separate adopt endpoints' job. So this needs:
- an alignment table: table → class, column → attribute (or relation) with the conversion tree from #555;
- a proposal that groups a table's rows, adopted as one thing — adopting
Orderwhile rejecting every attribute of it is not a decision anyone means to make; - an adopt path that writes the ontology rows and the alignment rows in one transaction.
What exploration does not propose
Definitions. GMV, refund rate, valid orders — 0 of 18 on the wide corpus, and what it would propose is sum(amt_pay): runs, looks right, off by a hundred and includes the test orders. A definition is a rule a person writes over aligned attributes (decision 4, #556). #507 is the other way a rule can arrive — stated in a document, with provenance — and is complementary, not this.
Measured by
scripts/bench/mappings.mjs scores today's proposals by number. An alignment is scored differently: did amt_pay land on Order.paid_amount, did buyer_id become a relation, did ver stay out. The truth file for wide has keys, traps and dimensions already; it gains an alignment section.
Depends on #553 having landed, or every exploration on a fresh base re-creates the column-name entities it is trying to replace.
- 主要言語
- Rust
- スター
- 8.1k
- フォーク
- 1.1k
- 平均マージ
- 23時間 41分
- マージ済み PR(30日)
- 224
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
deeplethe/utopia のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
deeplethe/utopia#1471 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
The ontology agent never reads a base's ontology_lang, so its labels and definitions come out in whichever language the model picks対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
deeplethe/utopia#1472 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
deeplethe/utopia#1341 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
deeplethe/utopia の issue をすべて見る
似ている issue
-
Remove the em dashes from the skill smart-account reference対応中かも @Vamsi-2581 が今日担当しました。 オープンagent-ready area: docs documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Soneso/stellar-agent-wallet#541 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bovinemagnet/AdocFoundry#279 ·
メンテナーはふだん 1 日以内に返信
-
help wanted
難易度 1/5 半日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
accessibility good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100