Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reference output files for examples #76

Open
lplana opened this issue Apr 20, 2023 · 1 comment
Open

Reference output files for examples #76

lplana opened this issue Apr 20, 2023 · 1 comment

Comments

@lplana
Copy link
Member

lplana commented Apr 20, 2023

It is possible to test implementation correctness by comparing the output files generated by the examples in the repository with reference output files.

The reference files are attached here. Please note that the extension has been changed from '.out' to '.txt' due to repository file type restrictions.

example rand10x40:
REF_rand10x40_test_20e.txt
REF_rand10x40_train.txt
REF_rand10x40_train_test_20e.txt

example rogers-basic:
REF_rogers-all-links.txt

example simple_past_tense:
REF_simple_past_tense_train_test.txt

@Christian-B
Copy link
Member

These files can easily be read in using numpy.loadtxt.

If you create test just commit the expected results along with the tests.
We used that approach in
https://github.com/SpiNNakerManchester/sPyNNaker/tree/master/spynnaker_integration_tests/test_param_vertex

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants