dice-group / ida-pg

GNU Affero General Public License v3.0
6 stars 4 forks source link

New code generator #164

Closed Cortys closed 5 years ago

Cortys commented 5 years ago

As described in #135.

This PR adds the new uninteractive code generator to IDA. The new generator is fully integrated with ida-ws and currently provides the same functionality. Since it generates the executed code from scratch, it is however much more flexible than the previous implementation and will allow for greater flexibility in the future.

The generator is currently only configured to work with scikit-learn. Since it is fully framework and language agnostic, it can be reconfigured to work with other frameworks and languages as well.

codecov-io commented 5 years ago

Codecov Report

Merging #164 into master will increase coverage by 0.07%. The diff coverage is 92.98%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #164      +/-   ##
============================================
+ Coverage     43.24%   43.32%   +0.07%     
- Complexity      155      170      +15     
============================================
  Files            49       51       +2     
  Lines          1274     1311      +37     
  Branches        139      141       +2     
============================================
+ Hits            551      568      +17     
- Misses          684      707      +23     
+ Partials         39       36       -3
Impacted Files Coverage Δ Complexity Δ
.../main/java/upb/ida/provider/ClusterDataGetter.java 85.33% <100%> (-0.92%) 12 <0> (ø)
...c/main/java/upb/ida/provider/DataDumpProvider.java 100% <100%> (ø) 11 <8> (+6) :arrow_up:
...s/src/main/java/upb/ida/config/DataDumpConfig.java 100% <100%> (ø) 2 <2> (?)
...c/main/java/upb/ida/bean/cluster/ClusterParam.java 46.42% <80%> (+11.64%) 6 <2> (+2) :arrow_up:
.../src/main/java/upb/ida/util/CodeGeneratorUtil.java 86.95% <86.95%> (ø) 5 <5> (?)
.../src/main/java/upb/ida/util/KernelHttpRequest.java 0% <0%> (-91.31%) 0% <0%> (-3%)
...ain/java/upb/ida/bean/cluster/ClusterAlgoDesc.java 41.66% <0%> (+4.16%) 4% <0%> (+1%) :arrow_up:
...da-ws/src/main/java/upb/ida/util/DataDumpUtil.java 85.71% <0%> (+7.14%) 5% <0%> (+1%) :arrow_up:
... and 1 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 7edc9ed...b7fa0bd. Read the comment docs.

codecov-io commented 5 years ago

Codecov Report

Merging #164 into master will increase coverage by 0.07%. The diff coverage is 92.98%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #164      +/-   ##
============================================
+ Coverage     43.24%   43.32%   +0.07%     
- Complexity      155      170      +15     
============================================
  Files            49       51       +2     
  Lines          1274     1311      +37     
  Branches        139      141       +2     
============================================
+ Hits            551      568      +17     
- Misses          684      707      +23     
+ Partials         39       36       -3
Impacted Files Coverage Δ Complexity Δ
.../main/java/upb/ida/provider/ClusterDataGetter.java 85.33% <100%> (-0.92%) 12 <0> (ø)
...c/main/java/upb/ida/provider/DataDumpProvider.java 100% <100%> (ø) 11 <8> (+6) :arrow_up:
...s/src/main/java/upb/ida/config/DataDumpConfig.java 100% <100%> (ø) 2 <2> (?)
...c/main/java/upb/ida/bean/cluster/ClusterParam.java 46.42% <80%> (+11.64%) 6 <2> (+2) :arrow_up:
.../src/main/java/upb/ida/util/CodeGeneratorUtil.java 86.95% <86.95%> (ø) 5 <5> (?)
.../src/main/java/upb/ida/util/KernelHttpRequest.java 0% <0%> (-91.31%) 0% <0%> (-3%)
...ain/java/upb/ida/bean/cluster/ClusterAlgoDesc.java 41.66% <0%> (+4.16%) 4% <0%> (+1%) :arrow_up:
...da-ws/src/main/java/upb/ida/util/DataDumpUtil.java 85.71% <0%> (+7.14%) 5% <0%> (+1%) :arrow_up:
... and 1 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 7edc9ed...148aba9. Read the comment docs.