Skip to content

test: delete the typed-element decoders' inline mirror suites, 4,636 lines (B23) - #573

Merged
DrunkOnJava merged 2 commits into
mainfrom
tests/b23-typed-elements
Oct 3, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
tests/b23-typed-elements

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Unit-suite option (c), area typed elements. The inline test modules of the 26 files under src/elements/ build synthetic schema classes and payloads in each decoder's expected shape and assert its projected fields. They are mirror tests, none ran in CI, and none in the area is tagged keep (BACKLOG.md, B23).

Coverage of the area:

  • real-file targets: iter_elements_typed, element_names, level_names, curtain_walls, rooms_floors_from_records_only;
  • the contract target project_count_fixtures;
  • the Measure scorers.

This lands only with their green run on this PR.

Lines removed: 4,636.


Note

Medium Risk
Large removal of unit tests without moving them in-repo increases regression risk if CI integration coverage gaps exist; runtime behavior is unchanged.

Overview
Removes ~4,636 lines of #[cfg(test)] modules from 26 files under src/elements/ (annotations, arc_wall, category, ceiling, circulation, curtain_wall, drafting, family, floor, foundation_and_furnishings, generic, grid, level, mep, mod, openings, parameters, project_organization, reference_planes, reference_points, roof, structural, styling, typed_json, wall, zones).

No production decoder or typed-view logic changes — only deleted inline tests that built synthetic ClassEntry schemas/bytes and asserted from_decoded, enum mappings, wrong-schema rejection, and registry checks (e.g. all_decoders().len() == 81).

Per the PR, these were mirror suites not run in CI (B23); typed-element behavior is expected to stay covered by real-file/integration targets (iter_elements_typed, fixture contracts, Measure scorers).

Reviewed by Cursor Bugbot for commit 232e92b. Configure here.

…lines (B23)

Unit-suite option (c), area "typed elements": the inline #[cfg(test)]
modules of the 26 files under src/elements/ build synthetic schema
classes and instance payloads in each decoder's own expected shape and
assert its projected fields, or count the registry (81 decoders). None
ran in CI (unit tests are banned, tools/ci/test-targets.txt), and no
suite in the area is tagged keep (BACKLOG.md, B23).

Coverage of the area is the real-file targets iter_elements_typed,
element_names, level_names, curtain_walls and
rooms_floors_from_records_only, the contract target
project_count_fixtures, and the Measure scorers; this deletion lands
only with their green run on this PR.

Lines removed: 4,636.
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 3, 2026 11:19
@DrunkOnJava
DrunkOnJava merged commit ec5a4c1 into main Oct 3, 2026
23 checks passed
@DrunkOnJava
DrunkOnJava deleted the tests/b23-typed-elements branch October 3, 2026 11:55
DrunkOnJava added a commit that referenced this pull request Oct 29, 2026
…, templates and the corpus

- The viewer's Parameters row counts the values written (RE-207), so
  status.md, compatibility.md and the aparameter-host-joins row no longer
  call it empty; the AProperty carriers are still not joined (#35).
- csv-schedules: room areas come from the outline where the stored solid
  was read (RE-101); its unit-test evidence never ran and is dropped.
- The 81 schema decoders' synthesized-byte tests were deleted in #573, so
  README and compatibility.md no longer say they are verified; the
  round-trip tests are not run by CI.
- No .rte or .rft is in any corpus: templates are listed apart as not
  measured, and a family's IFC export is a scaffold whose output is not
  measured.
- corpus-sources.md and validation-evidence.md catch up with the project
  corpus, the Measure flags and the held-out request (Discussion #1088);
  contribution-map.md lists #1016 and #1046.
DrunkOnJava added a commit that referenced this pull request Oct 29, 2026
…, templates and the corpus (#1091)

## Summary

The second half of the 2026-10-29 claims audit (the first is #1087):
statements that were true once and no longer are. Docs and
support-matrix notes only; no status moves.

## Motivation

A reader acting on these would expect an empty Parameters row, no room
areas in schedules, tested schema decoders, measured templates, and a
corpus with no projects. None of that is the case on main af50068.

## Changes

- docs/status.md, docs/compatibility.md, docs/support-matrix.json
(aparameter-host-joins notes): the viewer's Parameters row counts the
parameter values written (viewer/src/main.ts, the Parameters status
row); parameters come from the native records (RE-207); the AProperty
joins stay open (#35).
- docs/support-matrix.json (csv-schedules): room areas from the outline
where the stored solid was read (src/ifc/schedule_csv.rs module docs,
RE-101); typed rows on every release whose records are read; the
never-run unit-test evidence dropped.
- README.md, docs/compatibility.md: the 81 schema decoders'
synthesized-byte suites were deleted in ec5a4c1 (#573), so nothing
exercises them; the round-trip tests are src unit tests CI does not run
(tools/ci/test-targets.txt).
- README.md, docs/supported-profile.md, docs/compatibility.md: templates
(.rte, .rft) listed apart as not measured (no template in any corpus,
research TSV or test); a family's IFC export is a scaffold whose content
is not measured (Measure runs only rvt-info on families;
tests/walker_to_ifc_integration.rs checks the IfcProject only).
- docs/corpus-sources.md, docs/validation-evidence.md: project files are
in; what is missing is a redistributable model over 100 MB (#1075) and
held-out pairs (#408, Discussion #1088); the Measure flags.
- docs/contribution-map.md: the 1.0.0 table lists #1016 and #1046; date.

## Testing

Unit tests are banned in this repository: do not add them.

- [x] tools/ci/api-doc-ids.py passes; docs/support-matrix.json parses;
statuses unchanged.

## Audit-honesty checklist

- [x] Docs reflect the current state.
- [x] No code change, so no changelog fragment.
- [x] No emojis, private paths or internal jargon.

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk material.

## Breaking changes

None.

## Related issues

Refs #35, #408, #573, #1016, #1046.
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