ml4ai / automates

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

Annotated CAST #291

Closed rsulli55 closed 2 years ago

rsulli55 commented 2 years ago

Merging Annotated CAST to master. The legacy CAST -> AIR -> GrFN pipeline is not removed. We added a flag to gcc_ast_to_cast.py so that "legacy" CAST generation is possible. Legacy CAST has a simple change: the FunctionDef's name attribute is a string instead of a Name node. This legacy CAST should be used for the legacy GrFN pipeline. The AnnCAST pipeline requires FunctionDef nodes to have Name nodes for the name attribute.

codecov[bot] commented 2 years ago

Codecov Report

Merging #291 (e01f94b) into master (1647a8e) will decrease coverage by 1.85%. The diff coverage is 25.19%.

@@            Coverage Diff             @@
##           master     #291      +/-   ##
==========================================
- Coverage   65.01%   63.15%   -1.86%     
==========================================
  Files          95       96       +1     
  Lines       18044    18914     +870     
==========================================
+ Hits        11732    11946     +214     
- Misses       6312     6968     +656     
Impacted Files Coverage Δ
...lysis/CAST2GrFN/visitors/cast_to_agraph_visitor.py 53.65% <14.02%> (-38.96%) :arrow_down:
...gram_analysis/CAST2GrFN/ann_cast/annotated_cast.py 28.26% <28.26%> (ø)
automates/model_assembly/networks.py 80.48% <37.50%> (-1.21%) :arrow_down:
automates/model_assembly/metadata.py 88.54% <40.00%> (-0.69%) :arrow_down:
automates/model_assembly/sandbox.py 51.21% <50.00%> (ø)
...mates/program_analysis/GCC2GrFN/gcc_ast_to_cast.py 76.90% <100.00%> (+0.28%) :arrow_up:
...program_analysis/GCC2GrFN/gcc_ast_to_cast_utils.py 56.98% <100.00%> (+0.46%) :arrow_up:
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 1647a8e...e01f94b. Read the comment docs.