Skip to content

test(contracts): the schedules begin with the columns the user guide now lists, and rvt-gltf writes glTF 2 (#873) - #914

Merged
DrunkOnJava merged 5 commits into
mainfrom
test/output-format-contracts
Oct 23, 2026
Merged

DrunkOnJava merged 5 commits into
mainfrom
test/output-format-contracts

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The output-format half of S2 in #873. The user guide now lists the element and room schedule columns, which were documented nowhere. A CLI test checks that each schedule begins with exactly those columns, in order, in feet and with --metric. rvt-gltf's output is checked to be a glTF 2.0 container. The IFC4 FILE_SCHEMA line was already pinned by ifc_roundtrip, a real-file target.

Changes

  • docs/user-guide.md, "Get A Schedule Into Excel": two column tables (<!-- element-columns -->, <!-- room-columns -->), each with what the column holds, read from ifc::schedule_csv. The text says what --metric changes, and that columns may be added at the end but are not renamed, dropped or reordered without a breaking-change notice.
  • tests/rvt_schedule_cli.rs: schedules_begin_with_the_documented_columns reads the two tables and runs rvt-schedule on the tier-1 project for both schedules and both units. It fails when the header does not begin with the documented list. The old checks, the first column name, a count of 17 and the exact room header, fail on an added column and pass on a renamed one; they are replaced. The ragged-row check now compares every row with the header.
  • tests/cli_ergonomics.rs: the GLB header's version word is 2.

Testing

  • tools/check-local.sh: not run locally. rvt_schedule_cli and cli_ergonomics are cli targets that CI's test job runs.
  • End to end: the built rvt-schedule and rvt-gltf on corpus/tier1/architectural-2024/architectural-2024.rvt, in this PR's run.
  • IFC exporter / performance: N/A.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • No limitation resolved or introduced
  • Commit messages describe what and why
  • No emojis
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: N/A

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2585d07b5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/user-guide.md Resolved
Comment thread docs/user-guide.md Resolved
Comment thread docs/user-guide.md Resolved
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 23, 2026 15:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 47b4f3fd32

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/user-guide.md Resolved
Comment thread docs/user-guide.md Resolved
Comment thread docs/user-guide.md Resolved
@DrunkOnJava
DrunkOnJava merged commit 7371374 into main Oct 23, 2026
26 checks passed
@DrunkOnJava
DrunkOnJava deleted the test/output-format-contracts branch October 23, 2026 17:25
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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.

1 participant