• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

プログラミング初学者の支援に向けたバグ自動修正・生成技術の創出

Research Project

Project/Area Number 22K18630
Research Category

Grant-in-Aid for Challenging Research (Exploratory)

Allocation TypeMulti-year Fund
Review Section Medium-sized Section 9:Education and related fields
Research InstitutionKyushu University

Principal Investigator

亀井 靖高  九州大学, システム情報科学研究院, 教授 (10610222)

Project Period (FY) 2022-06-30 – 2025-03-31
Project Status Granted (Fiscal Year 2023)
Budget Amount *help
¥6,240,000 (Direct Cost: ¥4,800,000、Indirect Cost: ¥1,440,000)
Fiscal Year 2024: ¥1,820,000 (Direct Cost: ¥1,400,000、Indirect Cost: ¥420,000)
Fiscal Year 2023: ¥2,470,000 (Direct Cost: ¥1,900,000、Indirect Cost: ¥570,000)
Fiscal Year 2022: ¥1,950,000 (Direct Cost: ¥1,500,000、Indirect Cost: ¥450,000)
Keywordsプログラミング教育 / 自動デバッグ / デバッグ支援 / バグ埋め込み / コンパイルエラー
Outline of Research at the Start

本研究の目的は,プログラミング初学者のつまずきを減らし,反復学習を後押しできるプログラミング学習支援をフルオートメーションで実現する技術の創出である.プログラミングは今後,大学教育だけでなく広く社会で学ばれる素養である.本研究では,持続可能な社会の一環である社会に開かれた教育の実現として,誰でもアクセスできるオンライン環境で,いつでもプログラミングを学べる環境の実現を目指す.

Outline of Annual Research Achievements

昨年度から継続して今年度も,学習者の実行ログに対して,深層学習モデルや大規模言語モデルを適用し,コンパイルエラーを自動修正する技術の性能評価を行った.大規模言語モデルの著しい進歩の動向を注視しながら,主に下記の実績が得られた.

1.大規模言語モデルに対する修正性能の調査: 昨年度,初学者支援ツールへのGPT-3.5の適用に向けた初期評価として,九州大学の学生のデータを用いて調査を行った.その結果,GPT-3.5は先行研究である自動プログラム修正技術よりも10%以上高い精度での修正を行うことがわかった.今年度は,さらにその調査を深堀し,GPT3.5を用いてプログラム修正が可能であったもの,修正ができなかったものに対して目視調査を行った.調査の結果,GPT3.5はスコープや未定義変数に関するエラーの修正に苦戦することがわかった.また,GPT3.5は関数名や変数名を修正の内容を決定するために使用している可能性があることがわかった.

2.大規模言語モデルのプロンプトの影響に関する調査:大規模言語モデルの特徴の1つに,入力として与えるプロンプトによって,出力に違いが出ることがある.本調査では,競技プログラミングコンテストのAtCoder Beginner Contestの難易度がA, B, C, Dから合計756問を収集して,GitHub Copilotの性能に影響を与えるプロンプトの項目を調べた.調査の結果,問題文が最も性能に影響を与えることがわかった.また,入力例か入出力の仕様が大きい影響を与えることがわかった.

Current Status of Research Progress
Current Status of Research Progress

2: Research has progressed on the whole more than it was originally planned.

Reason

「プログラミング初学者のつまずきの減らし」のコア部分であるコンパイルエラーの自動修正に対して昨年度に得られた結果を深堀し,修正できるものとできないものの分類を行うことができた.また,その内容を研究会において発表できた.それ以外の内容に関しても国際会議で発表予定であり,研究の進捗として順調に進展していると考える.

Strategy for Future Research Activity

現在までの進捗状況は,おおむね順調に進展している.ただし,大規模言語モデルの著しい進歩に関する動向を把握し,適宜,研究の推進方策を見直す.また,今年度でも行ったように,今後も国内外の研究会に積極的に参加し(オンライン開催を含む),多面的に意見を取り入れることで問題の早期解決を目指す.デバッグ問題の自動生成のための疑似バグ生成に関しても注力したい.

Report

(2 results)
  • 2023 Research-status Report
  • 2022 Research-status Report
  • Research Products

    (25 results)

All 2024 2023 Other

All Int'l Joint Research (2 results) Journal Article (5 results) (of which Int'l Joint Research: 5 results,  Peer Reviewed: 5 results,  Open Access: 5 results) Presentation (17 results) (of which Invited: 1 results) Remarks (1 results)

  • [Int'l Joint Research] University of Waterloo(カナダ)

    • Related Report
      2023 Research-status Report
  • [Int'l Joint Research] USI(スイス)

    • Related Report
      2023 Research-status Report
  • [Journal Article] Repeated Builds During Code Review: An Empirical Study of the OpenStack Community2023

    • Author(s)
      Maipradit Rungroj、Wang Dong、Thongtanunam Patanamon、Kula Raula Gaikovina、Kamei Yasutaka、McIntosh Shane
    • Journal Title

      Proc. of the IEEE/ACM International Conference on Automated Software Engineering (ASE)

      Volume: 1 Pages: 153-165

    • DOI

      10.1109/ase56229.2023.00030

    • Related Report
      2023 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] The Human Side of Fuzzing: Challenges Faced by Developers during Fuzzing Activities2023

    • Author(s)
      Nourry Olivier、Kashiwa Yutaro、Lin Bin、Bavota Gabriele、Lanza Michele、Kamei Yasutaka
    • Journal Title

      ACM Transactions on Software Engineering and Methodology

      Volume: 33 Issue: 1 Pages: 1-26

    • DOI

      10.1145/3611668

    • Related Report
      2023 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] Understanding the Role of Images on Stack Overflow2023

    • Author(s)
      Wang Dong、Xiao Tao、Treude Christoph、Kula Raula Gaikovina、Hata Hideaki、Kamei Yasutaka
    • Journal Title

      Proc. of the IEEE/ACM International Conference on Mining Software Repositories (MSR)

      Volume: 1 Pages: 377-388

    • DOI

      10.1109/msr59073.2023.00059

    • Related Report
      2023 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] TraceJIT: Evaluating the Impact of Behavioral Code Change on Just-In-Time Defect Prediction2023

    • Author(s)
      Issei Morita, Yutaro Kashiwa, Masanari Kondo, Jeongju Sohn, Shane McIntosh, Yasutaka Kamei, Naoyasu Ubayash
    • Journal Title

      Prof. of the IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER)

      Volume: 1 Pages: 1-10

    • Related Report
      2023 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] Towards Privacy Preserving Cross Project Defect Prediction with Federated Learning2023

    • Author(s)
      Hiroki Yamamoto, Dong Wang, Gopi Rajbahadur, Masanari Kondo, Yasutaka Kamei, and Naoyasu Ubayashi
    • Journal Title

      In Proceedings of International Conference on Software Analysis, Evolution, and Reengineering (SANER)

      Volume: 1 Pages: 1-12

    • Related Report
      2022 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Presentation] 量子プログラムにおけるSATDの分類と評価2024

    • Author(s)
      中村 悠人,石本 優太,勝部 瞭太,佐藤 直人,小川 秀人,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      KBSE
    • Related Report
      2023 Research-status Report
  • [Presentation] GitHub Copilotを用いたコード生成におけるプロンプト削除の影響調査2024

    • Author(s)
      戸井 裕規,小栁 慶,野口 広太郎,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      SIGSE
    • Related Report
      2023 Research-status Report
  • [Presentation] 大学プログラミング教育で発生したコンパイルエラーに対する GPT-3.5 による修正の特徴分析2024

    • Author(s)
      宇都宮 魁斗,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      SIGSS
    • Related Report
      2023 Research-status Report
  • [Presentation] TraceJIT:Just-In-Time バグ予測におけるソフトウェア のふるまいの変化が与える影響の調査2023

    • Author(s)
      森田 一成,柏 祐太郎,近藤 将成,Jeongju Sohn,Shane McIntosh,亀井 靖高,鵜林 尚靖
    • Organizer
      情報処理学会九州支部若手の会
    • Related Report
      2023 Research-status Report
  • [Presentation] GitHub Copilotを用いたコード生成におけるプロンプト削除の影響調査2023

    • Author(s)
      戸井 裕規,小栁 慶,野口 広太郎,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      情報処理学会九州支部若手の会
    • Related Report
      2023 Research-status Report
  • [Presentation] プログラム自動修正に向けた行単位のバグ予測手法の拡張とその評価2023

    • Author(s)
      和田 寛太,森田 一成,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      FOSE
    • Related Report
      2023 Research-status Report
  • [Presentation] GitHub Copilotを用いたコード推薦における入力言語の影響調査2023

    • Author(s)
      小栁 慶,野口 広太郎,王 棟,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      FOSE
    • Related Report
      2023 Research-status Report
  • [Presentation] 初学者のためのデバッグ作業支援に向けた大規模言語モデルの初期評価2023

    • Author(s)
      宇都宮 魁斗,秋山 楽登,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      FOSE
    • Related Report
      2023 Research-status Report
  • [Presentation] 自動プログラム修正のこれまでとこれから2023

    • Author(s)
      亀井 靖高
    • Organizer
      情報処理学会九州支部若手の会
    • Related Report
      2023 Research-status Report
    • Invited
  • [Presentation] Towards Robust Object Detection Models by Metamorphic Testing2023

    • Author(s)
      Jianhong Wang, Yuta Ishimoto, Masanari Kondo, Yasutaka Kamei, Naoyasu Ubayashi
    • Organizer
      情報処理学会研究会報告, ソフトウェア工学研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] OSS における Java のレコード・クラス利用実態の初期調査2023

    • Author(s)
      杉原 裕太, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      情報処理学会研究会報告, ソフトウェア工学研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] 自動プログラム修正に対する実行経路を考慮した自動テストケース生成の評価2023

    • Author(s)
      若松 昌宏, 松田 雄河, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      情報処理学会研究会報告, ソフトウェア工学研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] Dockerfileの開発を支援するインタラクティブツールの提案2023

    • Author(s)
      稲田 司, 石本 優太, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術報告, ソフトウェアサイエンス研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] プログラム自動修正に向けた行単位のバグ予測手法の提案2023

    • Author(s)
      和田 寛太, 山本 大貴, 森田 一成, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術報告, ソフトウェアサイエンス研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] 大規模言語モデルを用いた初学者のためのデバッグ作業支援の初期評価2023

    • Author(s)
      宇都宮 魁斗, 秋山 楽登, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術報告, ソフトウェアサイエンス研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] GitHub Copilotを用いたコード自動生成における入力データ順序の影響調査2023

    • Author(s)
      野口 広太郎, 小柳 慶, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術報告, 知能ソフトウェア工学研究会
    • Related Report
      2022 Research-status Report
  • [Presentation] 初学者支援を目的としたコードエディタにおけるPythonの型プレビュー機能実装2023

    • Author(s)
      友池 真輝, 沖野 健太郎, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術報告, 知能ソフトウェア工学研究会
    • Related Report
      2022 Research-status Report
  • [Remarks] 研究室ホームページ(PDF公開)

    • URL

      https://posl.ait.kyushu-u.ac.jp/~kamei/publications.html

    • Related Report
      2023 Research-status Report 2022 Research-status Report

URL: 

Published: 2022-07-05   Modified: 2024-12-25  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi