-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete instructions regarding 'Add New Bug Benchmark' #156
Comments
Thanks @Marti2203 for your prompt reply. I believe there is a typo in that commit. Where it's written
should be
right? Another question that's not yet clear to me is, how does one create the |
Hi, |
Hello @Marti2203 , I would like to add a benchmark to Cerberus for experiment. Until now, I have not known or found the functions on Cerberus to process the output from running test cases and compiling in Benchmark. I am curious how Cerberus understands my custom output from running test cases and compiling, because I have not known the fixed format for these outputs. Thank you. |
Hi @brojackvn , |
Hello @Marti2203 , I noticed that you have created a version of Defects4J in https://github.com/nus-apr/defects4j. Could you kindly explain the main purpose of this? I also see that you have included it in all benchmarks. Thank you so much. |
Hi, we fork the benchmarks, such as Defects4J, to have a version of the repository where we can add additional metadata or files, which Cerberus uses. Initially, we stored a local copy but decided that using submodules would be more effective for storage. |
My point is that every benchmark has its own fork, similar to this repository https://github.com/nus-apr/defects4j. In Defects4J, each bug includes files like "build_script", "config_script", "clean_script", and "test_script". Do I need to create a similar repository when adding a new benchmark? I'm still unclear on the purpose of this repository, especially when looking at the code for adding benchmark drivers here |
Having a repository with files, such as |
Thank you very much for your quick response. I think I understand the requirements for adding a new benchmark. I am trying to run an example to understand the flow of Cerberus and make sure that I am able to run Cerberus for experiments. Here’s what I have done so far, step by step:
Then I printed process of building image by adding a line of code "print(line["stream"])" at line 124 in container.py. I found an error here:
Could you help me figure out how to resolve this issue? |
Hi, let's take this to a different issue. This sounds like some dependency is stale and I will need to try rebuilding the docker image used by the benchmark ( the image is described by the Dockerfile in the repository of the benchmark) |
Hi @nus-apr,
Although this page/document provides some initial instructions on how to add a new bug benchmark, it does not provide instructions for the second and third points listed.
(The last sentence ends weirdly). It would be great if you could provide more info.
The text was updated successfully, but these errors were encountered: