-
Notifications
You must be signed in to change notification settings - Fork 39
Add fact parser validation, tests, and bulk fact loading with tests #100
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
972b263
Add fact parser validation, tests, and bulk fact loading with tests
ColtonPayne e498f4a
Don't hardcode default values
ColtonPayne 0e2e395
Prevent predicates from starting with a digit
ColtonPayne cf592e2
Fix typo in MAKEFILE
ColtonPayne 0908471
Improve CSV loader tests
ColtonPayne 5a78cea
Add fact string formatting rules in docstring
ColtonPayne 83a2452
Remove extranious f string for linter
ColtonPayne ee0ea04
Fix api test file loading
ColtonPayne f1395dc
Add test for example with no header
ColtonPayne 0e3db89
Make invalid csv file loads raise exceptions by default
ColtonPayne a402321
Upd tests
ColtonPayne d1cb309
Add support for negated interval and negated explicit true/false
ColtonPayne b903281
Load facts from json instead of csv
ColtonPayne cad2d95
Update file loading tests
ColtonPayne 3eecf32
Revert
ColtonPayne 05b3748
Final cleanup
ColtonPayne 0c79988
Add back csv file loading and add duplicate name checks
ColtonPayne b1ea06c
Merge branch 'main' into input-validation
ColtonPayne 01a20a4
CSV Formatting
ColtonPayne 42d54e2
Add back load rules from file
ColtonPayne f4fbcb0
Merge branch 'input-validation' of github.com:lab-v2/pyreason into in…
ColtonPayne 3ba07ec
Requrie exact header match for csv headers
ColtonPayne 930c32b
Update examples and remove numeric string fact loading
ColtonPayne 4928d98
Merge branch 'main' into input-validation
ColtonPayne e14eb9f
Add back static string bulk csv
ColtonPayne 8fa0ef7
Merge branch 'input-validation' of github.com:lab-v2/pyreason into in…
ColtonPayne 27add9f
Merge branch 'main' into input-validation
ColtonPayne b975b08
Set default end_time to start_time
ColtonPayne a6fb069
Merge branch 'input-validation' of github.com:lab-v2/pyreason into in…
ColtonPayne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.