MPSC
1.0.0
pip install -r requirements.txtdata dirruntime dirapi.py to your own OpenAI config|-- data # four code generation datasets
|-- runtime # runtime files including LLM generated results and inter-consistency measurements
|-- src
|-- pipeline.py # the entry point for LLM sampling & inter-consistency measurements. All results will be saved in `runtime`.
|-- graph.py # the entry point of MPSC
|-- evaluation.py, _evaluation.py # evaluation metrics
|-- execution.py, _execution.py # execution process for inter-consistency measurements
|-- api.py # OpenAI api
|-- exemplars # ICL exemplars for test case generationpython3 graph.py
python3 pipeline.py
python3 graph.py
We also provide a code snippet of MPSC for other tasks in MPSC dir.