The JSON files in reference-vectors/ are reference vectors. Each file holds the
deterministic inputs and the expected outputs of one behavior, with a short
description and the comparison tolerances. A script wrote each file from the
DesignOptPy implementation of the same behavior (package designoptpy-core):

- G014-format-general.json: the text of the C conversion %.<precision>g, which
  is also Python '%.*g' % (precision, value), for the float text of progress
  records. The tests in general_number_format.rs read it.
- G064-measure-index.json: SurrogateMapping of designoptpy.core with
  performance_measure_index and feasibility_measure_index. The tests in
  typed_mapping_semantics.rs read it.
- G065-explicit-free-nodes.json: ContinuousVariableMapping.from_design_spaces of
  designoptpy.core with free_interpolation_nodes. The tests in
  functional_setup.rs read it.
- G159-matthews-correlation-extreme-counts.json:
  classification_evaluation_metrics of designoptpy.core.metrics, for scalar
  counts and for membership arrays, with the factored Matthews correlation. The
  tests in grid_and_classification.rs read it.
- G167-budget-rejection.json: the row budget of a general stencil, checked
  before any model call. The tests in stencil_evaluation_controls.rs read it.
- G167-gradient-evaluation-batches.json: a central gradient of two output groups
  cut into calls of at most three rows. The tests in
  stencil_evaluation_controls.rs read it.
- G167-gradient-forward-base-value.json: a forward gradient with and without a
  known base value. The tests in stencil_evaluation_controls.rs read it.
- G167-hessian-base-value.json: the default Hessian with and without a known
  base value. The tests in stencil_evaluation_controls.rs read it.
- G170-affine-rank.json: the affine rank of point matrices
  (designoptpy.core.geometry.compute_affine_rank). The tests in affine_rank.rs
  read it.
- G182-distance-function-selectors.json: the four region selectors of
  designoptpy.core.regions with a weighted city-block distance function. The
  tests in custom_distance_functions.rs read it.
- G185-adapter-batch-metadata.json: the metadata that an adapter returns once
  per call. The tests in stencil_evaluation_controls.rs read it.
- G186-hessian-evaluation-count.json: the evaluation count of a Hessian without
  the retained trace. The tests in stencil_evaluation_controls.rs read it.
- G189-index-base-conversion.json: the position conversion between a full
  list and its masked subset (designoptpy.core.arrays.convert_index_base).
  The tests in index_base_conversion.rs read it.
- G327-range-or-index-without-model.json: the model requirements of the trusted
  ranges and measure indices of SurrogateMapping of designoptpy.core. The tests
  in typed_mapping_semantics.rs read it.

The tests of this crate compare the native results with these values within the
tolerance that each test states, so the native and the Python behavior stay in
agreement without the Python source tree.

The files contain no third-party data. They are licensed under the MIT OR Apache-2.0 license, as is the rest of DesignOptRs. The license texts are in the LICENSE-MIT and LICENSE-APACHE files of this crate.
