Bayou synthesizes unexpected non-JDK code (annotations.Bayou)
See original GitHub issueI am unsure if this is problematic, so here it goes anyway.
Here is the command I ran:
tool_files/floodgage$ ./floodgage.sh trials/create_file/trials.jar $BAYOU
And here is the suspicious output:
[Synthesis Result 8]
import java.io.*;
import java.util.function.*;
import java.io.File;
import edu.rice.cs.caper.bayou.annotations.Bayou;
import java.net.URI;
public class Draft_1_8 implements Consumer<String> {
public void accept(String filename) {
{
boolean boolean1;
File file1;
long long1 = (long) Bayou.$init();
URI uRI1 = (URI) Bayou.$init();
file1 = new java.io.File(uRI1);
boolean1 = file1.setLastModified(long1);
}
}
}
/Draft_1_8.java:4: error: package edu.rice.cs.caper.bayou.annotations does not exist
import edu.rice.cs.caper.bayou.annotations.Bayou;
Issue Analytics
- State:
- Created 6 years ago
- Comments:25 (1 by maintainers)
Top Results From Across the Web
Multiple function/evidence crashes synthesize.sh · Issue #41 ...
The following input to synthesize.sh ... IOException: Unexpected status code: 500 at ... ASTNode.accept(ASTNode.java:2711) ~[bayou-1.0.0.jar:?] at ...
Read more >Program Synthesis with Large Language Models - arXiv
We introduce two datasets to test Python code synthesis. The first is a new dataset called Mostly Basic. Programming Problems (MBPP). It ...
Read more >alx software engineering syllabus - Le K'Sensuel
NEXT POST Distributed Systems (CS8603) Notes, Question Papers & Syllabus. By rejecting non-essential cookies, Reddit may still use certain cookies to ensure ...
Read more >Game Freak s GBA Title Drill Dozer Rated By The Australian ...
I have Bayou Billy on my NES. Trust me, it's not that good of a game. It's sluggish and the enemies are way...
Read more >Data Scientist Jobs in Coldwater, MI (Hiring Now!) - Zippia
Interacts with product and service teams to identify questions and issues for data analysis and experiments. Develops and codes software programs, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, debugging and also feedback. End users who are unfamiliar with an API may not know what exactly are the inputs to provide to work with the API. When they see such partial programs, it gives them feedback about the types that are often used in that API. In the web interface we will be replacing the $init call with a meaningful comment (e.g.,
/* initialize this variable */
).Bumping. Can we close this issue?