Skip to content

Add paper-derived conformity tests for the supplement equations #332

Description

@soaressgabriel

Description

The supplement of the RUBEM paper (equations S1 to S35, PDF pages 5 to 12) is the normative description of the model, but no test derives its expectations from those equations: the unit tests pin values computed by the code itself and the goldens pin the synthetic run. After the review of the equations against the code (fixes #318, #319, #320, #322; confirmed rules in #331), the model needs tests that fail when an implementation drifts from the formulation.

Proposed solution

A paper marker and a tests/paper package with:

No xfail is needed: every equation is either implemented as written or covered by a confirmed rule (#331).

Alternative solutions

Property-based tests over random inputs were considered; fixed analytic cases keep every derivation readable and citeable.

Additional context

These tests guard the architecture refactors that follow them.

Activity

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

Metadata

Metadata

Labels

paperConformity with the published model descriptiontestImprovements or additions to tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions