|
1 | 1 | --- |
2 | 2 | title: "DMP ’25 Week 06 Update by Harshit Verma" |
3 | | -excerpt: "" |
| 3 | +excerpt: "I added a new step to help students understand their code’s intent before debugging begins. I also worked on improving the terminal’s formatting and finalized Mistral 7B as the debugging model to be integrated with Sugar AI" |
4 | 4 | category: "DEVELOPER NEWS" |
5 | 5 | date: "2025-07-14" |
6 | 6 | slug: "2025-07-14-dmp-25-therealharshit-week06" |
@@ -66,9 +66,56 @@ image: "assets/Images/c4gt_DMP.png" |
66 | 66 | - Work on preparing a presentation as part of DMP midterm evaluation. |
67 | 67 |
|
68 | 68 | --- |
| 69 | + |
| 70 | +# Midterm Progress Report (6 Week Summary) |
| 71 | + |
| 72 | +## Project Objective |
| 73 | + |
| 74 | +The goal of this project is to enhance the Pippy learning environment by integrating an LLM-powered debugger. The debugger uses LLMs to provide readable, friendly suggestions for fixing broken code, helping young learners understand and improve their programs. |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | +## Technical Implementation |
| 79 | + |
| 80 | +- Set up a **FastAPI backend** (`/debug`) to handle Python code input. |
| 81 | + |
| 82 | +- Integrated **Hugging Face model** for generating debugging tips. |
| 83 | + |
| 84 | +- Created **Run & Debug** buttons in Pippy’s GTK interface. |
| 85 | + |
| 86 | +- Connected **Pippy** with the backend server via API. |
| 87 | + |
| 88 | +- Implemented a **Debug terminal** in the UI to display suggestions. |
| 89 | + |
| 90 | +- Developed a **basic Markdown parser** for formatted output in VTE. |
| 91 | + |
| 92 | +- Added a **Contextualization step** to show students what the code intends to do before debugging begins. |
| 93 | + |
| 94 | +--- |
| 95 | + |
| 96 | +## Research & Design |
| 97 | + |
| 98 | +- Explored multiple **UI layouts** for debug output. |
| 99 | + |
| 100 | +- Tested different **LLM prompts** for clarity and simplicity. |
| 101 | + |
| 102 | +- Held discussions on **Debugging best practices for children**. |
| 103 | + |
| 104 | +- Evaluated models and selected **Mistral 7B** for deployment via Sugar AI. |
| 105 | + |
| 106 | +--- |
| 107 | + |
| 108 | +## Project Demo |
| 109 | + |
| 110 | +Please watch the project demo to see the progress I've made so far. |
| 111 | +[Watch here](https://drive.google.com/file/d/1-FHfsd0YiOZ2Fb7V7HeSswcga89jEvos/view?usp=drive_link) |
| 112 | + |
| 113 | +--- |
| 114 | + |
69 | 115 | ## Resources & References |
70 | 116 |
|
71 | 117 | **Repository** |
| 118 | +- [Pippy](https://github.com/therealharshit/Pippy/tree/DMP2025/Pippy-Debugger) |
72 | 119 | - [sugar-ai](https://github.com/sugarlabs/sugar-ai) |
73 | 120 | - [pippy-debugger-server](https://github.com/therealharshit/pippy-debugger-server) |
74 | 121 |
|
|
0 commit comments