Skip to content

Promote error-order helpers to op_engine public API #29

@jc-macdonald

Description

@jc-macdonald

Move reusable accuracy-benchmarking helpers from test code into op_engine proper.

Motivation

Tim noted that helpers like _order_from_two_errors and _orders_from_errors in the accuracy test suite have value beyond tests — external users may want to benchmark solver accuracy against analytical solutions.

Scope

  • Move error-order calculation functions into an appropriate op_engine module (e.g., op_engine.diagnostics or op_engine.accuracy)
  • Add public API surface and type annotations
  • Update test imports accordingly

Related

Ref: PR #18 review by @TimothyWillard

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions