|
| 1 | +--- |
| 2 | +title: "DMP ’25 Week 03 Update by Harshit Verma" |
| 3 | +excerpt: "Week 3 focused on refining the AI prompt for better debugging suggestions, exploring UI ideas for displaying tips, and testing Sugar AI integration with Pippy." |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-06-23" |
| 6 | +slug: "2025-06-23-dmp-25-therealharshit-week02" |
| 7 | +author: "@/constants/MarkdownFiles/authors/harshit-verma.md" |
| 8 | +tags: "dmp25,sugarlabs,week03,therealharshit" |
| 9 | +image: "assets/Images/c4gt_DMP.png" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- markdownlint-disable --> |
| 13 | + |
| 14 | +# Week 02 Progress Report by Harshit Verma |
| 15 | + |
| 16 | +**Project:** [LLM-powered Debugger for Pippy](https://github.com/sugarlabs/Pippy/issues/95) |
| 17 | +**Mentors:** [Walter Bender](https://github.com/walterbender), [Ibiam Chihurumnaya](https://github.com/chimosky), [Kshitij Shah](https://github.com/kshitijdshah99) |
| 18 | +**Assisting Mentors:** [Devin Ulibarri](https://github.com/pikurasa) |
| 19 | +**Reporting Period:** 2025-06-16 - 2025-06-22 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | + |
| 25 | +- **Goal 1:** Refine the base prompt for debugging tips. |
| 26 | +- **Goal 2:** Explore multiple UX approaches for displaying debug output. |
| 27 | +- **Goal 3:** Test Sugar AI integration with Pippy. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## This Week’s Achievements |
| 32 | + |
| 33 | +1. **Refine the base prompt for debugging tips** |
| 34 | + - Refine the base prompt sent to the AI model to make debugging suggestions clearer and more relevant. |
| 35 | + - Iterated by testing different wording styles and instruction formats, which led to noticeably better model output. |
| 36 | + |
| 37 | +2. **Explore multiple UX approaches for displaying debug output** |
| 38 | + - Considered multiple UX designs for displaying debug tips, such as: |
| 39 | + * **Inline** messages near code lines. |
| 40 | + * A **side panel** exclusively for displaying suggestions.. |
| 41 | + * A **Dedicated Debugging Terminal** for interactive debugging. |
| 42 | + - Evaluated each method in terms of ease of integration, readability, and user experience. |
| 43 | + - Concluded that a dedicated debugging terminal offers the best balance of usability and flexibility. |
| 44 | + - Plan to design a UI mockup for this approach in the upcoming week. |
| 45 | + |
| 46 | +3. **Test Sugar AI integration with Pippy** |
| 47 | + - Successfully tested the connection between Pippy and Sugar-AI. |
| 48 | + - Verified that the Python code written in Pippy is extracted correctly, sent to the /ask-llm endpoint, and the response is generated. |
| 49 | + |
| 50 | +--- |
| 51 | + |
| 52 | +## Challenges & How I Overcame Them |
| 53 | + |
| 54 | +- **Challenge:** Crafting prompts that consistently lead to relevant and useful debugging suggestions. |
| 55 | + **Solution:** Studied prompt engineering best practices and experimented with structure, examples, and explicit instructions to guide the model better. |
| 56 | + |
| 57 | +- **Challenge:** Deciding how to present debug output in a child-friendly and non-intrusive way. |
| 58 | + **Solution:** Brainstorm some UI ideas, reviewed how other tools display feedback, and consulted with mentors on what would best align with the Sugar UX philosophy. |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +## Key Learnings |
| 63 | + |
| 64 | +- Gained deeper insight into prompt engineering and its impact on LLM output quality. |
| 65 | +- Developed a design-focused mindset for user-centric debugging tools. |
| 66 | + |
| 67 | +--- |
| 68 | + |
| 69 | +## Next Week’s Roadmap |
| 70 | + |
| 71 | +- Plan to design a UI mockup for debugging terminal. |
| 72 | +- Implement a first version of the debug output inside Pippy. |
| 73 | +- Collect feedback from mentors on debug message placement and design. |
| 74 | + |
| 75 | +--- |
| 76 | + |
| 77 | +**Note:** This week, I was mostly away from the keyboard, so I couldn’t dedicate as much time to coding as usual. |
| 78 | + |
| 79 | +--- |
| 80 | + |
| 81 | +## Acknowledgments |
| 82 | + |
| 83 | +Thank you to my mentors, the Sugar Labs community, and fellow contributors for your continued guidance and support! |
| 84 | + |
| 85 | +--- |
0 commit comments