Skip to main content

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


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.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file aiq_insights-0.1.1.tar.gz.

File metadata

  • Download URL: aiq_insights-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.10

File hashes

Hashes for aiq_insights-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f6eb89fdf017812fc988316708d0990090d3d913cf37d03a5466fa5556f9253
MD5 9c5cd793faaabae211132a9fb6a1ab38
BLAKE2b-256 5dc3bef992c5396dff5fe0027f4069b76af02f6dcbabae1a87148d7396ec6b98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page