ml4ai / automates

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

Added spacing around parentheses, for easier tokenization. #270

Closed titomeister closed 2 years ago

titomeister commented 2 years ago

Small changes to the CAST to token CAST visitor so that the token CAST has spacing around the parentheses. In other words, fixed it so it goes from (fn1 arg1 (fn2 arg2 arg3)) to ( fn1 arg1 ( fn2 arg2 arg3 ) )

codecov[bot] commented 2 years ago

Codecov Report

Merging #270 (fe1e83b) into master (40ed6cb) will increase coverage by 0.01%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #270      +/-   ##
==========================================
+ Coverage   66.29%   66.30%   +0.01%     
==========================================
  Files          94       94              
  Lines       17821    17821              
==========================================
+ Hits        11814    11816       +2     
+ Misses       6007     6005       -2     
Impacted Files Coverage Δ
...s/CAST2GrFN/visitors/cast_to_token_cast_visitor.py 0.00% <0.00%> (ø)
automates/model_analysis/graph_manipulation.py 70.75% <0.00%> (+0.55%) :arrow_up:

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 40ed6cb...fe1e83b. Read the comment docs.