Manuscript Offprint
arXiv:2610.35650FLOWSTEP: A Framework for Learning to Predict GitHub Actions Workflow STEPs
Jiangnan Huang
Radboud University
Nijmegen, The Netherlands
Bin Lin
Hangzhou Dianzi University
Hangzhou, China
Yutaro Kashiwa
Nara Institute of
Science and Technology
Nara, Japan
Abstract—Continuous Integration and Delivery (CI/CD) are fundamental to modern software development, yet configuring pipelines such as GitHub Actions (GHA) workflows remains complex and error-prone. Recent work has explored Transformer-based models for GHA workflow recommendation, but existing approaches typically model workflow steps as a single homogeneous generation task. This formulation overlooks a key distinction: reusable Actions are structured, ecosystem-level components, whereas project-specific Scripts encode local build, test, and deployment semantics. Consequently, current models struggle to capture the different forms of knowledge required for accurate workflow completion. In this work, we present FLOWSTEP, a framework for GHA workflow step completion that explicitly distinguishes between Action and Script generation. FLOWSTEP combines large language models (LLMs) with contrastive learning to better capture semantic relationships among workflow contexts, Actions, and Scripts. Evaluated on established benchmarks, FLOWSTEP improves end-to-end workflow step prediction accuracy from 38.23% to 51.09%. Beyond prediction accuracy, we further study whether LLM-as-a-judge can provide a more semantic evaluation of generated workflow steps. By comparing LLM-based assessments with human annotations, we find that the best-performing model configuration reaches substantial agreement with human ground truth (Krippendorff's ), suggesting that LLM-as-a-judge can serve as a scalable complement to manual evaluation.
Index Terms—GitHub Actions, CI/CD, Workflow Completion, Large Language Models, Contrastive Learning, LLM-as-a-Judge
I. INTRODUCTION
GitHub has become the largest collaborative software ecosystem, connecting more than 180 million developers and hosting over 630 million repositories as of 2025 [1]. As projects grow, Continuous Integration and Delivery (CI/CD) has become essential for automating building, testing, and deployment [2]. To natively support these activities, GitHub launched GitHub Actions (GHA) [3] in November 2019, offering an integrated CI/CD environment directly within the platform. Within only 18 months, GHA surpassed Travis CI to become the most widely used automation framework on GitHub [4]. Its convenience and ecosystem of reusable components (Actions) have made workflow automation more accessible than ever.
Despite these advantages, configuring CI/CD pipelines remains challenging. Prior studies have repeatedly shown that developers struggle with pipeline setup, maintenance, and debugging [5], [6]. In a survey by Saroar et al. [7], about 60% of 90 participants reported difficulties when automating workflows using GHA, underscoring an urgent need for intelligent authoring support. While automated code assistance has seen breakthroughs in general programming tasks (e.g., code completion [8], assertion generation [9], automated repair of vulnerabilities and bugs [10], [11]), workflow authoring introduces unique challenges. A CI/CD pipeline interleaves reusable Actions with free-form scripting and natural-language documentation, while embedding highly context-specific details such as directory paths or download URLs. These characteristics make workflow recommendation significantly harder than traditional code completion.
The rapid adoption of GHA has motivated learning-based workflow generation. Transformer models and LLMs have been used to synthesize or recommend workflow steps [12], [13], but existing approaches often treat steps as homogeneous generation targets. This overlooks the different prediction strategies required by Actions and shell Scripts: Actions require selecting a reusable identifier from the GHA ecosystem, whereas Scripts require generating project-specific shell commands from workflow context. Our analysis shows that this mismatch contributes to prediction errors and reduces robustness across heterogeneous workflow steps.
In this work, we address the problem of recommending the next step in GHA workflows, accounting for the heterogeneous nature of workflow steps. To this end, we propose FLOWSTEP, a multi-step prediction framework comprising (i) a binary classifier that predicts whether the next step is an Action or a Script, (ii) a RoBERTa model with contrastive learning that predicts the specific Action, and (iii) an LLM that generates the step when it is a Script. For comparability with prior work, we use the GHA workflow corpus by Decan et al. [14], further processed by Mastropaolo et al. [12] into two variants: a raw version preserving original content and an abstracted version replacing project-specific tokens (e.g., paths) with placeholders while retaining commands and tool options. We evaluate FLOWSTEP on both variants to assess robustness across data granularities. The next step is predicted from the preceding workflow context concatenated with the step's descriptive name, reflecting real workflow authoring scenarios.
The main contributions of our study are as follows:
• We formulate GHA workflow step recommendation as a heterogeneous prediction problem and present FLOWSTEP, a step-type-aware framework that differentiates reusable Actions from project-specific Scripts, improving prediction accuracy from 38.23% to 51.09% (raw data).
• We conduct a comprehensive evaluation of different model configurations for FLOWSTEP. Combining a RoBERTa-based model for Action prediction with Claude-Sonnet-4.5 for Script generation yields the best performance.
• We investigate the feasibility of using LLM-as-a-judge for evaluating generated workflow Scripts by comparing LLM judgments with human annotations on 350 sampled predictions, analyzing their alignment and reliability.
• We make publicly available our approach scripts, checkpoints, predictions, and the used datasets.
A. GitHub Actions Workflow
A GHA workflow is a YAML configuration file stored in the .github/workflows directory of a repository. It defines automated tasks that support CI/CD activities such as building, testing, and deployment. Workflows are triggered by predefined events (e.g., push, pull_request, or scheduled cron jobs) [15]. An example can be found in Listing 1, which defines a GHA workflow named Maven test .
name: Maven test on: pull_request: types: [ opened, reopened, edited ] push: branches: [ develop, master ] jobs: mvn_verify: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Maven Central Repository uses: actions/setup-java@v2 with: java-version: '17' distribution: 'adopt' - name: Run the Maven verify phase run: mvn --batch-mode -P dev test
Listing 1: Example of a GHA workflow file
Each workflow contains one or more jobs, representing independent execution units that run on GitHub-hosted or self-hosted runners. Jobs may run concurrently or sequentially, and they remain isolated unless they explicitly share artifacts or caches. Each job consists of a series of steps, the smallest executable elements in a workflow. Steps can be defined either with the run keyword to execute shell commands (Scripts) directly within the runner (e.g., gradle build) or with the uses keyword to invoke reusable Actions [16]. Script-based steps are preferred for simple or project-specific tasks, whereas Actions encapsulate recurring operations and can be versioned for reproducibility (e.g., actions/checkout@v3). Through this declarative structure, GHA provides a unified mechanism to automate CI/CD pipelines directly within GitHub repositories.
B. Transformers and Contrastive Learning
The evolution of Transformer architectures [17] and encoders like BERT [18] has enabled models to learn deep contextual representations of text and code. RoBERTa [19], a refinement of BERT, employs dynamic masking and achieves more stable and robust performance across various Natural Language Processing tasks. Contrastive learning [20] further improves representation learning by introducing pairwise comparison, encouraging similar examples (positive pairs) to align closely in the embedding space while separating dissimilar ones (negative pairs). Given a batch of samples, an encoder transforms each input into a latent vector, and a similarity function (e.g., cosine similarity) quantifies pairwise closeness. The resulting contrastive loss enhances semantic discrimination, which we leverage to fine-tune RoBERTa for more context-aware and task-specific representations in workflow step generation.
C. LLMs and the “Judge” Paradigm
In recent years, LLMs have emerged as powerful tools capable of understanding and generating human-like text through extensive pre-training. Their versatility stems from the ability to generalize across diverse tasks using only textual instructions, without additional parameter updates. To further improve performance, researchers have proposed prompt engineering techniques [21], [22] that carefully design input prompts to guide model behavior. Depending on the amount of task-specific context provided, LLM usage can be categorized into three settings [23]: (i) zero-shot, relying solely on pretrained knowledge; (ii) one-shot, where a single example is provided; and (iii) few-shot, where multiple examples are given to refine responses. LLMs have transformed how developers interact with code, enabling natural-language-driven programming and automation. Models such as GPT-4 [24], Claude-Sonnet [25], CodeT5 [26], and CodeBERT [27] demonstrate strong performance in code completion and synthesis. However, prior work largely focuses on general-purpose languages, leaving configuration artifacts underexplored. GHA workflows, written in YAML to define CI/CD automation, represent a distinct form of infrastructure configuration. Prior attempts to generate such workflows using fine-tuned T5 and LLMs [12], [13] only partially capture workflow semantics, leading to limited accuracy and generalization. In this work, we guide LLMs to generate accurate and context-aware workflow steps for GHA automation.
Another emerging paradigm is LLM-as-a-Judge, which uses large language models as automatic evaluators of generated content instead of relying solely on human annotators. This idea builds on the observation that instruction-tuned models can reason about and compare outputs in a human-like manner [28]. Recent surveys [29] describe LLM-as-a-Judge as a scalable and cost-effective alternative to manual evaluation, although challenges such as bias, inconsistency, and over-alignment remain. In software engineering, recent studies [30]–[32] explore its use for automatically evaluating code and software artifacts, suggesting that with proper calibration, LLMs can complement human evaluators in domain-specific tasks.
The example is adapted from a randomly picked GHA workflow, available on https://github.com/abel533/Mapper/blob/master/.github/workflows/test.yml
III. FLOWSTEP
In this study, we propose FLOWSTEP (Framework for Learning tO predict Workflow STEPs), a step-type-aware approach designed to complete GHA workflow steps. Given the preceding workflow context together with the descriptive name of the target step (if applicable), FLOWSTEP recommends a workflow step that fulfills the intended functionality.
In our study, we represent each workflow as a sequence of steps extracted from its execution context. Specifically, each instance in our dataset D is defined as a tuple (input_context, target_step, type_step), where input_context denotes the preceding workflow context (i.e., all workflow elements appearing before the target step concatenated with the descriptive step name), target_step the next step to be generated, and type_step its type (Action or Script). This formulation reflects the central modeling challenge of GHA step completion: a target step may require either selecting a reusable Action identifier from the ecosystem or generating a project-specific shell Script. We further derive two task-specific datasets from D: and , which contain samples of type Action and Script, respectively.
Building on this formulation, Fig. 1 presents the overall architecture of FLOWSTEP. The framework integrates two RoBERTa models with a state-of-the-art LLM in a unified pipeline, so that each subtask is handled by a model aligned with its output space. Given an input_context, a RoBERTa classifier first predicts the step type (type_step). If the predicted type is Action, a second RoBERTa model trained with contrastive learning recommends the most suitable Action. Otherwise, an LLM generates the corresponding Script to fulfill the intended functionality. Using the predicted scripts, we further investigate the feasibility of the LLM-as-a-Judge paradigm in our evaluation setting. In the following subsections, we describe each component of FLOWSTEP in detail.

Fig. 1: Overall framework of FLOWSTEP
A. Step-Type Predictor
The design of FLOWSTEP is motivated by an empirical analysis of the limitations in prior GHA recommendation models. Mastropaolo et al. [12] analyzed 384 workflow steps incorrectly predicted by their step prediction model GH-WCOM, and found that 159 recommendations were genuinely incorrect, while the remaining errors involved only minor issues. In this study, we further inspected these 159 erroneous predictions and found that 33.3% (53/159) are mismatches between Actions and Scripts, i.e., cases where an expected Action was replaced with a Script, or vice versa. For example, the step was predicted to be a script execution “run: pip install tox” while the developers adopted an existing Action “uses: actions/cache@v1”.
Based on this, we hypothesize that explicitly distinguishing between Action and Script steps can improve the recommendation accuracy by preventing a single model from conflating two different prediction spaces. Therefore, we implement a Step-Type Predictor based on a RoBERTa encoder, mapping a workflow context (i.e., input_context) to a contextualized representation. This representation is passed through a dropout layer and a fully connected layer to perform binary classification of step type (1: Action, 0: Script). The RoBERTa model is initialized with pre-trained weights from Hugging Face and fine-tuned using Binary Cross-Entropy with Logits Loss.
During FLOWSTEP inference, the Step-Type Predictor acts as a router: it determines the step type for a given context and forwards the input to the corresponding downstream component: either the Action Predictor or the Script Generator.
B. Action Predictor with Contrastive Learning
The Action Predictor in FLOWSTEP consists of two primary components: (i) a RoBERTa-based context encoder that employs contrastive learning to align workflow contexts referring to the same Actions while pushing apart those referring to distinct Actions; and (ii) a classification head that maps these high-dimensional embeddings into specific Action categories. During model development, the context encoder and classification head are trained in two distinct phases:
Phase 1: Contrastive training of the context encoder. We fine-tune RoBERTa using a contrastive objective that combines N-pair Loss and Soft-Nearest Neighbor Loss [33]. For each Action instance, we pair its workflow context with another context using the same Action as a positive example, while contexts using different Actions in the same batch serve as negative examples. This encourages contexts that require the same reusable Action to be close in the embedding space and separates contexts associated with different Actions; implementation details and the full loss formulation are provided in our replication package.
Phase 2: Training the classification head. We freeze the encoder to preserve the learned semantic space, and attach a classification head consisting of a feed-forward network with ReLU activation and dropout (p = 0.2). The model is then fine-tuned on using Cross-Entropy loss to map context representations to Action identifiers.
TABLE I: Large Language Models selected for our studies.
| Model | API Pricing* | Released | Provider |
|---|---|---|---|
| Claude-Sonnet-4.5 | 15 | Sept 2025 | Anthropic |
| Claude-Haiku-4.5 | 5 | Oct 2025 | Anthropic |
| DeepSeek-V3.2-Exp | 0.42 | Sept 2025 | DeepSeekAI |
| GPT-4.1 | 8 | Apr 2025 | OpenAI |
| GPT-3.5-turbo | 1.5 | Nov 2023 | OpenAI |
- Price for Input/Output per 1M tokens at experiment time
C. LLM-based Script Generator
Unlike Actions, Script steps offer greater flexibility, making them more error-prone and harder to predict. Since modern LLMs are good at code generation and Scripts essentially consist of shell commands, we leverage LLMs to generate executable workflow Scripts.
Model Selection. We evaluate five LLMs spanning different providers and capability tiers with diverse training backgrounds: Claude-Sonnet-4.5, Claude-Haiku-4.5, DeepSeek-V3.2-Experimental, GPT-4.1, and GPT-3.5-turbo (see Table I). This selection covers both closed-weight (GPT, Claude) and open-weight (DeepSeek) models, as well as varying model scales. All models are accessed via their official APIs.
Each model is prompted in a tuning-free setting for Script generation. The prompts differed between the raw and abstracted data: for the latter, five placeholder types used in the abstraction process were explicitly included. All prompts instructed the model to produce valid Script steps formatted as shell commands, without explanations or commentary. To ensure fairness, all models were given identical input structures and generation constraints.
Experimented prompts. We use zero-shot and one-shot prompting to examine the effect of contextual examples on model performance. In the zero-shot setting, models rely solely on pre-trained knowledge, whereas the one-shot setting includes a single example demonstrating the desired input–output format. The full prompts are available in our replication package.
We focus on zero-shot and one-shot prompting to keep the comparison controlled across models and to avoid introducing additional prompt-selection factors from multiple demonstrations; broader few-shot or advanced prompting strategies are left for future work. Generation parameters were fixed across all models, with temperature set to 0 to reduce sampling variability. Each model generated one candidate Script per instance, and outputs were post-processed for consistent formatting.
In addition to the five LLMs, a Text-to-Text Transfer Transformer (T5) model is used as a baseline and offline alternative, following the same architecture as GH-WCOM proposed in prior study [12]. However, unlike GH-WCOM, which is fine-tuned on the full dataset , our T5 model is trained only on to focus specifically on Script generation, reducing interference from unrelated Action data.
Calibration set. A small but representative calibration set of 1,000 randomly sampled test instances from was used for comparative analysis to identify the most effective model and prompting configuration. Generated steps were compared against reference steps (i.e., target_step) using accuracy and n-gram based metrics (BLEU-4, ROUGE-L). The LLM with the best performance on is selected as the final Script Generator. Our results show that Claude-Sonnet-4.5 with one-shot prompting performs best; thus, it is used as the Script Generator in FLOWSTEP.
IV. FLOWSTEP EVALUATION
The goal of this section is to evaluate the effectiveness of FLOWSTEP in generating accurate and useful predictions.
A. Research Questions
We aim to answer the following research questions (RQs):
RQ : How effective is FLOWSTEP in generating accurate recommendations for GitHub Actions workflows? This RQ examines whether the steps recommended by FLOWSTEP align with those originally created by developers, using the previously proposed workflow completion model, GH-WCOM, as a baseline for comparison.
RQ : What is the impact of different model configurations within the FLOWSTEP framework on its final performance? The architecture of FLOWSTEP is based on a “divide-and-conquer” strategy that separates Action and Script generation. This RQ focuses on isolating the design choices of our framework through a series of ablation studies. We aim to quantify the contribution of each component to the overall performance of FLOWSTEP.
B. Data Preparation
To ensure comparability with prior work, we use the dataset established by Mastropaolo et al. [12] for GH-WCOM. The dataset contains 73,708 GHA workflows collected by Decan et al. [14] and 733 additional workflows mined from 1,124 repositories by Mastropaolo et al. Their preprocessing removed duplicates, filtered workflows exceeding 1,024 tokens, and excluded non-ASCII instances, resulting in 17,935 unique workflows. Workflows are represented as JSON-like objects to preserve their structure. From these workflows, we construct step-level instances for the prediction task. Each step-level instance is represented as a tuple (input_context, target_step, type_step), as mentioned in Section III.
We split the dataset into training, validation, and test sets at the repository level using an 8:1:1 ratio, yielding 14,348/1,793/1,794 workflows and 108,899/13,009/13,630 step-level instances, respectively. of steps invoke Actions and execute Scripts. The broad dataset is used for step-type prediction, where only the binary Action/Script label is needed. and are task-specific datasets with additional filters, and their sizes are not expected to sum to .
For , we keep valid owner/repo@version Actions, retain only labels appearing more than five times in the training set to focus on commonly reused Actions with sufficient supervision for multi-class and contrastive learning, and deduplicate repeated contexts within each label. In the training split, this reduces 53,549 valid action uses to 51,251 covered contrastive instances across 332 labels.
For , we keep steps with a non-empty run field, yielding 52,514 training instances. The number of instances in each dataset is shown in Table II.
Following prior work, we use both raw and abstracted data variants. The raw version preserves the original workflow content without modification. In the abstracted version, project-specific tokens such as paths, URLs, and SHAs are replaced with placeholders (e.g., <PATH>, <URL>), while preserving options, environment variables, and command syntax to improve generalization.
TABLE II: Number of instances in the used datasets
| Dataset | train | validation | test |
|---|---|---|---|
| D | 108,899 | 13,009 | 13,630 |
| 51,251 | 5,984 | 6,256 | |
| 52,514 | 6,297 | 6,532 | |
| - | - | 1,000 |
C. Evaluation Metrics
To address , we evaluate the best-performing configuration of FLOWSTEP on the test sets. For each test instance, FLOWSTEP generates the next workflow step based on the preceding workflow context, and the generated step is compared with the reference step from the original workflow. The overall performance is measured using exact-match accuracy, defined as the proportion of cases where the generated step exactly matches the reference step. To further analyze FLOWSTEP, we evaluate its three sub-models separately on their respective prediction tasks.
For the Step-Type Predictor , we report accuracy, defined as the proportion of correctly classified step types. The predicted step types are then used to route each instance to either Action Predictor or Script Generator for the subsequent step prediction.
To evaluate , we again use accuracy. Action instances misclassified as Script by are counted as incorrect. For the remaining instances, a prediction is considered correct if the predicted action matches the ground-truth action.
For , we also report accuracy of the generated scripts. Script instances misclassified as Action by are counted as incorrect predictions. For the remaining instances, we further evaluate generation quality using two widely adopted NLP metrics: BLEU [34] and ROUGE [35]. Following prior work in software engineering, we report BLEU-4, which measures 4-gram overlap between generated and reference scripts, and ROUGE-L, which evaluates similarity based on the longest common subsequence.
To answer RQ2, we investigate how different components and design choices affect the overall performance of FLOWSTEP. We first examine the core design choice of explicitly distinguishing between Action and Script steps to determine whether this separation improves prediction performance. Specifically, we conduct an error analysis of the baseline model GH-WCOM to identify mispredictions associated with incorrect step-type classification. We then evaluate to what extent FLOWSTEP reduces such errors by introducing a dedicated for step-type prediction.
To further understand the contribution of individual components in FLOWSTEP, we conduct ablation studies on and , while keeping fixed.
For , we evaluate the impact of contrastive learning and the classification head on model performance by comparing the full model with two ablated variants:
-
No-classification head: RoBERTa fine-tuned using contrastive learning without a classification head. Actions are suggested based on cosine similarity between the input representation and the mean embedding of each Action computed from the training set.
-
No-contrastive: RoBERTa fine-tuned without contrastive learning, where the model is trained using Mean Squared Error (MSE) loss to predict Action representations.
We evaluate and its two variants on the test set of using Top-K accuracy [36], which measures whether the ground-truth action appears among the top-K recommendations ().
As for , we evaluate the five selected LLMs (Table I) for Script generation. We include a fine-tuned T5-small model trained on as an offline alternative, and use the scripts generated by the original GH-WCOM as the baseline. All models are evaluated under identical setups on the same calibration test set using accuracy, BLEU, and ROUGE.
D. Experimental Setting
and are implemented in PyTorch based on the RoBERTa model provided by Hugging Face. For all training phases of and (Phase 1 and Phase 2), the models were trained for 10 epochs with a batch size of 32. For the component, the temperature was set to 0 to ensure deterministic outputs across all five selected LLMs. The local T5-small model was trained for 70 epochs until convergence with a batch size of 8. All trainable models were optimized using Adam with a learning rate of . To ensure reproducibility, the random seed was fixed to 123456.
E. Experiment Results
- RQ1: How effective is FLOWSTEP in generating accurate recommendations for GitHub Actions workflows?: Table III summarizes the overall performance of FLOWSTEP as an end-to-end pipeline, where Overall presents the accuracy of records across both types, , and stand for the accuracy separately for Type, Action and Script predictions. For abstracted data, FLOWSTEP achieves an overall accuracy of 51.05%, substantially exceeding GH-WCOM (39.33%). A similar trend is observed for raw data, where FLOWSTEP attains an overall accuracy of 51.09%, compared to 38.23% for the baseline. To disentangle where improvements arise, we further evaluate each of FLOWSTEP's components in isolation:
TABLE III: Overall performance comparison between FLOWSTEP and GH-WCOM on workflow step prediction.
| Dataset | Model | Overall | BLEU () | ROUGE () | |||
|---|---|---|---|---|---|---|---|
| Abs | FLOWSTEP | 51.05% | 92.9% | 76.28% | 24.72% | 35.36% | 59.26% |
| FLOWSTEP | 48.0% | 92.9% | 76.28% | 18.49% | 11.6% | 45.05% | |
| GH-WCOM | 39.33% | 82.86% | 61.71% | 15.0% | 14.83% | 38.46% | |
| Raw | FLOWSTEP | 51.09% | 91.96% | 76.58% | 24.48% | 40.82% | 60.81% |
| FLOWSTEP | 46.66% | 91.96% | 76.58% | 15.42% | 18.49% | 42.26% | |
| GH-WCOM | 38.23% | 82.28% | 61.09% | 13.4% | 13.14% | 37.33% |
-
Step-Type Predictor (): The RoBERTa-based classifier effectively distinguishes between Action and Script steps, achieving 92.9% accuracy on the abstracted dataset and 91.96% on the raw dataset, substantially outperforming GH-WCOM (82.86% and 82.28%, respectively). This strong classification performance provides a reliable foundation for the subsequent modules of FLOWSTEP.
-
Action Predictor (): For Action prediction, the contrastive learning-enhanced predictor substantially improves retrieval accuracy over GH-WCOM, achieving Top-1 accuracies of 76.28% (abstracted) and 76.58% (raw), compared to 61.71% and 61.09% achieved by the baseline.
-
Script Generator (): For Script generation alone, FLOWSTEP (with LLM) achieves accuracies of 24.72% (abstracted) and 24.48% (raw), compared to 15.0% and 13.4% obtained by the baseline GH-WCOM. The offline T5-small model achieves 18.49% and 15.42%, outperforming GH-WCOM but still falling short of the LLM-based approach. Despite this improvement, the overall accuracy is still relatively low, suggesting that script generation remains challenging.
Taken together, by reducing noise from irrelevant data and leveraging specialized submodels, FLOWSTEP achieves consistently superior performance across all metrics for GHA workflow step recommendation compared to GH-WCOM.
- RQ2: What is the impact of different model configurations within the FLOWSTEP framework on its final performance?: In this RQ, we investigate the impact of different components and design choices within the three models (, , and ) on the overall performance of FLOWSTEP. Specifically, is divided into the following three sub-questions:
-
: To what extent does reduce step-type confusion errors in workflow step prediction?
-
: What is the contribution of contrastive learning and the classification head to the performance of ?
-
: How do different LLMs and prompting strategies (zero-shot vs. one-shot) affect the performance of ?
a) Impact of Step Type Distinction (): Unlike GH-WCOM, which processes all inputs uniformly, FLOWSTEP first predicts the step type using and then invokes the corresponding model (i.e., or ). This design aims to reduce confusion between Action and Script steps. To evaluate its effectiveness, we analyze and compare the step-type confusion errors made by FLOWSTEP and GH-WCOM.
TABLE IV: Error breakdown on Step-type mismatch.
| Dataset | Error Type | GH-WCOM | FLOWSTEP |
|---|---|---|---|
| Abs | A → S | 1105 (13.36%) | 603 (9.23%) |
| S → A | 1231 (14.89%) | 345 (5.28%) | |
| All | 2336 (28.25%) | 948 (14.51%) | |
| Raw | A → S | 1143 (13.58%) | 644 (9.86%) |
| S → A | 1272 (15.11%) | 430 (6.58%) | |
| All | 2415 (28.69%) | 1074 (16.45%) |
- A → S: Action incorrectly predicted as Script. Percentages are computed over each model's total number of incorrect end-to-end predictions, not over the full test set.
As shown in Table IV, over 28% of GH-WCOM's errors are due to step-type mismatches, with 2,336 (28.25%) and 2,415 (28.69%) cases in the abstracted and raw datasets, respectively. In particular, GH-WCOM misclassifies 1,105 (abstracted) and 1,143 (raw) Actions as Scripts, while misidentifying 1,231 (abstracted) and 1,272 (raw) Scripts as Actions. In contrast, FLOWSTEP, equipped with an explicit Step-Type Predictor , substantially reduces these errors by nearly half. On the abstracted dataset, it records only 603 Action→Script mismatches (9.23%) and 345 Script→Action mismatches (5.28%), totaling 948 errors (14.51%) using the final 6,534 incorrect predictions as the denominator. On the raw dataset, these numbers are 644 Action→Script mismatches (9.86%) and 430 Script→Action mismatches (6.58%), totaling 1,074 errors (16.45%) using the final 6,530 incorrect predictions as the denominator.
For completeness, these total mismatch errors correspond to 7.1% and 8.04% of all evaluated test instances for FLOWSTEP in the abstracted and raw settings, respectively, whereas the corresponding rates for GH-WCOM are 17.14% and 17.72%. The markedly lower mismatch rates achieved by FLOWSTEP demonstrate the effectiveness of explicitly distinguishing between Actions and Scripts before generating workflow steps.
b) Contribution of Contrastive Learning & Classification Head to (): We conduct an ablation study comparing with its two variants (No-classification head and No-contrastive), evaluated using Top-K accuracy on . Table V reports the results of the variants on both abstracted and raw datasets, using GH-WCOM as the baseline. Without contrastive learning, the model yields poor performance (Top-1: 21.51%/23.37%, Top-5: 50.30%/52.49%), showing that standard fine-tuning alone is insufficient for accurate
TABLE V: Comparison of different variants of our approach for Action prediction using Top-k accuracy (k = [1-5])
| Dataset | Model | k = 1 | k = 2 | k = 3 | k = 4 | k = 5 |
|---|---|---|---|---|---|---|
| Abs | Finetune w/ Contrastive Learning + Classification head | 87.23% | 91.56% | 93.14% | 93.88% | 94.63% |
| Finetune w/ Contrastive Learning | 80.05% | 84.91% | 86.94% | 88.11% | 89.11% | |
| Finetune w/o Contrastive Learning | 21.51% | 33.42% | 41.78% | 47.43% | 50.3% | |
| GH-WCOM | 61.71% | - | - | - | - | |
| Raw | Finetune w/ Contrastive Learning + Classification head | 88.08% | 91.27% | 92.77% | 93.69% | 94.17% |
| Finetune w/ Contrastive Learning | 83.57% | 87.82% | 89.47% | 90.46% | 91.26% | |
| Finetune w/o Contrastive Learning | 23.37% | 35.07% | 43.05% | 49.63% | 52.49% | |
| GH-WCOM | 61.09% | - | - | - | - |
TABLE VI: Comparison of model choices for Script generation on the calibration set under zero-shot prompting
| Dataset | Model | Acc | BLEU | ROUGE |
|---|---|---|---|---|
| Abs | Claude-Sonnet-4.5 | 24.4% | 31.03% | 57.68% |
| Claude-Haiku-4.5 | 20.9% | 29.4% | 53.66% | |
| DeepSeek-V3.2-Exp | 19.0% | 29.23% | 53.4% | |
| GPT-4.1 | 19.6% | 23.7% | 53.62% | |
| GPT-3.5-turbo | 7.2% | 13.0% | 34.56% | |
| T5-small | 18.8% | 11.1% | 46.47% | |
| GH-WCOM | 14.6% | 11.22% | 37.03% | |
| Raw | Claude-Sonnet-4.5 | 27.4% | 36.86% | 60.54% |
| Claude-Haiku-4.5 | 23.0% | 39.63% | 58.5% | |
| DeepSeek-V3.2-Exp | 19.2% | 35.98% | 54.95% | |
| GPT-4.1 | 20.4% | 31.56% | 56.52% | |
| GPT-3.5-turbo | 11.5% | 19.36% | 41.31% | |
| T5-small | 14.7% | 18.17% | 43.15% | |
| GH-WCOM | 12.9% | 11.73% | 36.78% |
Action prediction. Introducing contrastive learning leads to substantial improvements, increasing Top-1 performance to 80.05%/83.57% and Top-5 to 89.11%/91.26%. Adding the classification head further improves Top-1 by 7.18%/4.51% and Top-5 by 5.52%/2.91%, with diminishing gains as K increases. This trend is consistent across both abstracted and raw datasets, and the full model substantially outperforms GH-WCOM. Overall, contrastive learning accounts for most of the performance gain, while the classification head provides additional improvements, particularly for Top-1 accuracy. The high Top-5 accuracy of the full model (94.63%/94.17%) further shows that can provide a compact ranked set of plausible reusable Actions, which is useful when the top-ranked prediction is not correct but the correct Action remains among the leading candidates.
c) Impact of Model Choice on ( ): Table VI and Table VII present the performance of different models for Script generation on using both abstracted and raw data, evaluated with accuracy (Acc), BLEU, and ROUGE metrics, with GH-WCOM serving as the baseline. Under zero-shot prompting, Claude-Sonnet-4.5 achieves the best overall performance across most metrics, reaching 24.4% and 27.4% accuracy on abstracted and raw data, respectively, together with strong BLEU (31.03%/36.86%) and ROUGE (57.68%/60.54%) scores. Claude-Haiku-4.5 and DeepSeek-V3.2-Exp also perform competitively, while GPT-4.1 achieves comparable accuracy but lower BLEU on abstracted data. In contrast, GPT-3.5-turbo performs notably worse across all metrics, with accuracy (7.2%/11.5%) that remains below or only slightly above the baseline.
TABLE VII: Comparison of model choices for Script generation on the calibration set under one-shot prompting
| Dataset | Model | Acc | BLEU | ROUGE |
|---|---|---|---|---|
| Abs | Claude-Sonnet-4.5 | 27.5% | 37.79% | 61.57% |
| Claude-Haiku-4.5 | 21.3% | 29.31% | 54.15% | |
| DeepSeek-V3.2-Exp | 21.9% | 32.08% | 55.61% | |
| GPT-4.1 | 23.4% | 27.57% | 55.6% | |
| GPT-3.5-turbo | 5.2% | 10.04% | 23.71% | |
| T5-small | 18.8% | 11.1% | 46.47% | |
| GH-WCOM | 14.6% | 11.22% | 37.03% | |
| Raw | Claude-Sonnet-4.5 | 29.6% | 42.81% | 63.44% |
| Claude-Haiku-4.5 | 23.9% | 39.05% | 59.68% | |
| DeepSeek-V3.2-Exp | 22.1% | 38.61% | 57.93% | |
| GPT-4.1 | 24.7% | 36.68% | 59.12% | |
| GPT-3.5-turbo | 11.0% | 18.4% | 40.64% | |
| T5-small | 14.7% | 18.17% | 43.15% | |
| GH-WCOM | 12.9% | 11.73% | 36.78% |
One-shot prompting leads to improvements for several models, although the effect is not uniform across all systems. In particular, Claude-Sonnet-4.5 further increases its accuracy to 27.5% and 29.6% on abstracted and raw data, respectively, while also achieving the highest BLEU (37.79%/42.81%) and ROUGE (61.57%/63.44%) scores among all models. DeepSeek-V3.2-Exp and GPT-4.1 also show moderate gains in both accuracy and lexical similarity metrics. However, the impact of one-shot prompting is less consistent for smaller or weaker models, such as GPT-3.5-turbo, where performance does not improve and in some cases slightly decreases. Overall, these results indicate that providing a single demonstration example can help guide stronger models toward better Script generation, although the benefit depends on the model capacity.
The T5-small model, trained solely for the Script generation task, while behind most LLMs except GPT-3.5-turbo, performs competitively (18.8%/14.7% accuracy) and serves as a practical offline alternative that does not require API access, making it a suitable backup model for . Together with the API prices in Table I, these results illustrate a quality–deployment-cost tradeoff: Claude-Sonnet-4.5 offers the best generation quality, whereas T5-small serves as a lightweight local baseline. Open-weight LLMs also provide a viable self-hosted alternative and will be investigated in future work.
V. LLM-AS-A-JUDGE
RQ2.3 shows that even the best-performing LLM, Claude-Sonnet-4.5, achieves only around 29.6% accuracy on for Script generation. In practice, improving accuracy on this task is inherently difficult, and accuracy alone can be misleading for model performance. For example, in one case of our study, “pip install mythx-cli” is considered wrong when compared with the oracle “pip3 install mythx-cli” given the metrics used, while in reality both scripts may be functionally equivalent in some environments.
In general, Scripts may differ substantially in form while achieving the same functionality. Thus, exact-match accuracy should be interpreted as a conservative lower bound rather than a complete measure of functional correctness. Therefore, in this section, we investigate whether the LLM-as-a-Judge paradigm can provide a more effective evaluation of generated Scripts than commonly used metrics.
A. Study Design
- Research Question: To understand whether LLMs can serve as a reliable judge to evaluate the correctness of generated step scripts, we formulate the following research question:
RQ3: Can LLM-as-a-Judge more effectively evaluate automatically generated Script steps?
-
Model Selection: The same five LLMs (i.e., Claude-Sonnet-4.5, Claude-Haiku-4.5, DeepSeek-V3.2-Exp, GPT-4.1 and GPT-3.5-turbo) that we selected for Script generation are tested as judges.
-
Evaluation Datasets: To assess the effectiveness of LLMs-as-a-Judge for evaluating Script generation, we randomly sample 350 cases of incorrectly generated Scripts produced by the five evaluated LLMs in FLOWSTEP for raw data, with no overlap between models. The number of samples drawn from each model is proportional to the number of incorrect Scripts produced by that model, ensuring a representative distribution of error cases. The sample size of 350 corresponds to a statistically significant subset, ensuring a 95% confidence level with a confidence interval of . Each record consists of (i) the original input context that is fed to the generation model; (ii) a target step representing the original correct implementation; (iii) a generated step that is produced by LLMs; and (iv) two independent judgments provided by two of the authors. The records were classified using one of the following labels:
• Functionally Correct (2): The generated step performs the same purpose or achieves the same result as the ground-truth step.
• Functionally Almost Correct (1): The generated step is mostly correct but requires a minor modification to be fully usable or achieve the intended functionality.
• Functionally Incorrect (0): The generated step differs in purpose, behavior, or misses key functionality.
A comprehensive annotation guideline provided to the human annotators is available in our replication package. After finalizing the dataset, we reassessed inter-annotator agreement using Krippendorff's , which is interpreted as follows:
• < 0.10 : agreement equivalent to chance;
• 0.10–0.20 : weak agreement;
• 0.21–0.40 : fair agreement;
• 0.41–0.60 : moderate agreement;
• 0.61–0.80 : substantial agreement;
• 0.81–0.99 : near-perfect agreement;
• 1 = perfect agreement.
For the functional correctness of the generated steps, the two primary annotators achieved , indicating near-perfect agreement. To obtain reliable ground-truth labels for evaluating the LLM judges, disagreements were first resolved through discussion between the two annotators, for the remaining 18 cases (out of 350) where consensus could not be reached, a third author acted as adjudicator to assign the final labels.
- Data Collection: Using the manually labeled dataset, we then ask the LLMs to provide their judgments. To align LLM judgments with human assessments, we design structured prompts that present the workflow context along with the ground-truth and generated steps, following the same guidelines used for human annotation. As in RQ2, we evaluate zero-shot and one-shot prompting, with both prompts available in our replication package. As observed in prior studies [37], LLMs may produce verbose or inconsistent output formats, so we explicitly instruct them to return only a decision number (i.e., 0, 1 or 2). All judgments were then manually verified by the first author to ensure their validity.
B. Result Analysis
Experimental results show that all five LLMs successfully produced valid judgments for the workflow generation task, demonstrating that modern LLMs can understand and execute the evaluation prompt. However, understanding a task does not necessarily imply correct or meaningful judgments. Therefore, we further examine judgment quality by computing Krippendorff's between the LLM outputs and the human ground-truth, as shown in Table VIII.
a) Human Alignment: Recall that the two human annotators achieved , serving as a practical benchmark for alignment with human judgment. DeepSeek-V3.2-Exp achieves the highest agreement in the zero-shot setting ( ), whereas GPT-4.1 performs best in the one-shot setting ( ). Claude-Sonnet-4.5 (0.648 zero-shot; 0.656 one-shot) and Claude-Haiku-4.5 (0.631; 0.612) also show substantial agreement. GPT-4.1 improves from 0.604 to 0.687 with one-shot prompting, while GPT-3.5-turbo exhibits fair-to-moderate agreement (0.490; 0.285). Overall, one-shot prompting provides no consistent benefit across models: it

Fig. 2: Confusion matrices of LLM judges compared with human annotations under zero-shot prompting
TABLE VIII: Agreement, correlation, and API cost of LLM-as-a-Judge evaluators against human ground-truth
| Evaluator | Cost | ||||
|---|---|---|---|---|---|
| ZS | OS | ZS | OS | ||
| Claude-Sonnet-4.5 | 0.648 | 0.656 | 0.648 | 0.658 | $1.41 |
| Claude-Haiku-4.5 | 0.631 | 0.612 | 0.665 | 0.679 | $0.47 |
| DeepSeek-V3.2-Exp | 0.701 | 0.655 | 0.703 | 0.663 | $0.07 |
| GPT-4.1 | 0.604 | 0.687 | 0.619 | 0.695 | $0.74 |
| GPT-3.5-turbo | 0.490 | 0.285 | 0.522 | 0.382 | $0.37 |
| BLEU | - | - | 0.514 | 0.514 | - |
| ROUGE | - | - | 0.692 | 0.692 | - |
- ZS: zero-shot; OS: one-shot. : Krippendorff's agreement with human ground-truth; : Spearman correlation with human ground-truth. Cost is the average API expense of ZS and OS judging runs.
improves agreement for Claude-Sonnet-4.5 and GPT-4.1 but reduces it for the other judges. Moreover, even the best LLM remains about 0.12 below human–human agreement (0.70 vs. 0.82), indicating that although modern LLMs can approximate human evaluation reasonably well, they still fall short of human reliability and cannot yet fully replace human annotators in high-fidelity evaluation settings.
b) Comparison with Automatic Metrics: We further compare LLM-based judges with traditional automatic metrics (i.e., BLEU and ROUGE). Since all 350 samples in this experiment correspond to incorrect script snippets, the accuracy is always zero and therefore not meaningful for comparison. To examine how well different evaluation approaches reflect human judgment, we compute the Spearman correlation between each metric and the human ground-truth. As shown in Table VIII, BLEU achieves a moderate correlation with human labels (), while ROUGE reaches a stronger correlation (). The five LLM judges achieve correlations ranging from 0.382 to 0.703 across zero-shot and one-shot settings. In the zero-shot setting, DeepSeek-V3.2-Exp achieves the highest correlation (), while in the one-shot setting GPT-4.1 performs best (). These results suggest that the best-performing LLM-judge configurations match or slightly exceed widely used lexical-overlap metrics in their alignment with human judgment, while additionally assessing the functional correctness of generated scripts.
c) Practical Evaluation Cost: From a cost-efficiency perspective, the LLM judges also provide a practical advantage: in our experiment, judging all 350 samples cost only 1.41 depending on the model, whereas expert annotation required substantial manual effort from multiple authors. This suggests that LLM-as-a-Judge can serve as an affordable first-pass evaluation mechanism, while human judgment remains necessary for calibration and adjudication.
C. Discussion
To investigate why LLM judges diverge from human consensus and exhibit inconsistent alignment across models, we analyze their prediction behavior using confusion matrices (Fig. 2), using the zero-shot setting as an example. The results show that most disagreements occur in the Functionally Almost Correct category, where borderline cases are frequently misclassified as either correct or incorrect, suggesting that LLM judges lack the sensitivity needed to reliably evaluate borderline functional equivalence. The matrices also reveal different evaluation tendencies across models. DeepSeek exhibits the most balanced predictions with most mass on the diagonal, which explains its highest correlation with human annotations. In contrast, Claude models and GPT-4.1 tend to be stricter by downgrading correct Scripts to almost correct, while GPT-3.5 shows a strong conservative bias by rarely predicting correct samples. This suggests that LLM judges differ in both accuracy and strictness, meaning that model selection plays a critical role depending on whether conservative or balanced evaluation is desired.
D. Implication
Traditional lexical metrics such as BLEU and ROUGE, while useful for source code, often fail to capture the functional equivalence of generated scripts. Our findings indicate that LLM-based judges can bridge this “semantic gap” by evaluating the intent and logic of a generated Script rather than its character-level overlap. While human expert annotation remains the “gold standard” for reliability, it is unscalable and expensive. Although LLM judges do not yet match human reliability, their substantial alignment with human annotations suggests they can serve as a scalable and cost-effective evaluation method for workflow automation tasks.
VI. Threats to Validity
Threats to internal validity concern whether the study accurately reflects cause-effect relationships. Since FLOWSTEP consists of multiple models trained on large datasets, bias may arise from data preprocessing or training configurations (e.g., random initialization, batch composition, and optimizer choice). To mitigate this, we fixed random seeds across experiments, used consistent data splits to support reproducibility. Another threat concerns the manual annotation in the LLM-as-a-Judge evaluation; to reduce subjective bias, two annotators independently labeled the samples, with disagreements resolved by a third annotator, and inter-rater agreement was measured before aggregating results.
Threats to external validity concern the generalizability of our findings beyond the studied dataset and setup. FLOWSTEP was evaluated on a large-scale dataset of GHA workflows from prior studies [12], [14]. Although we refined this dataset (e.g., separating Action and Script samples, filtering malformed workflows, and aligning context-step pairs), it still represents only open-source GitHub projects and may not reflect private or industrial workflows. Moreover, LLM-based evaluation depends on prompt design and model versions, which may yield different behaviors over time. To mitigate this, we used uniform prompting templates and documented all configurations to support replication.
Threats to construct validity concern whether our evaluation truly measures the intended concepts. Automatic metrics such as Top-K accuracy, BLEU-4, and ROUGE-L capture syntactic similarity but may overlook semantic equivalence. To address this, we adopted the LLM-as-a-Judge framework to evaluate correctness and contextual relevance, and analyzed inter-rater agreement among humans and between humans and LLMs to assess consistency. Another threat lies in the binary Action–Script distinction: some functionalities can be implemented either way, making the separation occasionally simplistic, which is a limitation to be explored in future work.
VII. RELATED WORK
A. GitHub Actions and CI/CD Automation
GHA has rapidly become a dominant CI/CD service on GitHub [4], with studies showing broad developer adoption and generally positive perceptions [38]. Prior empirical work has characterized Action reuse [14], resource consumption [39], dependency and input-validation vulnerabilities [40], workflow failures [41], and longitudinal security risks [42]. These studies establish the practical importance of GHA and motivate better authoring support for reliable workflow construction.
B. Learning-based Program and Workflow Generation
Learning-based techniques have also been applied to workflow-related prediction tasks. CIGAR [43] uses contrastive learning for Action recommendation, while GH-WCOM [12] applies T5 to workflow-step completion. Zhang et al. [13] evaluated LLMs for workflow generation, defect detection, and repair, finding improvements in validity but remaining challenges in security and logical consistency. Gavel [44] addresses a different task, categorizing reusable Actions from README files to improve Marketplace visibility.
C. LLMs for Software Engineering Tasks
LLMs now support many SE tasks, including code generation, completion, summarization, bug localization, test generation, and automated repair [45]–[51]. Related work also studies requirements engineering [52], [53], prompt-engineering strategies [54], and practical developer use of tools such as ChatGPT and Copilot [55]. More recently, Crupi et al. [37] evaluated LLM-as-a-Judge for code generation and summarization, showing promise but also imperfect alignment with human judgment.
D. Distinction and Contribution of FLOWSTEP
Together, prior studies show the promise of learning-based workflow automation but leave two gaps. First, GH-WCOM [12] treats workflow steps as monolithic outputs, while CIGAR [43] focuses only on Action recommendation. Second, LLM-based workflow studies [13] emphasize generation validity but provide limited treatment of contextual correctness and semantic evaluation. FLOWSTEP addresses these gaps by explicitly modeling step type, predicting reusable Actions, generating project-specific Scripts, and evaluating generated scripts through human-calibrated LLM judges.
VIII. Conclusions
In this work, we introduced FLOWSTEP, a framework designed to improve the recommendation of GitHub Actions workflow steps by explicitly modeling the heterogeneity between Actions and Scripts. By leveraging a “divide-and-conquer” architecture, we integrated a RoBERTa-based classifier for step-type prediction, contrastive learning for reusable Action selection, and Large Language Models for project-specific Script generation. Our evaluation demonstrates that this step-type-aware formulation substantially outperforms existing baselines. As commonly used metrics do not fully capture the correctness of generated scripts, we further validated whether LLMs can serve as reliable evaluators. Our results show that there is substantial alignment between human annotations and LLMs’ evaluations, indicating a promising path in this direction.
Although FLOWSTEP improves workflow step generation accuracy, it relies solely on the workflow specification and does not exploit repository-specific information. As future work, we plan to investigate an agentic CI system that actively explores the target repository to leverage project-specific context for more accurate workflow generation and correction. We also plan to integrate vulnerability detection and security analysis to generate CI/CD workflows that are both functionally correct and secure by design.
Replication package. To support replication studies and future extensions, the scripts and the dataset used in the study are available online at https://github.com/jiangnanpro/FLOWS TEP.
REFERENCES
[1] “Github octoverse 2025 report.” 2025. [Online]. Available: https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/
[2] P. Rostami Mazrae, T. Mens, M. Golzadeh, and A. Decan, “On the usage, co-usage and migration of ci/cd tools: A qualitative analysis,” Empirical Software Engineering, vol. 28, no. 2, p. 52, 2023.
[3] “Github actions,” https://github.com/features/actions, 2026.
[4] M. Golzadeh, A. Decan, and T. Mens, “On the rise and fall of ci services in github,” in 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER), 2022, pp. 662–672.
[5] L. Chen, “Continuous delivery: Huge benefits, but challenges too,” IEEE Softw., vol. 32, no. 2, p. 50–54, Mar. 2015. [Online]. Available: https://doi.org/10.1109/MS.2015.27
[6] F. Zampetti, C. Vassallo, S. Panichella, G. Canfora, H. Gall, and M. Di Penta, “An empirical characterization of bad practices in continuous integration,” Empirical Software Engineering, vol. 25, 03 2020.
[7] S. G. Saroar and M. Nayebi, “Developers’ perception of github actions: A survey analysis,” 2023. [Online]. Available: https://arxiv.org/abs/2303.04084
[8] M. Ciniselli, N. Cooper, L. Pascarella, A. Mastropaolo, E. Aghajani, D. Poshyvanyk, M. Di Penta, and G. Bavota, “An empirical study on the usage of transformer models for code completion,” IEEE Transactions on Software Engineering, p. 1–1, 2021. [Online]. Available: http://dx.doi.org/10.1109/TSE.2021.3128234
[9] C. Watson, M. Tufano, K. Moran, G. Bavota, and D. Poshyvanyk, "On learning meaningful assert statements for unit test cases," in Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering, ser. ICSE '20. ACM, Jun. 2020, p. 1398–1409. [Online]. Available: http://dx.doi.org/10.1145/3377811.3380429
[10] Z. Chen, S. Kommrusch, and M. Monperrus, “Neural transfer learning for repairing security vulnerabilities in c code,” IEEE Transactions on Software Engineering, vol. 49, no. 1, p. 147–165, Jan. 2023. [Online]. Available: http://dx.doi.org/10.1109/TSE.2022.3147265
[11] M. Fu, C. Tantithamthavorn, T. Le, T. Le, V. Nguyen, and D. Phung, "Vulrepair: A t5-based automated software vulnerability repair," 07 2022.
[12] A. Mastropaolo, F. Zampetti, G. Bavota, and M. Di Penta, “Toward automatically completing github workflows,” in Proceedings of the IEEE/ACM 46th International Conference on Software Engineering, ser. ICSE '24. New York, NY, USA: Association for Computing Machinery, 2024. [Online]. Available: https://doi.org/10.1145/3597503.3623351
[13] X. Zhang, S. Muralee, S. Cherupattamoolayil, and A. Machiry, “On the effectiveness of large language models for github workflows,” in Proceedings of the 19th International Conference on Availability, Reliability and Security, ser. ARES '24. New York, NY, USA: Association for Computing Machinery, 2024. [Online]. Available: https://doi.org/10.1145/3664476.3664497
[14] A. Decan, T. Mens, P. R. Mazrae, and M. Golzadeh, “On the use of github actions in software development repositories,” in 2022 IEEE International Conference on Software Maintenance and Evolution (ICSME), 2022, pp. 235–245.
[15] “Using workflows: Creating and managing github actions workflows,” https://docs.github.com/en/actions/using-workflows, 2026.
[16] “Using github actions: Actions,” https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions#actions.
[17] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” in Proceedings of the 31st International Conference on Neural Information Processing Systems, ser. NIPS’17. Red Hook, NY, USA: Curran Associates Inc., 2017, p. 6000–6010.
[18] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “Bert: Pre-training of deep bidirectional transformers for language understanding,” 2019.
[19] Y. Liu, M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettlemoyer, and V. Stoyanov, “Roberta: A robustly optimized bert pretraining approach,” 2019.
[20] R. Hadsell, S. Chopra, and Y. LeCun, “Dimensionality reduction by learning an invariant mapping,” in 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06), vol. 2, 2006, pp. 1735–1742.
[21] S. Ekin, “Prompt engineering for chatgpt: A quick guide to techniques, tips, and best practices,” 05 2023.
[22] P. Liu, W. Yuan, J. Fu, Z. Jiang, H. Hayashi, and G. Neubig, "Pre-train, prompt, and predict: A systematic survey of prompting
methods in natural language processing," 2021. [Online]. Available: https://arxiv.org/abs/2107.13586
[23] T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei, “Language models are few-shot learners,” 2020. [Online]. Available: https://arxiv.org/abs/2005.14165
[24] OpenAI, J. Achiam, S. Adler, S. Agarwal, L. Ahmad, I. Akkaya, F. L. Aleman, and et al., “Gpt-4 technical report,” 2024. [Online]. Available: https://arxiv.org/abs/2303.08774
[25] Anthropic, “Claude sonnet v4.5 (model),” https://www.anthropic.com/claude/sonnet, 2025, accessed: 2025-10-29.
[26] Y. Wang, W. Wang, S. Joty, and S. C. Hoi, “CodeT5: Identifier-aware unified pre-trained encoder-decoder models for code understanding and generation,” in Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, M.-F. Moens, X. Huang, L. Specia, and S. W.-t. Yih, Eds. Online and Punta Cana, Dominican Republic: Association for Computational Linguistics, Nov. 2021, pp. 8696–8708. [Online]. Available: https://aclanthology.org/2021.emnlp-main.685/
[27] Z. Feng, D. Guo, D. Tang, N. Duan, X. Feng, M. Gong, L. Shou, B. Qin, T. Liu, D. Jiang, and M. Zhou, “Codebert: A pre-trained model for programming and natural languages,” 2020. [Online]. Available: https://arxiv.org/abs/2002.08155
[28] L. Zheng, W.-L. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, D. Li, E. P. Xing, H. Zhang, J. E. Gonzalez, and I. Stoica, “Judging llm-as-a-judge with mt-bench and chatbot arena,” 2023. [Online]. Available: https://arxiv.org/abs/2306.05685
[29] J. Gu, X. Jiang, Z. Shi, H. Tan, X. Zhai, C. Xu, W. Li, Y. Shen, S. Ma, H. Liu, S. Wang, K. Zhang, Y. Wang, W. Gao, L. Ni, and J. Guo, “A survey on llm-as-a-judge,” 2025. [Online]. Available: https://arxiv.org/abs/2411.15594
[30] T. Ahmed, P. Devanbu, C. Treude, and M. Pradel, “Can llms replace manual annotation of software engineering artifacts?” 2025. [Online]. Available: https://arxiv.org/abs/2408.05534
[31] R. Wang, J. Guo, C. Gao, G. Fan, C. Y. Chong, and X. Xia, “Can llms replace human evaluators? an empirical study of llm-as-a-judge in software engineering,” Proceedings of the ACM on Software Engineering, vol. 2, no. ISSTA, p. 1955–1977, Jun. 2025. [Online]. Available: http://dx.doi.org/10.1145/3728963
[32] X. Zhou, K. Kim, T. Zhang, M. Weyssow, L. F. Gomes, G. Yang, K. Liu, X. Xia, and D. Lo, “An llm-as-judge metric for bridging the gap with human evaluation in se tasks,” 2025. [Online]. Available: https://arxiv.org/abs/2505.20854
[33] C. Tao, Q. Zhan, X. Hu, and X. Xia, “C4: Contrastive cross-language code clone detection,” in 2022 IEEE/ACM 30th International Conference on Program Comprehension (ICPC), 2022, pp. 413–424.
[34] K. Papineni, S. Roukos, T. Ward, and W.-J. Zhu, “Bleu: a method for automatic evaluation of machine translation,” in Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, P. Isabelle, E. Charniak, and D. Lin, Eds. Philadelphia, Pennsylvania, USA: Association for Computational Linguistics, Jul. 2002, pp. 311–318. [Online]. Available: https://aclanthology.org/P02-1040/
[35] C.-Y. Lin, “ROUGE: A package for automatic evaluation of summaries,” in Text Summarization Branches Out. Barcelona, Spain: Association for Computational Linguistics, Jul. 2004, pp. 74–81. [Online]. Available: https://aclanthology.org/W04-1013/
[36] M. Robillard, R. Walker, and T. Zimmermann, “Recommendation systems for software engineering,” IEEE software, vol. 27, no. 4, pp. 80–86, 2009.
[37] G. Crupi, R. Tufano, A. Velasco, A. Mastropaolo, D. Poshyvanyk, and G. Bavota, “On the effectiveness of llm-as-a-judge for code generation and summarization,” 2025. [Online]. Available: https://arxiv.org/abs/2507.16587
[38] T. Kinsman, M. Wessel, M. A. Gerosa, and C. Treude, “How do software developers use github actions to automate their workflows?” in 2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR), 2021, pp. 420–431.
[39] I. Bouzenia and M. Pradel, “Resource usage and optimization opportunities in workflows of github actions,” in Proceedings of the IEEE/ACM 46th International Conference on Software Engineering, ser. ICSE '24. New York, NY, USA: Association for Computing Machinery, 2024. [Online]. Available: https://doi.org/10.1145/3597503.3623303
[40] H. Onsori Delicheh, A. Decan, and T. Mens, “Quantifying security issues in reusable javascript actions in github workflows,” in Proceedings of the 21st International Conference on Mining Software Repositories, ser. MSR '24. New York, NY, USA: Association for Computing Machinery, 2024, p. 692–703. [Online]. Available: https://doi.org/10.1145/3643991.3644899
[41] L. Zheng, S. Li, X. Huang, J. Huang, B. Lin, J. Chen, and J. Xuan, "Why do github actions workflows fail? an empirical study," ACM Trans. Softw. Eng. Methodol., vol. 35, no. 5, Apr. 2026. [Online]. Available: https://doi.org/10.1145/3749371
[42] J. Huang and B. Lin, “Revisiting security practices for github actions workflows,” in 2025 IEEE/ACM 33rd International Conference on Program Comprehension (ICPC), 2025, pp. 73–77.
[43] —, “Cigar: Contrastive learning for github action recommendation,” in 2023 IEEE 23rd International Working Conference on Source Code Analysis and Manipulation (SCAM), 2023, pp. 61–71.
[44] P. T. Nguyen, J. Di Rocco, C. Di Sipio, M. Shakya, D. Di Ruscio, and M. Di Penta, “Automatic categorization of github actions with transformers and few-shot learning,” in Proceedings of the 18th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ser. ESEM '24. New York, NY, USA: Association for Computing Machinery, 2024, p. 468–474. [Online]. Available: https://doi.org/10.1145/3674805.3690752
[45] X. Hou, Y. Zhao, Y. Liu, Z. Yang, K. Wang, L. Li, X. Luo, D. Lo, J. Grundy, and H. Wang, “Large language models for software engineering: A systematic literature review,” ACM Trans. Softw. Eng. Methodol., vol. 33, no. 8, Dec. 2024. [Online]. Available: https://doi.org/10.1145/3695988
[46] M. Chen, J. Tworek, H. Jun, Q. Yuan, H. P. de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. P. Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. H. Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew,
D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba, “Evaluating large language models trained on code,” 2021. [Online]. Available: https://arxiv.org/abs/2107.03374
[47] P. Yin and G. Neubig, “A syntactic neural model for general-purpose code generation,” 2017. [Online]. Available: https://arxiv.org/abs/1704.01696
[48] G. Yang, Y. Zhou, X. Zhang, X. Chen, T. Han, and T. Chen, "Assessing and improving syntactic adversarial robustness of pre-trained models for code translation," 2023. [Online]. Available: https://arxiv.org/abs/2310.18587
[49] A. Mastropaolo, N. Cooper, D. N. Palacio, S. Scalabrino, D. Poshyvanyk, R. Oliveto, and G. Bavota, “Using transfer learning for code-related tasks,” 2022. [Online]. Available: https://arxiv.org/abs/2206.08574
[50] F. Vallecillos Ruiz, A. Grishina, M. Hort, and L. Moonen, “Assessing the latent automated program repair capabilities of large language models using round-trip translation,” ACM Transactions on Software Engineering and Methodology, Oct. 2025. [Online]. Available: http://dx.doi.org/10.1145/3771922
[51] C. S. Xia and L. Zhang, “Conversational automated program repair,” 2023. [Online]. Available: https://arxiv.org/abs/2301.13246
[52] T. Hey, J. Keim, A. Koziolek, and W. F. Tichy, “Norbert: Transfer learning for requirements classification,” in 2020 IEEE 28th International Requirements Engineering Conference (RE). Institute of Electrical and Electronics Engineers (IEEE), 2020, p. 169–179.
[53] C. Yang, B. Xu, J. younus Khan, G. Uddin, D. Han, Z. Yang, and D. Lo, “Aspect-based api review classification: How far can pre-trained transformer model go?” 2022. [Online]. Available: https://arxiv.org/abs/2201.11327
[54] T. Ahmed, K. S. Pai, P. Devanbu, and E. T. Barr, “Automatic semantic augmentation of language model prompts (for code summarization),” 2024. [Online]. Available: https://arxiv.org/abs/2304.06815
[55] S. Rasnayaka, G. Wang, R. Shariffdeen, and G. N. Iyer, “An empirical study on usage and perceptions of llms in a software engineering project,” in Proceedings of the 1st International Workshop on Large Language Models for Code, ser. LLM4Code '24. New York, NY, USA: Association for Computing Machinery, 2024, p. 111–118. [Online]. Available: https://doi.org/10.1145/3643795.3648379