-
-
The Reading Vault landing page explaining the core philosophy.
-
The user dashboard showing overall stats and recent activity.
-
Step 1 of the word checker where users paste a sentence.
-
Step 2 where the user selects the specific word to analyze.
-
Step 3 where the user types their guess for the word's meaning.
-
The AI comprehension score and detailed breakdown of the user's guess.
-
The AI-generated etymology breakdown and example sentences for the word.
-
The option to save the analyzed word directly to the user's Vault.
-
The adaptive quiz interface testing the saved word in a new context.
-
The final quiz results screen showing a 100% score.
-
The Vault dashboard visualizing the user's progression over time.
Inspiration
As a student, I noticed that traditional vocabulary tools tend to focus on memorization. You see a word, memorize its definition, and often forget it a week later. But truly understanding a word means knowing how it functions in context, not just being able to repeat its definition. I wanted to build something that would help students develop that deeper understanding by challenging them to interpret words the way they naturally encounter them in books, articles, and everyday reading.
Educational Research & Validation
The central idea behind Reading Vault (that students can develop stronger vocabulary skills by learning to derive word meanings from context) is supported by educational research.
A foundational meta-analysis by Fukkink and de Glopper (1998), published in Review of Educational Research, examined 21 instructional treatments focused on deriving word meanings from context. The researchers found a medium positive effect size of 0.43 standard deviations. Their analysis also suggested that explicitly teaching students to use contextual clues was more effective than other instructional approaches or practice alone.
Additional research by van den Broek et al. (2018), published in Language Learning, explored the relationship between contextual learning and memory retrieval across three experiments. The researchers found that informative contexts helped learners understand unfamiliar words during practice, while retrieval practice with feedback led to better long-term retention and recognition of words in new contexts.
These findings helped shape Reading Vault's approach. Rather than immediately providing definitions, the platform asks users to interpret unfamiliar words using their surrounding sentences, provides feedback on their understanding, and allows them to revisit those words through quizzes featuring entirely new contexts. While these studies support the learning principles behind the platform, testing whether Reading Vault's specific implementation improves vocabulary comprehension and retention remains an important next step.
What it does
Reading Vault is a web platform designed to help users build vocabulary through contextual understanding rather than simple memorization.
Its main features include:
- Contextual Analysis: Users paste a sentence, select a word, and explain what they think it means. AI evaluates their response across three categories: Word Meaning, Contextual Fit, and Depth.
- Etymology Breakdown: The system breaks words down into their roots, prefixes, and suffixes, helping users understand their origins and structure.
- My Vault: Users can save words they have learned to their personal Vault. Saved words are automatically organized by part of speech, including nouns, verbs, and adjectives.
- Adaptive Quizzes: Users can test themselves using words from their Vault. Instead of reusing the original sentences, the platform generates new fill-in-the-blank questions to test whether users can recognize words in unfamiliar contexts. Each question includes three distractors from the same part of speech and a brief explanation of why the answer was correct or incorrect.
- Progress Tracking: Users can monitor their comprehension scores over time through interactive Chart.js graphs. The platform also includes an admin dashboard for viewing overall usage and analyzing percentage changes across custom date ranges.
How we built it
I developed Reading Vault as a full-stack web application, using Flask (Python) for the backend and PostgreSQL, hosted on Neon, for database management.
The frontend was built with HTML, CSS, and vanilla JavaScript, with Jinja2 handling templating. I used Chart.js for data visualization and Flask-Login to manage user authentication and sessions.
For the AI functionality, I implemented a multi-provider architecture. Groq, using Llama-3 and GPT-OSS models, handles fast inference, while OpenAI (GPT-4o-mini) and Cohere serve as fallback providers. I also developed structured prompt pipelines that enforce consistent JSON responses and help maintain grammatical accuracy in generated quizzes. The application is deployed on Vercel.
Note on AI Usage: I used AI coding assistants (like ChatGPT/Claude) as an accelerator for boilerplate code and syntax troubleshooting. However, I acted as the lead architect. I designed the system architecture, the database schema, the multi-provider API fallback logic, and the hybrid quiz generation system. I also wrote the core prompt pipelines and manually debugged the timezone and CSP issues during deployment. Using AI allowed me to focus on the complex logic and system design rather than getting stuck on syntax.
Challenges we ran into
One of the biggest challenges was making sure the AI-generated quizzes were reliable. In early versions, the generated sentences sometimes allowed multiple answer choices to fit the blank, making the questions ambiguous. Simply asking an AI to generate a quiz wasn't enough.
I addressed this by developing a hybrid generation system. Rather than letting the AI choose every answer, the application pulls the target word and its distractors directly from the user's Vault. It also ensures that all four choices belong to the same part of speech. The AI is then responsible for generating a new sentence around the selected word. This gives the system more control over answer choices while still allowing it to create fresh contexts.
Another challenge was handling timezones correctly. I had to work through database inconsistencies to make sure user streaks and admin analytics remained accurate across different servers and timezones. Deploying to Vercel also required configuring Content Security Policy (CSP) rules so that the application could load its scripts while maintaining security.
Accomplishments we're proud of
The adaptive quiz engine is probably the part of Reading Vault I'm most proud of. Generating text with AI is relatively straightforward, but generating a reliable assessment is a different challenge. I spent considerable time refining the system so that it could pull words directly from a user's Vault, create entirely new sentences, generate grammatically consistent answer choices, and explain why an answer was correct or incorrect.
I'm also proud of the admin dashboard, particularly its date-range filtering and percentage comparison features. Together, these features helped turn Reading Vault from a basic vocabulary tool into a more complete learning platform.
What we learned
One of my biggest takeaways was that building an AI-powered application is about much more than connecting an API to a frontend. Getting a prototype to work is one thing; making it reliable enough for other people to use is another. I learned the importance of careful prompt engineering, error handling, database design, and user experience.
I also gained practical experience deploying Flask applications in a serverless environment, managing PostgreSQL connections, configuring application security, and using Git for version control. Most importantly, I learned to think beyond whether a feature works and consider whether it actually works well for the person using it.
What's next for Reading Vault
Moving forward, I plan to introduce spaced repetition algorithms so users can revisit words at appropriate intervals and improve long-term retention. I also want to develop a more advanced progress dashboard with additional insights into vocabulary growth and comprehension over time. Another major goal is expanding the AI capabilities to support ESL learners through native-language translations and more accessible explanations.
Ultimately, I want Reading Vault to become more than another vocabulary app. I want it to help people become better readers by teaching them how to understand language in context.
References
Fukkink, R. G., & de Glopper, K. (1998). Effects of instruction in deriving word meaning from context: A meta-analysis. Review of Educational Research, 68(4), 450–469. https://doi.org/10.3102/00346543068004450
van den Broek, G. S. E., Takashima, A., Segers, E., & Verhoeven, L. (2018). Contextual richness and word learning: Context enhances comprehension but retrieval enhances retention. Language Learning, 68(2), 546–585. https://doi.org/10.1111/lang.12285
Built With
- chart.js
- cohere
- css3
- flask
- flask-login
- groq
- html5
- javascript
- jinja
- llm
- neon
- openai
- postgresql
- python
- sqlalchemy
- vercel
- werkzeug