Skip to content

Establish the provenance of sample_AC1032.dwg, the one R2018 file #96

Closed

Description

@DrunkOnJava

Scope

Every R2018 claim rests on sample_AC1032.dwg, whose origin and licence are not recorded. Find its source and licence and pin it so CI can fetch it, or replace it with an R2018 file whose provenance is documented.

State on main (2026-10-21)

Used by tests and by ARCHITECTURE.md; not in nextgis/dwg_samples; not fetched by anything.

Acceptance

  • Origin, licence, sha256 and the authoring application recorded in the corpus pins
  • CI fetches it from its origin, or an attributable R2018 file replaces it and the R2018 measurements are redone
  • CLEANROOM.md names the file's status

Parent: #94

Activity

  1. added
    type:research
    area:corpus
    release:R2018
    priority:P1
    on Oct 21, 2026
  2. DrunkOnJava commented on Oct 26, 2026

    @DrunkOnJava
    OwnerAuthor

    Provenance found, and every R2018 candidate looked at (2026-10-26)

    sample_AC1032.dwg is ACadSharp's. It is byte-identical (1,081,979 bytes, sha256 0e8faaca949c9429c92240082d9ea4d3524aca5baf7c7815ec439245c321b528, git blob 4cfa790d6719acf3aad9818bacbd693ac3ab71b8) to samples/sample_AC1032.dwg in DomCR/ACadSharp at c30a97ce4697e649e562fbeb52057aa9f73f7744 (2025-12-02, "updated sample with materials"), the blob that path still holds on master. Licence: MIT (repository LICENSE; samples/ states no other terms). Authoring application: AutoCAD. samples/sample_base/save_samples.lsp saves sample_base.dwg through SAVEAS as R14 to R2018 DWG and as ASCII DXF, and the file's AcDb:AppInfo reads build_version="V.162.0.0(x64)" registry_version="25.0" (AutoCAD 2025). Its DXF twin is sample_AC1032_ascii.dxf. Recorded in tools/corpus/pins.tsv and in CLEANROOM.md ("Public corpus") by #225, which fetches it in CI by pinned hash.

    Only data was read from ACadSharp: the DWG/DXF files, LICENSE, the path's commit history and save_samples.lsp. Nothing under src/. Nothing from LibreDWG or any GPL repository was downloaded or opened; GPL repositories were identified from GitHub API metadata only.

    Candidates

    Verified here means downloaded, magic read, sha256 taken, and AcDb:AppInfo read. The other rows are the search's findings, with sizes and hashes measured by the search, and were not re-verified.

    # Source @ pin Licence Authoring app R2018 file DXF twin Verdict
    1 DomCR/ACadSharp @ c30a97ce samples/geolocation/geoloc.dwg MIT AutoCAD 2023 (T.53.0.0, registry 24.2) 46,960 B, 2dbed5bb…cf95 (verified) Yes: geoloc.dxf, $ACADVER AC1032, $ACADMAINTVER 228 Added in #225. A different drawing and AutoCAD release from sample_AC1032.dwg, same repository
    2 ACadSharp @ c30a97ce samples/svg/export_sample.dwg, samples/sample_base/empty.dwg MIT AutoCAD 2025 / AutoCAD 2023 68,920 B d22bf652…31db; 30,639 B ac65283f…acfb (verified) No Added in #225 (no DXF)
    3 Azure-Samples/am-creator-indoor-data-examples @ e1c727b5, "Drawing Package 1.0" zip CC0-1.0 and MIT (Microsoft) AutoCAD 2020 Ground.dwg 451,381 B 26c57dd3…c898, plus Basement, Level_2, all inside a zip No Qualifies; an independent source. Needs zip support in fetch.py
    4 Zenodo 10040919 (DOI 10.5281/zenodo.10040919) CC-BY-4.0 AutoCAD 2024 2pl_droplet maker_10um_high.dwg 100,394 B 8da10965…6ced No Qualifies; independent. Needs a non-GitHub route in fetch.py and an attribution line in NOTICE
    5 More Zenodo records (18418475, 21474014, 8146404, 17886371, 18276654) CC-BY-4.0 AutoCAD 2023 to 2026 various No Qualify, same conditions as 4
    6 ACadSharp, later commits: dynamic-block pairs (BLOCKFLIPPARAMETER, BLOCKVISIBILITYPARAMETER), AecObjects.dwg MIT AutoCAD 37 to 424 KB Yes, for the block pairs Candidates for the next pin bump
    7 ohagmann/cadcraft-sample-dwgs @ 8447af75 CC0-1.0 BricsCAD V26 (ODA-based) 15 sheets No Not AutoCAD output
    8 Autodesk staff sample repos (autocad-da-acc-model-viewer House.dwg, EmbedTrueView Kitchens.dwg, aps-viewer-dwg-geolocation) MIT, under employees' personal copyright AutoCAD 2020 to 2026 57 KB to 4.5 MB No Near miss: Kitchens.dwg carries the name of AutoCAD's own bundled sample, so who holds the rights is unclear
    9 Hugging Face markov-ai/autocad-bench-tasks @ b2bbd517 CC-BY-4.0 (dataset card) AutoCAD 2023 50 files No Near miss: the drawings predate the organisation; authorship unverified
    10 qinchuan1122/cad-dwg-reader @ b22d8c28 MIT ezdxf, converted by ODA File Converter 16,926 B ezdxf, not AutoCAD Rejected: synthetic

    Rejected without downloading: valle-design-dwg-conformance (proprietary licence), libviprs/pvec-gold-fixtures (no licence; written by acadrust), unitedrhino/go-cad (appears to mirror LibreDWG's reference set), nextgis/owerko/tinytales03/MariamShindy (no licence), Innerscene (CC0 but expiring URLs), Zenodo 4555335 and 18378196 (mixed or unclear writer), Azure Drawing Package 2.0 (last saved by an ODA-based tool). Searched without an AC1032 file: Aspose.CAD, GDAL test data, ezdxf, IxMilia/Dwg.

    Result: the corpus now holds four R2018 drawings (three distinct drawings plus an empty one) from AutoCAD 2023 and 2025, two with an AutoCAD DXF twin, all MIT. Every one is ACadSharp's, so the next step for source diversity is candidate 3 or 4, which needs fetch.py to take a zip member or a non-GitHub URL.

  3. DrunkOnJava commented on Oct 26, 2026

    @DrunkOnJava
    OwnerAuthor

    Closing with the provenance established. sample_AC1032.dwg (1,081,979 bytes, sha256 0e8faaca949c9429c92240082d9ea4d3524aca5baf7c7815ec439245c321b528, git blob 4cfa790d6719acf3aad9818bacbd693ac3ab71b8) is byte-identical to samples/sample_AC1032.dwg in DomCR/ACadSharp at c30a97ce4697e649e562fbeb52057aa9f73f7744.

    • Licence: MIT.
    • Authoring application: AutoCAD 2025, build V.162.0.0, registry version 25.0. It is a SAVEAS of one base drawing by samples/sample_base/save_samples.lsp, and its DXF twin is sample_AC1032_ascii.dxf. Details and every candidate looked at are in the comment above.

    Acceptance:

    Three more ACadSharp R2018 drawings are pinned alongside it in #225, so R2018 now has four drawings, two of them with an AutoCAD DXF. A second R2018 source independent of ACadSharp is still open: Microsoft's CC0 Azure package or Zenodo's CC-BY files, both needing fetch.py support (see the table above). The pins, the CI fetch and the CLEANROOM entry all land with #225.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corpuspriority:P1release:R2018type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions