AOSSIE-Org / AOSSIE-Org/EduAid
Missing frontend feedback and validation when MCQ generation from PDFs returns fewer or incomplete questions
- Lenguaje dominante
- JavaScript
- Estrellas
- 171
- Forks
- 423
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.