Open ricardoV94 opened 2 years ago
@brandonwillard suggestion for what might be going on:
it has something to do with test values assigned to NominalVariables remember that those kinds of Variables are identical when their IDs are equal anyway, the Scan manipulations in aeppl needed some kind of adjustment to account for NominalVariables appropriately and their associated test values it might be that the Scan inner-graphs aren't creating NominalVariables that are properly ordered e.g. if an inner-graph is constructed from other graphs that have the same NominalVariables in them, then the new inner-graph needs to reorder/recreate the NominalVariables so that they're deduplicated and represent all the new inner-graph inputs distinctly
This showed up in #147 (https://github.com/aesara-devs/aeppl/runs/6918324742?check_suite_focus=true)
https://github.com/aesara-devs/aeppl/blob/cc78f30b5ed89e5b247b88d697467a76cc1e424e/tests/test_scan.py#L349
Traceback
```python test_scan.py::test_initial_values FAILED [100%] tests/test_scan.py:347 (test_initial_values) node = Shape_i{0}(*2-