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

_RunVariations_ should run the model and actual function itself, so it can compare results and error messages. #97

Open
pmikkelsen opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@pmikkelsen
Copy link
Collaborator

Right now, the _RunVariations_ operator takes two functions as operands: the primitive being tested, and a user-defined function which is supposed to be an exact "model" of the primitive.

I want to be able to use _RunVariations_ such that when I give it some input data, it runs both the operand functions on the data (or permutations/modifications of the data), and compares the result values, or the error messages produced.

Currently, the operator expects as part of its argument, the data which has already been run through the model function. This prevents me from using it in any way, when I expect the model function to produce an error. I see no need for me to run the model function before running _RunVariations_, as it is already given as an operand.

@pmikkelsen pmikkelsen self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant