[long-task] [long-task] schema:unitText → schema:unitCode に訂正(RealWorldDataStructureProperty に unitCode が無い) (#18) - #19
Conversation
…t unitText comment UN/CEFACT Common Codes (e.g. DD=degree) belong in schema:unitCode, not schema:unitText (human-readable free text). dbp:RealWorldDataStructureProperty previously defined only unitText, and its comment wrongly described it as a "unece.org Rec 20 value". - Add `unitCode` field (UNECE Recommendation 20 code) to RealWorldDataStructureProperty in dbp_schema.proto / dbp_schema.ja.proto, mirroring the already-correct dbp:DataFieldType definition. - Correct the unitText comment to "human-readable free-text unit" in both protos. - Add schema:unitCode to the RealWorldDataStructureProperty rangeIncludes in dbp-schema.jsonld / dbp-schema.ja.jsonld (hand-edited to match what ProtoToJsonld.py would emit; protoc/requests unavailable in this runner). Refs #18 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @github-actions[bot]'s task —— View job コードレビューIssue #18 に対応する、
結論変更自体は妥当で、意図( ただし、1 点だけ確実に対応が必要な指摘があります。 🔴 生成コード(Go / Rust)が未再生成で source と乖離しています
比較として、
🟡 (参考)型の使い分け
良かった点
まとめると、モデル定義(jsonld / proto)としては問題なし。マージ前に Go / Rust の生成物( · branch: |
|
Claude finished @github-actions[bot]'s task —— View job コードレビュー(再レビュー: synchronize 後)前回レビューで指摘した「Go / Rust の生成物が未再生成」の件が、追加コミット
結論 — ✅ 前回の指摘は解消済み。モデル定義・生成物ともに整合が取れています
確認できた点:
🟡 タスク範囲外の副次的変更(マージ判断のための共有・ブロッカーではありません)今回の再生成に伴い、
CLAUDE.md の「差分は最小限に」の観点から一応挙げていますが、いずれも再生成の自然な副産物、または既存バグの修正であり、マージを妨げるものではありません。
まとめ前回のブロッカーは解消済みで、source(jsonld / proto)と生成物(Go / Rust)が完全に同期しています。マージ可能な状態と判断します。上記 🟡 の副次的差分だけ、意図どおりか一読いただければ万全です。 (※ 私は formal な GitHub PR review / approve はできないため、これはコメントによるレビュー所見です。) · branch: |
Issue #18 の長期タスク。進捗は Issue 内の bot コメントを参照してください。