paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FLEX: fixing flaky tests in machine learning projects by updating assertion bounds

FLEX:通过更新断言边界修复机器学习项目中的 flaky 测试
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 3/10 · 论文研究 ML 项目中因随机性导致的 flaky 测试修复,属于机器学习与软件工程/程序语言交叉,但方法为更新断言边界,未涉及静态分析、形式化验证、浮点程序分析、贝叶斯程序分析或 LLM/Agent,与用户核心研究方向匹配度较低。引用 33 inbox
Saikat Dutta, August Shi, Sasa Misailovic
crossref: 2026-09-12

AI 速览

一句话:提出 FLEX,通过更新断言边界修复机器学习项目中因随机性导致的 flaky 测试。

许多机器学习算法具有内在随机性,即使输入相同,多次执行也可能产生略有差异的结果。这种随机性给测试带来困难:开发者在检查端到端质量时,需要将获得的指标与参考结果比较,而选择合适阈值并非直观任务,阈值不当会导致 flaky test execution。标题表明论文提出 FLEX,其核心思路是更新断言边界,以修复机器学习项目中的 flaky 测试。给定摘要未提供方法的详细算法、实验设置与修复效果,因此只能概述其问题定位与高层修复方向。

问题
如何修复机器学习项目中的 flaky 测试,尤其是因算法随机性导致质量指标比较阈值难以设定、断言边界选择不当而引发的偶发失败。
方法
根据标题,FLEX 通过更新断言边界(assertion bounds)来修复 flaky 测试;摘要未展开具体实现。
评估
给定摘要未说明评估方式、数据集或指标;无法从中总结实验结果。
原文摘要(Abstract)

Many machine learning (ML) algorithms are inherently random – multiple executions using the same inputs may produce slightly different results each time. Randomness impacts how developers write tests that check for end-to-end quality of their implementations of these ML algorithms. In particular, selecting the proper thresholds for comparing obtained quality metrics with the reference results is a non-intuitive task, which may lead to flaky test executions.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6393,
  title = {FLEX: fixing flaky tests in machine learning projects by updating assertion bounds},
  author = {Saikat Dutta and August Shi and Sasa Misailovic},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468615}
}