Skip to content
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

Adding more Learning-Based Repair tools to Cerberus #32

Open
Marti2203 opened this issue Feb 22, 2023 · 14 comments
Open

Adding more Learning-Based Repair tools to Cerberus #32

Marti2203 opened this issue Feb 22, 2023 · 14 comments
Assignees
Labels
enhancement New feature or request

Comments

@Marti2203
Copy link
Collaborator

Marti2203 commented Feb 22, 2023

There is a list of possible tools one can work on adding to Cerberus in order to increase the breadth of the framework.

@Marti2203 Marti2203 added the enhancement New feature or request label Feb 22, 2023
@thanhlecongg
Copy link
Contributor

Hi @Marti2203, did you find trained models for KNOD and CoCoNUT? I'm working on add more learning-based repair to Cerberus but I cannot find trained models for these techniques.

@Marti2203
Copy link
Collaborator Author

Hi @thanhlecongg , I unfortunately have not found CoCoNut's model yet, was searching for it last week. I have to check again for KNOD

@thanhlecongg
Copy link
Contributor

thanhlecongg commented Jul 20, 2023

Yeah, me too. For KNOD, I also cannot find the models. However, I found there are two other techniques with trained models:

  • SelfAPR: [Code] [Model]
  • AlphaRepair: [Code] (This technique uses CodeBERT directly so it is available in hugging face)

Btw, Do you plan to add any learning-based approaches in the near future? I also plan to do that so we can share to avoid wasting efforts.

@Marti2203
Copy link
Collaborator Author

I just checked for KNOD - yeah, I also cannot find the model. Thought that the docker contained it... I am unfortunately not going to add more learning-based tools soon as I am helping for APR-COMP :D Will message you if I am planning to add a tool

@thanhlecongg
Copy link
Contributor

Ok. No worries. I also planned to do it. I will contribute after I complete.

@Marti2203
Copy link
Collaborator Author

Thanks a lot! :)

@Marti2203
Copy link
Collaborator Author

Will add you to the assigned people to allow for easier tracking

@thanhlecongg
Copy link
Contributor

AlphaRepair has been added by Pull request #100. I will keep adding more learning-based repair tools.

@thanhlecongg
Copy link
Contributor

SelfAPR has been added by Pull request #103.

@thanhlecongg
Copy link
Contributor

@Marti2203 I'm working on RewardRepair. Unfortunately, they do not provide preprocessing code for their work. I have tried to reach the authors but have not received their response until now. I have implemented my own preprocessing code following their descriptions in the paper but the processed inputs are not identical to their provided data. Should I make a pull request for RewardRepair?

@Marti2203
Copy link
Collaborator Author

You can do a PR, but add an I to the name so there is some way of tracking that it is different

@thanhlecongg
Copy link
Contributor

Ok, I got it.

@thanhlecongg
Copy link
Contributor

thanhlecongg commented Aug 13, 2023

RewardRepair has been added by Pull request #104.

@thanhlecongg
Copy link
Contributor

RewardRepair, SelfAPR, and AlphaRepair are all the tools that I can find the trained model until now. So I will pause this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants