错误信息的频率分布
Frequency Distribution of Error Messages
摘要:
哪些编程错误消息是最常见的?我们调查这个问题,出于写作错误解释新手。我们考虑Python和Java中包含语法和运行时错误的大型数据集。在这两个数据集中,分组后基本相同的消息,错误消息的频率经验类似Zipf-Mandelbrot分布。我们使用最大似然法来拟合分布参数。这提供了一种可能的方法来定量地比较语言或编译器。
英文摘要:
Which programming error messages are the most common? We investigate this question, motivated by writing error explanations for novices. We consider large data sets in Python and Java that include both syntax and run-time errors. In both data sets, after grouping essentially identical messages, the error message frequencies empirically resemble Zipf-Mandelbrot distributions. We use a maximum-likelihood approach to fit the distribution parameters. This gives one possible way to contrast languages or compilers quantitatively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。