Scaling Code Pattern Inference with Interactive What-If Analysis
Hong Jin Kang, Kevin Wang, Miryung Kim
Abstract
Figure 1: To guide incremental pattern construction and refinement, SURF summarizes the global distribution of how individual features appear in the entire population in a single collated view. In SURF, users can directly provide code-line level feedback as features in addition to labeling positive and negative instances. SURF then re-generates a refined pattern. Users can contrast the impact of different feature choices using impact analysis and what-if-analysis. It visualizes how a specific feature choice is consistent with already labeled positive and negative instances and can match more instances in the unlabelled population.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- WhyFlow: Interrogative Debugger for Sensemaking Taint Analysis cites Concept-Annotated Examples for Library Comparison
- Concept-Annotated Examples for Library Comparison cites Enabling Data-Driven API Design with Community Usage Data: A Need-Finding Study
Cited by top-tier papers1
Builds on5
- CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java ProjectsSazzadur Rahaman, Ya Xiao, Sharmin Afrose, Fahad Shaon et al.CCS 2019 · 159 citations
- ARBITRAR: User-Guided API Misuse DetectionZiyang Li, Aravind Machiry, Binghong Chen, Mayur Naik et al.S&P 2021 · 30 citations
- Enabling Data-Driven API Design with Community Usage Data: A Need-Finding StudyTianyi Zhang, Björn Hartmann, Miryung Kim, Elena L. GlassmanCHI 2020 · 25 citations
- Concept-Annotated Examples for Library ComparisonLitao Yan, Miryung Kim, Bjoern Hartmann, Tianyi Zhang et al.UIST 2022 · 14 citations
- Synthesizing code quality rules from examplesPranav Garg, Srinivasan H. SengameduOOPSLA 2022 · 8 citations
Related papers
- Sporq: An Interactive Environment for Exploring Code using Query-by-ExampleAaditya Naik, Jonathan Mendelson, Nathaniel Sands, Yuepeng Wang et al.UIST 2021 · 11 citations
- Tempura: Query Analysis with Structural TemplatesTongshuang Wu, Kanit Wongsuphasawat, Donghao Ren, Kayur Patel et al.CHI 2020 · 14 citations
- Synthia: Visually Interpreting and Synthesizing Feedback for Writing RevisionChao Zhang, Kexin Ju, Zhuolun Han, Yu-Chun Grace Yen et al.UIST 2025 · 4 citations
- SuRF: Identification of Interesting Data Regions with Surrogate ModelsFotis Savva, Christos Anagnostopoulos, Peter TriantafillouICDE 2020 · 5 citations
- Unravel: A Fluent Code Explorer for Data WranglingNischal Shrestha, Titus Barik, Chris ParninUIST 2021 · 19 citations
