PCART  v1.4
Automated Repair of Python API Parameter Compatibility Issues
Namespaces | Functions
main.py File Reference

PCART's main function entry
More...

Go to the source code of this file.

Namespaces

 main
 

Functions

def backward (projPath, libName, currentVersion, currentEnv, targetVersion, targetEnv, runCommand, runPath, workspace, pcresolveLookup=None)
 Generate pkl files and perform detection and repair tasks 生成项目调用API的pkl文件以及执行检测与修复任务 More...
 
def backwardTask (args)
 One process handles one file 一个进程处理一个文件 More...
 
def main ()
 Main function of PCART PCART主函数 More...
 
def run (config, cleanWorkspace=False)
 Run PCART with an isolated workspace 在隔离工作区中运行PCART. More...
 

Detailed Description

PCART's main function entry

Entry point for the full PCART pipeline: preprocess → extract → map → compatibility analysis → repair → report. Supports multiprocessing for parallel file processing with shared matching dictionaries. PCART完整流水线入口:预处理→提取→映射→兼容性分析→修复→报告。 支持多进程并行文件处理,使用共享匹配字典。

Definition in file main.py.