ml4ai / automates

AutoMATES: Automated Model Assembly from Text, Equations, and Software
https://ml4ai.github.io/automates
Other
25 stars 9 forks source link

Null code_span metadata GrFN generation #285

Closed titomeister closed 2 years ago

titomeister commented 2 years ago

Added a small check in metadata.py that checks whether the input GrFN has no code_span metadata information. This is to allow GrFNs to be executed on the web API and to have their expression trees extracted in the case they have no code_span information.

codecov[bot] commented 2 years ago

Codecov Report

Merging #285 (e540476) into master (caed6d3) will decrease coverage by 0.00%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #285      +/-   ##
==========================================
- Coverage   66.01%   66.01%   -0.01%     
==========================================
  Files          95       95              
  Lines       18012    18014       +2     
==========================================
+ Hits        11891    11892       +1     
- Misses       6121     6122       +1     
Impacted Files Coverage Δ
automates/model_assembly/metadata.py 89.23% <66.66%> (-0.23%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update caed6d3...e540476. Read the comment docs.