lawsynth/examples/16-custom-operator
2026-08-16 21:04:23 +03:00
..
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00
2026-08-16 21:04:23 +03:00

Custom operator extension

This is a reproducible LawSynth example. It generates observations from the model stated in config.toml, performs finite-difference polynomial-library discovery where supported, and simulates the declared world. All generated artifacts are written below output/ and are ignored by version control.

python generate.py
python discover.py
python simulate.py
python -m pytest test_example.py

The data are synthetic and deterministic; they are suitable for exercising the pipeline, not for claiming causal identification from observational data.

Capability boundary

Custom expression operators require the plugin ABI, which is not present in this build. The commands exit with status 2 rather than synthesizing a result.