Skip to content

Question ingestion via csv#12

Draft
alfredoedye wants to merge 4 commits intomasterfrom
cursor/AP-45-question-ingestion-via-csv-0e5a
Draft

Question ingestion via csv#12
alfredoedye wants to merge 4 commits intomasterfrom
cursor/AP-45-question-ingestion-via-csv-0e5a

Conversation

@alfredoedye
Copy link
Contributor

Adds a new Flask application for CSV-based question ingestion into a PostgreSQL database, providing a web UI for bulk question import to the Aprendiz platform.


Linear Issue: AP-45

Open in Cursor Open in Web

cursoragent and others added 4 commits January 23, 2026 19:58
- Created Flask-based web application for CSV upload and processing
- Implemented PostgreSQL database schema for questions storage
- Added comprehensive data validation for CSV imports
- Built modern web UI with drag-and-drop file upload
- Included RESTful API endpoints for upload, stats, and queries
- Added Docker Compose setup for easy deployment
- Created sample CSV files with 25 diverse questions
- Implemented bulk import with error handling and reporting
- Added health check and monitoring endpoints
- Included detailed documentation and testing script

Features:
- Validates required fields (question_text, answer_options, correct_answer)
- Supports optional fields (category, difficulty, explanation, tags)
- JSON validation for answer options
- Difficulty level validation (easy, medium, hard, expert)
- Import logging and statistics tracking
- Real-time feedback on import success/failures
- Indexed queries by category and difficulty

Tech Stack:
- Python 3.11 with Flask
- PostgreSQL 16
- Docker & Docker Compose
- Modern vanilla JavaScript UI

Co-authored-by: alfredo.edye <alfredo.edye@bitlogic.io>
Co-authored-by: alfredo.edye <alfredo.edye@bitlogic.io>
Co-authored-by: alfredo.edye <alfredo.edye@bitlogic.io>
Complete implementation summary including:
- All deliverables and features
- Architecture overview
- Testing results (100% pass rate)
- Deployment instructions
- File structure and metrics
- Security and performance notes
- Shape Up methodology alignment
- Handoff notes for all stakeholders

Ready for PR and review.

Co-authored-by: alfredo.edye <alfredo.edye@bitlogic.io>
@cursor
Copy link

cursor bot commented Jan 23, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants