The files in reference-vectors/ hold deterministic inputs and the expected outputs
of DesignOptPy functions. A short script computed them from the DesignOptPy
sources of the same repository:

- G000-growth-rate-adaptation.json: growth_rate_adaptation_volume and
  growth_rate_adaptation_volume_conservative of designoptpy.sso.
- G001-effective-options.json: CommonSsoOptions.effective_options of
  designoptpy.sso, called on BoxSsoOptions.
- G004-residual-exclusion-indices.json: trim_box of designoptpy.sso, with its
  residual exclusion rows.
- G007-change-ratios.json: the change ratios of postprocess_box of
  designoptpy.sso.
- G009-default-start-boxes.json: trim_box and make_box_lean of designoptpy.sso
  without a start box, and bounding_boxes of designoptpy.core.geometry.
- G030-refill-batches.json: sample_all_feasible of designoptpy.sso.regions.
- G044-delimited-batch-tables.json: read_batch_cases of designoptpy.sso.batch on
  delimited-text tables (the suffix rule, the header detection, an explicit
  delimiter, and errors). The test batch_tables.rs reads it. Tolerance: exact.
- G053-variant-score-policy.json: component_cumulative_score and
  component_product_family_constraints of designoptpy.sso.family with
  variant_score_policy.
- G054-budgeted-enumeration.json: enumerate_assignment_schemes of
  designoptpy.sso.family.
- G055-canonicalize-with-arrays.json: canonicalize_assignment_with_arrays of
  designoptpy.sso.family. This copy omits the two cases of the former
  label-index error and keeps the input of the second one as a success case of
  the label-rank rule; G326-canonicalize-gapped-labels.json covers gapped labels.
- G056-vectors-for-assignment-schemes.json: vectors_for_assignment_scheme and
  vectors_for_assignment_schemes of designoptpy.sso.family.
- G057-stirling-table.json: compute_bell_number of designoptpy.sso.family.
- G058-commonality-pattern-order.json: all_commonality_patterns and its lazy
  iterator of designoptpy.sso.family.
- G059-polyhedral-equality-rows.json and G060-minimax-point.json:
  polyhedral_intersection of designoptpy.sso.family with caller inequality and
  equality rows.
- G061-pooled-row-counts.json: the pooled-row counts of find_common_design of
  designoptpy.sso.family.
- G325-undecided-linear-program-witness.json: find_common_design of
  designoptpy.sso.family with an undecided linear-program test.
- G342-common-design-linear-rows.json: find_common_design of
  designoptpy.sso.family with the linear_inequalities and linear_equalities of
  CommonDesignOptions. The test common_design_linear_rows_match_reference_vectors
  in tests/common_design_linear_rows.rs reads it (outcome, reason, and counts
  exact; design absolute 1e-9).
- G349-family-linear-rows.json: optimize_box_product_family_exhaustive of
  designoptpy.sso.family with linear_inequalities_by_component. The test
  prepared_linear_rows_match_the_reference_vector in tests/family_linear_rows.rs
  reads it (cost and design absolute 1e-6, residual absolute 1e-12, reasons and
  source exact).
- G326-canonicalize-gapped-labels.json: canonicalize_assignment_with_arrays of
  designoptpy.sso.family with gapped labels.
- G042-box-metric-series.json and G042-component-metric-series-normalization.json:
  batch_box_metric_series and batch_component_metric_series of
  designoptpy.sso.batch, from the merged P21 implementation.
- G043-sensitivity-selections-declared.json and
  G043-sensitivity-selections-executed.json: sensitivity_selections of
  designoptpy.sso.batch without and with executed_options, from the merged P21
  implementation.
- G332-opendocument-readers.json: the batch-table cases of read_batch_cases of
  designoptpy.sso.batch on hand-written OpenDocument archives. The test
  batch_tables.rs reads them. Tolerance: exact. The other cases of the file
  belong to designopt-io and designopt-xray.
- G068-shared-intervals.json: group_intervals, all_commonality_patterns, and
  interval_commonality of designoptpy.sso.family, as the DesignOptPy lesson
  examples/simple_examples/product_family_shared_intervals.py calls them. The
  test shared_interval_grouping_matches_reference_vectors in
  tests/family_demo_vectors.rs reads it. Tolerance: exact.
- G068-box-family.json: box_commonality, vectors_for_assignment_schemes, and
  group_boxes of designoptpy.sso.family, with analytic_minimum_cost of the
  DesignOptPy lesson examples/simple_examples/product_family_box_optimization.py.
  The test box_family_patterns_match_reference_vectors in
  tests/family_demo_vectors.rs reads it (patterns and labels exact; bounds and
  costs absolute 1e-12).
- G069-cardinality-expansion.json: increase_binary_cardinality and
  all_binary_vectors of designoptpy.sso.family, the cases of the DesignOptPy
  lesson examples/simple_examples/product_family_commonality_frontier.py. The
  test cardinality_expansion_matches_reference_vectors in
  tests/family_demo_vectors.rs reads it. Tolerance: exact.
- G069-restricted-assignments.json: restricted_assignment_schemes of
  designoptpy.sso.family, the fixed cases of the DesignOptPy lesson
  examples/simple_examples/product_family_restricted_assignments.py. The test
  restricted_assignments_match_reference_vectors in tests/family_demo_vectors.rs
  reads it. Tolerance: exact.
- G205-replicate-statistics.json: descriptive_statistics and
  paired_difference_statistics of designoptpy.sso, with their error messages.
  The test descriptive_statistics_match_the_python_reference_vectors in
  tests/descriptive_statistics_reference.rs reads it (relative 1e-12, absolute
  1e-15; counts, unavailable fields, and messages exact).

Each file states its tolerance in its description field or in the test that
reads it. The native tests read these files, so DesignOptRs keeps the
DesignOptPy behavior without a Python runtime.

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.
