Index  |  Benchmarks  |  Mathematics  |  Graph  |  About
SRCH:F3F062F9

Adversarial Contrastive Learning and Few-Shot Prompting for Robust Code Generation

Submitted: 2 June 2026
Review score: 8.50/10
Verification: L2, Source-grounded claims
Quality tier: Flagship candidate
Verified claims: 10
DOI: 10.5281/zenodo.20501433

Abstract

Abstract: This report synthesises findings from 12 peer-reviewed papers addressing the following research question: Does adversarial contrastive learning with few-shot prompting improve robustness to adversarial examples in code generation tasks evaluated on HumanEval, measured by pass@1 and pass@k metrics. Large Language Models (LLMs) have drawn a lot of attention due to their strong performance on a wide range of natural language tasks, since the release of ChatGPT in November 2022. LLMs' ability of general-purpose language understanding and generation is acquired by training. 10 claims were extracted from source literature; 9 were independently verified against retrieved documents. An automated multi-reviewer quality assessment produced a score of 8.5/10. This report is a machine-generated literature synthesis and does not constitute original research.

Research Question

Does adversarial contrastive learning with few-shot prompting improve robustness to adversarial examples in code generation tasks evaluated on HumanEval, measured by pass@1 and pass@k metrics?

Verification Level

Paper levelL2, Source-grounded claims
Source-grounded claims10
Claim record sourcenot publicly specified

Descriptive public verification status only; aggregate claim counts are public, but individual claim records are not exposed here.

Quality Tier

TierFlagship candidate
BasisReview score, verified-claim count, and public artifact coverage meet flagship-candidate thresholds.

Descriptive public triage only; this tier does not alter current publication or DOI behavior.

Quality Dimensions

Evidence strength MEDIUM
Citation grounding MEDIUM
Uncertainty disclosure MEDIUM
Reproducibility status HIGH

Automated triage signals derived from public fields; not human peer review or independent validation.

Correction Record

StatusCURRENT
Correction count0
Manifest contractpaper-manifest-v1.1
Correction contractcorrection-record-v1

Public corrections are additive records. Current status does not claim the synthesis is error-free.

Provenance

PublisherAssignee Research
Public provenanceL4, External archival record
Report artifactAvailable
External recordRegistered
Claim lineage10 aggregate source-grounded claims
Review methodAutomated multi-reviewer assessment
Quality guideHow to read scores, claims, manifests, and evidence links
Provenance contractsource-provenance-v1
NoteMachine-generated synthesis of existing literature. Not primary research.