ml4ai / automates

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

Py AST To CAST Merge #293

Closed titomeister closed 2 years ago

titomeister commented 2 years ago

Merging functionality of Python source to CAST generation which includes the variable ID algorithm for at least the basic Python constructs. The merging is done to help development of GrFN generation for Python programs. The current testing framework for Python to CAST is being reworked, and thus isn't included in this pull request.

codecov[bot] commented 2 years ago

Codecov Report

Merging #293 (b6fa346) into master (99a0ee8) will decrease coverage by 1.81%. The diff coverage is 20.37%.

@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
- Coverage   63.17%   61.35%   -1.82%     
==========================================
  Files          96       96              
  Lines       18936    19228     +292     
==========================================
- Hits        11962    11798     -164     
- Misses       6974     7430     +456     
Impacted Files Coverage Δ
...lysis/CAST2GrFN/visitors/cast_to_agraph_visitor.py 18.18% <0.00%> (-35.48%) :arrow_down:
...ates/program_analysis/PyAST2CAST/py_ast_to_cast.py 12.48% <20.23%> (+2.93%) :arrow_up:
...ates/program_analysis/CAST2GrFN/model/cast/name.py 67.24% <100.00%> (-1.73%) :arrow_down:
...program_analysis/CAST2GrFN/model/cast/class_def.py 71.05% <0.00%> (-3.95%) :arrow_down:
...ates/program_analysis/CAST2GrFN/model/cast/dict.py 65.51% <0.00%> (-3.45%) :arrow_down:
...ates/program_analysis/CAST2GrFN/model/cast/loop.py 65.51% <0.00%> (-3.45%) :arrow_down:
...program_analysis/CAST2GrFN/model/cast/attribute.py 65.51% <0.00%> (-3.45%) :arrow_down:
...program_analysis/CAST2GrFN/model/cast/subscript.py 65.51% <0.00%> (-3.45%) :arrow_down:
...mates/program_analysis/CAST2GrFN/model/cast/set.py 61.22% <0.00%> (-2.05%) :arrow_down:
... and 6 more

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 99a0ee8...b6fa346. Read the comment docs.