Skip to content

M2-02: Create known-count fixtures #19

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

Source: https://github.com/DrunkOnJava/rvt-rs/blob/main/TODO.md#L320
Tracking commit: 1ec8105

Scope

Labels: priority:P0, type:test, area:corpus, area:elements

  • For each curated project, create a known-count manifest:
    • levels
    • walls
    • floors
    • roofs
    • doors
    • windows
    • rooms/spaces
    • columns/beams where present
    • MEP categories where present
    • materials
    • units
  • Source counts from authoritative exports where possible:
    • Revit schedules supplied by file owner
    • IFC exported by Revit
    • manually reviewed schedule screenshots
    • contributor-signed manifest

Acceptance criteria:

  • tests/fixtures/project-counts/*.json contains count manifests.
  • Tests compare decoded output against counts with documented
    tolerances.
  • Any unknown count is explicit, not silently skipped.

Definition of done

  • The TODO acceptance criteria for this section are implemented or explicitly superseded by a linked decision.
  • Tests, fixtures, or documentation are added at the level appropriate to the change risk.
  • User-facing behavior and limitations remain honest in README/docs/viewer messaging.
  • Relevant CI checks pass before the issue is closed.

Activity

  1. added
    area:corpus
    area:elements
    priority:P0
    type:test
    on Apr 25, 2026
  2. DrunkOnJava commented on Aug 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Triage (2026-08-28) — closing as done on main

    Verified against main @ 21aa0e0 (and related commits).

    Acceptance criteria

    • tests/fixtures/project-counts/*.json contains count manifests (2024-core-interior.json, revit-ifc5-einhoven.json)
    • Tests compare decoded/exported output against counts with documented tolerances (tests/project_count_fixtures.rs)
    • Unknown / non-authoritative counts are explicit (unknown, known_gap, decoder_baseline + required reason/tracking fields; see fixture README)
    • CI runs the fixture tests (.github/workflows/ci.yml → “Run project known-count fixture tests”)

    Shipped in b2749b5 (“test: add project known-count fixtures”).

    Note: Several categories remain unknown/known_gap by design until authoritative schedules exist — that is allowed by the AC (“Any unknown count is explicit, not silently skipped”), not a reason to keep this issue open.

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:corpusarea:elementspriority:P0type:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions