AOSSIE-Org / AOSSIE-Org/EduAid
Missing frontend feedback and validation when MCQ generation from PDFs returns fewer or incomplete questions
- 主要言語
- JavaScript
- スター
- 171
- フォーク
- 423
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Bug Description
When generating MCQs from PDF inputs, the frontend does not provide clear feedback
if fewer questions are generated than requested. In some cases, incomplete MCQs
(e.g., missing options or incorrect context) are displayed without any warning.
This behavior can confuse users and make it difficult to distinguish between
backend limitations and frontend handling issues.
### Steps to Reproduce
1. Upload a PDF file with sufficient textual content
2. Select a page range (e.g., 10–15)
3. Choose the PDF input option
4. Request generation of 10 MCQs
5. Observe the generated output
### Logs and Screenshots
No frontend console errors observed.
Issue appears to be related to frontend handling of API responses.
(Attach screenshots showing:
- Requested MCQ count vs generated count
- Incomplete MCQs if visible)
### Environment Details
OS: Windows / Linux / macOS
Browser: Chrome / Firefox
Frontend: React
Project: EduAid
### Impact
High – major functionality broken
### Code of Conduct
- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。