<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Balumohan B</title>
    <description>The latest articles on DEV Community by Balumohan B (@sarcasicum).</description>
    <link>https://dev.to/sarcasicum</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4158281%2Fabc3feea-08df-495c-80fa-1cb1c85939d4.png</url>
      <title>DEV Community: Balumohan B</title>
      <link>https://dev.to/sarcasicum</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sarcasicum"/>
    <language>en</language>
    <item>
      <title>I Built Question Bank Desk — a source-grounded CA study companion for my friend</title>
      <dc:creator>Balumohan B</dc:creator>
      <pubDate>Mon, 05 Oct 2026 06:55:21 +0000</pubDate>
      <link>https://dev.to/sarcasicum/i-built-question-bank-desk-a-source-grounded-ca-study-companion-for-my-friend-56ei</link>
      <guid>https://dev.to/sarcasicum/i-built-question-bank-desk-a-source-grounded-ca-study-companion-for-my-friend-56ei</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;Question Bank Desk&lt;/strong&gt;, a private, source-grounded CA exam study companion for a friend preparing from a collection of question-bank and subject PDFs.&lt;/p&gt;

&lt;p&gt;The problem was simple: question banks are useful, but searching through long PDFs to find a topic, understand a question, or confirm where an answer came from is slow and frustrating. My friend needed a study tool that could answer questions naturally without losing the connection to the original material.&lt;/p&gt;

&lt;p&gt;Question Bank Desk lets them ask things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Explain Question 12 step by step.”&lt;/li&gt;
&lt;li&gt;“Which topics appear in this question bank?”&lt;/li&gt;
&lt;li&gt;“Make a checklist of areas I should practise.”&lt;/li&gt;
&lt;li&gt;“Summarise the topics covered and show likely coverage gaps.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every answer is grounded in retrieved PDF passages and displays the source PDF, page number, and detected question number. It also supports multi-turn chat history, so a follow-up question can keep the same study context.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Try the live app here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://b8d1fa8753bee60739.gradio.live" rel="noopener noreferrer"&gt;Open Question Bank Desk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The interface is designed as a quiet study desk rather than a generic chatbot. It includes a source trail beside the conversation, analysis-oriented study prompts, and an animated Shan Shui–inspired landscape layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The full project is open source on GitHub:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Balumohan-B" rel="noopener noreferrer"&gt;
        Balumohan-B
      &lt;/a&gt; / &lt;a href="https://github.com/Balumohan-B/hacktoberfest" rel="noopener noreferrer"&gt;
        hacktoberfest
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;Question Bank Desk is built around open-source AI components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Qwen 2.5 Instruct&lt;/strong&gt; (&lt;code&gt;Qwen/Qwen2.5-3B-Instruct&lt;/code&gt;) for local answer generation through Hugging Face Transformers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BAAI BGE Small&lt;/strong&gt; (&lt;code&gt;BAAI/bge-small-en-v1.5&lt;/code&gt;) for semantic embeddings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FAISS&lt;/strong&gt; for fast local vector search over extracted PDF passages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PyPDF&lt;/strong&gt; for page-level PDF extraction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gradio&lt;/strong&gt; for the shareable web interface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shan Shui Infinite&lt;/strong&gt;, an MIT-licensed procedural JavaScript/SVG landscape project, for the decorative visual layer: &lt;a href="https://github.com/LingDong-/shan-shui-inf" rel="noopener noreferrer"&gt;LingDong-/shan-shui-inf&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ingestion pipeline reads PDFs page by page, detects question numbers when possible, chunks the text, generates embeddings, and stores the vectors in a persistent FAISS index.&lt;/p&gt;

&lt;p&gt;When a student asks a question, the app retrieves the most relevant passages before generating an answer. For summaries, checklists, topic maps, and coverage-analysis requests, it retrieves broader evidence and instructs the model to separate supported findings from gaps in the available material.&lt;/p&gt;

&lt;p&gt;I also treated the user experience as part of the build:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The newest answer stays in view after a query.&lt;/li&gt;
&lt;li&gt;Only the pending final reply shows a loading state.&lt;/li&gt;
&lt;li&gt;Previous messages remain visible during generation.&lt;/li&gt;
&lt;li&gt;The chat input has readable black text on a light background.&lt;/li&gt;
&lt;li&gt;Source cards make it easy to verify the answer rather than blindly trust it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation is the reason this project can be tailored to a real student instead of forcing their study material into a generic assistant.&lt;/p&gt;

&lt;p&gt;Using open-weight models and open-source retrieval tools means I can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;keep the PDF corpus and FAISS index under my own control;&lt;/li&gt;
&lt;li&gt;swap Qwen for another compatible Hugging Face model if hardware or quality needs change;&lt;/li&gt;
&lt;li&gt;improve the question-number parser for the exact layout of CA material;&lt;/li&gt;
&lt;li&gt;change the retrieval and study-analysis behavior without depending on a closed model provider;&lt;/li&gt;
&lt;li&gt;run the core workflow locally or on infrastructure I choose.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For this project, open source is not only a cost decision. It makes the assistant inspectable, adaptable, and much better suited to personal study material.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;A RAG app becomes more useful when it does more than answer one question at a time. The most valuable feature for this use case is the evidence trail: it helps a student move from “the chatbot said this” to “this came from this PDF, on this page, in this question.”&lt;/p&gt;

&lt;p&gt;I also learned that study analytics need to be honest. A tool should say when the retrieved evidence is incomplete instead of pretending it has mapped an entire syllabus.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;I am entering the overall Hacktoberfest Weekend Challenge: Build for a Friend.&lt;/p&gt;

&lt;p&gt;I am not claiming a partner category because this project does not use partner technology.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
