A Python library for checking common errors in multiple-choice questions (MCQs)
Project description
AI Q Insights
This library checks for common errors in multiple-choice questions (MCQs), including ambiguity, unequal option lengths, and duplicate questions.
Installation
You can install the library via pip:
pip install aiq_insight
# Sample MCQs
mcq1 = MCQ(
question_text="What is the capital of France?",
options=["Paris", "London", "Berlin", "Rome"],
correct_option_index=0
)
mcq2 = MCQ(
question_text="Paris is the capital of which country?",
options=["France", "Germany", "Italy", "Italy"],
correct_option_index=0
)
# Initialize checker
aiq_insights = MCQChecker()
# Analyze individual questions
result1 = aiq_insights.analyze_question(mcq1)
result2 = aiq_insights.analyze_question(mcq2)
print("Question 1 Analysis:", result1)
print("Question 2 Analysis:", result2)
# Analyze question set for duplicates
result_set = aiq_insights.analyze_question_set([mcq1, mcq2])
print("Question Set Analysis:", result_set)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiq_insights-0.1.0.tar.gz
(4.0 kB
view details)
File details
Details for the file aiq_insights-0.1.0.tar.gz.
File metadata
- Download URL: aiq_insights-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbf2c325d1fe70b90440ecbd9c4b8ee120618689a788019467cf9e345e1ee991
|
|
| MD5 |
dd3b78530da9819abe7a9b2eb9329ef9
|
|
| BLAKE2b-256 |
cbeb61a97f69221cb172b83845975cd1d5ed98d7515f63a4a885e438166d3961
|