You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
engine: arrayed dataset VDF import is untested and may fail #501
Nobody has checked whether importing an arrayed Vensim dataset VDF (magic 7f f7 17 41, e.g. a data file loaded with a model) gives the right series.
The Rust dataset reader is tested only on a scalar dataset, test/bobby/vdf/econ/data.vdf.
Example
third_party/uib_sd/zambaqui/Data.vdf (the data file for the UiB zambaqui course models) is the one arrayed dataset we have.
Reading its block list with the same rule that works for scalar datasets gives an empty list, which suggests arrayed datasets lay that list out differently.
What VdfDatasetFile::extract_data does on this file today is unknown; simlin vdf-dump third_party/uib_sd/zambaqui/Data.vdf would show it.
The reader checks name count against record count and block indices against the block list, so an error is more likely than silently wrong numbers, but that is unverified.
Why it matters
Users import datasets through simlin.load_vdf and libsimlin.
Arrayed data files exist in real course material, though only this one is in our corpus.
Fix
Run the reader on Data.vdf.
If it already extracts correct series, add a test pinning a few values.
If not, make it fail with a clear "arrayed dataset VDFs are not supported" error and pin that; decoding the arrayed layout can wait for a user who needs it.
The Python debugging tool tools/vdf_xray.py also refuses dataset files (Dataset parsing not yet implemented in this tool.); bringing it to parity with the Rust reader is optional.
changed the title [-]tools/vdf_xray.py stubs dataset (0x41) parsing while Rust VdfDatasetFile is implemented[/-][+]engine: arrayed dataset VDF import is untested and may fail[/+]on Oct 12, 2026
Activity
vdf: derive results via direct record map and decoded forward link (#508
[-]tools/vdf_xray.py stubs dataset (0x41) parsing while Rust VdfDatasetFile is implemented[/-][+]engine: arrayed dataset VDF import is untested and may fail[/+]