Self-Programming AI: Code-Learning Agents for Autonomous Refactoring and Architectural Evolution — part 7/7
Cleaned-text code points [79343, 84076). Bibliography omitted here; source.md includes it.
25. DataCamp. (2023). How to use ChatGPT Code Interpreter. https://www.datacamp.com/tutorial/how-to-use- chat-gpt-code-interpreter 26. Wikipedia contributors. (n.d.). Gödel machine. Wikipedia. https://en.wikipedia.org/wiki/G%C3%B6del_machine 27. Wang, Q., Liu, H., Zhang, Q., & Xie, X. (2022). Self-programming artificial intelligence using code- generating language models. arXiv. https://arxiv.org/abs/2205.00167 28. Brodkin, J. (2024, August). Research AI model unexpectedly attempts to modify its own code to extend runtime. Ars Technica. https://arstechnica.com/information-technology/2024/08/research-ai-model- unexpectedly-modified-its-own-code-to-extend-runtime/ 29. Woodward, J. (2014). Automated design of algorithms via genetic improvement: Contrast and commonalities. http://www.eecs.qmul.ac.uk/~jwoodward/publications/2014/AutomatedDesignAlgorithmsGeneticImprove mentContrastCommonalities/AutomatedDesignAlgorithmsGeneticImprovementContrastCommonalities.pdf 30. Chhabra, J., & Solanki, A. (2011). Maintainability defects detection and correction: A multi-objective approach. Automated Software Engineering, 18(3-4), 303–338. https://link.springer.com/article/10.1007/s10515-011-0098-8 31. Le, X., Zhang, H., Wang, Y ., & Sun, Y . (2022). CodeRL: Mastering code generation through pretrained models and deep reinforcement learning. arXiv. https://arxiv.org/abs/2207.01780 32. deepsense.ai. (n.d.). Self-correcting code generation using multi-step agent. https://deepsense.ai/resource/self-correcting-code-generation-using-multi-step-agent/ 33. Ren, S., Wang, Y ., Jiang, Q., Chen, Y ., Liu, S., & Zhang, X. (2024). Large language model guided self- debugging code generation. arXiv. https://arxiv.org/html/2502.02928v1 34. Keployio. (2023, July 25). Maximizing software quality with Python code coverage. Medium. https://medium.com/@keployio/maximizing-software-quality-with-python-code-cover age-3e1397fe1835 35. Python Package Index. (n.d.). radon. PyPI. https://pypi.org/project/radon/ 36. LibCST. (n.d.). LibCST documentation (PDF). https://libcst.readthedocs.io/_/downloads/en/stable/pdf/ 37. OpenAI. (n.d.). How can I solve 429: 'Too many requests' errors? OpenAI Help Center. https://help.openai.com/en/articles/5955604-how-can-i-solve-429-too-many-requests-errors 38. Chen, H., Ren, S., Liang, C., & Zhang, X. (2024). An empirical study on the code refactoring capability of large language models. arXiv. https://arxiv.org/html/2411.02320v1 39. Wang, Y ., Liang, C., Wu, X., & Zhang, X. (2024). MASAI: Modular architecture for software-engineering AI agents. arXiv. https://arxiv.org/html/2406.11638v1 40. Xie, X., Ren, S., Sun, C., Zhang, H., Liu, S., & Zhang, X. (2024). Exploring and evaluating hallucinations in LLM-powered code generation. arXiv. https://arxiv.org/html/2404.00971v1 41. Tang, S., Liu, J., & Zhang, X. (2024). An empirical study of unit test generation with large language models. arXiv. https://arxiv.org/html/2406.18181v1 42. Wang, Z., Li, S., Chen, H., Liu, S., & Zhang, X. (2024). Beyond functional correctness: Investigating coding style inconsistencies in large language models. arXiv. https://arxiv.org/html/2407.00456v1 43. Liu, S., Zhang, H., Ren, S., & Sun, C. (2024). HyperAgent: Generalist software engineering agents to solve coding tasks at scale. arXiv. https://arxiv.org/html/2409.16299v1 44. Zhao, R., Chen, J., Wang, Y ., & Wu, X. (2023). AgentCoder: Multi-agent code generation with effective testing and self-optimisation. arXiv. https://arxiv.org/html/2312.13010v3 45. Nguyen, H., Zhang, J., Lin, Y ., & Xu, B. (2024). Code in harmony: Evaluating multi-agent frameworks. OpenReview. https://openreview.net/forum?id=URUMBfrHFy 46. Brameret, T., Rouvoy, R., & Seinturier, L. (2024). AI-driven refactoring: A pipeline for identifying and correcting data clumps in Git repositories. Electronics, 13(9), 1644. https://www.mdpi.com/2079- 9292/13/9/1644 47. Kim, M., Cai, D., & Kim, S. (2010). RefFinder: A refactoring reconstruction tool based on logic query templates. In Proceedings of the IEEE International Conference on Software Maintenance (pp. 507–510). http://web.cs.ucla.edu/~miryung/Publications/icsm10-reffinder.pdf 48. Zheng, Z., Ye, H., Lin, B., & Zhang, M. (2023). CodeGeeX: A pre-trained model for code generation with multilingual evaluations on HumanEval-X. arXiv. https://ar5iv.org/abs/2303.17568 49. Temel, D. R., & Trabulsi, D. (2024). A lightweight polyglot code transformation language. PLDI 2024. https://danieltrt.github.io/papers/pldi24.pdf 50. Xu, B., Zhang, H., Liu, S., & Sun, C. (2025). Lifelong learning of large language model based agents: A roadmap. arXiv. https://arxiv.org/html/2501.07278v1