Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

--shuffle : We should ensure that we really are order-independent #1

Open
koo5 opened this issue Feb 14, 2019 · 0 comments
Open

--shuffle : We should ensure that we really are order-independent #1

koo5 opened this issue Feb 14, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@koo5
Copy link
Owner

koo5 commented Feb 14, 2019

Shuffle the triples in bodies and heads in some way. Ideally, we should try all permutations of the kb and query, which means all permutations of all rules, their heads, and bodies. This would take very long on more complex test cases. Might want to determine the number of possible permutations, and then complete them in random order...
Add it to tau2.py. Move the list triple-shuffling code from pyco to tau2, to happen before the shuffling, so we can get full coverage.
add a --noshuffle testcase command (like --limit, shouldbe etc) to disallow the shuffling, in tests with builtins. Alternatively, detect builtin use automatically...

@koo5 koo5 added the enhancement New feature or request label Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant