|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
Go to the source code of this file.
Namespaces | |
| patch | |
| Generate repair patches without rewriting the source AST. | |
Functions | |
| def | applyEdits (sourceBytes, edits) |
| Apply non-overlapping edits using UTF-8 byte offsets from the original AST 根据原始AST的UTF-8字节位置应用不重叠的修复 More... | |
| def | makePatchEdit (record, fixedAPI, repairStatus) |
| Collect one unambiguous repair result with its original source span 收集唯一修复表达式及其原始源码范围 More... | |
| def | writeRepairArtifacts (projPath, projName, edits, reportDir) |
| Write independent category patches and a Successful-only project copy 写出三类独立补丁及仅含Successful修复的项目副本 More... | |