formamech 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- formamech-0.3.0/.gitignore +42 -0
- formamech-0.3.0/CHANGELOG.md +232 -0
- formamech-0.3.0/CITATION.cff +72 -0
- formamech-0.3.0/LICENSE +21 -0
- formamech-0.3.0/PKG-INFO +523 -0
- formamech-0.3.0/README.md +420 -0
- formamech-0.3.0/frontend/boundary-picker/.gitignore +2 -0
- formamech-0.3.0/frontend/boundary-picker/package-lock.json +2102 -0
- formamech-0.3.0/frontend/boundary-picker/package.json +32 -0
- formamech-0.3.0/frontend/boundary-picker/src/BoundaryEditor.tsx +107 -0
- formamech-0.3.0/frontend/boundary-picker/src/BoundaryPicker.test.tsx +236 -0
- formamech-0.3.0/frontend/boundary-picker/src/BoundaryPicker.tsx +132 -0
- formamech-0.3.0/frontend/boundary-picker/src/BoundaryPlot.tsx +138 -0
- formamech-0.3.0/frontend/boundary-picker/src/index.tsx +28 -0
- formamech-0.3.0/frontend/boundary-picker/src/plotly.d.ts +10 -0
- formamech-0.3.0/frontend/boundary-picker/src/styles.css +103 -0
- formamech-0.3.0/frontend/boundary-picker/src/types.ts +58 -0
- formamech-0.3.0/frontend/boundary-picker/tsconfig.json +13 -0
- formamech-0.3.0/frontend/boundary-picker/vite.config.ts +25 -0
- formamech-0.3.0/frontend/viewer-3d/.gitignore +2 -0
- formamech-0.3.0/frontend/viewer-3d/package-lock.json +2152 -0
- formamech-0.3.0/frontend/viewer-3d/package.json +32 -0
- formamech-0.3.0/frontend/viewer-3d/src/FacePickerCanvas.tsx +452 -0
- formamech-0.3.0/frontend/viewer-3d/src/Viewer3D.test.tsx +387 -0
- formamech-0.3.0/frontend/viewer-3d/src/Viewer3D.tsx +369 -0
- formamech-0.3.0/frontend/viewer-3d/src/colormap.ts +62 -0
- formamech-0.3.0/frontend/viewer-3d/src/index.tsx +32 -0
- formamech-0.3.0/frontend/viewer-3d/src/styles.css +166 -0
- formamech-0.3.0/frontend/viewer-3d/src/types.ts +68 -0
- formamech-0.3.0/frontend/viewer-3d/tsconfig.json +13 -0
- formamech-0.3.0/frontend/viewer-3d/vite.config.ts +25 -0
- formamech-0.3.0/hatch_build.py +212 -0
- formamech-0.3.0/piginot_campaigns/__init__.py +3 -0
- formamech-0.3.0/piginot_campaigns/adapters.py +138 -0
- formamech-0.3.0/piginot_campaigns/geometry.py +216 -0
- formamech-0.3.0/piginot_campaigns/resources/dogbone-v1.json +201 -0
- formamech-0.3.0/piginot_campaigns/resources/geometry-templates.json +30 -0
- formamech-0.3.0/piginot_campaigns/resources/notched-v1.json +184 -0
- formamech-0.3.0/pyproject.toml +178 -0
- formamech-0.3.0/src/formamech/__init__.py +53 -0
- formamech-0.3.0/src/formamech/__main__.py +22 -0
- formamech-0.3.0/src/formamech/_boundary_picker_assets/index.css +2 -0
- formamech-0.3.0/src/formamech/_boundary_picker_assets/index.js +65756 -0
- formamech-0.3.0/src/formamech/_compat.py +65 -0
- formamech-0.3.0/src/formamech/_viewer_3d_assets/index.css +2 -0
- formamech-0.3.0/src/formamech/_viewer_3d_assets/index.js +20010 -0
- formamech-0.3.0/src/formamech/api.py +142 -0
- formamech-0.3.0/src/formamech/cli.py +21 -0
- formamech-0.3.0/src/formamech/pyproject.toml +10 -0
- formamech-0.3.0/src/formamech/verify_cli.py +156 -0
- formamech-0.3.0/src/piginot/__init__.py +3 -0
- formamech-0.3.0/src/piginot/_build_identity.json +440 -0
- formamech-0.3.0/src/piginot/_job_evidence.py +70 -0
- formamech-0.3.0/src/piginot/active/__init__.py +174 -0
- formamech-0.3.0/src/piginot/active/acquisition.py +612 -0
- formamech-0.3.0/src/piginot/active/campaign.py +239 -0
- formamech-0.3.0/src/piginot/active/feedback.py +149 -0
- formamech-0.3.0/src/piginot/active/multifidelity.py +137 -0
- formamech-0.3.0/src/piginot/active/test_planner.py +561 -0
- formamech-0.3.0/src/piginot/benchmarks/__init__.py +65 -0
- formamech-0.3.0/src/piginot/benchmarks/external_data.py +491 -0
- formamech-0.3.0/src/piginot/benchmarks/formabench.py +650 -0
- formamech-0.3.0/src/piginot/benchmarks/industry_suite.py +351 -0
- formamech-0.3.0/src/piginot/benchmarks/scaling_3d.py +420 -0
- formamech-0.3.0/src/piginot/benchmarks/suite_3d.py +362 -0
- formamech-0.3.0/src/piginot/bounds/__init__.py +140 -0
- formamech-0.3.0/src/piginot/bounds/cad_calibration.py +503 -0
- formamech-0.3.0/src/piginot/bounds/confirmation.py +145 -0
- formamech-0.3.0/src/piginot/bounds/conformal.py +127 -0
- formamech-0.3.0/src/piginot/bounds/conformal_3d.py +581 -0
- formamech-0.3.0/src/piginot/bounds/gate.py +154 -0
- formamech-0.3.0/src/piginot/bounds/multigranular.py +472 -0
- formamech-0.3.0/src/piginot/bounds/picp.py +853 -0
- formamech-0.3.0/src/piginot/bounds/record.py +190 -0
- formamech-0.3.0/src/piginot/bundle/__init__.py +62 -0
- formamech-0.3.0/src/piginot/bundle/build.py +102 -0
- formamech-0.3.0/src/piginot/bundle/inference.py +836 -0
- formamech-0.3.0/src/piginot/bundle/limitations.py +16 -0
- formamech-0.3.0/src/piginot/bundle/manifest.py +289 -0
- formamech-0.3.0/src/piginot/bundle/problem.py +332 -0
- formamech-0.3.0/src/piginot/bundle/serving.py +380 -0
- formamech-0.3.0/src/piginot/bundle/specs.py +644 -0
- formamech-0.3.0/src/piginot/cad/__init__.py +74 -0
- formamech-0.3.0/src/piginot/cad/_errors.py +9 -0
- formamech-0.3.0/src/piginot/cad/adaptation.py +473 -0
- formamech-0.3.0/src/piginot/cad/adapter.py +207 -0
- formamech-0.3.0/src/piginot/cad/brep_synthesis.py +585 -0
- formamech-0.3.0/src/piginot/cad/cases.py +81 -0
- formamech-0.3.0/src/piginot/cad/cli.py +450 -0
- formamech-0.3.0/src/piginot/cad/configuration.py +295 -0
- formamech-0.3.0/src/piginot/cad/connectors.py +496 -0
- formamech-0.3.0/src/piginot/cad/dxf.py +304 -0
- formamech-0.3.0/src/piginot/cad/electronics_templates_3d.py +391 -0
- formamech-0.3.0/src/piginot/cad/hierarchy.py +723 -0
- formamech-0.3.0/src/piginot/cad/importing.py +315 -0
- formamech-0.3.0/src/piginot/cad/importing_3d.py +728 -0
- formamech-0.3.0/src/piginot/cad/kernel_protocol.py +176 -0
- formamech-0.3.0/src/piginot/cad/mesh_controls.py +328 -0
- formamech-0.3.0/src/piginot/cad/mesh_policy.py +239 -0
- formamech-0.3.0/src/piginot/cad/parametric.py +1163 -0
- formamech-0.3.0/src/piginot/cad/parametric_3d.py +687 -0
- formamech-0.3.0/src/piginot/cad/parametric_adapter.py +1672 -0
- formamech-0.3.0/src/piginot/cad/project.py +399 -0
- formamech-0.3.0/src/piginot/cad/refinement.py +90 -0
- formamech-0.3.0/src/piginot/cad/resource.py +236 -0
- formamech-0.3.0/src/piginot/cad/settings.py +263 -0
- formamech-0.3.0/src/piginot/cad/subprocess_gmsh.py +457 -0
- formamech-0.3.0/src/piginot/certify/__init__.py +236 -0
- formamech-0.3.0/src/piginot/certify/adjoint.py +502 -0
- formamech-0.3.0/src/piginot/certify/adjoint_3d.py +577 -0
- formamech-0.3.0/src/piginot/certify/admissibility.py +260 -0
- formamech-0.3.0/src/piginot/certify/ball_quadrature.py +270 -0
- formamech-0.3.0/src/piginot/certify/cad_trust.py +156 -0
- formamech-0.3.0/src/piginot/certify/certificate.py +54 -0
- formamech-0.3.0/src/piginot/certify/estimator.py +211 -0
- formamech-0.3.0/src/piginot/certify/guards.py +97 -0
- formamech-0.3.0/src/piginot/certify/hypercircle.py +875 -0
- formamech-0.3.0/src/piginot/certify/receipt.py +389 -0
- formamech-0.3.0/src/piginot/certify/regime_guards.py +448 -0
- formamech-0.3.0/src/piginot/certify/trust_report.py +423 -0
- formamech-0.3.0/src/piginot/cli.py +2945 -0
- formamech-0.3.0/src/piginot/compiler/__init__.py +5 -0
- formamech-0.3.0/src/piginot/compiler/_validation.py +111 -0
- formamech-0.3.0/src/piginot/compiler/adapters.py +186 -0
- formamech-0.3.0/src/piginot/compiler/boundary_objective.py +427 -0
- formamech-0.3.0/src/piginot/compiler/boundary_pilot.py +402 -0
- formamech-0.3.0/src/piginot/compiler/boundary_pilot_inputs.py +265 -0
- formamech-0.3.0/src/piginot/compiler/cli.py +95 -0
- formamech-0.3.0/src/piginot/compiler/config.py +370 -0
- formamech-0.3.0/src/piginot/compiler/config_types.py +316 -0
- formamech-0.3.0/src/piginot/compiler/constrained_boundary.py +41 -0
- formamech-0.3.0/src/piginot/compiler/energy_training.py +465 -0
- formamech-0.3.0/src/piginot/compiler/execution.py +417 -0
- formamech-0.3.0/src/piginot/compiler/execution_numerics.py +260 -0
- formamech-0.3.0/src/piginot/compiler/execution_records.py +147 -0
- formamech-0.3.0/src/piginot/compiler/execution_runtime.py +132 -0
- formamech-0.3.0/src/piginot/compiler/exporting.py +370 -0
- formamech-0.3.0/src/piginot/compiler/planning.py +280 -0
- formamech-0.3.0/src/piginot/compiler/provenance.py +263 -0
- formamech-0.3.0/src/piginot/compiler/public_source.py +80 -0
- formamech-0.3.0/src/piginot/compiler/records.py +121 -0
- formamech-0.3.0/src/piginot/compiler/reference_convergence.py +441 -0
- formamech-0.3.0/src/piginot/compiler/reference_jobs.py +404 -0
- formamech-0.3.0/src/piginot/compiler/reference_metrics.py +217 -0
- formamech-0.3.0/src/piginot/contracts/__init__.py +87 -0
- formamech-0.3.0/src/piginot/contracts/canonical.py +128 -0
- formamech-0.3.0/src/piginot/contracts/energy_formula.py +582 -0
- formamech-0.3.0/src/piginot/contracts/errors.py +41 -0
- formamech-0.3.0/src/piginot/contracts/expressions.py +177 -0
- formamech-0.3.0/src/piginot/contracts/hashing.py +24 -0
- formamech-0.3.0/src/piginot/contracts/problem_spec.py +1522 -0
- formamech-0.3.0/src/piginot/contracts/profile.py +107 -0
- formamech-0.3.0/src/piginot/contracts/specs.py +507 -0
- formamech-0.3.0/src/piginot/contracts/state_machine.py +443 -0
- formamech-0.3.0/src/piginot/contracts/stateful.py +502 -0
- formamech-0.3.0/src/piginot/contracts/units.py +182 -0
- formamech-0.3.0/src/piginot/datasets/__init__.py +143 -0
- formamech-0.3.0/src/piginot/datasets/collocation.py +692 -0
- formamech-0.3.0/src/piginot/datasets/collocation_models.py +531 -0
- formamech-0.3.0/src/piginot/datasets/collocation_sampling.py +219 -0
- formamech-0.3.0/src/piginot/datasets/extraction.py +386 -0
- formamech-0.3.0/src/piginot/datasets/gate.py +502 -0
- formamech-0.3.0/src/piginot/datasets/normalization.py +506 -0
- formamech-0.3.0/src/piginot/datasets/projection.py +699 -0
- formamech-0.3.0/src/piginot/datasets/request_plan.py +353 -0
- formamech-0.3.0/src/piginot/datasets/snapshots.py +773 -0
- formamech-0.3.0/src/piginot/datasets/units.py +14 -0
- formamech-0.3.0/src/piginot/doe/__init__.py +211 -0
- formamech-0.3.0/src/piginot/doe/_design_sampling.py +647 -0
- formamech-0.3.0/src/piginot/doe/allocation.py +527 -0
- formamech-0.3.0/src/piginot/doe/checkpoint.py +492 -0
- formamech-0.3.0/src/piginot/doe/commitment.py +256 -0
- formamech-0.3.0/src/piginot/doe/coverage.py +239 -0
- formamech-0.3.0/src/piginot/doe/design.py +617 -0
- formamech-0.3.0/src/piginot/doe/envelope.py +215 -0
- formamech-0.3.0/src/piginot/doe/gate.py +373 -0
- formamech-0.3.0/src/piginot/doe/leakage.py +187 -0
- formamech-0.3.0/src/piginot/doe/preregistration.py +852 -0
- formamech-0.3.0/src/piginot/doe/provenance.py +576 -0
- formamech-0.3.0/src/piginot/doe/publication.py +360 -0
- formamech-0.3.0/src/piginot/doe/replacement.py +394 -0
- formamech-0.3.0/src/piginot/doe/roles.py +341 -0
- formamech-0.3.0/src/piginot/doe/secret_material.py +131 -0
- formamech-0.3.0/src/piginot/evaluation/__init__.py +23 -0
- formamech-0.3.0/src/piginot/evaluation/budget_records.py +143 -0
- formamech-0.3.0/src/piginot/evaluation/burned.py +122 -0
- formamech-0.3.0/src/piginot/export/__init__.py +53 -0
- formamech-0.3.0/src/piginot/export/fmu_export.py +637 -0
- formamech-0.3.0/src/piginot/export/onnx_export.py +406 -0
- formamech-0.3.0/src/piginot/export/onnx_export_3d.py +261 -0
- formamech-0.3.0/src/piginot/export/vtu_export.py +325 -0
- formamech-0.3.0/src/piginot/fem/__init__.py +168 -0
- formamech-0.3.0/src/piginot/fem/_similitude.py +56 -0
- formamech-0.3.0/src/piginot/fem/assembly.py +162 -0
- formamech-0.3.0/src/piginot/fem/backend.py +666 -0
- formamech-0.3.0/src/piginot/fem/backend_3d.py +1681 -0
- formamech-0.3.0/src/piginot/fem/binding.py +531 -0
- formamech-0.3.0/src/piginot/fem/body_forces.py +51 -0
- formamech-0.3.0/src/piginot/fem/buckling_3d.py +791 -0
- formamech-0.3.0/src/piginot/fem/contact.py +168 -0
- formamech-0.3.0/src/piginot/fem/contact_3d.py +564 -0
- formamech-0.3.0/src/piginot/fem/diff_contact_3d.py +860 -0
- formamech-0.3.0/src/piginot/fem/discretization_crosscheck.py +77 -0
- formamech-0.3.0/src/piginot/fem/dynamics_3d.py +394 -0
- formamech-0.3.0/src/piginot/fem/electro_thermal_3d.py +971 -0
- formamech-0.3.0/src/piginot/fem/error_estimation.py +331 -0
- formamech-0.3.0/src/piginot/fem/external_solvers.py +668 -0
- formamech-0.3.0/src/piginot/fem/field_providers.py +71 -0
- formamech-0.3.0/src/piginot/fem/follower.py +200 -0
- formamech-0.3.0/src/piginot/fem/follower_3d.py +763 -0
- formamech-0.3.0/src/piginot/fem/gpu_assembly_3d.py +675 -0
- formamech-0.3.0/src/piginot/fem/ipc_contact_3d.py +1273 -0
- formamech-0.3.0/src/piginot/fem/linear_solvers.py +1003 -0
- formamech-0.3.0/src/piginot/fem/linearization.py +217 -0
- formamech-0.3.0/src/piginot/fem/manufactured.py +377 -0
- formamech-0.3.0/src/piginot/fem/manufactured_providers.py +102 -0
- formamech-0.3.0/src/piginot/fem/mms_convergence.py +101 -0
- formamech-0.3.0/src/piginot/fem/mms_estimators.py +285 -0
- formamech-0.3.0/src/piginot/fem/mms_runner.py +265 -0
- formamech-0.3.0/src/piginot/fem/modal_3d.py +267 -0
- formamech-0.3.0/src/piginot/fem/models.py +213 -0
- formamech-0.3.0/src/piginot/fem/nonlinear_dynamics_3d.py +408 -0
- formamech-0.3.0/src/piginot/fem/protocol.py +147 -0
- formamech-0.3.0/src/piginot/fem/registry.py +97 -0
- formamech-0.3.0/src/piginot/fem/regularity.py +101 -0
- formamech-0.3.0/src/piginot/fem/s8_gate.py +533 -0
- formamech-0.3.0/src/piginot/fem/s8_physical.py +317 -0
- formamech-0.3.0/src/piginot/fem/seeded_defects.py +389 -0
- formamech-0.3.0/src/piginot/fem/shells_beams_3d.py +757 -0
- formamech-0.3.0/src/piginot/fem/tendon_3d.py +792 -0
- formamech-0.3.0/src/piginot/fem/thermo_mechanical_3d.py +562 -0
- formamech-0.3.0/src/piginot/fem/torch_backend.py +1416 -0
- formamech-0.3.0/src/piginot/fem/torch_sparse_solver.py +1092 -0
- formamech-0.3.0/src/piginot/fem/verification_checks.py +428 -0
- formamech-0.3.0/src/piginot/fem/verification_meshes.py +286 -0
- formamech-0.3.0/src/piginot/fem/verification_norms.py +364 -0
- formamech-0.3.0/src/piginot/fem/visco_hysteresis_3d.py +729 -0
- formamech-0.3.0/src/piginot/geometry/__init__.py +73 -0
- formamech-0.3.0/src/piginot/geometry/assembly_3d.py +313 -0
- formamech-0.3.0/src/piginot/geometry/canonicalize.py +498 -0
- formamech-0.3.0/src/piginot/geometry/errors.py +81 -0
- formamech-0.3.0/src/piginot/geometry/family.py +38 -0
- formamech-0.3.0/src/piginot/geometry/gmsh.py +556 -0
- formamech-0.3.0/src/piginot/geometry/ingest.py +133 -0
- formamech-0.3.0/src/piginot/geometry/mesh3d.py +396 -0
- formamech-0.3.0/src/piginot/geometry/models.py +75 -0
- formamech-0.3.0/src/piginot/geometry/queries.py +171 -0
- formamech-0.3.0/src/piginot/geometry/topology.py +84 -0
- formamech-0.3.0/src/piginot/git_environment.py +35 -0
- formamech-0.3.0/src/piginot/governance/__init__.py +39 -0
- formamech-0.3.0/src/piginot/governance/hitl_signoff.py +372 -0
- formamech-0.3.0/src/piginot/governance/plm_dossier.py +391 -0
- formamech-0.3.0/src/piginot/harness/__init__.py +86 -0
- formamech-0.3.0/src/piginot/harness/adapters.py +277 -0
- formamech-0.3.0/src/piginot/harness/catalog.py +4152 -0
- formamech-0.3.0/src/piginot/harness/circuit_breaker.py +681 -0
- formamech-0.3.0/src/piginot/harness/contracts.py +351 -0
- formamech-0.3.0/src/piginot/harness/registry.py +166 -0
- formamech-0.3.0/src/piginot/harness/session.py +767 -0
- formamech-0.3.0/src/piginot/ingest/__init__.py +81 -0
- formamech-0.3.0/src/piginot/ingest/contracts.py +246 -0
- formamech-0.3.0/src/piginot/ingest/readers.py +434 -0
- formamech-0.3.0/src/piginot/ingest/robotics_streams.py +207 -0
- formamech-0.3.0/src/piginot/ingest/screening.py +306 -0
- formamech-0.3.0/src/piginot/ingest/simops_fabric.py +905 -0
- formamech-0.3.0/src/piginot/ingest/simops_schema.py +219 -0
- formamech-0.3.0/src/piginot/lifting/__init__.py +21 -0
- formamech-0.3.0/src/piginot/lifting/_checks.py +49 -0
- formamech-0.3.0/src/piginot/lifting/adf.py +293 -0
- formamech-0.3.0/src/piginot/lifting/adf_3d.py +337 -0
- formamech-0.3.0/src/piginot/lifting/base.py +47 -0
- formamech-0.3.0/src/piginot/lifting/quarter.py +62 -0
- formamech-0.3.0/src/piginot/lifting/verify.py +75 -0
- formamech-0.3.0/src/piginot/materials/__init__.py +76 -0
- formamech-0.3.0/src/piginot/materials/admission.py +644 -0
- formamech-0.3.0/src/piginot/materials/artifact.py +279 -0
- formamech-0.3.0/src/piginot/materials/fem_admission.py +325 -0
- formamech-0.3.0/src/piginot/materials/hyperelastic.py +429 -0
- formamech-0.3.0/src/piginot/materials/neural_polyconvex.py +797 -0
- formamech-0.3.0/src/piginot/materials/registry.py +126 -0
- formamech-0.3.0/src/piginot/materials/values.py +82 -0
- formamech-0.3.0/src/piginot/mcp_agent_workflows.py +272 -0
- formamech-0.3.0/src/piginot/mcp_server.py +1828 -0
- formamech-0.3.0/src/piginot/morphing/__init__.py +88 -0
- formamech-0.3.0/src/piginot/morphing/blended_notch.py +385 -0
- formamech-0.3.0/src/piginot/morphing/circular_transition.py +546 -0
- formamech-0.3.0/src/piginot/morphing/fixed.py +82 -0
- formamech-0.3.0/src/piginot/morphing/ledger.py +165 -0
- formamech-0.3.0/src/piginot/morphing/maps.py +464 -0
- formamech-0.3.0/src/piginot/morphing/membership.py +643 -0
- formamech-0.3.0/src/piginot/morphing/models.py +316 -0
- formamech-0.3.0/src/piginot/morphing/validation.py +397 -0
- formamech-0.3.0/src/piginot/mutation/__init__.py +53 -0
- formamech-0.3.0/src/piginot/mutation/engine.py +191 -0
- formamech-0.3.0/src/piginot/mutation/runner.py +194 -0
- formamech-0.3.0/src/piginot/mutation/signatures.py +192 -0
- formamech-0.3.0/src/piginot/objectives/__init__.py +158 -0
- formamech-0.3.0/src/piginot/objectives/_weak_strong.py +159 -0
- formamech-0.3.0/src/piginot/objectives/energy.py +281 -0
- formamech-0.3.0/src/piginot/objectives/energy_25d.py +170 -0
- formamech-0.3.0/src/piginot/objectives/energy_constraint.py +98 -0
- formamech-0.3.0/src/piginot/objectives/equilibrium.py +157 -0
- formamech-0.3.0/src/piginot/objectives/free_traction.py +148 -0
- formamech-0.3.0/src/piginot/objectives/gate.py +483 -0
- formamech-0.3.0/src/piginot/objectives/hierarchical_energy.py +480 -0
- formamech-0.3.0/src/piginot/objectives/kinematics.py +66 -0
- formamech-0.3.0/src/piginot/objectives/models.py +222 -0
- formamech-0.3.0/src/piginot/objectives/registry.py +63 -0
- formamech-0.3.0/src/piginot/objectives/terms.py +169 -0
- formamech-0.3.0/src/piginot/objectives/traction_and_follower.py +280 -0
- formamech-0.3.0/src/piginot/objectives/verification.py +731 -0
- formamech-0.3.0/src/piginot/objectives/virtual_work_3d.py +103 -0
- formamech-0.3.0/src/piginot/operators/__init__.py +187 -0
- formamech-0.3.0/src/piginot/operators/adapter_artifact.py +264 -0
- formamech-0.3.0/src/piginot/operators/architecture.py +918 -0
- formamech-0.3.0/src/piginot/operators/boundary_energy_operator.py +354 -0
- formamech-0.3.0/src/piginot/operators/constitutive_op.py +510 -0
- formamech-0.3.0/src/piginot/operators/energy_gate.py +334 -0
- formamech-0.3.0/src/piginot/operators/energy_operator.py +458 -0
- formamech-0.3.0/src/piginot/operators/foundation_hub.py +217 -0
- formamech-0.3.0/src/piginot/operators/gate.py +341 -0
- formamech-0.3.0/src/piginot/operators/geometry_3d.py +496 -0
- formamech-0.3.0/src/piginot/operators/geometry_tokenizer.py +868 -0
- formamech-0.3.0/src/piginot/operators/low_rank_adapter.py +688 -0
- formamech-0.3.0/src/piginot/operators/low_rank_adapter_3d.py +605 -0
- formamech-0.3.0/src/piginot/operators/multi_topology_3d.py +597 -0
- formamech-0.3.0/src/piginot/operators/multiphysics_operator_3d.py +439 -0
- formamech-0.3.0/src/piginot/operators/safetensors_io.py +344 -0
- formamech-0.3.0/src/piginot/operators/surface_operator_3d.py +700 -0
- formamech-0.3.0/src/piginot/operators/temporal_bundle_3d.py +133 -0
- formamech-0.3.0/src/piginot/optimization/__init__.py +99 -0
- formamech-0.3.0/src/piginot/optimization/bundle_bridge.py +403 -0
- formamech-0.3.0/src/piginot/optimization/dfm_constraints.py +318 -0
- formamech-0.3.0/src/piginot/optimization/ffd_shape_opt_3d.py +517 -0
- formamech-0.3.0/src/piginot/optimization/parametric_3d_bridge.py +283 -0
- formamech-0.3.0/src/piginot/optimization/parametric_bridge.py +514 -0
- formamech-0.3.0/src/piginot/optimization/problem.py +248 -0
- formamech-0.3.0/src/piginot/optimization/topology_opt_3d.py +735 -0
- formamech-0.3.0/src/piginot/optimization/trust_region.py +652 -0
- formamech-0.3.0/src/piginot/physics/__init__.py +139 -0
- formamech-0.3.0/src/piginot/physics/_validation.py +107 -0
- formamech-0.3.0/src/piginot/physics/errors.py +52 -0
- formamech-0.3.0/src/piginot/physics/neo_hookean.py +86 -0
- formamech-0.3.0/src/piginot/physics/plane_stress.py +232 -0
- formamech-0.3.0/src/piginot/problem/__init__.py +39 -0
- formamech-0.3.0/src/piginot/problem/expressions.py +47 -0
- formamech-0.3.0/src/piginot/problem/lifting.py +150 -0
- formamech-0.3.0/src/piginot/problem/material.py +108 -0
- formamech-0.3.0/src/piginot/problem/requests.py +131 -0
- formamech-0.3.0/src/piginot/problem/verification.py +395 -0
- formamech-0.3.0/src/piginot/qualify/__init__.py +111 -0
- formamech-0.3.0/src/piginot/qualify/external.py +944 -0
- formamech-0.3.0/src/piginot/qualify/gate.py +306 -0
- formamech-0.3.0/src/piginot/qualify/manifest.py +455 -0
- formamech-0.3.0/src/piginot/qualify/pipeline.py +1185 -0
- formamech-0.3.0/src/piginot/qualify/policy.py +487 -0
- formamech-0.3.0/src/piginot/qualify/report.py +123 -0
- formamech-0.3.0/src/piginot/robotics/__init__.py +168 -0
- formamech-0.3.0/src/piginot/robotics/adaptive_cbf.py +652 -0
- formamech-0.3.0/src/piginot/robotics/bridges.py +263 -0
- formamech-0.3.0/src/piginot/robotics/cbf.py +360 -0
- formamech-0.3.0/src/piginot/robotics/clik_3d.py +394 -0
- formamech-0.3.0/src/piginot/robotics/contact_diagnostics.py +707 -0
- formamech-0.3.0/src/piginot/robotics/live_coupling.py +470 -0
- formamech-0.3.0/src/piginot/robotics/mpc.py +299 -0
- formamech-0.3.0/src/piginot/robotics/newton_warp_bridge.py +610 -0
- formamech-0.3.0/src/piginot/robotics/port_hamiltonian.py +239 -0
- formamech-0.3.0/src/piginot/robotics/tactile.py +467 -0
- formamech-0.3.0/src/piginot/security/__init__.py +23 -0
- formamech-0.3.0/src/piginot/security/sigstore_provenance.py +375 -0
- formamech-0.3.0/src/piginot/serving/__init__.py +199 -0
- formamech-0.3.0/src/piginot/serving/api_server.py +465 -0
- formamech-0.3.0/src/piginot/serving/audit_ledger.py +287 -0
- formamech-0.3.0/src/piginot/serving/hybrid.py +1284 -0
- formamech-0.3.0/src/piginot/serving/recipe.py +190 -0
- formamech-0.3.0/src/piginot/serving/snap.py +1493 -0
- formamech-0.3.0/src/piginot/serving/snap_gate.py +530 -0
- formamech-0.3.0/src/piginot/serving/spectral_repair.py +399 -0
- formamech-0.3.0/src/piginot/serving/test_time_lora.py +811 -0
- formamech-0.3.0/src/piginot/stateful/__init__.py +184 -0
- formamech-0.3.0/src/piginot/stateful/artifact.py +453 -0
- formamech-0.3.0/src/piginot/stateful/constitutive.py +192 -0
- formamech-0.3.0/src/piginot/stateful/fatigue_fracture.py +949 -0
- formamech-0.3.0/src/piginot/stateful/fem_stepper.py +535 -0
- formamech-0.3.0/src/piginot/stateful/fem_stepper_3d.py +398 -0
- formamech-0.3.0/src/piginot/stateful/j2_advanced.py +553 -0
- formamech-0.3.0/src/piginot/stateful/j2_plasticity.py +685 -0
- formamech-0.3.0/src/piginot/stateful/neural_stateful.py +1062 -0
- formamech-0.3.0/src/piginot/stateful/plasticity_operator.py +544 -0
- formamech-0.3.0/src/piginot/stateful/stepper.py +554 -0
- formamech-0.3.0/src/piginot/stateful/viscoelastic.py +449 -0
- formamech-0.3.0/src/piginot/stateful/viscoelastic_operator.py +498 -0
- formamech-0.3.0/src/piginot/store/__init__.py +48 -0
- formamech-0.3.0/src/piginot/store/dataset_3d.py +446 -0
- formamech-0.3.0/src/piginot/store/errors.py +55 -0
- formamech-0.3.0/src/piginot/store/models.py +232 -0
- formamech-0.3.0/src/piginot/store/store.py +719 -0
- formamech-0.3.0/src/piginot/training/__init__.py +161 -0
- formamech-0.3.0/src/piginot/training/_checkpoint_codec.py +271 -0
- formamech-0.3.0/src/piginot/training/adaptive.py +410 -0
- formamech-0.3.0/src/piginot/training/archive_trainer.py +701 -0
- formamech-0.3.0/src/piginot/training/checkpoint.py +768 -0
- formamech-0.3.0/src/piginot/training/compute.py +469 -0
- formamech-0.3.0/src/piginot/training/constrained_objective.py +82 -0
- formamech-0.3.0/src/piginot/training/constrained_stage.py +270 -0
- formamech-0.3.0/src/piginot/training/constraint_budget.py +114 -0
- formamech-0.3.0/src/piginot/training/constraint_records.py +218 -0
- formamech-0.3.0/src/piginot/training/continual_clpm.py +872 -0
- formamech-0.3.0/src/piginot/training/diagnostics.py +402 -0
- formamech-0.3.0/src/piginot/training/energy_engine.py +453 -0
- formamech-0.3.0/src/piginot/training/energy_engine_3d.py +1616 -0
- formamech-0.3.0/src/piginot/training/engine.py +512 -0
- formamech-0.3.0/src/piginot/training/fleet.py +795 -0
- formamech-0.3.0/src/piginot/training/foundation_pretrain.py +429 -0
- formamech-0.3.0/src/piginot/training/identity.py +115 -0
- formamech-0.3.0/src/piginot/training/lbfgs_checkpoint.py +272 -0
- formamech-0.3.0/src/piginot/training/lbfgs_stage.py +386 -0
- formamech-0.3.0/src/piginot/training/parametric_3d_engine.py +1578 -0
- formamech-0.3.0/src/piginot/training/platform_fingerprint.py +22 -0
- formamech-0.3.0/src/piginot/training/preconditioned_pino.py +602 -0
- formamech-0.3.0/src/piginot/training/scheduler.py +164 -0
- formamech-0.3.0/src/piginot/training/search.py +194 -0
- formamech-0.3.0/src/piginot/training/selection.py +543 -0
- formamech-0.3.0/src/piginot/training/state.py +320 -0
- formamech-0.3.0/src/piginot/ui/__init__.py +61 -0
- formamech-0.3.0/src/piginot/ui/app.py +1317 -0
- formamech-0.3.0/src/piginot/ui/field_probes.py +171 -0
- formamech-0.3.0/src/piginot/ui/inspector.py +531 -0
- formamech-0.3.0/src/piginot/ui/job_history.py +225 -0
- formamech-0.3.0/src/piginot/ui/workbench/__init__.py +75 -0
- formamech-0.3.0/src/piginot/ui/workbench/boundary_picker.py +226 -0
- formamech-0.3.0/src/piginot/ui/workbench/cad_viewer.py +326 -0
- formamech-0.3.0/src/piginot/ui/workbench/job_runner.py +812 -0
- formamech-0.3.0/src/piginot/ui/workbench/navigation.py +200 -0
- formamech-0.3.0/src/piginot/ui/workbench/physics_forms.py +707 -0
- formamech-0.3.0/src/piginot/ui/workbench/picker_component.py +83 -0
- formamech-0.3.0/src/piginot/ui/workbench/plan_review.py +129 -0
- formamech-0.3.0/src/piginot/ui/workbench/state.py +825 -0
- formamech-0.3.0/src/piginot/ui/workbench/study_plan.py +150 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/__init__.py +55 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/component.py +62 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/parametric_explorer.py +175 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/showcase_panel.py +827 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/state_3d.py +734 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/stateful_editor.py +154 -0
- formamech-0.3.0/src/piginot/ui/workbench_3d/vv10_panel.py +335 -0
- formamech-0.3.0/src/piginot/validation/__init__.py +109 -0
- formamech-0.3.0/src/piginot/validation/component_test_contracts.py +296 -0
- formamech-0.3.0/src/piginot/validation/contracts.py +283 -0
- formamech-0.3.0/src/piginot/validation/femu_gate.py +702 -0
- formamech-0.3.0/src/piginot/validation/femu_hyperreduced.py +1853 -0
- formamech-0.3.0/src/piginot/validation/hybrid_grounding.py +470 -0
- formamech-0.3.0/src/piginot/validation/interop_gate.py +831 -0
- formamech-0.3.0/src/piginot/validation/inverse.py +439 -0
- formamech-0.3.0/src/piginot/verification/__init__.py +120 -0
- formamech-0.3.0/src/piginot/verification/amortization.py +118 -0
- formamech-0.3.0/src/piginot/verification/budget.py +223 -0
- formamech-0.3.0/src/piginot/verification/confidence.py +331 -0
- formamech-0.3.0/src/piginot/verification/envelope.py +135 -0
- formamech-0.3.0/src/piginot/verification/families.py +215 -0
- formamech-0.3.0/src/piginot/verification/holdout.py +121 -0
- formamech-0.3.0/src/piginot/verification/latency.py +71 -0
- formamech-0.3.0/src/piginot/verification/reducer.py +101 -0
- formamech-0.3.0/src/piginot/verification/report.py +143 -0
- formamech-0.3.0/src/piginot/verification/status.py +52 -0
- formamech-0.3.0/uv.lock +3303 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.coverage
|
|
5
|
+
.coverage.*
|
|
6
|
+
.piginot-private/
|
|
7
|
+
.piginot-runs/
|
|
8
|
+
.formamech-runs/
|
|
9
|
+
.mypy_cache/
|
|
10
|
+
.pytest_cache/
|
|
11
|
+
.ruff_cache/
|
|
12
|
+
.venv/
|
|
13
|
+
build/
|
|
14
|
+
dist/
|
|
15
|
+
htmlcov/
|
|
16
|
+
site/
|
|
17
|
+
# Third-party GINOT modules of the S1 spike: fetched, never committed (ADR 0032)
|
|
18
|
+
experiments/spike/upstream_pi_ginot/models/modules/
|
|
19
|
+
# Agent prompts and coding-session reviews: kept locally, not part of the project
|
|
20
|
+
AGENT-PROMPT-*.md
|
|
21
|
+
S1-iteration8-review.md
|
|
22
|
+
# Implementation plans and historical narratives stay local; user guides remain public.
|
|
23
|
+
# Keep new working notes under .piginot-private/implementation/.
|
|
24
|
+
/STEPS-*.md
|
|
25
|
+
/IMPLEMENTATION*.md
|
|
26
|
+
/[sS][0-9]*-*.md
|
|
27
|
+
/docs/adr/*.md
|
|
28
|
+
!/docs/adr/upstream-sources.md
|
|
29
|
+
/docs/specs/*.md
|
|
30
|
+
/docs/fork/*.md
|
|
31
|
+
/docs/campaigns/*.md
|
|
32
|
+
!/docs/campaigns/own-cad-workflow.md
|
|
33
|
+
!/docs/campaigns/own-cad-meshing.md
|
|
34
|
+
!/docs/campaigns/s28-compiler-guide.md
|
|
35
|
+
!/docs/campaigns/s29-custom-material.md
|
|
36
|
+
!/docs/campaigns/s29-fast-demo.md
|
|
37
|
+
# Experimental campaign records and generated results stay local.
|
|
38
|
+
/artifacts/cross-family/
|
|
39
|
+
/artifacts/campaign-compiler/
|
|
40
|
+
/artifacts/release/
|
|
41
|
+
# Local LinkedIn posts & social media GIF kits stay local (not tracked in Git).
|
|
42
|
+
/linkedin_posts/
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are recorded here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow
|
|
5
|
+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [0.3.0] - 2026-12-04
|
|
8
|
+
|
|
9
|
+
Consolidation, licensing compliance, deterministic certification, GPU FEM, and operational hardening release consolidating the `v0.3`–`v0.7` 3D/multiphysics/robotics/agent tracks, Tracks 2–4 real-world validation & stateful/IPC/Warp couplers, and Phase 1–2 strategic upgrades.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Pure-MIT License Firewall & Packaging Consolidation (`P1-A`):**
|
|
14
|
+
- Isolated GPLv2+ Python `gmsh` into an explicit opt-in `[cad-gpl]` extra; added pure-permissive `[all-mit]`, `[verify-lite]`, `[trust-sign]`, and `[gpu-fem]` extras and pinned `scikit-fem>=12.0.2,<13`.
|
|
15
|
+
- Added `CadKernelProtocol` (`src/piginot/cad/kernel_protocol.py`) and MIT-safe external CLI `SubprocessGmshMesher` (`src/piginot/cad/subprocess_gmsh.py`) + `formamech doctor --check-mesher`.
|
|
16
|
+
- Added clean lazy top-level `import formamech` public facade (`src/formamech/api.py`), lightweight `formamech-verify` CLI (`src/formamech/verify_cli.py`), `THIRD_PARTY_LICENSES.md`, CI `license-audit.yml` GPL/AGPL gate, and PyPI OIDC Trusted Publishing + SLSA build provenance workflow (`release.yml`).
|
|
17
|
+
- **Multi-Granularity Case-Wise OOF Conformal UQ & Sigstore Provenance (`P1-C`):**
|
|
18
|
+
- Pure-NumPy Laplacian-smoothed `CaseWiseConformalCalibrator` (`oof_casewise_v1` / `split_casewise_v1`) and `EpistemicVarianceDecomposition` (`src/piginot/bounds/multigranular.py`).
|
|
19
|
+
- Adjacent DSSE provenance sidecars (`<bundle>.sigstore.json`) with optional keyless `model-signing>=1.1.1` OIDC and offline HMAC-SHA256 verification (`src/piginot/security/sigstore_provenance.py`, `formamech bundle sign`, and `--signature`/`--identity` gates on `bundle verify` & `predict`).
|
|
20
|
+
- **Tier 1.25 Deterministic Prager–Synge Hypercircle Certification (`P2-A`):**
|
|
21
|
+
- Outward-rounded IEEE-754 ball quadrature (`BallScalar`, `BallArray`, Higham summation bounds, optional 256-bit `python-flint`) in `src/piginot/certify/ball_quadrature.py`.
|
|
22
|
+
- `PragerSyngeCertifier`, `EquilibratedFluxReconstructor` (2D/3D scalar & Airy stress potential), `BoundRegime`, and `check_newton_kantorovich_contraction` in `src/piginot/certify/hypercircle.py`, integrated with `VerificationTier.HYPERCIRCLE_CERTIFIED` (bit-identical legacy v1 receipts when omitted), `--certify-hypercircle`, and [Deterministic Certification Guide](docs/deterministic-certification.md).
|
|
23
|
+
- **Device-Resident Pure-PyTorch GPU `TET10`/`TET4` Assembly & `torch-sla-3d` (`P2-B`):**
|
|
24
|
+
- `TorchGpuGeometry3D`, `assemble_3d_hyperelastic_torch` (with multiplicative `F = F_m F_th F_ch` thermal + electrochemical swelling kinematics seam), `apply_tangent_matrix_free_3d`, and `TorchGpuFemBackend3D` (`torch-sla-3d` entry point) in `src/piginot/fem/gpu_assembly_3d.py` achieving `<= 1e-12` parity (`2.6e-15` on `TET10`) in `float64`.
|
|
25
|
+
- Upgraded `src/piginot/fem/torch_sparse_solver.py` with `diagnose_torch_sla()`, warm-start `x0` passthrough, and `O(1)`-graph implicit adjoint solves, documented in [GPU FEM Backend](docs/gpu-fem-backend.md).
|
|
26
|
+
- **Operational Hardening — SNAP, 3D LoRA & CloakFEM MCP Circuit-Breaker (`P2-C`):**
|
|
27
|
+
- Wall-clock merit-efficiency EMA gating inside `run_snap_solver` (`src/piginot/serving/snap.py`) transitioning cleanly to `SnapSolverState.COOLDOWN_CLASSICAL`.
|
|
28
|
+
- NeuroForge residual-floor & independent higher-order quadrature-aliasing guard + 3D `adapt_surface_operator_3d_at_test_time` with optional Track 3A `PrePinoConfig` Sobolev preconditioning (`src/piginot/serving/test_time_lora.py`).
|
|
29
|
+
- `AgentResourceCircuitBreaker` (`src/piginot/harness/circuit_breaker.py`) enforcing pre-assembly 2D/3D sliver/inversion mesh refusal (`PATHOLOGICAL_MESH_REFUSED`), pre-solve Gershgorin conditioning & projected memory checks, per-call wall-time/RSS ceilings (`CALL_RESOURCE_LIMIT`), and a hard epistemic-elevation firewall (`EPISTEMIC_ELEVATION_FORBIDDEN`) across both `FormaMechAgentHarness` and `FormaMechMcpServer`.
|
|
30
|
+
- **Vendor-Neutral `FormaBench` Trust Suite & Elastomer Hypercircle Showcase (`P2-D`):**
|
|
31
|
+
- 6-axis `FormaBenchRunner` / `FormaBenchLeaderboard` (`src/piginot/benchmarks/formabench.py`, `formamech bench trust`) with RFC 8785 tamper-evident JSON/Markdown output.
|
|
32
|
+
- Reproducible Flagship Case Study 1 upgrade (`scripts/validate_elastomer_hypercircle_showcase.py`) combining `PANN` + 8-check `admit()` + Tier 1.25 Prager–Synge hypercircle + multi-granularity OOF conformal bounds + `FormaBench`.
|
|
33
|
+
- **Tracks 2–4 Shipped Capabilities:** Real 6-hole rubber FE-DIC (`zenodo.10033038`) & 18-coupon polymer (`zenodo.18617429`) PANN/FEMU validation, model-agnostic `PI-CP` & `formamech qualify external`, Track 3 Pre-PINO Sobolev/L-BFGS & chunked 1M-node surface streaming, Track 4 `STATEFUL_NEURAL` Generalized Standard Materials ($\mathcal{D} \ge 0$), pure-MIT CCD-filtered 3D deformable IPC contact, and zero-copy `BatchedNewtonWarpCoupler`.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- **Standards Terminology Alignment (`P1-B`):** Replaced premature `"AS6983"` references with accurate `"draft SAE ARP6983 / EUROCAE ED-324 (non-certified alignment)"` across schemas, docs, UI, and CLI while retaining backward-compatible legacy read-back aliases.
|
|
38
|
+
- Synchronized `pyproject.toml`, `CITATION.cff`, `README.md`, and `docs/limitations.md` to `0.3.0`.
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- Removed empty `src/piginot/twin/` directory and fixed missing `cad-parametric-v1` entry-point registration in `scripts/release_smoke.py`.
|
|
43
|
+
|
|
44
|
+
## [0.2.0.dev0] - 2026-10-15 (Historical Pre-0.3 Development Line)
|
|
45
|
+
|
|
46
|
+
Development line S19–S29 (`STEPS-v2.0.md`, ADR 0105), forked from `v0.1.0`.
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
|
|
50
|
+
- FormaMech project, package and CLI name, with `formamech` Python imports
|
|
51
|
+
and a retained `piginot` command/import alias for existing users and bundles.
|
|
52
|
+
|
|
53
|
+
- Optional `plot` extra and runnable prediction examples for displacement,
|
|
54
|
+
first-Piola stress and load-response figures, including a saved-JSON plotter
|
|
55
|
+
for users' own CAD candidates.
|
|
56
|
+
- Fixed-profile STEP/DXF import, boundary inspection, explicit material/load
|
|
57
|
+
settings and per-geometry training through `formamech cad` and `formamech compile`.
|
|
58
|
+
- CAD local mesh controls, curve approximation checks, bounded pilot refinement
|
|
59
|
+
and same-polygon FEM reference-convergence diagnostics.
|
|
60
|
+
- Installed campaign adapters, metadata-only plans, deterministic execution,
|
|
61
|
+
explicit resume and portable candidate bundles with `NOT_VERIFIED` claims.
|
|
62
|
+
- Guides for [own CAD](docs/campaigns/own-cad-workflow.md),
|
|
63
|
+
[meshing](docs/campaigns/own-cad-meshing.md),
|
|
64
|
+
[compiler execution](docs/campaigns/s28-compiler-guide.md),
|
|
65
|
+
[custom materials](docs/campaigns/s29-custom-material.md) and
|
|
66
|
+
[bundle prediction](docs/campaigns/s29-fast-demo.md).
|
|
67
|
+
|
|
68
|
+
- **Anisotropic models with in-plane fibre families** (S26, ADR 0108
|
|
69
|
+
accepted): fibre families in the formula language (full invariants `I4`,
|
|
70
|
+
`I5` per family, `ramp` as the tension-only switch, angles in the new unit
|
|
71
|
+
`deg`); built-in `hgo`, `hgo_single` and `goh`; admission against the
|
|
72
|
+
declared symmetry rotations and an FEM check with fibres in tension; the
|
|
73
|
+
ProblemSpec rule `material-symmetry` for quarter models; the preregistered
|
|
74
|
+
HGO viability run (`artifacts/materials/S26-PROTOCOL.json`,
|
|
75
|
+
`campaigns/dogbone_v1/s26_hgo.py`) and gate G26 (`campaigns/g26_gate.py`).
|
|
76
|
+
The S19 fast goldens are now compared at their recorded thread count
|
|
77
|
+
(`campaigns/fast_goldens.py`).
|
|
78
|
+
- **Material registry and admission gate** (S25, ADR 0107 accepted):
|
|
79
|
+
strain-energy formulas as data (`piginot.contracts.energy_formula`, a
|
|
80
|
+
whitelist parser with unit checks); built-in Mooney–Rivlin, Yeoh and Gent
|
|
81
|
+
models; `piginot.materials`, which derives stress, tangent and the
|
|
82
|
+
plane-stress closure of any formula by automatic differentiation; the
|
|
83
|
+
`piginot.physics` functions, the FEM solver and the energy objective accept
|
|
84
|
+
every registered model while the Neo-Hookean path stays bit-identical; the
|
|
85
|
+
admission gate (eight checks, including optimal FEM convergence on a
|
|
86
|
+
manufactured solution); `material.energy` and `material.stretch_range` in
|
|
87
|
+
the ProblemSpec; the preregistered Mooney–Rivlin viability run
|
|
88
|
+
(`artifacts/materials/S25-PROTOCOL.json`,
|
|
89
|
+
`campaigns/dogbone_v1/s25_mooney_rivlin.py`), which passes every frozen
|
|
90
|
+
guardrail at the accuracy of the Neo-Hookean run (P-field L2 0.93%
|
|
91
|
+
against 0.91%), and gate G25 (`campaigns/g25_gate.py`).
|
|
92
|
+
- **ProblemSpec and exact liftings from the spec** (S24, ADR 0106 accepted):
|
|
93
|
+
the contract `piginot.contracts.ProblemSpec` (`piginot.problem-spec-v1`, a
|
|
94
|
+
validated JSON problem description with a BLAKE2b identity); the package
|
|
95
|
+
`piginot.lifting` with the quarter lifting (moved without numerical change)
|
|
96
|
+
and an ADF lifting over line segments and circular arcs; `piginot.problem`,
|
|
97
|
+
which builds FEM requests, query frames and liftings from a spec and
|
|
98
|
+
verifies a lifting over the parameter box; an optional `problem_spec_hash`
|
|
99
|
+
in run bindings; the two shipped families as specs under `campaigns/`, which
|
|
100
|
+
reproduce every DEVELOPMENT lifting bit for bit and every S10 FEM request
|
|
101
|
+
byte for byte (`artifacts/problem/S24-REGRESSION.json`); the preregistered
|
|
102
|
+
ADF viability run, which passes every frozen guardrail (P-field L2 2.04%),
|
|
103
|
+
and the 400-step replays, byte-identical to same-CPU runs of the v0.2.0
|
|
104
|
+
base for both families (`artifacts/problem/S24-PROTOCOL.json`, amendment
|
|
105
|
+
`S24-REPLAY-AMENDMENT.json`, `campaigns/dogbone_v1/s24_adf.py`,
|
|
106
|
+
`campaigns/s24_replay.py`) and gate G24 (`campaigns/g24_gate.py`).
|
|
107
|
+
- **Calibrated bounds** (S23, ADR 0104 accepted): the runtime package
|
|
108
|
+
`piginot.bounds` (split-conformal bounds, Mahalanobis calibration gate,
|
|
109
|
+
calibration sidecars), `piginot predict --bounds` and
|
|
110
|
+
`serve(..., calibration=...)`; the preregistered protocol and the
|
|
111
|
+
DEVELOPMENT calibration of both bundles (`bundles/calibration/`); the
|
|
112
|
+
single H1 reveal command `campaigns/s23_reveal.py`; gate G23
|
|
113
|
+
(`campaigns/g23_gate.py`). G23 PASS: every gated H1 coverage count passed;
|
|
114
|
+
the reported DogBone displacement bound did not (46 of 63), so `--bounds`
|
|
115
|
+
withholds it (H1 results in `bundles/h1-results/`).
|
|
116
|
+
- **Verified serving** (S22): `piginot predict --mode fast|certified|exact`,
|
|
117
|
+
FEM recipe sidecars in `bundles/fem-recipes/`, warm-start FEM solves, the
|
|
118
|
+
`verify` extra (ADR 0103).
|
|
119
|
+
- **Per-prediction physics certificate** (S21): `piginot.certify` (ADR 0102).
|
|
120
|
+
- **Evaluation harness, fresh sealed holdouts, notched post-mortem** (S20,
|
|
121
|
+
ADR 0101).
|
|
122
|
+
- **Fork and baseline lock** (S19): a standalone fork of `v0.1.0` (ADR 0100),
|
|
123
|
+
the fork manifest tool `scripts/verify_fork.py`, gate `G19`
|
|
124
|
+
(`campaigns/g19_gate.py`) and the baseline records in `artifacts/fork/`.
|
|
125
|
+
|
|
126
|
+
### Changed
|
|
127
|
+
|
|
128
|
+
- **S22 follow-up**: ADR 0103 accepted; the G21 and G22 tables are in
|
|
129
|
+
`STEPS-v2.0.md`; the user guide explains what the certified and exact modes
|
|
130
|
+
measure and what they do not; `docs/limitations.md` states the limits of
|
|
131
|
+
S20–S22, so the 0.1.0 limitations sign-off must be renewed before the next
|
|
132
|
+
release; `piginot predict` documents `--tolerance` and the other serving
|
|
133
|
+
options, and refuses `--escalate` or `--tolerance` where they would be
|
|
134
|
+
ignored. Native Windows runs of S21–S22 are still to be recorded.
|
|
135
|
+
|
|
136
|
+
### Fixed
|
|
137
|
+
|
|
138
|
+
- The notched S13 protocol could not be rebuilt on the 0.2.0 line: its
|
|
139
|
+
request plan bound the live package version (0.2.0.dev0 since the S19
|
|
140
|
+
fork). It now binds the S10 profile the dataset was planned under, so the
|
|
141
|
+
notched trainer, `s13_close` and `s14` start again.
|
|
142
|
+
- Gates G24 and G25 ignore each other's gate and suite records, so one
|
|
143
|
+
suite run serves both.
|
|
144
|
+
- Full-suite findings of S24 and S25: contracts no longer evaluate
|
|
145
|
+
expressions (the S2 rule; values moved to `piginot.problem.expressions`
|
|
146
|
+
and `piginot.materials.values`); `piginot.problem.fem` renamed
|
|
147
|
+
`piginot.problem.requests` (the S5 module rule); the confidence indicator,
|
|
148
|
+
S14 evaluation code frozen by its protocol, restored unchanged; test
|
|
149
|
+
repositories set their own Git identity.
|
|
150
|
+
|
|
151
|
+
## [0.1.0] - 2026-10-06
|
|
152
|
+
|
|
153
|
+
The first public release. It completes the STEPS-v1.0 plan (S0–S18). Read
|
|
154
|
+
[the limitations](docs/limitations.md) before using any number below.
|
|
155
|
+
|
|
156
|
+
### Added
|
|
157
|
+
|
|
158
|
+
- **Contracts and storage** (S2, S3): typed contracts with units,
|
|
159
|
+
RFC 8785 canonical identity, and a content-addressed store with retention
|
|
160
|
+
tiers and crash visibility.
|
|
161
|
+
- **Physics and FEM** (S4, S7, S8): a compressible Neo-Hookean plane-stress
|
|
162
|
+
kernel; a primary P2 finite-element solver; manufactured-solution
|
|
163
|
+
verification and recovery-based error estimators.
|
|
164
|
+
- **Geometry and families** (S5, S6): geometry ingestion with semantic
|
|
165
|
+
boundary tags; morph maps (`CircularTransitionMap` for the DogBone, `BlendedNotchMap` for the notched plate) and family
|
|
166
|
+
membership.
|
|
167
|
+
- **Evidence roles and datasets** (S9, S10): a preregistered design of
|
|
168
|
+
experiments with a committed HOLDOUT, projection and collocation datasets,
|
|
169
|
+
and normalisation fitted on TRAIN only.
|
|
170
|
+
- **Operator and objectives** (S11, S12): the S11 boundary cross-attention
|
|
171
|
+
operator and a nondimensional objective registry with gradient checks. The
|
|
172
|
+
served operator is the energy-form `pi-ginot-energy-parametric-film-v1`,
|
|
173
|
+
with exact Dirichlet lifting and constitutive stress (S13c).
|
|
174
|
+
- **Training and selection** (S13): deterministic, resumable training under a
|
|
175
|
+
preregistered protocol, with TRAIN-only selection and frozen candidates.
|
|
176
|
+
- **Verification** (S14): per-case error budgets that include the FEM
|
|
177
|
+
reference terms, slice statistics, refusal envelopes, a confidence
|
|
178
|
+
indicator, latency, and a twelve-family reducer. Claim levels stop at
|
|
179
|
+
`HOLDOUT_VERIFIED`.
|
|
180
|
+
- **Bundles and command line** (S15): hash-closed bundles, `piginot predict`
|
|
181
|
+
and `piginot inspect`, refusals with reason codes, and limitations on every
|
|
182
|
+
response.
|
|
183
|
+
- **Mutation suite** (S16): twenty source-level mutants, each detected by its
|
|
184
|
+
primary gate, with committed fired-gate signatures.
|
|
185
|
+
- **Examples, benchmarks and docs** (S17): a fixed-mesh example that runs end
|
|
186
|
+
to end in CI, benchmark tables that reproduce from pinned seeds, a refusal
|
|
187
|
+
suite over two families, and a strict mkdocs site.
|
|
188
|
+
- **Release** (S18): the upstream-sources record, claim-ceiling tests, a
|
|
189
|
+
validated `CITATION.cff`, a TestPyPI publish-and-install workflow for Linux,
|
|
190
|
+
macOS and Windows, and the G18 gate.
|
|
191
|
+
- **Bundles and user guide**: both trained bundles under `bundles/`, with
|
|
192
|
+
example requests, and a [user guide](docs/user-guide.md) covering
|
|
193
|
+
prediction, the end-to-end example and building a model for a new
|
|
194
|
+
geometry.
|
|
195
|
+
|
|
196
|
+
### Verification results
|
|
197
|
+
|
|
198
|
+
| Family | Claim level | HOLDOUT p90 (stress field / peak / displacement) | Decisions |
|
|
199
|
+
| --- | --- | --- | --- |
|
|
200
|
+
| DogBone (`dogbone-v1`) | `HOLDOUT_VERIFIED` | 2.75% / 4.02% / 0.29% | DEVELOPMENT budget accepted by the decision owner (ADR 0021) |
|
|
201
|
+
| Centre-notched plate (`notched-v1`) | `DEVELOPMENT_VERIFIED` | 6.01% / 6.40% / 0.53% (fails the 5% tolerance) | DEVELOPMENT budget accepted (ADR 0030); `G17.non-dogbone` accepted (ADR 0031) |
|
|
202
|
+
|
|
203
|
+
Gates G0–G17 pass. G14's DogBone budget check, G14's notched budget check and
|
|
204
|
+
`G17.non-dogbone` pass through the decision owner's signed acceptances, which
|
|
205
|
+
record the computed results alongside.
|
|
206
|
+
|
|
207
|
+
### Changed
|
|
208
|
+
|
|
209
|
+
- The S1 spike no longer redistributes the third-party GINOT modules. They
|
|
210
|
+
are pinned in `experiments/spike/upstream_pi_ginot/THIRD_PARTY.json` and
|
|
211
|
+
fetched with `python -m experiments.spike.fetch_upstream`
|
|
212
|
+
([upstream sources](docs/adr/upstream-sources.md)).
|
|
213
|
+
- The Git history is rewritten to remove the same modules from every commit
|
|
214
|
+
after `6f5f0cb`. `artifacts/release/HISTORY-REWRITE.json` maps the original
|
|
215
|
+
commit ids recorded in earlier evidence to the rewritten ones, and
|
|
216
|
+
`campaigns/history.py` resolves them.
|
|
217
|
+
- The repository moved to `github.com/BBahtiri/verified-neural-operators`
|
|
218
|
+
with the rewritten history. The project, the package and the command keep
|
|
219
|
+
the name PI-GINOT (`piginot`). The S0–S8 gate records link to CI runs of
|
|
220
|
+
the former repository, `BBahtiri/PI-GINOT-Agentic-Framework`; recorded
|
|
221
|
+
evidence is not edited.
|
|
222
|
+
- `uv.lock` is regenerated; it had not been updated for the S15 `runtime`
|
|
223
|
+
extra.
|
|
224
|
+
- The sdist holds the package, licence, README, citation, changelog,
|
|
225
|
+
`pyproject.toml` and `uv.lock` only.
|
|
226
|
+
|
|
227
|
+
### Removed
|
|
228
|
+
|
|
229
|
+
- The agent prompts (`AGENT-PROMPT-*.md`) and the S1 coding review
|
|
230
|
+
(`S1-iteration8-review.md`) are no longer tracked.
|
|
231
|
+
|
|
232
|
+
[0.1.0]: https://github.com/BBahtiri/verified-neural-operators/releases/tag/v0.1.0
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use FormaMech, please cite the software and record the version or commit used."
|
|
3
|
+
title: "FormaMech"
|
|
4
|
+
type: software
|
|
5
|
+
version: 0.3.0
|
|
6
|
+
authors:
|
|
7
|
+
- family-names: "Bahtiri"
|
|
8
|
+
given-names: "Betim"
|
|
9
|
+
license: MIT
|
|
10
|
+
repository-code: "https://github.com/BBahtiri/formamech"
|
|
11
|
+
abstract: >-
|
|
12
|
+
FormaMech is an open-source, pure-MIT core, fail-closed Physics-AI and
|
|
13
|
+
nonlinear mechanics platform combining variational neural operators,
|
|
14
|
+
deterministic Prager-Synge ball-arithmetic error certification, dual 2D/3D
|
|
15
|
+
nonlinear finite element solvers, live DWR adjoint error attribution,
|
|
16
|
+
Physics-Informed Conformal Prediction (PI-CP) aligned with draft SAE ARP6983
|
|
17
|
+
/ EUROCAE ED-324 (non-certified alignment), ASME V&V 10 experimental
|
|
18
|
+
grounding, watertight B-Rep STEP synthesis, real-time robotics control, and a
|
|
19
|
+
sandboxed Model Context Protocol (MCP) agent harness. Numerical verification
|
|
20
|
+
claim levels and physical experimental validation tiers remain strictly
|
|
21
|
+
orthogonal and bounded by recorded evidence.
|
|
22
|
+
keywords:
|
|
23
|
+
- physics-ai
|
|
24
|
+
- neural operator
|
|
25
|
+
- physics-informed machine learning
|
|
26
|
+
- nonlinear finite element method
|
|
27
|
+
- finite-strain mechanics
|
|
28
|
+
- fail-closed verification
|
|
29
|
+
- ASME V&V 10
|
|
30
|
+
- uncertainty quantification
|
|
31
|
+
- multiphysics
|
|
32
|
+
- soft robotics
|
|
33
|
+
- model context protocol
|
|
34
|
+
references:
|
|
35
|
+
- type: software
|
|
36
|
+
title: "PI-GINOT"
|
|
37
|
+
authors:
|
|
38
|
+
- family-names: "Bahtiri"
|
|
39
|
+
given-names: "Betim"
|
|
40
|
+
repository-code: "https://github.com/BBahtiri/PI-GINOT"
|
|
41
|
+
commit: "12c9c1c7a13eaabcc2a289a886c34858d0330bad"
|
|
42
|
+
license: MIT
|
|
43
|
+
notes: "Energy-form operator re-implemented as pi-ginot-energy-parametric-film-v1."
|
|
44
|
+
- type: software
|
|
45
|
+
title: "PI-GINOT-DogBone"
|
|
46
|
+
authors:
|
|
47
|
+
- family-names: "Bahtiri"
|
|
48
|
+
given-names: "Betim"
|
|
49
|
+
repository-code: "https://github.com/BBahtiri/PI-GINOT-DogBone"
|
|
50
|
+
commit: "9f6794141beca9d3e66433465c3b07039a7e41d2"
|
|
51
|
+
license: MIT
|
|
52
|
+
notes: "Source of the S11 operator design and of the DogBone family ranges."
|
|
53
|
+
- type: article
|
|
54
|
+
title: "Geometry-Informed Neural Operator Transformer"
|
|
55
|
+
authors:
|
|
56
|
+
- family-names: "Liu"
|
|
57
|
+
given-names: "Qibang"
|
|
58
|
+
- family-names: "Zhong"
|
|
59
|
+
given-names: "Vincient"
|
|
60
|
+
- family-names: "Meidani"
|
|
61
|
+
given-names: "Hadi"
|
|
62
|
+
- family-names: "Abueidda"
|
|
63
|
+
given-names: "Diab"
|
|
64
|
+
- family-names: "Koric"
|
|
65
|
+
given-names: "Seid"
|
|
66
|
+
- family-names: "Geubelle"
|
|
67
|
+
given-names: "Philippe"
|
|
68
|
+
identifiers:
|
|
69
|
+
- type: other
|
|
70
|
+
value: "arXiv:2504.19452"
|
|
71
|
+
url: "https://arxiv.org/abs/2504.19452"
|
|
72
|
+
notes: "Design lineage of the PI-GINOT operators; no GINOT code is distributed."
|
formamech-0.3.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PI-GINOT contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|