← 返回全部开发案例
本案例由 AI 匿名评审,尚未经过独立人工复核;请结合原稿、卡片与两边输出自行核对。
自动补全有卡片更好271 / 280 · beu-f1de2c5b1888babf

From Human to Machine Refactoring: Assessing GPT-4's Impact on Python Class Quality and Readability

计算机科学 · 2601.13139v1

FLOWING EVIDENCE BENCHMARK

我们怎样比较有卡片和无卡片的续写?

在同一个写作位置,我们用同一个模型分别生成有卡片和无卡片的首次结果。全部 280 组都进入整体匿名评审;一侧不续写时,评审会判断这种克制是否适合原稿。

整体结果:有卡片更好 138 次、差不多 26 次、无卡片更好 107 次、两边都不可用 5 次、评审未决 4 次。218 组双方有正文,48 组至少一侧主动不续写,14 组含无效输出。

同一段原稿 · 比较有无论文卡片

01 · 固定写作位置

论文原稿

同一处写作点位 ▌

同一原稿位置的自动补全成对比较

02 · 准备两个版本

两组共用

原稿、写作任务和生成模型

A · 有论文卡片

额外提供相关论文卡片

B · 无论文卡片

不提供论文卡片

生成模型

同一模型、同一版本

A → 首次输出

B → 首次输出

AI 匿名评审

匿名标记两份首次输出为 X、Y

按续写质量判断:准确性、任务贴合度和可用性
输出:X 更优 / 持平 / Y 更优 / 两组均不可用

交换两份答案的顺序再评一次

盲评具体怎么判?

① 匿名两份输出
AI 评审看到同一原稿和两份首次输出,但不知道哪份用了卡片。

② 比较并换序复评
根据当前任务的标准,按 X/Y、再按 Y/X 的顺序各评一次。

③ 复核分歧
两次结论不一致时再做第三次判定;未完成的评审也留在分母。

点位和卡片怎样选?

我们从 7 个学科各选取 40 个写作位置,共比较 280 次。每次比较前先确定写作位置和相关论文卡片,让有卡片和无卡片两组从同一原稿出发。

主结果保留了所有预先固定的点位,包括卡片可能无法补充有用内容的位置。这避免了根据输出筛选案例,但也意味着 49% 衡量的是整批点位的结果,不能直接解释为“证据能明显发挥作用时”的胜率。本批数据没有在生成前逐点标注这一证据机会,暂时无法可靠拆分两组。

CARD USE · 140/280

有正文且报告使用卡片的比例

模型会报告卡片是否影响了续写。280 次测试中,140 次有正文且报告使用卡片。原口径的 150 次包含 10 次无正文,已修正。

COMPARISON · 70 / 7 / 30

双方都有正文时,哪个版本更好?

在有正文且报告使用卡片、两组也都写出正文的 107 次比较中,AI 盲评认为有卡片更好 70 次、差不多 7 次、无卡片更好 30 次。

表格里的两个百分比怎么算?

有正文且报告使用卡片的比例

140有正文且报告使用
÷
280全部点位
=
50%

有卡片版本更好比例

70有卡片更好
÷
107可比较的测试
=
65%

两个百分比的分母不同:50% 看全部 280 次补全;65% 只看有正文且报告使用、且两边都有完整输出的 107 次。卡片是否被使用由生成模型报告,哪边写得更好由 AI 匿名评审。

卡片使用由生成模型自报,整体胜负由看到原稿和材料片段的 AI 匿名评审;没有独立人工评审,仍可能有材料偏好。整体结果反映这 280 个固定点位上的自动判断,不代表任意写作场景的获胜概率。

原稿写作位置

原文摘录 · 非 PDF 页面

研究论文 · 原文片段

From Human to Machine Refactoring: Assessing GPT-4's Impact on Python Class Quality and Readability

body

Prior studies investigate how LLMs can generate, recommend, or validate refactorings, often combining them with static analysis, traditional refactoring tools, or employing hybrid prompting tech- niques. In this section, we first review related work on automated code refactoring supported by LLMs, then discuss broader efforts applying LLMs to software engineering tasks that inform our ap- proach and evaluation design. 2.1 Automated Code Refactoring Recent studies highlighted the growing role of LLM in automated software refactoring. Several works integrated LLMs with tradi- tional program analysis to improve the precision and safety of automated transformations. EM-Assist [32, 33] augments the clas- sic Extract Method refactoring technique by combining iterative LLM suggestions

