question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bayou synthesizes unexpected non-JDK code (annotations.Bayou)

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:25 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vijay-muralicommented, Dec 11, 2017

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 */).

0reactions
rmbarnett-ricecommented, Jan 22, 2018

Bumping. Can we close this issue?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found