Skip to content

Commit 7f25b52

Browse files
Add more details and goals for the week
1 parent c6b44ae commit 7f25b52

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

src/constants/MarkdownFiles/posts/2025-08-30-dmp-25-therealharshit-week12.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,38 +24,56 @@ image: "assets/Images/c4gt_DMP.webp"
2424

2525
- **Goal 1:** Work on implementing saving debug history into the Sugar Journal.
2626
- **Goal 2:** Polish existing codebase in preparation for final review.
27+
- **Goal 3:** Improve the Markdown parser for more readable debug responses in the terminal.
28+
- **Goal 4:** Conduct end-to-end testing of the `/debug` endpoint.
2729

2830
---
2931

3032
## This Week’s Achievements
3133

3234
1. **Worked on saving the debugger response in the sugar journal**
33-
- Learn how the activity save the data in sugar journal using the `write_file()` and `read_file()` methods.
34-
- Current workflow only saves the source tab data, I implimented the logic to also save the terminal data.
35+
- Explored how activities interact with the Journal using the `write_file()` and `read_file()` methods.
36+
- Extended the default workflow (which only saves source tab data) to also capture **debugging terminal outputs**.
37+
- Designed a JSON-based structure to record **code, errors, and LLM responses** for each session.
3538

3639
2. **Refactoring of codebase**
37-
- Start to work on refactoring my committed code based on mentors feedback.
38-
- This ensures seamless integration of Sugar-Ai with Pippy.
40+
- Began cleaning up previously committed code based on mentor feedback.
41+
- Improved function naming, modularized some logic, and reduced redundancy.
42+
- Focused on ensuring **seamless integration between Sugar-AI and Pippy**, reducing chances of UI freeze or broken API calls.
43+
44+
3. **Markdown Parser Improvements**
45+
- Iterated on the custom Markdown parser to better format LLM responses.
46+
- Ensured that **bold keywords, bullet lists, and code snippets** appear cleanly in the GTK terminal.
47+
- Began testing rendering consistency with multiple LLM outputs.
48+
49+
4. **End-to-End Workflow Testing**
50+
- Tested the complete flow: Pippy code → API call to Sugar-AI → Debugging response → Display in terminal.
51+
- Verified data integrity across each step, ensuring nothing is lost or malformed in transmission.
3952

4053
---
4154

4255
## Challenges & How I Overcame Them
4356

44-
- **Challenge:** Understanding how sugar journal works.
45-
**Solution:** Discussed with mentors and studied the documentation.
57+
- **Challenge:** Understanding how the Sugar Journal stores and restores activity state.
58+
**Solution:** Based on discussion with my mentors I went through the Sugar toolkit documentation, experimented with other activities and learn about the `write_file()` and `read_file()` methods .
59+
60+
- **Challenge:** Formatting inconsistencies in Markdown parsing.
61+
**Solution:** Added step-by-step rendering checks and created a fallback for unrecognized Markdown syntax.
4662

4763
---
4864

4965
## Key Learnings
5066

51-
- Learned about the importance of journaling.
67+
- Learned about the importance of journaling.
68+
- Improved skills in **code refactoring**, focusing on maintainability and integration.
5269

5370
---
5471

5572
## Next Week’s Roadmap
5673

5774
- Raise the final PR for Pippy.
58-
- Prepare final project report.
75+
- Complete the **project final report** and submit for evaluation.
76+
- Write User docs and technical docs.
5977

6078
---
6179

0 commit comments

Comments
 (0)