Skip to content

v0.10.0 — Graduated local FEM mesh-budget scoring

Latest

Choose a tag to compare

@littlefishtank littlefishtank released this 21 Oct 18:12
716159c

v0.10.0 — Graduated local FEM mesh-budget scoring

This release replaces the all-or-nothing penalty for exceeding a case-local FEM mesh budget with logarithmic decay. Small local overruns now retain partial mesh-budget credit, while global node-limit enforcement remains unchanged.

Scoring changes

  • Positive node counts up to and including the local budget receive full credit.
  • Above the budget, local credit follows 100 × max(0, 1 − log2(candidate_nodes / local_budget)), reaching zero at twice the budget.
  • For example, a local budget of 2,400 nodes awards approximately 41.50/100 local credit at 3,600 nodes and zero at 4,800 or more.
  • Missing target bodies and zero local nodes still receive zero local credit. The trusted reference must remain positive and within its local budget.

The mesh-budget category uses the lower of global and local credit, retains its existing 25% weight in reference-based scoring, and is applied before any preprocessing multiplier. Global budget overflow still makes the overall score zero; local overflow alone does not introduce a whole-submission validity gate.

Compatibility

  • Scores can increase for candidates with local node counts strictly between one and two times the configured budget, provided global and other validity gates pass. Pin the evaluator version when comparing results.
  • Local overruns remain reported as outside_budget, and mesh_within_budget remains false even when partial credit is awarded.
  • Cases without a trusted mesh_budget.json retain their existing scoring behavior.
  • The default stress tolerance remains 10%, as introduced in v0.9.0. Public API signatures, CLI options, dependencies, and CAD geometry/specification scoring are unchanged.

Changes

Installation

python -m pip install --upgrade "gnucleus-freecad-validator==0.10.0"

For FEM workflows using local body budgets or preprocessing, install the existing optional dependencies into the Python environment used by FreeCAD:

python -m pip install --upgrade "gnucleus-freecad-validator[preprocess]==0.10.0"

FreeCAD and CalculiX remain external runtime requirements for FEM evaluation.