-
Notifications
You must be signed in to change notification settings - Fork 28
Colton's Fixes #76
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
Colton's Fixes #76
Conversation
…tation_functions.py-w9h5xn Add annotation function tests with full coverage
- Fix test_num_ga_fp by adding get_num_ground_atoms method to interpretation_fp.py - Fix test_reorder_clauses_fp by making test robust to trace ordering differences - Add comprehensive error reports for test failures with root cause analysis - Update error reports with implemented fixes and verification results
…nt does not exist (#74)
Test updates
Colton fixes
Merge Colton's branch into main repo
Dyuman fixes from Colton's branch with new tests fixed
….py for timesteps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements "Colton's Fixes" which enhances the PyReason test infrastructure and fixes issues in the interpretation system. The changes include a comprehensive test suite reorganization, bug fixes in the fixed-point reasoning implementation, and improvements to query handling.
- Implements unified test runner with coverage aggregation and parallel execution capabilities
- Fixes critical bug in reset_rules() where annotation functions weren't being cleared
- Corrects query behavior to return consistent bounds for failed queries
Reviewed Changes
Copilot reviewed 43 out of 46 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/dont_disable_jit/test_world.py | New unit tests for World component functionality |
| tests/unit/dont_disable_jit/conftest.py | Stub configuration for JIT-enabled tests |
| tests/unit/disable_jit/interpretations/test_interpretation_init.py | Fixes test assertion by removing time check |
| tests/unit/disable_jit/interpretations/test_interpretation_common.py | Updates DummyBound class and test expectations |
| tests/unit/api_tests/*.py | Comprehensive API test suite covering validation, state management, settings, reasoning, and file operations |
| tests/functional/*.py | Adds FP version tests and marks slow tests appropriately |
| pyreason/scripts/interpretation/interpretation_fp.py | Fixes rule application logic and removes debug print statements |
| pyreason/scripts/interpretation/interpretation.py | Corrects query return values for consistency |
| pyreason/pyreason.py | Fixes annotation functions clearing in reset_rules() |
| run_tests.py | Unified test runner with parallel execution and coverage aggregation |
| test_config.json | Configuration for different test suites |
| Makefile | Convenient shortcuts for running tests |
| pytest.ini | Centralized pytest configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.