Skip to content

[011] Solution N7QV7#81

Open
Ilia Alenabi (iliall) wants to merge 1 commit into
mainfrom
task-011/sol-N7QV7
Open

[011] Solution N7QV7#81
Ilia Alenabi (iliall) wants to merge 1 commit into
mainfrom
task-011/sol-N7QV7

Conversation

@iliall

Copy link
Copy Markdown
Collaborator

Agent-Generated Summary

Built a Python Flask backend service for a language learning app. Created assets/questions.json with two Spanish-to-English lessons, each with five exercise types: multiple choice, matching pairs, word ordering, fill-in-the-blank, and typed translation. Implemented REST API with endpoints for listing lessons, starting lessons, submitting exercises, exiting mid-lesson, viewing current exercise, and resetting state. Session state persists across server restarts via a JSON file. Lesson 2 is locked until Lesson 1 is completed with at least 4 out of 5 correct, after which it remains permanently unlocked. Exercise results are tracked and displayed as completion status with scores. All edge cases including typed translation normalization, mid-lesson position saving, and lesson retries were verified through testing.


Completion time: ~315 seconds


This pull request is solution N7QV7 for issue #11.

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.

1 participant