repairnator
repairnator copied to clipboard
add support for partial repair as automated hints for students learning to code
I was going through the work flow of repairnator, and it does generate the final patch. However if we have to generate hints about the issue in the code instead of final patch, Is that possible to do with Repairnator????
OR will a workflow, where we create a Gitlab bot which
- First generate hints from the FL tool 2, Then invokes the APR tool say, Astor is feasible
Can Repairnator be integrated with Gitlab OR Is it only for GitHub?
Is there any documents/guidelines on how to invoked Repairnator , based on a commit which I do from my account??
Can Repairnator be integrated with Gitlab OR Is it only for GitHub?
Today, it's Github, Gitlab is an open issue see https://github.com/eclipse/repairnator/issues/1142
However if we have to generate hints about the issue in the code instead of final patch
Interesting. Could you elaborate on what you mean by "hint"? Could you give a concrete example?
Could you elaborate on what you mean by "hint"? Could you give a concrete example? As an example , to find whether a number is odd or even , assume the code is if (n/2 ==0) [print "even" else print "odd"
So a hint could be either the line no / a suggestion to change the operator to % than displaying the final correct patch
So a hint could be either the line no
This is Repairnator for fault localization see https://github.com/eclipse/repairnator/issues/1029
So a hint [...] a suggestion to change the operator to % than displaying the final correct patch
Transforming an actual patch in a natural language suggestion is an excellent idea, which is not being much researched. The closest field is something called "feedback generation", see A systematic literature review of automated feedback generation for programming exercises
FYI Current State and Next Steps on Automated Hints for Students Learning to Code https://aic-atlas.s3.eu-north-1.amazonaws.com/projects/e7299991-eb2b-4764-a849-4909e01fb07d/documents/tAox4rc8YHh80Rk1ufniadaNrL5PLOI55o7UELRb.pdf
Thanks Martin
Related work: Context-aware and data-driven feedback generation for programming assignments. https://dblp.org/rec/conf/sigsoft/SongLO21
FTR, https://github.com/eclipse/repairnator/issues/1261is related