| """ | |
| Validators for OpenMath benchmark problems with evaluation_mode="benchmark_best_known". | |
| Each validator module provides a validate() function that checks whether a proposed | |
| solution satisfies the required mathematical properties. | |
| Usage: | |
| python -m validators.sum_three_cubes_114 '{"x": 1, "y": 2, "z": -3}' | |
| Or programmatically: | |
| from validators.sum_three_cubes_114 import validate | |
| result = validate(solution) | |
| """ | |
| from .utils import ( | |
| ValidationResult, | |
| load_solution, | |
| parse_rational, | |
| parse_integer, | |
| gcd, | |
| output_result, | |
| run_sage_script, | |
| sage_not_found_message, | |
| success, | |
| failure, | |
| ) | |
| __all__ = [ | |
| 'ValidationResult', | |
| 'load_solution', | |
| 'parse_rational', | |
| 'parse_integer', | |
| 'gcd', | |
| 'output_result', | |
| 'run_sage_script', | |
| 'sage_not_found_message', | |
| 'success', | |
| 'failure', | |
| ] | |