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

MilesCranmer / PySR / 8395676960
94%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2024 07:57PM UTC
Jobs 3
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Mar 2024 07:49PM UTC coverage: 93.593% (+0.5%) from 93.103%
8395676960

push

github

web-flow
Fix TypeError when a variable name matches a builtin python function (#558)

* fix thrown TypeError when a variable name matches a builtin python function

Example:

A dataset with a column named 'exec' failed with:

ValueError: Error from parse_expr with transformed code: "(Float ('86.76248' )-exec )"
... snip ...
TypeError: unsupported operand type(s) for -: 'Float' and 'builtin_function_or_method'

* Ensure backwards compatibility for `pysr2sympy` and use same method

* Fix potential issue with list ordering

* Combine builtin variable names test with noisy data test

* Fix builtin variable names test

---------

Co-authored-by: MilesCranmer <miles.cranmer@gmail.com>

3 of 4 new or added lines in 1 file covered. (75.0%)

1008 of 1077 relevant lines covered (93.59%)

2.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.75
-6.25% pysr/export_sympy.py
Jobs
ID Job ID Ran Files Coverage
1 test-1-3.11 - 8395676960.1 22 Mar 2024 08:00PM UTC 18
93.05
2 test-1-3.12 - 8395676960.2 22 Mar 2024 08:00PM UTC 18
81.0
3 test-1.6-3.7 - 8395676960.3 22 Mar 2024 08:00PM UTC 18
80.62
Source Files on build 8395676960
  • Tree
  • List 18
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fb5f0a1b on github
  • Prev Build on v0.17.4 (#8369109456)
  • Next Build on master (#8404082510)
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