Skip to content

Commit 582cde0

Browse files
committed
GSoC 25 week 12 update by Bishoy Wadea
1 parent f038b69 commit 582cde0

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
title: "GSoC '25 Week 12 Update by Bishoy Wadea"
3+
excerpt: "Sequence Wizard - AI-Powered Pattern Learning"
4+
category: "DEVELOPER NEWS"
5+
date: "2025-09-04"
6+
slug: "gsoc-25-BishoyWadea-week12"
7+
author: "@/constants/MarkdownFiles/authors/bishoy-wadea.md"
8+
tags: "gsoc25,sugarlabs,week12,BishoyWadea"
9+
image: "assets/Images/GSOC.webp"
10+
---
11+
12+
# Week 12 Progress Report by Bishoy Wadea
13+
14+
**Project:** [Sequence Wizard](https://github.com/Bishoywadea/Sequence-Wizard)
15+
**Mentors:** [Ibiam Chihurumnaya](https://github.com/chimosky)
16+
**Assisting Mentor:** [Walter Bender](https://github.com/walterbender/)
17+
**Reporting Period:** 2025-08-29 – 2025-09-04
18+
19+
---
20+
21+
## Goals for This Week
22+
23+
- **Develop new Sugar activity: Sequence Wizard**
24+
- **Implement AI-powered sequence prediction system**
25+
- **Create adaptive learning mechanism for pattern recognition**
26+
27+
---
28+
29+
## About Sequence Wizard
30+
31+
Sequence Wizard is an innovative AI-powered educational tool that learns to predict the next number in mathematical sequences. Unlike traditional pattern games, this activity features a sophisticated AI that improves its predictions through user feedback, creating a unique collaborative learning experience between student and machine.
32+
33+
---
34+
35+
## Achievements
36+
37+
### Core Framework
38+
39+
- **Activity Structure**
40+
Established basic Sugar activity framework with modular architecture
41+
[Commit](https://github.com/Bishoywadea/Sequence-Wizard/commit/eb35d55d322b75940b032b3e9b487d6105dd4c84)
42+
43+
- **Modular Design**
44+
Split prediction logic into separate files for better maintainability
45+
[Commit](https://github.com/Bishoywadea/Sequence-Wizard/commit/fbe7731cc4857d1e77193532ce14e125952a8b55)
46+
47+
![Sequence Wizard Interface](https://raw.githubusercontent.com/Bishoywadea/Sequence-Wizard/refs/heads/main/screen_shots/01.png)
48+
*Main interface showing sequence input and AI prediction*
49+
50+
### AI Learning System
51+
52+
- **Feedback Mechanism**
53+
Created user feedback system for training the AI
54+
[Commit](https://github.com/Bishoywadea/Sequence-Wizard/commit/1bc971e55d8876cb2ad356b0ead069150cbc43c8)
55+
56+
- **Data Persistence**
57+
Implemented saving of learned patterns for continuous improvement
58+
[Commit](https://github.com/Bishoywadea/Sequence-Wizard/commit/4a24130a28f56bcb23c0385dfe0d9ee7b493019c)
59+
60+
61+
![Learning in Action](https://raw.githubusercontent.com/Bishoywadea/Sequence-Wizard/refs/heads/main/screen_shots/02.png)
62+
*AI learning from user feedback on incorrect predictions*
63+
64+
---
65+
66+
## How It Works
67+
68+
1. **Enter Sequence**: Type numbers separated by spaces or commas
69+
2. **Get Prediction**: Click "Predict Next Number" to see AI's guess
70+
3. **Give Feedback**: Mark the prediction as Correct or Wrong
71+
4. **Teach AI**: If wrong, provide the correct answer to train the AI
72+
73+
---
74+
75+
## Challenges & Solutions
76+
77+
- **Challenge:** Creating an AI system that could learn from limited examples while being computationally efficient for XO laptops.
78+
79+
- **Solution:**
80+
- Implemented a hierarchical rule system that tries simple patterns first
81+
- Used lightweight pattern matching algorithms instead of heavy ML frameworks
82+
- Created a confidence scoring system to prioritize learned patterns
83+
- Optimized memory usage by storing only successful pattern templates
84+
85+
- **Challenge:** Making the AI's learning process transparent and educational for students.
86+
87+
- **Solution:**
88+
- Added visual feedback showing which rule the AI used for prediction
89+
- Implemented explanation system that shows the AI's "thinking process"
90+
- Designed the interaction to feel like teaching a friend rather than using a tool
91+
92+
---
93+
94+
## Key Learnings
95+
96+
- Developed understanding of pattern recognition algorithms and their educational applications
97+
- Learned to implement lightweight machine learning suitable for resource-constrained environments
98+
- Gained experience in creating interactive AI systems that learn from user feedback
99+
- Improved skills in designing educational tools that make abstract concepts tangible
100+
101+
---
102+
103+
## Technical Highlights
104+
105+
- **4-Level Hierarchy**: Rule-based system with increasing complexity levels
106+
- **Adaptive Learning**: AI improves accuracy through user corrections
107+
- **Pattern Memory**: Stores successful patterns for future recognition
108+
- **Lightweight Design**: Optimized for low-resource Sugar environments
109+
110+
---
111+
112+
## Next Week's Roadmap
113+
114+
- Begin development of new Sugar activity: **AI Organizer**

0 commit comments

Comments
 (0)