Can AI be Easy? Lessons Learned from the EZR.py Toolkit Publication type: Research Paper Journal: Software: Practice and Experience Volume: 00
Tim Menzies, Srinath Srinivasan, Menzies T, Srinath Srinivasan · 2026
Read Can AI be Easy? Lessons Learned from the EZR.py Toolkit Publication type: Research Paper Journal: Software: Practice and Experience Volume: 00 by Tim Menzies, Srinath Srinivasan, Menzies T, Srinath Srinivasan (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2606-03640.txt.
Introduction
Menzies, Srinivasan, and Ganguly argue that AI tools for software data can be small and readable. Press claims say developers need not read code anymore. The authors disagree for tabular software-engineering optimization tasks. In those tasks, outcome values are costly to obtain. Their evidence is EZR.py, a toolkit of about 400 lines with no heavy dependencies.
EZR covers Naive Bayes, k-means, trees, simulated annealing, local search, and active learning. A complementary-Bayes text filter joins the set. The toolkit came from repeated reading and refactoring of larger tools. Many algorithms collapse to a few core lines once stripped down. A state-of-the-art active learner fits in roughly 80 lines. On over 120 benchmark tasks, the tiny tools match or beat SHAP, LIME, and SMAC3. They run hundreds of times faster than SMAC3 and use far fewer labels. The lesson is that reading code still generates insight.
Catalog record
| CREATOR | Tim Menzies, Srinath Srinivasan, Menzies T, Srinath Srinivasan |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 100 KB |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2606.03640
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Can AI be Easy? Lessons Learned from the EZR.py Toolkit Publication type: Research Paper Journal: Software: Practice and Experience Volume: 00 Tim Menzies, Srinath Srinivasan, Menzies T, Srinath Srinivasan Abstract Much recent press claims that developers no longer need to read code. We disagree, at least within the domain of tabular software-engineering (SE) optimization tasks: rows of x x and y y values where the y y values are expensive to obtain. As evidence we present 400 lines of EZR.py, a Python toolkit (no heavy dependencies) that implements Naive Bayes, k k -means clustering, classification and regression trees, simulated annealing, local search, active learning, and complementary-Bayes text-mining relevance filtering for tabular SE data. EZR was built by repeatedly reading and refactoring AI tools to simplify and unify them. The result demonstrates that many seemingly different learning algorithms are nearly the same once stripped back to their core: classical algorithms collapse to a few lines each, and a state-of-the-art active learner fits in roughly 80 lines. Tested on the 120+ tabular SE optimization tasks in the MOOT repository, these tiny tools perform as well as or better than state-of-the-art explanation tools (SHAP, LIME), the SMAC3 optimizer, and SVM-based text-mining filters (FASTREAD), while running 500 × \times faster than SMAC3, using orders of magnitude less labelled data, and building trees from fewer than ten variables even when thousands are available. We conclude that, within the scope of tabular SE optimization, reading and refactoring code is a useful method of generating insight, and small unified toolkits can rival large libraries. EZR is available under an open-source license. Install via pip install ezr ; example data at github.com/timm/moot . keywords Active learning; explanation; multi-objective optimization; Complement Naïve Bayes; software analytics; minimalism; reproducibility; literate programming † † copyright-year: 2026 † † startpage: 1 † † titlemark: Can AI be Easy? † † corresponding: Tim Menzies, † † citation: . . † † copyright: , , † † ctitle: Small AI: Lessons from Reading the EZR.py Toolkit † † cjournal: Software: Practice and Experience. † † cvolume: 2026;00(00):1–20 MENZIES et al. 1 Introduction Recently it has been argued that humans no longer need to read code. Ryan Dahl (creator of Node.js) suggests that the era of human-written code is ending [ 1 ] . Jensen Huang (Nvidia CEO) advises against learning to code [ 2 ] . Elon Musk said traditional coding ends in 2026 [ 3 ] . Replit’s CEO told students to focus on how to talk to machines, not how to program [ 4 ] . While the phrasing varies, the argument is the same: AI is the new compiler, and we need not read what that compiler generates. We disagree. Reading code is very useful. Important low-level information “on the ground” (as it were) gets missed when developers always use LLMs to “fly over” the details. This paper is an extended argument that careful reading of small code bases can offer important insights for widely held assumptions about what AI and software engineering. Table 1: The 124 multi-objective tasks in the MOOT repository [ 5 ] used in this paper. Tasks are expressed as tabular daa. Each row is a task category. #y is the number of goal columns; #x is the range of independent attribute. Data comes from recent papers from the SE literature (ICSE, FSE, TSE, IST, EMSE, TOSEM, and ASE [ 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 ] ). # Category Focus File name(s) Optimization challenge #y #x Rows Refs Software systems, configuration, and tuning 24 Soft. config PLE SS-[A-X] Minimize footprint/memory vs. maximize throughput 2–3 3–88 197–86k [ 6 ] 12 PromiseTune Perf. 7z, LLVM, BDBC Minimize execution time and energy consumption 1 6–35 864–166k [ 7 ] 1 Cloud compute Tuning Apache_AllMeas Balance server response vs. CPU/RAM load 1 9 192 [ 8 ] 1 Cloud compute Tuning SQL_AllMeas Minimize latency/IO vs. maximize throughput 1 39 4,654 [ 9 ] 1 Cloud compute Tuning X264_AllMeas Optimize encoding parameters for PSNR/SSIM 1 16 1,153 [ 6 ] 2 Testing Testing test120, test600 Maximize coverage while minimizing execution time 1 9 5,161 Project management and process modeling 35 Proj. health Health Health-Closed Optimize PR rates and minimize developer churn 2–3 5 10,001 [ 10 ] 3 Scrum Agile Scrum[1k–100k] Maximize velocity within sprint constraints 3 124 1k–100k [ 11 ] 8 Feature mod. Config FFM, FM-* Optimize clause/constraint ratio in large spaces 3 128–1k 10,001 [ 6 ] 1 nasa93dem Cost nasa93dem Minimize effort (person-months) vs. quality 3 26 93 [ 10 ] 1 COC1000 Risk coc1000 Minimize risks vs. analyst expertise 5 20 1,001 [ 12 ] 4 POM3 Process pom3[a-d] Balance project idle rates vs. completion costs 3 9 501–20k [ 11 ] 4 XOMO Defects xomo_[flt,grd] Minimize defect density vs. total project effort 4 27 10,001 [ 12 ] Interdisciplinary and behavioral benchmarks 4 Behavioral Behavior all_players, etc. Maximize user retention and predict cohort churn 1–3 26–55 82–17k [ 13 ] 4 Financial Finance BankChurners Minimize credit risk vs. pricing models 2–5 19–77 1k–20k [ 14 ] 3 Health Health COVID19, Life Maximize accuracy/life vs. readmission likelihood 1–3 20–64 2k–25k [ 15 ] 2 RL Control A2C_[Acr,Crt] Maximize reward signals vs. steps to convergence 3–4 9–11 224–318 5 Sales Market Marketing, socks Maximize ROI vs. minimize forecasting error 1–8 20–31 247–2k [ 16 ] 3 Misc. General auto93, Car Optimize multivariate trade-offs (e.g. MPG vs. HP) 2–5 5–38 205–1k [ 6 ] 124 total Table 2: This paper comments on six common assumptions about AI for software engineering. Section Common assumption What this paper finds § 2 AI infrastructure must be large and dependency-heavy: real systems sit on top of pandas , sklearn , numpy , and a stack of supporting libraries [ 17 ] . Four classes ( Num , Sym , Data , Cols ) and one update primitive ( add ) carry every algorithm in this paper. A 14-line CSV reader replaces pandas . § 3 Classification, clustering, and seeded clustering are usually presented as separate algorithms, taught in separate lectures and shipped as separate library modules. Classification and clustering requires 30 lines of new code on top the § 2 substrate. § 4 Classification trees and regression trees require different splitting code, different leaf scoring, and different implementations. 43 lines of code can implement build both algorithms. And switching between them a one-line change. § 5 The 1990s metaheuristics literature [ 18 , 19 , 20 , 21 ] argues local search (with restart, retry, adaptive schedules) and its variants dominate older methods Across 20 MOOT benchmarks, simulated annealing in its 1983 default configuration [ 22 ] matches or beats the local-search variants we tested. Restart is a patch for local search, not an upgrade over SA. § 6 More labels and more features yield better models; model updates necessitates the complete retraining of all models [ 23 , 24 ] . EZR ’s active learner reaches 85–95% of the reference optimum with fewer than 100 labels, uses fewer than 10 features even when thousands are available. The model update step of this algorithm runs 500 \times