Ambiguity Resolution with Human Feedback for Code Writing Tasks

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Nandan, Aditey, Kumar, Viraj
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912545004060672
author Nandan, Aditey
Kumar, Viraj
author_facet Nandan, Aditey
Kumar, Viraj
contents Specifications for code writing tasks are usually expressed in natural language and may be ambiguous. Programmers must therefore develop the ability to recognize ambiguities in task specifications and resolve them by asking clarifying questions. We present and evaluate a prototype system, based on a novel technique (ARHF: Ambiguity Resolution with Human Feedback), that (1) suggests specific inputs on which a given task specification may be ambiguous, (2) seeks limited human feedback about the code's desired behavior on those inputs, and (3) uses this feedback to generate code that resolves these ambiguities. We evaluate the efficacy of our prototype, and we discuss the implications of such assistive systems on Computer Science education.
format Preprint
id arxiv_https___arxiv_org_abs_2508_14114
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Ambiguity Resolution with Human Feedback for Code Writing Tasks
Nandan, Aditey
Kumar, Viraj
Software Engineering
Artificial Intelligence
Specifications for code writing tasks are usually expressed in natural language and may be ambiguous. Programmers must therefore develop the ability to recognize ambiguities in task specifications and resolve them by asking clarifying questions. We present and evaluate a prototype system, based on a novel technique (ARHF: Ambiguity Resolution with Human Feedback), that (1) suggests specific inputs on which a given task specification may be ambiguous, (2) seeks limited human feedback about the code's desired behavior on those inputs, and (3) uses this feedback to generate code that resolves these ambiguities. We evaluate the efficacy of our prototype, and we discuss the implications of such assistive systems on Computer Science education.
title Ambiguity Resolution with Human Feedback for Code Writing Tasks
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2508.14114