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 short script wrote each file from
the DesignOptPy implementation of the same behavior in the same repository; the
description of each file names the Python version.

SSO run-history, box, projection, and component product views (package
designoptpy-sso):

- G015-metric-views.json: _metric_views of designoptpy.sso.plotting, the
  renderer of plot_box_metrics and plot_component_metrics, for the fixtures of
  tests/sso_metric_views.rs. The tests metric_views_match_the_reference_vectors
  in tests/sso_metric_views.rs and derived_series_match_the_reference_vectors in
  tests/private/sso_metric_series.rs read it; the tolerance is stated in the
  description field and in those tests.
- G015-number-text.json: _three_digits, _math_number, _percent_text, and
  _time_unit of designoptpy.sso.plotting. The test
  number_text_matches_the_reference_vectors in tests/private/sso_number_text.rs
  reads it; the tolerance is stated in the description field and in that test.
- G016-comparison-views.json: plot_sso_comparison_box_component_metrics and
  _peak_break of designoptpy.sso.batch_plotting, for the fixtures of
  tests/sso_comparison_views.rs. The test
  comparison_views_match_the_reference_vectors in that file reads it; the
  tolerance is stated in the description field and in that test.
- G020-box-faces.json: plot_box of designoptpy.sso.box_plotting. The test
  box_scene_has_the_twelve_edges_of_the_cuboid in tests/box_scene_faces.rs
  reads it; the tolerance is stated in the description field and in that test.
- G022-projection-layers.json: plot_projection of designoptpy.sso.plotting,
  for the fixture of tests/projection_figure.rs. The test
  projection_layers_match_the_reference_vectors in that file reads it; the
  tolerance is stated in the description field and in that test.
- G252-component-product-mesh.json: component_product_mesh of
  designoptpy.sso.plotting. The test
  component_product_mesh_matches_designoptpy_reference_vectors in
  tests/component_product_mesh.rs reads it; the tolerance is stated in the
  description field and in that test (exact, sign of zero included).

Batch figures (package designoptpy-sso, the merged P21 implementation; these
two descriptions name no Python version):

- G040-export-component.json: _export_component of
  designoptpy.sso.batch_plotting, the export folder name of a case ID or option
  name. The test export_component_matches_the_reference_vector in
  tests/batch_figures.rs reads it (exact text).
- G040-non-dominated-front.json: _non_dominated of
  designoptpy.sso.batch_plotting, the non-dominated runs of the cost view, with
  every exactly tied run kept. The test
  non_dominated_runs_match_the_reference_vector in tests/private/batch_front.rs
  reads it (exact indices).

Population stage and Bayesian progress views (package designoptpy-point,
module designoptpy.point.plotting):

- G101-connector-sample.json: the sample of joined decisions of a stage panel,
  from stages._connector_sample. The test
  connector_sample_and_stack_counts_match_the_reference_vectors in
  tests/private/stage_helpers.rs reads it (exact).
- G101-stack-count.json: the stack-count note of a stage panel, from
  stages._show_stack. The same test reads it (texts exact, anchors 1e-12).
- G101-differential-evolution-stage.json, G101-genetic-algorithm-stage.json,
  and G101-particle-swarm-stage.json: frame 0 of the animated stage views, from
  plot_population_progress(stage=..., animate=True). The test
  stage_geometry_matches_the_reference_vectors in tests/population_stage_views.rs
  reads them (coordinates 1e-12, texts exact).
- G101-static-zoom.json: the zoom of the static differential-evolution view,
  from plot_population_progress(stage='differential_evolution'). The test
  static_view_zooms_a_converged_population_and_frames_keep_the_bounds in
  tests/population_stage_views.rs reads it (limits 1e-12, counts and texts exact).
- G102-stage-pair-resolution.json: the coordinate pairs, panel grid, and first
  title line of a stage view, or an input error, from plot_population_progress.
  The test pair_selection_matches_the_reference_vector in
  tests/population_stage_views.rs reads it (exact).
- G103-bayesian-frames.json: the band, acquisition values, numerically-zero
  test, and acquisition limit of the one-variable Bayesian progress frames, from
  plot_bayesian_progress_1d and expected_improvement. The test
  frame_band_and_acquisition_decisions_match_the_reference_vector in
  tests/bayesian_progress_frames.rs reads it (values 1e-12, flags and texts exact).
- G104-bayesian-history.json: the line data, title, objective-axis scale, and
  empty-history note of plot_bayesian_history for hand-built Bayesian records.
  The test history_points_and_gaps_match_the_reference_vector in
  tests/bayesian_progress_frames.rs reads it (points 1e-12; segments, texts,
  and flags exact).

Point-optimization result views (package designoptpy-point, modules
designoptpy.point.plotting.results and designoptpy.point.plotting.base):

- G122-design-normalization.json: the normalized design histories and their
  final-minus-current differences of plot_point_optimization_results. The test
  normalized_histories_match_the_reference_vectors in
  tests/private/point_result_vectors.rs reads it (absolute 1e-12, flags exact).
- G122-display-limits.json: the display limits of one design coordinate,
  _design_limits with use_design_space_limits=True. The test
  display_limits_match_the_reference_vectors in the same file reads it
  (relative 1e-12).
- G122-quantile-contour-levels.json: the contour levels of the objective field,
  _contour_levels. The test quantile_levels_match_the_reference_vectors in the
  same file reads it (exact, three significant digits).
- G122-gradient-arrow-displacement.json: the displacement of the schematic
  gradient arrow of plot_point_optimization_results. The test
  arrow_displacements_match_the_reference_vectors in the same file reads it
  (absolute 1e-12).
- G124-scalarized-objective-views.json: the masked raw objectives, their
  final-minus-current differences, the scaled normalization, and the
  normalized differences of plot_point_scalarized_objective_results
  (_scalarized_columns). The test scalarized_columns_match_the_reference_vectors
  in the same file reads it (absolute 1e-12; a NaN expectation requires NaN).
- G132-retained-gradient-selection.json: the retained gradient policy of
  plot_point_optimization_results (_retained_gradient and
  _arrow_displacement). The test
  retained_arrow_displacement_matches_the_reference_vectors in the same file
  reads its displacement (absolute 1e-12); designopt-point tests the selection.
- G125-pareto-archive-order.json: the archive order, the ringed population
  rows, the value range, and the magnification note of
  plot_point_multiobjective_optimization_results. The test
  pareto_archive_rules_match_the_reference_vectors in the same file reads it
  (order and membership exact; the test states the value tolerance).
- G133-history-ticks.json: the capped history ticks of maximum_history_ticks
  in plot_point_optimization_results and plot_point_design_variable_summaries,
  _history_ticks of designoptpy.point.plotting.base. The test
  history_ticks_match_the_reference_vectors in the same file reads it (exact).

Optimization progress views (package designoptpy-point, modules
designoptpy.point.plotting.gradient, designoptpy.point.plotting.progress, and
designoptpy.point.plotting.base; commit 612b43c14, Python 3.13.5, Matplotlib
3.11.1, NumPy 2.5.2):

- G126-gradient-arrow-scales.json: _frame_arrow_scales and the local-window
  limits of plot_point_gradient_progress (read from the left axes after
  AnimationController.set_frame). The test
  automatic_arrow_scales_match_reference_vectors in
  tests/private/gradient_progress_geometry.rs reads it.
- G127-line-search-selection.json: the selection kind, the selected trial, the
  phase categories, and the maximum step of plot_point_line_search_progress,
  read from its artist labels and offsets. The test
  line_search_selection_matches_reference_vectors in tests/progress_figures.rs
  reads it.
- G128-constraint-reference-arrow.json: the reference arrow, the symmetric
  logarithmic violation-axis decision, and the tolerance-line decision of
  plot_constraint_optimization_progress. The test
  constraint_reference_arrow_follows_reference_vectors in
  tests/private/constraint_reference_arrow.rs reads it.
- G130-objective-progress-pairs.json: the shown pairs, the available pair
  count, the title, and the triangle layout of plot_objective_value_progress_nd.
  The test objective_progress_pairs_match_reference_vectors in
  tests/progress_figures.rs reads it.
- G130-design-limits.json: _design_limits. The test
  design_limits_match_reference_vectors in tests/progress_figures.rs reads it.

Each of these files states its tolerance in its description field and in the
test that reads it.

Histograms (NumPy, the bin rule of the run-distribution figures of the
DesignOptPy quadrotor product-family study):

- G262-histogram-bins.json: the bin edges and counts of numpy.histogram with
  the automatic bin count min(10, max(1, ceil(sqrt(n)))), unit bins centered on
  the integers (numpy.arange(lo - 0.5, hi + 1.5)), and a given count of equal
  bins. The test histogram_counts_match_numpy in tests/histogram.rs reads it
  (edges relative 1e-12, counts exact).

Population progress and objective landscapes (package designoptpy-point,
modules designoptpy.point.plotting.population, designoptpy.point.plotting.stages,
and designoptpy.point.plotting.base; commit 6e91647f3, Python 3.13.5, Matplotlib
3.11.1, NumPy 2.5.2):

- G129-population-matrix-pairs.json: _population_matrix, MAX_MATRIX_VARIABLES,
  and _marker_area of plot_population_progress. The test
  population_matrix_pairs_match_reference_vectors in tests/progress_figures.rs
  reads the pairs, the cap, and the title notes (exact); the test
  marker_areas_match_reference_vectors in
  tests/private/population_marker_area.rs reads the marker areas (relative
  1e-12).
- G131-landscape-budget.json: _check_landscape_budget and _landscape_batches.
  The test landscape_batches_follow_reference_vectors in
  tests/objective_landscape.rs reads it (exact).
- G131-landscape-grid-nodes.json: the nodes of objective_landscape
  (LandscapeGrid.x). The test landscape_nodes_follow_reference_vectors in
  tests/objective_landscape.rs reads it (relative 1e-12).
- G131-landscape-values.json: the value rules of LandscapeGrid
  (_check_landscape_values). The test landscape_values_follow_reference_vectors
  in tests/objective_landscape.rs reads it (exact).
- G131-contour-quantile-levels.json: _contour_levels. The test
  quantile_levels_follow_reference_vectors in tests/objective_landscape.rs reads
  it (relative 1e-12).

Axis scales of the progress views (package designoptpy-point, module
designoptpy.point.plotting.progress, read from the Matplotlib axes; commit
2627f95ce, Python 3.13.5, Matplotlib 3.11.1, NumPy 2.5.2):

- G128-progress-axis-scales.json: the objective-axis scales, the off-scale
  start flag, the violation-axis scale, threshold, and upper limit, and the
  tolerance-line flag of plot_constraint_optimization_progress.
- G130-objective-axis-scales.json: the horizontal and vertical scales of the
  objective panel of plot_objective_value_progress_nd for the six line_type
  renderers.

The test progress_axis_scales_match_reference_vectors in
tests/private/progress_axis_scales.rs reads both files (scales and flags exact,
numbers relative 1e-12).

Truss structure figure (package designoptpy-truss):

- G284-movable-node-positions.json: movable_node_positions of
  designoptpy.truss. The test design_fill_matches_reference_vectors in
  tests/private/truss_structure_geometry.rs reads it (exact).
- G284-load-arrows.json: _load_arrows of designoptpy.truss.plotting. The test
  load_arrows_match_reference_vectors in
  tests/private/truss_structure_geometry.rs reads it (absolute 1e-12 times the
  largest coordinate span; loaded nodes and pull flags exact).
- G284-wall-extent.json: _wall_extent of designoptpy.truss.plotting. The test
  wall_extent_matches_reference_vectors in
  tests/private/truss_structure_geometry.rs reads it (absolute 1e-12).

Surrogate figures and training progress (package designoptpy-surrogate):

- G137-progress-selection.json: the selected figures, the snapshot fallback,
  and the observed-design counts of plot_top_down_iteration_progress of
  designoptpy.surrogate. The test
  progress_selection_matches_the_reference_vector in tests/learning_progress.rs
  reads it (exact).
- G149-section-queries.json: the section queries that plot_surrogate_sections
  of designoptpy.surrogate sends to a recording model. The test
  section_queries_match_the_reference_vector in tests/surrogate_views.rs reads
  it (absolute 1e-12, call counts exact).
- G150-fold-panels.json: the per-fold panels of
  plot_cross_validation_predictions(panels="per-fold") of
  designoptpy.surrogate: the rows and the fold metrics of each panel. The test
  per_fold_panels_match_the_reference_vector in tests/surrogate_views.rs reads
  it (counts exact; metric texts with three significant digits).
- G151-prediction-batches.json: the row batches of the grid predictions, from
  the private helper _in_row_batches of designoptpy.surrogate with a recording
  compute function. The test progress_predictions_use_bounded_batches in
  tests/learning_progress.rs reads it for the cases whose row count is the node
  count of a progress grid (exact call sizes).
- G152-positive-class.json: the accepted and rejected groups and the legend
  texts of plot_classifier_training_data_2d and plot_classifier_training_data_3d
  of designoptpy.surrogate.classifier_plotting. The test
  positive_class_partition_matches_the_reference_vector in
  tests/surrogate_views.rs reads it (exact).

Color palettes, figure sizes, azimuth rotation and its GIF timing, and axis
scales (packages designoptpy-core and designoptpy-point, and the Matplotlib
3.11.1 scales that DesignOptPy uses):

- G190-palette-tables.json: color_palette_ibm, color_palette_okabe_ito, and
  color_palette_tol of designoptpy.core.plotting.colors, with the color names of
  their tables. The test palette_tables_match_the_reference_vector in
  tests/palettes.rs reads it (exact).
- G190-palette-selection.json: color_palette_ibm, color_palette_okabe_ito, and
  color_palette_tol of designoptpy.core.plotting.colors with index and name
  requests. The test palette_selection_matches_the_reference_vector in
  tests/palettes.rs reads it (exact).
- G197-figure-size-units.json: set_figure_size of
  designoptpy.core.plotting.figures (Matplotlib 3.11.1), read back as inches.
  The test physical_figure_sizes_convert_at_96_pixels_per_inch in
  tests/figure_text_and_size.rs reads its physical-unit cases (exact pixel
  counts at 96 pixels per inch) and skips the case marked python_only.
- G198-azimuth-rotation-schedule.json: save_gif_video_3d_azimuth_rotation of
  designoptpy.core.plotting.figures (Matplotlib 3.11.1), recorded at the
  view_init calls of the axes. The test
  rotation_views_match_the_reference_schedule in tests/azimuth_rotation.rs
  reads it; the tolerance is stated in the description field and in that test.
- G199-rotation-gif-timing.json: save_gif_video_3d_azimuth_rotation of
  designoptpy.core.plotting.figures (Matplotlib 3.11.1, Pillow 13.0.0), read
  back with Pillow: frame count, stored delays, and loop count. The test
  rotation_gif_timing_matches_the_reference_vector in
  tests/azimuth_rotation_gif.rs reads it (exact); it runs with the gif-export
  feature.
- G347-axis-scales.json: the Matplotlib 3.11.1 "log" and "symlog" (linscale
  0.6) axis transforms that designoptpy.point.plotting sets, and _log_if_wide of
  designoptpy.point.plotting.base, checked against _is_wide of
  designoptpy.sso.batch_plotting. The tests
  axis_positions_match_the_reference_vector and
  wide_value_rule_matches_the_reference_vector in tests/axis_scales.rs read it;
  the tolerance is stated in the description field and in those tests.

The tests of this crate compare the native results with these values within the
tolerance that each test states, so DesignOptRs keeps the DesignOptPy behavior
without a Python runtime or 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.
