Skip to content

docs(train): L1–L3 layout data-spec and enpu project export (#93) - #96

Merged
loootte merged 1 commit into
mainfrom
feature/93-l1-l3-data-spec
Aug 1, 2026
Merged

loootte merged 1 commit into
mainfrom
feature/93-l1-l3-data-spec

Conversation

@loootte

@loootte loootte commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Implement #93 (parent #92 task 1): freeze L1–L3 layout training data standard and export path from real desktop .enpu.json projects.

Deliverables

  • docs/train/l1-l3-data-spec.md — schema, coordinate rules, structure→layout mapping, Score boundary
  • core/app/layout_gt/ — export + validate
  • scripts/export_layout_gt.py — CLI
  • Sample samples/layout/L001_zuozai_baozuo/ exported from real project 坐在宝座上圣洁羔羊A调.enpu.json (M04; 6 systems × 3 interior splits)
  • Tests core/tests/test_layout_gt.py

Notes on real project format

Test plan

  • pytest core/tests/test_layout_gt.py
  • export real .enpu.json → validate ok

Closes #93

Add layout_schema_version 0.1, export/validate from .enpu.json structure,
CLI scripts/export_layout_gt.py, and a real-project sample (L001).

Closes #93
@loootte
loootte merged commit 0076856 into main Aug 1, 2026
3 checks passed
@loootte
loootte deleted the feature/93-l1-l3-data-spec branch August 1, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(train): L1–L3 layout data-spec 与工程导出

1 participant