File size: 854 Bytes
848d4b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
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',
]