↓ 此处生成下一段续写

黄色标出写作点位附近的原文;本页根据评测输入重排文本,不是原始 PDF 截图。

同一写作位置的成对对照全样本 AI 评审:有卡片更好

两组使用同一模型、同一写作任务和原稿上下文,仅比较是否提供检索文献片段。下方展示评测记录中的首次输出。

查看全样本 AI 评审理由(英文)

A = 无卡片 · B = 有卡片

Both outputs complete the sentence about EM-Assist appropriately, but B is preferable. The draft establishes that EM-Assist 'augments the classic Extract Method refactoring technique by combining iterative LLM suggestions' and needs a continuation explaining what it combines them with. Output B better matches the source description: the source states EM-Assist 'generates refactoring suggestions using LLMs, then validates and enhances them with static analysis in the IDE.' B captures both validation ('validate') and refinement ('refine') aspects, plus the IDE context ('before they are applied in the IDE'). Output A's 'identify and validate extractable code fragments' is accurate but slightly narrower—focusing only on identification/validation rather than the full pipeline of validation and refinement that the source describes. B also flows better from 'iterative LLM suggestions' by showing the complete workflow (validate → refine → apply). Both are usable and source-grounded, but B is more comprehensive and precise.

Evidence

同一模型与写作位置 · 提供检索文献片段 · 首次输出

盲评更优

with static analysis to validate and refine candidate refactorings before they are applied in the IDE.

提供给 Evidence 版本的文献片段

卡片 1 · EM-Assist: Safe Automated ExtractMethod Refactoring with LLMs

It bridges the gap between suggesting and applying Extract Method refactoring, and shrinks the gap between refactoring suggestions and developer practices. EM-Assist generates refactoring suggestions using LLMs, then validates and enhances them with static analysis in the IDE

卡片 2 · Emergent Abilities in Large Language Models: A Survey

Large Language Models (LLMs) are leading a new technological revolution as one of the most promising research streams toward artificial general intelligence. The scaling of these models, accomplished by increasing the number of parameters and the magnitude of the training datasets, has been linked t…

展开完整文献摘录

Large Language Models (LLMs) are leading a new technological revolution as one of the most promising research streams toward artificial general intelligence. The scaling of these models, accomplished by increasing the number of parameters and the magnitude of the training datasets, has been linked to various so-called emergent abilities that were previously unobserved. These emergent abilities, ranging from advanced reasoning and in-context learning to coding and problem-solving, have sparked an intense scientific debate: Are they truly emergent, or do they simply depend on external factors, such as training dynamics, the type of problems, or the chosen metric? What underlying mechanism causes them? Despite their transformative potential, emergent abilities remain poorly understood, leading to misconceptions about their definition, nature, predictability, and implications. In this work, we shed light on emergent abilities by conducting a comprehensive review of the phenomenon, addressi …

卡片 3 · VidEgoThink: Assessing Egocentric Video Understanding Capabilities for Embodied AI

Recent advancements in Multi-modal Large Language Models (MLLMs) have opened new avenues for applications in Embodied AI. Building on previous work, EgoThink, we introduce VidEgoThink, a comprehensive benchmark for evaluating egocentric video understanding capabilities. To bridge the gap between MLL…

展开完整文献摘录

Recent advancements in Multi-modal Large Language Models (MLLMs) have opened new avenues for applications in Embodied AI. Building on previous work, EgoThink, we introduce VidEgoThink, a comprehensive benchmark for evaluating egocentric video understanding capabilities. To bridge the gap between MLLMs and low-level control in Embodied AI, we design four key interrelated tasks: video question-answering, hierarchy planning, visual grounding and reward modeling. To minimize manual annotation costs, we develop an automatic data generation pipeline based on the Ego4D dataset, leveraging the prior knowledge and multimodal capabilities of GPT-4o. Three human annotators then filter the generated data to ensure diversity and quality, resulting in the VidEgoThink benchmark. We conduct extensive experiments with three types of models: API-based MLLMs, open-source image-based MLLMs, and open-source video-based MLLMs. Experimental results indicate that all MLLMs, including GPT-4o, perform poorly ac …

