arris-gym
Run, score and train CAD-code models on a kernel you can trust: exact, deterministic, every failure counted.
arris-gym is a Python library. It runs model-written CAD programs on the
arris B-Rep kernel in a sandbox, returns a
typed outcome for every program, and scores the result against a target. It
speaks arris.build and a CadQuery-compatible subset, because CadQuery is what
public CAD-code benchmarks, datasets and models are written in. MIT OR
Apache-2.0.
Status
Pre-alpha, Linux only (x86-64 and AArch64, with user namespaces, Landlock,
mount_setattr and seccomp). What runs today:
run,run_manyandSandboxexecute a program in thearrisdialect or thecqsubset in an isolated worker and return a frozenExecResultwith one of eight statuses; results are cached exactly and digested bit for bit.scoregives a result its reward against a target body, with its IoU, surface, measures and topology terms and BenchCAD's own field metrics beside them;read_targetreads a STEP as a target.arris-gym census --corpus benchcadcounts the API a corpus writes, andarris-gym rescore benchcadre-scores a 300-program BenchCAD slice against CadQuery's own output (both need thearris-gym[corpus]extra).
The cq subset is still small (13 API forms: no selectors, hole,
chamfer or export yet), and nothing for training exists yet.
SEED.md is the charter, docs/ROADMAP.md says
what comes next and CHANGELOG.md what each change gives.
import arris_gym as ag
target = ag.run(open("target.py").read(), dialect="cq").body
result = ag.run(model_output, dialect="cq", timeout=5.0)
s = ag.score(result, target) # a failure gets its fixed reward, no kernel call
print(result.status, result.message)
print(s.reward, s.iou, s.iou_route, s.field)
Contributing
See CONTRIBUTING.md.
Licence
Dual-licensed under MIT or Apache-2.0, at your option.
Metadata
Release files for arris-gym 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arris_gym-0.1.0.tar.gz | 106.6 kB | With provenance | Details for arris_gym-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arris_gym-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for arris_gym-0.1.0-py3-none-any.whl |
Total release size: 238.1 kB
Release files / arris_gym-0.1.0.tar.gz
| Download URL | arris_gym-0.1.0.tar.gz |
|---|---|
| Size | 106.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8af10031a5d871df9db83cfd35a107d82f2f02e1519fc63b9e82e7c3ab7f8ae
|
|
BLAKE2b-256 checksum How to use checksums |
d20ac51297cb705ed49397a1b24a46fd7c2f8942f5a97d6c2ea8ad71f99010d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / arris_gym-0.1.0-py3-none-any.whl
| Download URL | arris_gym-0.1.0-py3-none-any.whl |
|---|---|
| Size | 131.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c3fbbd2646fb75d371eee26abd28abc5f671b8c19cf867f2f459b663a1d1bf8
|
|
BLAKE2b-256 checksum How to use checksums |
e981254ce64b33ff83cffb6fce10a1e270e9ae6aba1a34ebf39178dbfe98620f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for arris-gym 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for arris_gym-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.