• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MilesCranmer / PySR / 12100062277

30 Nov 2024 10:48PM UTC coverage: 93.389% (-0.3%) from 93.735%
12100062277

Pull #748

github

MilesCranmer
test: skip tensorboard test on windows
Pull Request #748: Update to 1.0 backend

412 of 438 new or added lines in 13 files covered. (94.06%)

1 existing line in 1 file now uncovered.

1342 of 1437 relevant lines covered (93.39%)

2.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.67
/pysr/__init__.py
1
import os
3✔
2

3
if os.environ.get("PYSR_USE_BEARTYPE", "0") == "1":
3✔
NEW
4
    from beartype.claw import beartype_this_package
×
5

NEW
6
    beartype_this_package()
×
7

8
# This must be imported as early as possible to prevent
9
# library linking issues caused by numpy/pytorch/etc. importing
10
# old libraries:
11
from .julia_import import jl, SymbolicRegression  # isort:skip
3✔
12

13
from . import sklearn_monkeypatch
3✔
14
from .deprecated import best, best_callable, best_row, best_tex, install, pysr
3✔
15
from .export_jax import sympy2jax
3✔
16
from .export_torch import sympy2torch
3✔
17
from .expression_specs import (
3✔
18
    AbstractExpressionSpec,
19
    ExpressionSpec,
20
    ParametricExpressionSpec,
21
    TemplateExpressionSpec,
22
)
23
from .julia_extensions import load_all_packages
3✔
24
from .logger_specs import AbstractLoggerSpec, TensorBoardLoggerSpec
3✔
25
from .sr import PySRRegressor
3✔
26

27
# This file is created by setuptools_scm during the build process:
28
from .version import __version__
3✔
29

30
__all__ = [
3✔
31
    "jl",
32
    "SymbolicRegression",
33
    "sklearn_monkeypatch",
34
    "sympy2jax",
35
    "sympy2torch",
36
    "install",
37
    "load_all_packages",
38
    "PySRRegressor",
39
    "AbstractExpressionSpec",
40
    "ExpressionSpec",
41
    "TemplateExpressionSpec",
42
    "ParametricExpressionSpec",
43
    "AbstractLoggerSpec",
44
    "TensorBoardLoggerSpec",
45
    "best",
46
    "best_callable",
47
    "best_row",
48
    "best_tex",
49
    "pysr",
50
    "__version__",
51
]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc