-
Notifications
You must be signed in to change notification settings - Fork 13
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
Custom Thresholds #51
Conversation
Added exception and testcase
remove threshold number type unless needed
@f-hkobin Thanks for this, I will review and merge or get back to you if any changes are necessary soon. |
made `Viewed` facts static so that they occur in one timestep and stay active throughout the program.
@dyumanaditya Thanks for working upon the PR. Seems like the pipeline failed as shown in above details. |
I will try and merge it this weekend or before. The check failing is weird since I'm not able to reproduce it locally |
@f-hkobin @KaminiAggarwal Fixed the issue and merging, this will be in the next release |
Thank you @dyumanaditya ! |
Custom Thresholds
Addresses #50 and #49
Threshold
class that is constrained to the shape mentioned in Do we have an estimate on when this might be picked up or guidance on how can contribute. #50pyreason/scripts/utils/rule_parser.py
to handle custom thresholds (or use the default threshold if not defined)We also worked on a numba type for the threshold, but I don't think it's needed in this current iteration, so we removed it.
Please let us know if modifications are needed and we will be happy to help, myself or Kamini will jump in to make changes 👍