Skip to content

api: round-trip drops modeled attributes (clef @number, repeat @times, key cancel @location, credit-words @justify) #230

Description

@webern

Surfaced by the reworked round-trip classifier (PR #225; part of #212).

What

Several attributes are read but not written back:

  • <clef number="..."> loses number (mid-measure / multi-staff clefs) — lysuite/ly46c_Midmeasure_Clef.xml
  • <repeat times="5"> loses timeslysuite/ly45a_SimpleRepeat.xml (verified: expected times="5", actual none)
  • key <cancel location="..."> loses locationsynthetic/cancel.location.3.0.xml
  • <credit-words justify="..."> loses justifylysuite/ly52a_PageLayout.xml

Impact (reorder-free candidate files; 550 total)

  • attr:clef@number 29, attr:repeat@times 3, attr:cancel@location 1, attr:credit-words@justify 3

Repro

make dump-api-roundtrip && make classify-api-roundtrip
# build/api/classified.json: signatures attr:clef@number / attr:repeat@times / attr:cancel@location / attr:credit-words@justify

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiIssues opened by, or through, a coding agent.area/mx::apiarea/mx::implbugsoftware defect

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions