Skip to content

Reports and material JSON

A run writes results/<name>_<timestamp>/result.html alongside any requested exports. Start with the HTML report to compare candidates. Use the Python or JSON result when you want to evaluate a candidate in another workflow.

Read the HTML report

Compare candidate fits

Each model shows its strain-energy equation, complexity, overall unweighted R² and full-data weighted MSE (clear_mse). Models are ordered by increasing MSE. Compare the curves under Experimental fit, then open R² by loading mode and tag to check the branches that matter to your application.

clear_mse measures weighted error on Rust's nominal stress targets, including applicable boundary targets. It excludes physics and parsimony penalties. R² compares the supplied nominal stresses and volumetric pressures without weights. See fit metrics.

Treloar report showing Model 4, its strain-energy equation, weighted MSE of 0.0013487 MPa², unweighted R² of 0.997 and complexity of 29.

Read the checks and applicability limits

Open Validation to see which search and post-search checks ran, their outcomes and the evidence. Expand FEM convergence when available to see the mesh and load-step comparisons for reaction force, mean stress, energy and Newton residuals. Numerical diagnostics lists warnings raised while evaluating the candidate.

Expanded Validation panel showing two optional search checks marked Not run and passing results with evidence for the float64 audit and constitutive checks.

Sampled applicability shows the common passing interval on each representative probe path, even when the panel is collapsed. Expand it to compare the configured range with the passing interval for each check and to inspect the first observed failure bracket. Partial coverage marks a passing interval that falls short of the configured range. See how the scan works.

In this example, the common uniaxial passing interval of approximately 0.03476–7.94205 covers the configured range of 1–7.6053. The Limits column gives the lower and upper failure brackets for each check.

Expanded Sampled applicability panel showing the common intervals by loading path, the configured and passing intervals for each check, and failure brackets.

Find exports and rejected candidates

Run settings shows the reference directions, weighting and Rust screening ranges. Open a model’s Exports for file links and exporter messages. Rust final-stage rejections, when present, lists the candidates screened out by Rust and the reasons.

Expanded Exports panel showing the material JSON, Abaqus UHYPER source, input deck and reference results, together with the reason this model could not be exported to CalculiX.

See solver integration for supported formats, execution and verification.

Python result

result = regressor.run()
if result.error:
    raise RuntimeError(result.error)
print(result.report_path, result.elapsed_seconds)
for model in result.models:
    print(model.mse, model.complexity, model.as_string)
    evaluator = model.get_numpy_function()
    # evaluator(X0_Mat3=F, X1_Vec3=...) when your model's symbols require them

DiscoveryResult.models contains final Rust-accepted Pareto candidates, including candidates with failing or unexecuted post-search checks. rejected_models contains reported final Rust validator rejections. Do not interpret the absence of a model from the Pareto set as proof of physical impossibility.

Solver-neutral JSON (export_json=True)

Set export_json=True to write one model_NNN.json per exportable returned candidate. Each rend.material.v4 document contains the strain-energy expression, its material conventions and compact sampled validation evidence.

{
  "schema": "rend.material.v4",
  "profile": "incompressible_isotropic",
  "unit": "MPa",
  "material_directions": [],
  "expr": {
    "kind": "operation", "operator": "Add", "args": [
      {"kind": "operation", "operator": "I1_bar_func", "args": [
        {"kind": "symbol", "name": "X0_Mat3"}
      ]},
      {"kind": "constant", "value": "-3"}
    ]
  },
  "validation": {
    "base": {
      "rust": {"uniaxial": [1.0, 2.0]},
      "float64": {"uniaxial": [1.0, 2.0]},
      "fe_robustness": false
    },
    "extended": {"uniaxial": [0.8, 2.5]}
  }
}

Illustrative values

This simplified tree represents \(\bar I_1-3\). The illustrative results show a passing float64 audit, a failed FEM robustness check and sampled uniaxial coverage that includes the configured interval.

Key Meaning
schema Format version. Check it explicitly before parsing.
profile Material symmetry/compressibility definition.
unit Unit label used for stress/strain energy density, not an automatic conversion.
material_directions Required list of material unit direction vectors in expression order. Use an empty list for isotropic profiles.
expr Structured tree. A constant stores its numeric value as a string, a symbol stores its name, and an operation stores the operator and its ordered args. Reference offsets are part of the tree.
validation.base rust holds the configured intervals when there are any. Passing Python checks carry those same intervals when available. Failed checks are JSON false. Skipped or unverified checks and passes with no configured intervals are omitted.
validation.extended For each path with an original interval, the common sampled passing interval if it covers the original, otherwise JSON false. Paths without an original interval are omitted.

Check keys include float64, the enabled constitutive checks such as stress and tangent, and fe_kinematic, fe_robustness, fe_benchmark and fe_convergence. The base intervals provide context for the checks. The HTML report gives the actual FEM scenarios, diagnostic messages and per-check applicability bounds.

Uniaxial, biaxial and planar intervals use stretch. Shear intervals use signed engineering shear. Both JSON interval groups use volume ratio \(J\) for volumetric paths, with the input principal-stretch bounds cubed for validation.base. Read how to build a solver adapter before using this evidence in a converter.