Execution-Based Evaluation of Natural Language to Bash and PowerShell for Incident Remediation
Ngoc Phuoc An Vo, Brent Paulovicks, Vadim Sheinin

TL;DR
This paper introduces the first execution-based evaluation platform for assessing the correctness of LLM-generated Bash and PowerShell scripts, using handcrafted test suites to measure their functionality in incident remediation tasks.
Contribution
It presents a novel execution-based evaluation platform for scripting languages, specifically Bash and PowerShell, with curated test suites for LLM performance benchmarking.
Findings
Benchmarking seven LLMs on script correctness.
Evaluation of zero-shot vs. few-shot learning techniques.
Demonstration of platform's effectiveness in incident remediation.
Abstract
Given recent advancements of Large Language Models (LLMs), code generation tasks attract immense attention for wide application in different domains. In an effort to evaluate and select a best model to automatically remediate system incidents discovered by Application Performance Monitoring (APM) platforms, it is crucial to verify if the generated code is syntactically and semantically correct, and whether it can be executed correctly as intended. However, current methods for evaluating the quality of code generated by LLMs heavily rely on surface form similarity metrics (e.g. BLEU, ROUGE, and exact/partial match) which have numerous limitations. In contrast, execution based evaluation focuses more on code functionality and does not constrain the code generation to any fixed solution. Nevertheless, designing and implementing such execution-based evaluation platform is not a trivial…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsService-Oriented Architecture and Web Services
MethodsSparse Evolutionary Training