卡片 4 · RS-MoE: A Vision-Language Model with Mixture of Experts for Remote Sensing Image Captioning and Visual Question Answering

Remote Sensing Image Captioning (RSIC) presents unique challenges and plays a critical role in applications. Traditional RSIC methods often struggle to produce rich and diverse descriptions. Recently, with advancements in VLMs, efforts have emerged to integrate these models into the remote sensing d…

展开完整文献摘录

Remote Sensing Image Captioning (RSIC) presents unique challenges and plays a critical role in applications. Traditional RSIC methods often struggle to produce rich and diverse descriptions. Recently, with advancements in VLMs, efforts have emerged to integrate these models into the remote sensing domain and to introduce descriptive datasets specifically designed to enhance VLM training. This paper proposes RS-MoE, a first Mixture of Expert based VLM specifically customized for remote sensing domain. Unlike traditional MoE models, the core of RS-MoE is the MoE Block, which incorporates a novel Instruction Router and multiple lightweight Large Language Models (LLMs) as expert models. The Instruction Router is designed to generate specific prompts tailored for each corresponding LLM, guiding them to focus on distinct aspects of the RSIC task. This design not only allows each expert LLM to concentrate on a specific subset of the task, thereby enhancing the specificity and accuracy of the …

卡片 5 · Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMs

We introduce Cambrian-1, a family of multimodal LLMs (MLLMs) designed with a vision-centric approach. While stronger language models can enhance multimodal capabilities, the design choices for vision components are often insufficiently explored and disconnected from visual representation learning re…

展开完整文献摘录

We introduce Cambrian-1, a family of multimodal LLMs (MLLMs) designed with a vision-centric approach. While stronger language models can enhance multimodal capabilities, the design choices for vision components are often insufficiently explored and disconnected from visual representation learning research. This gap hinders accurate sensory grounding in real-world scenarios. Our study uses LLMs and visual instruction tuning as an interface to evaluate various visual representations, offering new insights into different models and architectures -- self-supervised, strongly supervised, or combinations thereof -- based on experiments with over 20 vision encoders. We critically examine existing MLLM benchmarks, address the difficulties involved in consolidating and interpreting results from various tasks, and introduce a new vision-centric benchmark, CV-Bench. To further improve visual grounding, we propose the Spatial Vision Aggregator (SVA), a dynamic and spatially-aware connector that in …

模型报告的实际卡片作用

卡片 1 · fact

影响的输出:with static analysis to validate and refine candidate refactorings before they are applied in the IDE.

模型说明:The row supplies the specific mechanism (static analysis validation and enhancement in the IDE) that completes the unfinished clause about EM-Assist's approach.

无 Evidence

同一模型与写作位置 · 不提供检索文献片段 · 首次输出

本次未获偏好

with static analysis to identify and validate extractable code fragments.

原卡片使用口径的记录

以下是此前仅比较“报告使用卡片且双方有正文”案例的诊断记录,口径与上方全样本 AI 评审不同。

模型盲评判定“有卡片更好”。下方保留评审原始理由(英文),供核对判断依据。

查看模型评审原始理由(英文)

Both outputs complete the sentence about EM-Assist by describing how it combines LLM suggestions with static analysis. Output B is preferable because it more accurately reflects the source: the snippet states EM-Assist 'generates refactoring suggestions using LLMs, then validates and enhances them with static analysis in the IDE.' B captures both 'validates' and the refinement/enhancement aspect ('refine'), plus correctly notes the IDE context ('before they are applied in the IDE' aligns with 'in the IDE'). Output A says 'identify and validate extractable code fragments,' which introduces 'identify' and 'extractable code fragments'—the source says static analysis is used to 'validate and enhance' suggestions, not to identify fragments. B's 'validate and refine' is closer to 'validates and enhances,' and 'candidate refactorings' is more general and accurate than A's 'extractable code fragments' which narrows the scope. Both are usable and source-grounded, but B preserves more of the source's meaning with less editorial invention.

文献片段是输入材料;出现于此不代表输出使用了它,也不代表它能够支持全部主张。原文与检索片段经过截取;页面没有展示模拟分数或模拟 PDF。