|
| 1 | +--- |
| 2 | +title: "DMP ’25 Week 11 Update by Harshit Verma" |
| 3 | +excerpt: "This week I focused on implementing the `/debug` endpoint in Sugar-AI, which will serve as the backbone for the Pippy Debugger." |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-08-25" |
| 6 | +slug: "2025-08-25-dmp-25-therealharshit-week11" |
| 7 | +author: "@/constants/MarkdownFiles/authors/harshit-verma.md" |
| 8 | +tags: "dmp25,sugarlabs,week10,therealharshit" |
| 9 | +image: "assets/Images/c4gt_DMP.webp" |
| 10 | +--- |
| 11 | + |
| 12 | +<!-- markdownlint-disable --> |
| 13 | + |
| 14 | +# Week 11 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-08-11 - 2025-08-17 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | + |
| 25 | +- **Goal 1:** Implement a new `/debug` endpoint in **Sugar-AI**. |
| 26 | +- **Goal 2:** Ensure the endpoint integrates cleanly with the upcoming **Pippy Debugger**. |
| 27 | +- **Goal 3:** Raise a pull request for mentor review and feedback. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## This Week’s Achievements |
| 32 | + |
| 33 | +1. **Implemented `/debug` Endpoint in Sugar-AI** |
| 34 | + - Designed and developed a new API endpoint to handle debugging requests from the Pippy Debugger. |
| 35 | + - This forms the **core backend logic** enabling the LLM to analyze learners’ code and provide debugging help. |
| 36 | + - PR: [sugarlabs/sugar-ai/pull/28](https://github.com/sugarlabs/sugar-ai/pull/28) |
| 37 | + |
| 38 | +2. **Prepared Code for Integration with Pippy** |
| 39 | + - Structured the API so that it can be directly connected with the Pippy Activity. |
| 40 | + - This ensures seamless integration of Sugar-Ai with Pippy. |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +## Challenges & How I Overcame Them |
| 45 | + |
| 46 | +- **Challenge:** Defining a clean and scalable API design for debugging. |
| 47 | + **Solution:** Discussed with mentors, studied common debugging APIs, and created a minimal but extensible structure. |
| 48 | + |
| 49 | +--- |
| 50 | + |
| 51 | +## Key Learnings |
| 52 | + |
| 53 | +- Learned how to effectively work with LangChain for building modular and flexible AI pipelines. |
| 54 | +- Gained experience in implementing multiple LLM calls within a single chain to generate more context-aware and appropriate debugging responses. |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +## Next Week’s Roadmap |
| 59 | + |
| 60 | +- Further refine **debug responses** for edge cases based on mentors feedback. |
| 61 | +- Work on improving the debugger ui/ux if required. |
| 62 | +- Start the work on saving debug history to sugar journal. |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +## Resources & References |
| 67 | + |
| 68 | +**Repository** |
| 69 | +- [Pippy](https://github.com/therealharshit/Pippy/tree/DMP2025/Pippy-Debugger) |
| 70 | +- [sugar-ai](https://github.com/sugarlabs/sugar-ai) |
| 71 | +- [pippy-debugger-server](https://github.com/therealharshit/pippy-debugger-server) |
| 72 | + |
| 73 | +--- |
| 74 | + |
| 75 | +## Acknowledgments |
| 76 | + |
| 77 | +Thank you to my mentors, the Sugar Labs community, and fellow contributors for your continued guidance and support! |
| 78 | + |
| 79 | +--- |
0 commit comments