Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New functionality Added: Matching Type Questions #160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PriyamvadaShah
Copy link

This PR adds the feature for matching type questions in both the web app and the extension. The matching question type allows users to match questions with the correct answers. This will expand the variety of question formats available on the platform since it is widely used format in exams, quizzes, and practice sets.

Changes Implemented:
Web App:

-Added functionality to create type questions by adding a radio button in question selection page.
-Created a table-like matching section for Column A having terms and Column B having definitions.
-A section below the questions for answers.
-Generate PDF gives output like borderless columns Column A having terms and Column B having definitions.

Browser Extension:

-Added functionality to create type questions by adding a radio button in question selection page.
-Created a table-like matching section for Column A having terms and Column B having definitions.
-A section below the questions for answers.
-Generate PDF gives output like borderless columns Column A having terms and Column B having definitions.
(Same as web-app)

Backend Updates:

-Created an API to get matching type questions..
-Used the T5 model and tokenizer, Spacy is used to process the input_text into sentences.

Testing:

-Added a test for the matching type questions.

Why This Change Is Needed:
Engagement & Variety: This feature adds a new question type to the platform, enriching the overall quiz experience and making it more engaging for users.
Better Exam/Quiz Format Support: Matching questions are commonly used in many exams and quizzes. This feature makes the platform adaptable to these formats.

Screenshots :
Web App:


Capture_1
Capture_3
Capture_4
Capture_5

Extension:

Capture_6
Capture_7

@Aditya062003
Copy link
Contributor

Aditya062003 commented Jan 23, 2025

LGTM! pls share a screen capture of final flow too.

@PriyamvadaShah
Copy link
Author

PriyamvadaShah commented Jan 25, 2025

LGTM! pls share a screen capture of final flow too.

Sure thing! Here's the final flow. Hope you like it!

25.01.2025_17.04.04_REC.mp4

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.

3 participants