Skip to content

Commit

Permalink
Remove Feynman problems and dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Feb 7, 2024
1 parent 65151c8 commit 796a8ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 284 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,22 @@ jobs:
run: pip install coverage coveralls
- name: "Run tests"
run: |
coverage run --source=pysr --omit='*/test/*,*/feynman_problems.py' -m pysr test main
coverage run --append --source=pysr --omit='*/test/*,*/feynman_problems.py' -m pysr test cli
coverage run --source=pysr --omit='*/test/*' -m pysr test main
coverage run --append --source=pysr --omit='*/test/*' -m pysr test cli
- name: "Install JAX"
run: pip install jax jaxlib # (optional import)
if: ${{ matrix.test-id == 'main' }}
- name: "Run JAX tests"
run: coverage run --append --source=pysr --omit='*/test/*,*/feynman_problems.py' -m pysr test jax
run: coverage run --append --source=pysr --omit='*/test/*' -m pysr test jax
if: ${{ matrix.test-id == 'main' }}
- name: "Install Torch"
run: pip install torch # (optional import)
if: ${{ matrix.test-id == 'main' }}
- name: "Run Torch tests"
run: coverage run --append --source=pysr --omit='*/test/*,*/feynman_problems.py' -m pysr test torch
run: coverage run --append --source=pysr --omit='*/test/*' -m pysr test torch
if: ${{ matrix.test-id == 'main' }}
- name: "Run custom env tests"
run: coverage run --append --source=pysr --omit='*/test/*,*/feynman_problems.py' -m pysr test env
run: coverage run --append --source=pysr --omit='*/test/*' -m pysr test env
- name: "Coveralls"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
101 changes: 0 additions & 101 deletions datasets/FeynmanEquations.csv

This file was deleted.

2 changes: 0 additions & 2 deletions pysr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from .deprecated import best, best_callable, best_row, best_tex, pysr
from .export_jax import sympy2jax
from .export_torch import sympy2torch
from .feynman_problems import FeynmanProblem, Problem
from .sr import PySRRegressor, jl

# This file is created by setuptools_scm during the build process:
Expand All @@ -12,7 +11,6 @@
"sklearn_monkeypatch",
"sympy2jax",
"sympy2torch",
"FeynmanProblem",
"Problem",
"install",
"PySRRegressor",
Expand Down
176 changes: 0 additions & 176 deletions pysr/feynman_problems.py

This file was deleted.

0 comments on commit 796a8ad

Please sign in to comment.