Seed repository: rev-8.0.0 reference, frozen oracle, toolchain, test harness
Reference implementation of the strap-beam generators at revision 8.0.0, kept so the acceptance oracle can be regenerated. Not a live target; the running application has no OpenSCAD dependency. The oracle holds 123 frozen cases, 113 accepted and 10 rejected, produced by OpenSCAD 2021.01 with BOSL2 at 92d697c2. The ten rejections are part of the contract: a port that accepts them is wrong. tests/test_oracle.py specifies the port API and was written before the port, so the interface follows from what must be verified rather than what is convenient to implement. Proven by adversarial stub: a build() that rejects everything passes all 10 rejection tests and fails all 226 acceptance tests.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=68"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "mechcomp"
|
||||
version = "0.1.0.dev0"
|
||||
description = "Mechanical Compiler — structural member generation from reclaimed and commodity stock"
|
||||
requires-python = ">=3.11"
|
||||
license = { text = "AGPL-3.0-or-later" }
|
||||
|
||||
[project.urls]
|
||||
Source = "https://gitea.barternetwork.us/TheRON/mechanical-compiler"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
markers = [
|
||||
"oracle: acceptance against the frozen rev-8 fixture set",
|
||||
"cad: requires requirements-cad.txt",
|
||||
]
|
||||
Reference in New Issue
Block a user