packages feed

exchangealgebra-0.6.0.0: test/fixtures/example-numbers-p1/README.md

# Example number fixtures for P1

The `ripple-analysis.tsv` fixture records the first-term matrix calculations
from the ripple example at develop revision
`2a83fe178d47a1024e0e566794f39533a12b4c20`. The example has moved to the
comp-econ-asabm research repository; its pre-move source is preserved in tag
[archive/research-examples-pre-p4](https://github.com/yakagika/ExchangeAlgebra/tree/archive/research-examples-pre-p4/examples).
The test reproduces the
example's seed 42, in-house ratio 0.4, ten entities, and nine producing
industries. It keeps the original matrix size. The copied calculation covers
the generated input coefficients, `leontiefInverse`, and `rippleEffect` for
industry 9. It does not run the classic simulation engine. Each of the 243
numeric rows contains the matrix coordinate, the Double's hexadecimal bits,
and its `show` output.

The simulation outputs of `examples/basic/fixedPriceIO.hs` and
`examples/basic/fixedPriceIOSpill.hs` require their example-local `World`, `Event`,
and state-space instances. Reproducing those models in the library test would
exceed the 300-line limit per example. The CGE-Lite calibration has no library
public API counterpart. These three outputs are therefore not copied into
this fixture set. The calibration reference is maintained in the destination
repository, general-equilibrium; the pre-move version is preserved in tag
`archive/research-examples-pre-p4` linked in the first paragraph. The simulation
programs remain executable references until a smaller public-API model can
reproduce their output.

Regenerate after an intentional baseline change from the repository root:

```bash
EA_REGEN_GOLDEN=1 stack build --test --bench --no-run-benchmarks
```

Run the command again without `EA_REGEN_GOLDEN` to compare the generated TSV
with the committed fixture. The test checks the 243 numeric rows and compares
the complete file. The fixture is included in the package source archive by
the `test/fixtures/**/*` entry in `package.yaml`.