Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
`<!-- placeholder for codex to edit -->`
# Quiz Automation Feasibility Notes

## Scope
This repository now documents a safety-first assessment for browser automation requests involving online quizzes and multiple-choice forms.

## High-level conclusion
Building a Tampermonkey userscript that scrapes quiz content, sends questions to an LLM API, and auto-clicks answer options is technically feasible on many Moodle-like pages. However, using it to obtain or submit answers in an active assessment is typically unauthorized and may violate course rules, platform terms, and academic integrity policies.

## Safer alternative direction
A compliant approach is to build a **study-helper** script that:

1. Exports visible question text for personal review.
2. Produces explanations and confidence levels without auto-submitting answers.
3. Requires explicit user confirmation before any form interaction.
4. Keeps API keys out of the userscript (relay through a local backend).
5. Logs all actions and can be disabled per domain.

## Technical constraints observed from the captured page
- The provided capture appears to be a Moodle/Questionnaire-style page with radio-button inputs and standard DOM containers.
Comment on lines +18 to +19

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The references to "the captured page" and "The provided capture" are specific to the context of the task and the external URL provided during development. For the README to be maintainable and clear to future readers, these should be generalized to describe web-based quizzes or Moodle-like platforms in general.

Suggested change
## Technical constraints observed from the captured page
- The provided capture appears to be a Moodle/Questionnaire-style page with radio-button inputs and standard DOM containers.
## Technical constraints for web-based quizzes
- Moodle/Questionnaire-style pages typically utilize radio-button inputs and standard DOM containers.

- Automated selection would likely be possible via DOM queries and dispatching click/change/input events.
- Session and anti-automation controls (tokens, timing checks, and grading-side validation) can still block or flag scripted interactions.

## Security and privacy concerns
- Network captures can include sensitive session identifiers; never reuse or share them.
- Embedding LLM API keys directly in Tampermonkey scripts is unsafe.
- Sending full quiz content to third-party APIs may breach privacy or policy requirements.

## Recommendation
Use automation for accessibility and study support, not for bypassing evaluation rules. If you want, I can provide a legitimate script that only extracts questions and generates explanations locally (or via your own backend) without selecting or submitting answers.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The phrasing "If you want, I can provide..." is conversational and appears to be an artifact from an LLM response. Documentation should use a declarative and impersonal tone.

Suggested change
Use automation for accessibility and study support, not for bypassing evaluation rules. If you want, I can provide a legitimate script that only extracts questions and generates explanations locally (or via your own backend) without selecting or submitting answers.
Use automation for accessibility and study support, not for bypassing evaluation rules. Legitimate implementations should only extract questions and generate explanations locally (or via a secure backend) without selecting or submitting answers.