AOSSIE-Org / AOSSIE-Org/EduAid

[GOOD FIRST ISSUE]: main.py too large and hard to maintain

オープン
#603 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue
主要言語
JavaScript
スター
171
フォーク
425
PR マージ指標
30日以内にマージされた PR はありません

説明

### Context

The `main.py` file has grown to ~800 lines with multiple responsibilities.

### Problems
- Difficult to navigate and maintain
- Multiple unrelated classes in a single file
- Hard to test and extend

### Affected Files
- backend/Generator/main.py

### What Needs to Be Done

- Split large `main.py` into focused modules:
- question_generators.py
- answer_predictor.py
- utilities.py
- advanced_qa.py
- Updated `server.py` imports to use new structure
- Preserved all existing logic and functionality

### Resources

- [Contribution Guide - Start Here!](https://github.com/AOSSIE-Org/TODO/blob/main/CONTRIBUTING.md)
- [Discord Channel](https://discord.gg/hjUhu33uAn)

### Getting Started

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have read the [Contribution Guide](https://github.com/AOSSIE-Org/Template-Repo/blob/main/CONTRIBUTING.md)
- [x] I understand this issue is assigned on a first-come, first-served basis

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。