microsoft / graph-based-code-modelling

Code for "Generative Code Modeling with Graphs" (ICLR'19)
MIT License
170 stars 38 forks source link

Do input solutions have to compile? #4

Closed urialon closed 5 years ago

urialon commented 5 years ago

Hi @mmjb , I noticed that your code tries to build every input solution. Do these input solutions have to compile/ build successfully?

If so, what happens when they don't? Because your code doesn't simply skip an unbuilt solution.

Thanks!

RoySadaka commented 5 years ago

+1

mmjb commented 5 years ago

Building successfully is not required, but building "enough" is so that Roslyn semantic model is populated with type information, which is crucial to determine which expressions to consider. [This means that nuget package need to be around, at least]

urialon commented 5 years ago

Thanks!