Concept-Annotated Examples for Library Comparison
Litao Yan, Miryung Kim, Bjoern Hartmann, Tianyi Zhang, Elena L. Glassman
摘要
Programmers often rely on online resources—such as code examples, documentation, blogs, and Q&A forums—to compare similar libraries and select the one most suitable for their own tasks and contexts. However, this comparison task is often done in an ad-hoc manner, which may result in suboptimal choices. Inspired by Analogical Learning and Variation Theory, we hypothesize that rendering many concept-annotated code examples from different libraries side-by-side can help programmers (1) develop a more comprehensive understanding of the libraries’ similarities and distinctions and (2) make more robust, appropriate library selections. We designed a novel interactive interface, ParaLib, and used it as a technical probe to explore to what extent many side-by-side concepted-annotated examples can facilitate the library comparison and selection process. A within-subjects user study with 20 programmers shows that, when using ParaLib, participants made more consistent, suitable library selections and provided more comprehensive summaries of libraries’ similarities and differences.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Generative AI in Knowledge Work: Design Implications for Data Navigation and Decision-Making 引用了 Mesh: Scaffolding Comparison Tables for Online Decision Making
- Supporting Co-Adaptive Machine Teaching through Human Concept Learning and Cognitive Theories 引用了 Supporting Sensemaking of Large Language Model Outputs at Scale
- ChatGPT Incorrectness Detection in Software Reviews 引用了 Selecting third-party libraries: the practitioners' perspective
- Ivie: Lightweight Anchored Explanations of Just-Generated Code 引用了 Understanding How Programmers Can Use Annotations on Documentation
- Crystalline: Lowering the Cost for Developers to Collect and Organize Information for Decision Making 引用了 Mesh: Scaffolding Comparison Tables for Online Decision Making
- Crystalline: Lowering the Cost for Developers to Collect and Organize Information for Decision Making 引用了 Understanding How Programmers Can Use Annotations on Documentation
- Supporting Sensemaking of Large Language Model Outputs at Scale 引用了 Mesh: Scaffolding Comparison Tables for Online Decision Making
引用它的顶会 Paper8
- Supporting Sensemaking of Large Language Model Outputs at ScaleKaty Ilonka Gero, Chelse Swoopes, Ziwei Gu, Jonathan K. Kummerfeld 等CHI 2024 · 52 次引用
- Ivie: Lightweight Anchored Explanations of Just-Generated CodeLitao Yan, Alyssa Hwang, Zhiyuan Wu, Andrew HeadCHI 2024 · 40 次引用
- Generative AI in Knowledge Work: Design Implications for Data Navigation and Decision-MakingBhada Yun, Dana Feng, Ace S. Chen, Afshin Nikzad 等CHI 2025 · 23 次引用
- ChatGPT Incorrectness Detection in Software ReviewsMinaoar Hossain Tanzil, Junaed Younus Khan, Gias UddinICSE 2024 · 10 次引用
- Supporting Co-Adaptive Machine Teaching through Human Concept Learning and Cognitive TheoriesSimret Araya Gebreegziabher, Yukun Yang, Elena L. Glassman, Toby Jia-Jun LiCHI 2025 · 5 次引用
它引用的 Paper7
- Selecting third-party libraries: the practitioners' perspectiveEnrique Larios Vargas, Maurício Finavaro Aniche, Christoph Treude, Magiel Bruntink 等FSE 2020 · 81 次引用
- Mesh: Scaffolding Comparison Tables for Online Decision MakingJoseph Chee Chang, Nathan Hahn, Aniket KitturUIST 2020 · 32 次引用
- Crystalline: Lowering the Cost for Developers to Collect and Organize Information for Decision MakingMichael Xieyang Liu, Aniket Kittur, Brad A. MyersCHI 2022 · 31 次引用
- Understanding How Programmers Can Use Annotations on DocumentationAmber Horvath, Michael Xieyang Liu, River Hendriksen, Connor Shannon 等CHI 2022 · 26 次引用
- Enabling Data-Driven API Design with Community Usage Data: A Need-Finding StudyTianyi Zhang, Björn Hartmann, Miryung Kim, Elena L. GlassmanCHI 2020 · 25 次引用
相关 Paper
- DiffCoder: Enhancing Large Language Model on API Invocation via Analogical Code ExercisesDaoguang Zan, Ailun Yu, Bo Shen, Bei Chen 等FSE 2024 · 1 次引用
- Improving API Knowledge Discovery with ML: A Case Study of Comparable API MethodsDaye Nam, Brad A. Myers, Bogdan Vasilescu, Vincent J. HellendoornICSE 2023 · 6 次引用
- Generating Concept based API Element Comparison Using a Knowledge GraphYang Liu, Mingwei Liu, Xin Peng, Christoph Treude 等ASE 2020 · 28 次引用
- Here we go again: why is it difficult for developers to learn another programming language?Nischal Shrestha, Colton Botta, Titus Barik, Chris ParninICSE 2020 · 41 次引用
- An empirical study on API parameter rulesHao Zhong, Na Meng, Zexuan Li, Li JiaICSE 2020 · 16 次引用
