Wonseok Oh
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Research Interests
Wonseok Oh has a total of 6 co-authors. Here are the top co-authors by number of shared publications:
- Hakjoo Oh
Korea University, Seoul, Republic of Korea
4 shared publications - Miryeong Kang
Korea University, Seoul, Republic of Korea
2 shared publications - Gabin An
Korea University, Seoul, Republic of Korea
1 shared publication - Hyobin Park
Kyungpook National University, Daegu, Republic of Korea
1 shared publication - Seungbin Choi
Kyungpook National University, Daegu, Republic of Korea
1 shared publication - Yunja Choi
Kyungpook National University, Daegu, Republic of Korea
1 shared publication
Latest Publications
- Open Access
- 30 June 2026
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 3 (FSE) , 967-988
Pig: Leveraging Large Language Models for Python Library Migrations
We present Pig, a novel approach to automating Python library migration by leveraging large language models (LLMs). Library migration is an increasingly common task in modern Python development, yet it remains tedious and error-prone due to the lack of general solutions that can handle diverse libraries without relying on documentation or code examples. To address this challenge, Pig employs a four-step pipeline that effectively harnesses the capabilities of LLMs. First, Pig decomposes the migration task into smaller units by performing API-level slicing, allowing the LLM to focus on minimal, relevant context. Second, it guides LLMs using prompts informed by common failure patterns in naive LLM-based migrations and plausible API candidates. Third, Pig selectively extracts the migration-related code fragments from the LLM outputs. Finally, it transplants the migrated code back into the original program with post-processing to ensure semantic correctness and consistency. We demonstrate the effectiveness of Pig by evaluating it on 364 API-level migration tasks, where it improves the average success rate of the baseline approach by 53.5% across seven different LLM models.
- 30 June 2026
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 3 (FSE) , 967-988
Open AccessPig: Leveraging Large Language Models for Python Library Migrations
We present Pig, a novel approach to automating Python library migration by leveraging large language models (LLMs). Library migration is an increasingly common task in modern Python development, yet it remains tedious and error-prone due to the lack of general solutions that can handle diverse libraries without relying on documentation or code examples. To address this challenge, Pig employs a four-step pipeline that effectively harnesses the capabilities of LLMs. First, Pig decomposes the migration task into smaller units by performing API-level slicing, allowing the LLM to focus on minimal, relevant context. Second, it guides LLMs using prompts informed by common failure patterns in naive LLM-based migrations and plausible API candidates. Third, Pig selectively extracts the migration-related code fragments from the LLM outputs. Finally, it transplants the migrated code back into the original program with post-processing to ensure semantic correctness and consistency. We demonstrate the effectiveness of Pig by evaluating it on 364 API-level migration tasks, where it improves the average success rate of the baseline approach by 53.5% across seven different LLM models.
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 2850-2861
TypeCare: Boosting Python Type Inference Models via Context-Aware Re-Ranking and Augmentation
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 2850-2861
Open AccessTypeCare: Boosting Python Type Inference Models via Context-Aware Re-Ranking and Augmentation
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 89-92
PySTAAR: An End-to-End, Extensible Framework for Automated Python Type Error Repair
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 89-92
Open AccessPySTAAR: An End-to-End, Extensible Framework for Automated Python Type Error Repair
- Open Access
- 27 October 2024
- Published by Association for Computing Machinery (ACM)
- p. 1808-1820
Towards Effective Static Type-Error Detection for Python
In this experience paper, we design, implement, and evaluate a new static type-error detection tool for Python. To build a practical tool, we first collected and analyzed 68 real-world type errors gathered from 20 open-source projects. This empirical investigation revealed four key static-analysis features that are crucial for the effective detection of Python type errors in practice. Utilizing these insights, we present a tool called Pyinder, which can successfully detect 34 out of the 68 bugs, compared to existing type analysis tools that collectively detect only 16 bugs. We also discuss the remaining 34 bugs that Pyinder failed to detect, offering insights into future directions for Python type analysis tools. Lastly, we show that Pyinder can uncover previously unknown bugs in recent Python projects.
- 27 October 2024
- Published by Association for Computing Machinery (ACM)
- p. 1808-1820
Open AccessTowards Effective Static Type-Error Detection for Python
In this experience paper, we design, implement, and evaluate a new static type-error detection tool for Python. To build a practical tool, we first collected and analyzed 68 real-world type errors gathered from 20 open-source projects. This empirical investigation revealed four key static-analysis features that are crucial for the effective detection of Python type errors in practice. Utilizing these insights, we present a tool called Pyinder, which can successfully detect 34 out of the 68 bugs, compared to existing type analysis tools that collectively detect only 16 bugs. We also discuss the remaining 34 bugs that Pyinder failed to detect, offering insights into future directions for Python type analysis tools. Lastly, we show that Pyinder can uncover previously unknown bugs in recent Python projects.