Source code and experiment result for our causal analysis can be found in ./Code
The source code of running the original dataset is in ./Code/metagpt/software_causal_basedataset.py
The source code for intervention is in ./Code/metagpt/intervene_internal_output.py
The source code of causal analysis is in ./Code/metagpt/software_causal_modified.py
The script of running these code is in ./Code/scripts
The method code requires Python 3.10+ and sentence-transformers, and please install all dependencies from the target MACGS.
The full results of LLM analysis can be found in ./Supplementary_results/LLM_results.
Failure-repair results are in ./Supplementary_results/Failure_repair.
Self-collaboration results are in ./Supplementary_results/Self-Collab-results.