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.
Files changed (466) hide show
  1. formamech-0.3.0/.gitignore +42 -0
  2. formamech-0.3.0/CHANGELOG.md +232 -0
  3. formamech-0.3.0/CITATION.cff +72 -0
  4. formamech-0.3.0/LICENSE +21 -0
  5. formamech-0.3.0/PKG-INFO +523 -0
  6. formamech-0.3.0/README.md +420 -0
  7. formamech-0.3.0/frontend/boundary-picker/.gitignore +2 -0
  8. formamech-0.3.0/frontend/boundary-picker/package-lock.json +2102 -0
  9. formamech-0.3.0/frontend/boundary-picker/package.json +32 -0
  10. formamech-0.3.0/frontend/boundary-picker/src/BoundaryEditor.tsx +107 -0
  11. formamech-0.3.0/frontend/boundary-picker/src/BoundaryPicker.test.tsx +236 -0
  12. formamech-0.3.0/frontend/boundary-picker/src/BoundaryPicker.tsx +132 -0
  13. formamech-0.3.0/frontend/boundary-picker/src/BoundaryPlot.tsx +138 -0
  14. formamech-0.3.0/frontend/boundary-picker/src/index.tsx +28 -0
  15. formamech-0.3.0/frontend/boundary-picker/src/plotly.d.ts +10 -0
  16. formamech-0.3.0/frontend/boundary-picker/src/styles.css +103 -0
  17. formamech-0.3.0/frontend/boundary-picker/src/types.ts +58 -0
  18. formamech-0.3.0/frontend/boundary-picker/tsconfig.json +13 -0
  19. formamech-0.3.0/frontend/boundary-picker/vite.config.ts +25 -0
  20. formamech-0.3.0/frontend/viewer-3d/.gitignore +2 -0
  21. formamech-0.3.0/frontend/viewer-3d/package-lock.json +2152 -0
  22. formamech-0.3.0/frontend/viewer-3d/package.json +32 -0
  23. formamech-0.3.0/frontend/viewer-3d/src/FacePickerCanvas.tsx +452 -0
  24. formamech-0.3.0/frontend/viewer-3d/src/Viewer3D.test.tsx +387 -0
  25. formamech-0.3.0/frontend/viewer-3d/src/Viewer3D.tsx +369 -0
  26. formamech-0.3.0/frontend/viewer-3d/src/colormap.ts +62 -0
  27. formamech-0.3.0/frontend/viewer-3d/src/index.tsx +32 -0
  28. formamech-0.3.0/frontend/viewer-3d/src/styles.css +166 -0
  29. formamech-0.3.0/frontend/viewer-3d/src/types.ts +68 -0
  30. formamech-0.3.0/frontend/viewer-3d/tsconfig.json +13 -0
  31. formamech-0.3.0/frontend/viewer-3d/vite.config.ts +25 -0
  32. formamech-0.3.0/hatch_build.py +212 -0
  33. formamech-0.3.0/piginot_campaigns/__init__.py +3 -0
  34. formamech-0.3.0/piginot_campaigns/adapters.py +138 -0
  35. formamech-0.3.0/piginot_campaigns/geometry.py +216 -0
  36. formamech-0.3.0/piginot_campaigns/resources/dogbone-v1.json +201 -0
  37. formamech-0.3.0/piginot_campaigns/resources/geometry-templates.json +30 -0
  38. formamech-0.3.0/piginot_campaigns/resources/notched-v1.json +184 -0
  39. formamech-0.3.0/pyproject.toml +178 -0
  40. formamech-0.3.0/src/formamech/__init__.py +53 -0
  41. formamech-0.3.0/src/formamech/__main__.py +22 -0
  42. formamech-0.3.0/src/formamech/_boundary_picker_assets/index.css +2 -0
  43. formamech-0.3.0/src/formamech/_boundary_picker_assets/index.js +65756 -0
  44. formamech-0.3.0/src/formamech/_compat.py +65 -0
  45. formamech-0.3.0/src/formamech/_viewer_3d_assets/index.css +2 -0
  46. formamech-0.3.0/src/formamech/_viewer_3d_assets/index.js +20010 -0
  47. formamech-0.3.0/src/formamech/api.py +142 -0
  48. formamech-0.3.0/src/formamech/cli.py +21 -0
  49. formamech-0.3.0/src/formamech/pyproject.toml +10 -0
  50. formamech-0.3.0/src/formamech/verify_cli.py +156 -0
  51. formamech-0.3.0/src/piginot/__init__.py +3 -0
  52. formamech-0.3.0/src/piginot/_build_identity.json +440 -0
  53. formamech-0.3.0/src/piginot/_job_evidence.py +70 -0
  54. formamech-0.3.0/src/piginot/active/__init__.py +174 -0
  55. formamech-0.3.0/src/piginot/active/acquisition.py +612 -0
  56. formamech-0.3.0/src/piginot/active/campaign.py +239 -0
  57. formamech-0.3.0/src/piginot/active/feedback.py +149 -0
  58. formamech-0.3.0/src/piginot/active/multifidelity.py +137 -0
  59. formamech-0.3.0/src/piginot/active/test_planner.py +561 -0
  60. formamech-0.3.0/src/piginot/benchmarks/__init__.py +65 -0
  61. formamech-0.3.0/src/piginot/benchmarks/external_data.py +491 -0
  62. formamech-0.3.0/src/piginot/benchmarks/formabench.py +650 -0
  63. formamech-0.3.0/src/piginot/benchmarks/industry_suite.py +351 -0
  64. formamech-0.3.0/src/piginot/benchmarks/scaling_3d.py +420 -0
  65. formamech-0.3.0/src/piginot/benchmarks/suite_3d.py +362 -0
  66. formamech-0.3.0/src/piginot/bounds/__init__.py +140 -0
  67. formamech-0.3.0/src/piginot/bounds/cad_calibration.py +503 -0
  68. formamech-0.3.0/src/piginot/bounds/confirmation.py +145 -0
  69. formamech-0.3.0/src/piginot/bounds/conformal.py +127 -0
  70. formamech-0.3.0/src/piginot/bounds/conformal_3d.py +581 -0
  71. formamech-0.3.0/src/piginot/bounds/gate.py +154 -0
  72. formamech-0.3.0/src/piginot/bounds/multigranular.py +472 -0
  73. formamech-0.3.0/src/piginot/bounds/picp.py +853 -0
  74. formamech-0.3.0/src/piginot/bounds/record.py +190 -0
  75. formamech-0.3.0/src/piginot/bundle/__init__.py +62 -0
  76. formamech-0.3.0/src/piginot/bundle/build.py +102 -0
  77. formamech-0.3.0/src/piginot/bundle/inference.py +836 -0
  78. formamech-0.3.0/src/piginot/bundle/limitations.py +16 -0
  79. formamech-0.3.0/src/piginot/bundle/manifest.py +289 -0
  80. formamech-0.3.0/src/piginot/bundle/problem.py +332 -0
  81. formamech-0.3.0/src/piginot/bundle/serving.py +380 -0
  82. formamech-0.3.0/src/piginot/bundle/specs.py +644 -0
  83. formamech-0.3.0/src/piginot/cad/__init__.py +74 -0
  84. formamech-0.3.0/src/piginot/cad/_errors.py +9 -0
  85. formamech-0.3.0/src/piginot/cad/adaptation.py +473 -0
  86. formamech-0.3.0/src/piginot/cad/adapter.py +207 -0
  87. formamech-0.3.0/src/piginot/cad/brep_synthesis.py +585 -0
  88. formamech-0.3.0/src/piginot/cad/cases.py +81 -0
  89. formamech-0.3.0/src/piginot/cad/cli.py +450 -0
  90. formamech-0.3.0/src/piginot/cad/configuration.py +295 -0
  91. formamech-0.3.0/src/piginot/cad/connectors.py +496 -0
  92. formamech-0.3.0/src/piginot/cad/dxf.py +304 -0
  93. formamech-0.3.0/src/piginot/cad/electronics_templates_3d.py +391 -0
  94. formamech-0.3.0/src/piginot/cad/hierarchy.py +723 -0
  95. formamech-0.3.0/src/piginot/cad/importing.py +315 -0
  96. formamech-0.3.0/src/piginot/cad/importing_3d.py +728 -0
  97. formamech-0.3.0/src/piginot/cad/kernel_protocol.py +176 -0
  98. formamech-0.3.0/src/piginot/cad/mesh_controls.py +328 -0
  99. formamech-0.3.0/src/piginot/cad/mesh_policy.py +239 -0
  100. formamech-0.3.0/src/piginot/cad/parametric.py +1163 -0
  101. formamech-0.3.0/src/piginot/cad/parametric_3d.py +687 -0
  102. formamech-0.3.0/src/piginot/cad/parametric_adapter.py +1672 -0
  103. formamech-0.3.0/src/piginot/cad/project.py +399 -0
  104. formamech-0.3.0/src/piginot/cad/refinement.py +90 -0
  105. formamech-0.3.0/src/piginot/cad/resource.py +236 -0
  106. formamech-0.3.0/src/piginot/cad/settings.py +263 -0
  107. formamech-0.3.0/src/piginot/cad/subprocess_gmsh.py +457 -0
  108. formamech-0.3.0/src/piginot/certify/__init__.py +236 -0
  109. formamech-0.3.0/src/piginot/certify/adjoint.py +502 -0
  110. formamech-0.3.0/src/piginot/certify/adjoint_3d.py +577 -0
  111. formamech-0.3.0/src/piginot/certify/admissibility.py +260 -0
  112. formamech-0.3.0/src/piginot/certify/ball_quadrature.py +270 -0
  113. formamech-0.3.0/src/piginot/certify/cad_trust.py +156 -0
  114. formamech-0.3.0/src/piginot/certify/certificate.py +54 -0
  115. formamech-0.3.0/src/piginot/certify/estimator.py +211 -0
  116. formamech-0.3.0/src/piginot/certify/guards.py +97 -0
  117. formamech-0.3.0/src/piginot/certify/hypercircle.py +875 -0
  118. formamech-0.3.0/src/piginot/certify/receipt.py +389 -0
  119. formamech-0.3.0/src/piginot/certify/regime_guards.py +448 -0
  120. formamech-0.3.0/src/piginot/certify/trust_report.py +423 -0
  121. formamech-0.3.0/src/piginot/cli.py +2945 -0
  122. formamech-0.3.0/src/piginot/compiler/__init__.py +5 -0
  123. formamech-0.3.0/src/piginot/compiler/_validation.py +111 -0
  124. formamech-0.3.0/src/piginot/compiler/adapters.py +186 -0
  125. formamech-0.3.0/src/piginot/compiler/boundary_objective.py +427 -0
  126. formamech-0.3.0/src/piginot/compiler/boundary_pilot.py +402 -0
  127. formamech-0.3.0/src/piginot/compiler/boundary_pilot_inputs.py +265 -0
  128. formamech-0.3.0/src/piginot/compiler/cli.py +95 -0
  129. formamech-0.3.0/src/piginot/compiler/config.py +370 -0
  130. formamech-0.3.0/src/piginot/compiler/config_types.py +316 -0
  131. formamech-0.3.0/src/piginot/compiler/constrained_boundary.py +41 -0
  132. formamech-0.3.0/src/piginot/compiler/energy_training.py +465 -0
  133. formamech-0.3.0/src/piginot/compiler/execution.py +417 -0
  134. formamech-0.3.0/src/piginot/compiler/execution_numerics.py +260 -0
  135. formamech-0.3.0/src/piginot/compiler/execution_records.py +147 -0
  136. formamech-0.3.0/src/piginot/compiler/execution_runtime.py +132 -0
  137. formamech-0.3.0/src/piginot/compiler/exporting.py +370 -0
  138. formamech-0.3.0/src/piginot/compiler/planning.py +280 -0
  139. formamech-0.3.0/src/piginot/compiler/provenance.py +263 -0
  140. formamech-0.3.0/src/piginot/compiler/public_source.py +80 -0
  141. formamech-0.3.0/src/piginot/compiler/records.py +121 -0
  142. formamech-0.3.0/src/piginot/compiler/reference_convergence.py +441 -0
  143. formamech-0.3.0/src/piginot/compiler/reference_jobs.py +404 -0
  144. formamech-0.3.0/src/piginot/compiler/reference_metrics.py +217 -0
  145. formamech-0.3.0/src/piginot/contracts/__init__.py +87 -0
  146. formamech-0.3.0/src/piginot/contracts/canonical.py +128 -0
  147. formamech-0.3.0/src/piginot/contracts/energy_formula.py +582 -0
  148. formamech-0.3.0/src/piginot/contracts/errors.py +41 -0
  149. formamech-0.3.0/src/piginot/contracts/expressions.py +177 -0
  150. formamech-0.3.0/src/piginot/contracts/hashing.py +24 -0
  151. formamech-0.3.0/src/piginot/contracts/problem_spec.py +1522 -0
  152. formamech-0.3.0/src/piginot/contracts/profile.py +107 -0
  153. formamech-0.3.0/src/piginot/contracts/specs.py +507 -0
  154. formamech-0.3.0/src/piginot/contracts/state_machine.py +443 -0
  155. formamech-0.3.0/src/piginot/contracts/stateful.py +502 -0
  156. formamech-0.3.0/src/piginot/contracts/units.py +182 -0
  157. formamech-0.3.0/src/piginot/datasets/__init__.py +143 -0
  158. formamech-0.3.0/src/piginot/datasets/collocation.py +692 -0
  159. formamech-0.3.0/src/piginot/datasets/collocation_models.py +531 -0
  160. formamech-0.3.0/src/piginot/datasets/collocation_sampling.py +219 -0
  161. formamech-0.3.0/src/piginot/datasets/extraction.py +386 -0
  162. formamech-0.3.0/src/piginot/datasets/gate.py +502 -0
  163. formamech-0.3.0/src/piginot/datasets/normalization.py +506 -0
  164. formamech-0.3.0/src/piginot/datasets/projection.py +699 -0
  165. formamech-0.3.0/src/piginot/datasets/request_plan.py +353 -0
  166. formamech-0.3.0/src/piginot/datasets/snapshots.py +773 -0
  167. formamech-0.3.0/src/piginot/datasets/units.py +14 -0
  168. formamech-0.3.0/src/piginot/doe/__init__.py +211 -0
  169. formamech-0.3.0/src/piginot/doe/_design_sampling.py +647 -0
  170. formamech-0.3.0/src/piginot/doe/allocation.py +527 -0
  171. formamech-0.3.0/src/piginot/doe/checkpoint.py +492 -0
  172. formamech-0.3.0/src/piginot/doe/commitment.py +256 -0
  173. formamech-0.3.0/src/piginot/doe/coverage.py +239 -0
  174. formamech-0.3.0/src/piginot/doe/design.py +617 -0
  175. formamech-0.3.0/src/piginot/doe/envelope.py +215 -0
  176. formamech-0.3.0/src/piginot/doe/gate.py +373 -0
  177. formamech-0.3.0/src/piginot/doe/leakage.py +187 -0
  178. formamech-0.3.0/src/piginot/doe/preregistration.py +852 -0
  179. formamech-0.3.0/src/piginot/doe/provenance.py +576 -0
  180. formamech-0.3.0/src/piginot/doe/publication.py +360 -0
  181. formamech-0.3.0/src/piginot/doe/replacement.py +394 -0
  182. formamech-0.3.0/src/piginot/doe/roles.py +341 -0
  183. formamech-0.3.0/src/piginot/doe/secret_material.py +131 -0
  184. formamech-0.3.0/src/piginot/evaluation/__init__.py +23 -0
  185. formamech-0.3.0/src/piginot/evaluation/budget_records.py +143 -0
  186. formamech-0.3.0/src/piginot/evaluation/burned.py +122 -0
  187. formamech-0.3.0/src/piginot/export/__init__.py +53 -0
  188. formamech-0.3.0/src/piginot/export/fmu_export.py +637 -0
  189. formamech-0.3.0/src/piginot/export/onnx_export.py +406 -0
  190. formamech-0.3.0/src/piginot/export/onnx_export_3d.py +261 -0
  191. formamech-0.3.0/src/piginot/export/vtu_export.py +325 -0
  192. formamech-0.3.0/src/piginot/fem/__init__.py +168 -0
  193. formamech-0.3.0/src/piginot/fem/_similitude.py +56 -0
  194. formamech-0.3.0/src/piginot/fem/assembly.py +162 -0
  195. formamech-0.3.0/src/piginot/fem/backend.py +666 -0
  196. formamech-0.3.0/src/piginot/fem/backend_3d.py +1681 -0
  197. formamech-0.3.0/src/piginot/fem/binding.py +531 -0
  198. formamech-0.3.0/src/piginot/fem/body_forces.py +51 -0
  199. formamech-0.3.0/src/piginot/fem/buckling_3d.py +791 -0
  200. formamech-0.3.0/src/piginot/fem/contact.py +168 -0
  201. formamech-0.3.0/src/piginot/fem/contact_3d.py +564 -0
  202. formamech-0.3.0/src/piginot/fem/diff_contact_3d.py +860 -0
  203. formamech-0.3.0/src/piginot/fem/discretization_crosscheck.py +77 -0
  204. formamech-0.3.0/src/piginot/fem/dynamics_3d.py +394 -0
  205. formamech-0.3.0/src/piginot/fem/electro_thermal_3d.py +971 -0
  206. formamech-0.3.0/src/piginot/fem/error_estimation.py +331 -0
  207. formamech-0.3.0/src/piginot/fem/external_solvers.py +668 -0
  208. formamech-0.3.0/src/piginot/fem/field_providers.py +71 -0
  209. formamech-0.3.0/src/piginot/fem/follower.py +200 -0
  210. formamech-0.3.0/src/piginot/fem/follower_3d.py +763 -0
  211. formamech-0.3.0/src/piginot/fem/gpu_assembly_3d.py +675 -0
  212. formamech-0.3.0/src/piginot/fem/ipc_contact_3d.py +1273 -0
  213. formamech-0.3.0/src/piginot/fem/linear_solvers.py +1003 -0
  214. formamech-0.3.0/src/piginot/fem/linearization.py +217 -0
  215. formamech-0.3.0/src/piginot/fem/manufactured.py +377 -0
  216. formamech-0.3.0/src/piginot/fem/manufactured_providers.py +102 -0
  217. formamech-0.3.0/src/piginot/fem/mms_convergence.py +101 -0
  218. formamech-0.3.0/src/piginot/fem/mms_estimators.py +285 -0
  219. formamech-0.3.0/src/piginot/fem/mms_runner.py +265 -0
  220. formamech-0.3.0/src/piginot/fem/modal_3d.py +267 -0
  221. formamech-0.3.0/src/piginot/fem/models.py +213 -0
  222. formamech-0.3.0/src/piginot/fem/nonlinear_dynamics_3d.py +408 -0
  223. formamech-0.3.0/src/piginot/fem/protocol.py +147 -0
  224. formamech-0.3.0/src/piginot/fem/registry.py +97 -0
  225. formamech-0.3.0/src/piginot/fem/regularity.py +101 -0
  226. formamech-0.3.0/src/piginot/fem/s8_gate.py +533 -0
  227. formamech-0.3.0/src/piginot/fem/s8_physical.py +317 -0
  228. formamech-0.3.0/src/piginot/fem/seeded_defects.py +389 -0
  229. formamech-0.3.0/src/piginot/fem/shells_beams_3d.py +757 -0
  230. formamech-0.3.0/src/piginot/fem/tendon_3d.py +792 -0
  231. formamech-0.3.0/src/piginot/fem/thermo_mechanical_3d.py +562 -0
  232. formamech-0.3.0/src/piginot/fem/torch_backend.py +1416 -0
  233. formamech-0.3.0/src/piginot/fem/torch_sparse_solver.py +1092 -0
  234. formamech-0.3.0/src/piginot/fem/verification_checks.py +428 -0
  235. formamech-0.3.0/src/piginot/fem/verification_meshes.py +286 -0
  236. formamech-0.3.0/src/piginot/fem/verification_norms.py +364 -0
  237. formamech-0.3.0/src/piginot/fem/visco_hysteresis_3d.py +729 -0
  238. formamech-0.3.0/src/piginot/geometry/__init__.py +73 -0
  239. formamech-0.3.0/src/piginot/geometry/assembly_3d.py +313 -0
  240. formamech-0.3.0/src/piginot/geometry/canonicalize.py +498 -0
  241. formamech-0.3.0/src/piginot/geometry/errors.py +81 -0
  242. formamech-0.3.0/src/piginot/geometry/family.py +38 -0
  243. formamech-0.3.0/src/piginot/geometry/gmsh.py +556 -0
  244. formamech-0.3.0/src/piginot/geometry/ingest.py +133 -0
  245. formamech-0.3.0/src/piginot/geometry/mesh3d.py +396 -0
  246. formamech-0.3.0/src/piginot/geometry/models.py +75 -0
  247. formamech-0.3.0/src/piginot/geometry/queries.py +171 -0
  248. formamech-0.3.0/src/piginot/geometry/topology.py +84 -0
  249. formamech-0.3.0/src/piginot/git_environment.py +35 -0
  250. formamech-0.3.0/src/piginot/governance/__init__.py +39 -0
  251. formamech-0.3.0/src/piginot/governance/hitl_signoff.py +372 -0
  252. formamech-0.3.0/src/piginot/governance/plm_dossier.py +391 -0
  253. formamech-0.3.0/src/piginot/harness/__init__.py +86 -0
  254. formamech-0.3.0/src/piginot/harness/adapters.py +277 -0
  255. formamech-0.3.0/src/piginot/harness/catalog.py +4152 -0
  256. formamech-0.3.0/src/piginot/harness/circuit_breaker.py +681 -0
  257. formamech-0.3.0/src/piginot/harness/contracts.py +351 -0
  258. formamech-0.3.0/src/piginot/harness/registry.py +166 -0
  259. formamech-0.3.0/src/piginot/harness/session.py +767 -0
  260. formamech-0.3.0/src/piginot/ingest/__init__.py +81 -0
  261. formamech-0.3.0/src/piginot/ingest/contracts.py +246 -0
  262. formamech-0.3.0/src/piginot/ingest/readers.py +434 -0
  263. formamech-0.3.0/src/piginot/ingest/robotics_streams.py +207 -0
  264. formamech-0.3.0/src/piginot/ingest/screening.py +306 -0
  265. formamech-0.3.0/src/piginot/ingest/simops_fabric.py +905 -0
  266. formamech-0.3.0/src/piginot/ingest/simops_schema.py +219 -0
  267. formamech-0.3.0/src/piginot/lifting/__init__.py +21 -0
  268. formamech-0.3.0/src/piginot/lifting/_checks.py +49 -0
  269. formamech-0.3.0/src/piginot/lifting/adf.py +293 -0
  270. formamech-0.3.0/src/piginot/lifting/adf_3d.py +337 -0
  271. formamech-0.3.0/src/piginot/lifting/base.py +47 -0
  272. formamech-0.3.0/src/piginot/lifting/quarter.py +62 -0
  273. formamech-0.3.0/src/piginot/lifting/verify.py +75 -0
  274. formamech-0.3.0/src/piginot/materials/__init__.py +76 -0
  275. formamech-0.3.0/src/piginot/materials/admission.py +644 -0
  276. formamech-0.3.0/src/piginot/materials/artifact.py +279 -0
  277. formamech-0.3.0/src/piginot/materials/fem_admission.py +325 -0
  278. formamech-0.3.0/src/piginot/materials/hyperelastic.py +429 -0
  279. formamech-0.3.0/src/piginot/materials/neural_polyconvex.py +797 -0
  280. formamech-0.3.0/src/piginot/materials/registry.py +126 -0
  281. formamech-0.3.0/src/piginot/materials/values.py +82 -0
  282. formamech-0.3.0/src/piginot/mcp_agent_workflows.py +272 -0
  283. formamech-0.3.0/src/piginot/mcp_server.py +1828 -0
  284. formamech-0.3.0/src/piginot/morphing/__init__.py +88 -0
  285. formamech-0.3.0/src/piginot/morphing/blended_notch.py +385 -0
  286. formamech-0.3.0/src/piginot/morphing/circular_transition.py +546 -0
  287. formamech-0.3.0/src/piginot/morphing/fixed.py +82 -0
  288. formamech-0.3.0/src/piginot/morphing/ledger.py +165 -0
  289. formamech-0.3.0/src/piginot/morphing/maps.py +464 -0
  290. formamech-0.3.0/src/piginot/morphing/membership.py +643 -0
  291. formamech-0.3.0/src/piginot/morphing/models.py +316 -0
  292. formamech-0.3.0/src/piginot/morphing/validation.py +397 -0
  293. formamech-0.3.0/src/piginot/mutation/__init__.py +53 -0
  294. formamech-0.3.0/src/piginot/mutation/engine.py +191 -0
  295. formamech-0.3.0/src/piginot/mutation/runner.py +194 -0
  296. formamech-0.3.0/src/piginot/mutation/signatures.py +192 -0
  297. formamech-0.3.0/src/piginot/objectives/__init__.py +158 -0
  298. formamech-0.3.0/src/piginot/objectives/_weak_strong.py +159 -0
  299. formamech-0.3.0/src/piginot/objectives/energy.py +281 -0
  300. formamech-0.3.0/src/piginot/objectives/energy_25d.py +170 -0
  301. formamech-0.3.0/src/piginot/objectives/energy_constraint.py +98 -0
  302. formamech-0.3.0/src/piginot/objectives/equilibrium.py +157 -0
  303. formamech-0.3.0/src/piginot/objectives/free_traction.py +148 -0
  304. formamech-0.3.0/src/piginot/objectives/gate.py +483 -0
  305. formamech-0.3.0/src/piginot/objectives/hierarchical_energy.py +480 -0
  306. formamech-0.3.0/src/piginot/objectives/kinematics.py +66 -0
  307. formamech-0.3.0/src/piginot/objectives/models.py +222 -0
  308. formamech-0.3.0/src/piginot/objectives/registry.py +63 -0
  309. formamech-0.3.0/src/piginot/objectives/terms.py +169 -0
  310. formamech-0.3.0/src/piginot/objectives/traction_and_follower.py +280 -0
  311. formamech-0.3.0/src/piginot/objectives/verification.py +731 -0
  312. formamech-0.3.0/src/piginot/objectives/virtual_work_3d.py +103 -0
  313. formamech-0.3.0/src/piginot/operators/__init__.py +187 -0
  314. formamech-0.3.0/src/piginot/operators/adapter_artifact.py +264 -0
  315. formamech-0.3.0/src/piginot/operators/architecture.py +918 -0
  316. formamech-0.3.0/src/piginot/operators/boundary_energy_operator.py +354 -0
  317. formamech-0.3.0/src/piginot/operators/constitutive_op.py +510 -0
  318. formamech-0.3.0/src/piginot/operators/energy_gate.py +334 -0
  319. formamech-0.3.0/src/piginot/operators/energy_operator.py +458 -0
  320. formamech-0.3.0/src/piginot/operators/foundation_hub.py +217 -0
  321. formamech-0.3.0/src/piginot/operators/gate.py +341 -0
  322. formamech-0.3.0/src/piginot/operators/geometry_3d.py +496 -0
  323. formamech-0.3.0/src/piginot/operators/geometry_tokenizer.py +868 -0
  324. formamech-0.3.0/src/piginot/operators/low_rank_adapter.py +688 -0
  325. formamech-0.3.0/src/piginot/operators/low_rank_adapter_3d.py +605 -0
  326. formamech-0.3.0/src/piginot/operators/multi_topology_3d.py +597 -0
  327. formamech-0.3.0/src/piginot/operators/multiphysics_operator_3d.py +439 -0
  328. formamech-0.3.0/src/piginot/operators/safetensors_io.py +344 -0
  329. formamech-0.3.0/src/piginot/operators/surface_operator_3d.py +700 -0
  330. formamech-0.3.0/src/piginot/operators/temporal_bundle_3d.py +133 -0
  331. formamech-0.3.0/src/piginot/optimization/__init__.py +99 -0
  332. formamech-0.3.0/src/piginot/optimization/bundle_bridge.py +403 -0
  333. formamech-0.3.0/src/piginot/optimization/dfm_constraints.py +318 -0
  334. formamech-0.3.0/src/piginot/optimization/ffd_shape_opt_3d.py +517 -0
  335. formamech-0.3.0/src/piginot/optimization/parametric_3d_bridge.py +283 -0
  336. formamech-0.3.0/src/piginot/optimization/parametric_bridge.py +514 -0
  337. formamech-0.3.0/src/piginot/optimization/problem.py +248 -0
  338. formamech-0.3.0/src/piginot/optimization/topology_opt_3d.py +735 -0
  339. formamech-0.3.0/src/piginot/optimization/trust_region.py +652 -0
  340. formamech-0.3.0/src/piginot/physics/__init__.py +139 -0
  341. formamech-0.3.0/src/piginot/physics/_validation.py +107 -0
  342. formamech-0.3.0/src/piginot/physics/errors.py +52 -0
  343. formamech-0.3.0/src/piginot/physics/neo_hookean.py +86 -0
  344. formamech-0.3.0/src/piginot/physics/plane_stress.py +232 -0
  345. formamech-0.3.0/src/piginot/problem/__init__.py +39 -0
  346. formamech-0.3.0/src/piginot/problem/expressions.py +47 -0
  347. formamech-0.3.0/src/piginot/problem/lifting.py +150 -0
  348. formamech-0.3.0/src/piginot/problem/material.py +108 -0
  349. formamech-0.3.0/src/piginot/problem/requests.py +131 -0
  350. formamech-0.3.0/src/piginot/problem/verification.py +395 -0
  351. formamech-0.3.0/src/piginot/qualify/__init__.py +111 -0
  352. formamech-0.3.0/src/piginot/qualify/external.py +944 -0
  353. formamech-0.3.0/src/piginot/qualify/gate.py +306 -0
  354. formamech-0.3.0/src/piginot/qualify/manifest.py +455 -0
  355. formamech-0.3.0/src/piginot/qualify/pipeline.py +1185 -0
  356. formamech-0.3.0/src/piginot/qualify/policy.py +487 -0
  357. formamech-0.3.0/src/piginot/qualify/report.py +123 -0
  358. formamech-0.3.0/src/piginot/robotics/__init__.py +168 -0
  359. formamech-0.3.0/src/piginot/robotics/adaptive_cbf.py +652 -0
  360. formamech-0.3.0/src/piginot/robotics/bridges.py +263 -0
  361. formamech-0.3.0/src/piginot/robotics/cbf.py +360 -0
  362. formamech-0.3.0/src/piginot/robotics/clik_3d.py +394 -0
  363. formamech-0.3.0/src/piginot/robotics/contact_diagnostics.py +707 -0
  364. formamech-0.3.0/src/piginot/robotics/live_coupling.py +470 -0
  365. formamech-0.3.0/src/piginot/robotics/mpc.py +299 -0
  366. formamech-0.3.0/src/piginot/robotics/newton_warp_bridge.py +610 -0
  367. formamech-0.3.0/src/piginot/robotics/port_hamiltonian.py +239 -0
  368. formamech-0.3.0/src/piginot/robotics/tactile.py +467 -0
  369. formamech-0.3.0/src/piginot/security/__init__.py +23 -0
  370. formamech-0.3.0/src/piginot/security/sigstore_provenance.py +375 -0
  371. formamech-0.3.0/src/piginot/serving/__init__.py +199 -0
  372. formamech-0.3.0/src/piginot/serving/api_server.py +465 -0
  373. formamech-0.3.0/src/piginot/serving/audit_ledger.py +287 -0
  374. formamech-0.3.0/src/piginot/serving/hybrid.py +1284 -0
  375. formamech-0.3.0/src/piginot/serving/recipe.py +190 -0
  376. formamech-0.3.0/src/piginot/serving/snap.py +1493 -0
  377. formamech-0.3.0/src/piginot/serving/snap_gate.py +530 -0
  378. formamech-0.3.0/src/piginot/serving/spectral_repair.py +399 -0
  379. formamech-0.3.0/src/piginot/serving/test_time_lora.py +811 -0
  380. formamech-0.3.0/src/piginot/stateful/__init__.py +184 -0
  381. formamech-0.3.0/src/piginot/stateful/artifact.py +453 -0
  382. formamech-0.3.0/src/piginot/stateful/constitutive.py +192 -0
  383. formamech-0.3.0/src/piginot/stateful/fatigue_fracture.py +949 -0
  384. formamech-0.3.0/src/piginot/stateful/fem_stepper.py +535 -0
  385. formamech-0.3.0/src/piginot/stateful/fem_stepper_3d.py +398 -0
  386. formamech-0.3.0/src/piginot/stateful/j2_advanced.py +553 -0
  387. formamech-0.3.0/src/piginot/stateful/j2_plasticity.py +685 -0
  388. formamech-0.3.0/src/piginot/stateful/neural_stateful.py +1062 -0
  389. formamech-0.3.0/src/piginot/stateful/plasticity_operator.py +544 -0
  390. formamech-0.3.0/src/piginot/stateful/stepper.py +554 -0
  391. formamech-0.3.0/src/piginot/stateful/viscoelastic.py +449 -0
  392. formamech-0.3.0/src/piginot/stateful/viscoelastic_operator.py +498 -0
  393. formamech-0.3.0/src/piginot/store/__init__.py +48 -0
  394. formamech-0.3.0/src/piginot/store/dataset_3d.py +446 -0
  395. formamech-0.3.0/src/piginot/store/errors.py +55 -0
  396. formamech-0.3.0/src/piginot/store/models.py +232 -0
  397. formamech-0.3.0/src/piginot/store/store.py +719 -0
  398. formamech-0.3.0/src/piginot/training/__init__.py +161 -0
  399. formamech-0.3.0/src/piginot/training/_checkpoint_codec.py +271 -0
  400. formamech-0.3.0/src/piginot/training/adaptive.py +410 -0
  401. formamech-0.3.0/src/piginot/training/archive_trainer.py +701 -0
  402. formamech-0.3.0/src/piginot/training/checkpoint.py +768 -0
  403. formamech-0.3.0/src/piginot/training/compute.py +469 -0
  404. formamech-0.3.0/src/piginot/training/constrained_objective.py +82 -0
  405. formamech-0.3.0/src/piginot/training/constrained_stage.py +270 -0
  406. formamech-0.3.0/src/piginot/training/constraint_budget.py +114 -0
  407. formamech-0.3.0/src/piginot/training/constraint_records.py +218 -0
  408. formamech-0.3.0/src/piginot/training/continual_clpm.py +872 -0
  409. formamech-0.3.0/src/piginot/training/diagnostics.py +402 -0
  410. formamech-0.3.0/src/piginot/training/energy_engine.py +453 -0
  411. formamech-0.3.0/src/piginot/training/energy_engine_3d.py +1616 -0
  412. formamech-0.3.0/src/piginot/training/engine.py +512 -0
  413. formamech-0.3.0/src/piginot/training/fleet.py +795 -0
  414. formamech-0.3.0/src/piginot/training/foundation_pretrain.py +429 -0
  415. formamech-0.3.0/src/piginot/training/identity.py +115 -0
  416. formamech-0.3.0/src/piginot/training/lbfgs_checkpoint.py +272 -0
  417. formamech-0.3.0/src/piginot/training/lbfgs_stage.py +386 -0
  418. formamech-0.3.0/src/piginot/training/parametric_3d_engine.py +1578 -0
  419. formamech-0.3.0/src/piginot/training/platform_fingerprint.py +22 -0
  420. formamech-0.3.0/src/piginot/training/preconditioned_pino.py +602 -0
  421. formamech-0.3.0/src/piginot/training/scheduler.py +164 -0
  422. formamech-0.3.0/src/piginot/training/search.py +194 -0
  423. formamech-0.3.0/src/piginot/training/selection.py +543 -0
  424. formamech-0.3.0/src/piginot/training/state.py +320 -0
  425. formamech-0.3.0/src/piginot/ui/__init__.py +61 -0
  426. formamech-0.3.0/src/piginot/ui/app.py +1317 -0
  427. formamech-0.3.0/src/piginot/ui/field_probes.py +171 -0
  428. formamech-0.3.0/src/piginot/ui/inspector.py +531 -0
  429. formamech-0.3.0/src/piginot/ui/job_history.py +225 -0
  430. formamech-0.3.0/src/piginot/ui/workbench/__init__.py +75 -0
  431. formamech-0.3.0/src/piginot/ui/workbench/boundary_picker.py +226 -0
  432. formamech-0.3.0/src/piginot/ui/workbench/cad_viewer.py +326 -0
  433. formamech-0.3.0/src/piginot/ui/workbench/job_runner.py +812 -0
  434. formamech-0.3.0/src/piginot/ui/workbench/navigation.py +200 -0
  435. formamech-0.3.0/src/piginot/ui/workbench/physics_forms.py +707 -0
  436. formamech-0.3.0/src/piginot/ui/workbench/picker_component.py +83 -0
  437. formamech-0.3.0/src/piginot/ui/workbench/plan_review.py +129 -0
  438. formamech-0.3.0/src/piginot/ui/workbench/state.py +825 -0
  439. formamech-0.3.0/src/piginot/ui/workbench/study_plan.py +150 -0
  440. formamech-0.3.0/src/piginot/ui/workbench_3d/__init__.py +55 -0
  441. formamech-0.3.0/src/piginot/ui/workbench_3d/component.py +62 -0
  442. formamech-0.3.0/src/piginot/ui/workbench_3d/parametric_explorer.py +175 -0
  443. formamech-0.3.0/src/piginot/ui/workbench_3d/showcase_panel.py +827 -0
  444. formamech-0.3.0/src/piginot/ui/workbench_3d/state_3d.py +734 -0
  445. formamech-0.3.0/src/piginot/ui/workbench_3d/stateful_editor.py +154 -0
  446. formamech-0.3.0/src/piginot/ui/workbench_3d/vv10_panel.py +335 -0
  447. formamech-0.3.0/src/piginot/validation/__init__.py +109 -0
  448. formamech-0.3.0/src/piginot/validation/component_test_contracts.py +296 -0
  449. formamech-0.3.0/src/piginot/validation/contracts.py +283 -0
  450. formamech-0.3.0/src/piginot/validation/femu_gate.py +702 -0
  451. formamech-0.3.0/src/piginot/validation/femu_hyperreduced.py +1853 -0
  452. formamech-0.3.0/src/piginot/validation/hybrid_grounding.py +470 -0
  453. formamech-0.3.0/src/piginot/validation/interop_gate.py +831 -0
  454. formamech-0.3.0/src/piginot/validation/inverse.py +439 -0
  455. formamech-0.3.0/src/piginot/verification/__init__.py +120 -0
  456. formamech-0.3.0/src/piginot/verification/amortization.py +118 -0
  457. formamech-0.3.0/src/piginot/verification/budget.py +223 -0
  458. formamech-0.3.0/src/piginot/verification/confidence.py +331 -0
  459. formamech-0.3.0/src/piginot/verification/envelope.py +135 -0
  460. formamech-0.3.0/src/piginot/verification/families.py +215 -0
  461. formamech-0.3.0/src/piginot/verification/holdout.py +121 -0
  462. formamech-0.3.0/src/piginot/verification/latency.py +71 -0
  463. formamech-0.3.0/src/piginot/verification/reducer.py +101 -0
  464. formamech-0.3.0/src/piginot/verification/report.py +143 -0
  465. formamech-0.3.0/src/piginot/verification/status.py +52 -0
  466. 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."
@@ -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.