AI Agent Hub
Back to plugins
⚙️

exam-paper-plugin

Workflow Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install elegymythos/exam-paper-plugin

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install elegymythos/exam-paper-plugin in DeepSeek Harness to install this plugin; the full source is available at https://github.com/elegymythos/exam-paper-plugin .

About this plugin

Composing an exam usually means hunting through Word and PDF files, picking questions by hand, adjusting the layout, and leaving room for writing—tedious and easy to repeat the same items. exam-paper-plugin collapses that into a single Agent prompt: upload a question file and it auto-detects multiple-choice, fill-in-the-blank, true/false, long-answer, and essay items, then generates a printable .docx and .html exam with configurable headers, two-column choice layout, and writing gaps. WMF/EMF formula images are even rendered as PNG previews in the HTML output.

The real differentiator is the built-in pure-Python smart question engine. Multi-view feature extraction, HDBSCAN clustering, FAISS vector indexing, and MMR diversity reranking all run locally, so you never pay LLM token costs just to skim through an entire question bank on every request. Cluster explanations support human labeling at the group level rather than item-by-item annotation, and a versioned evaluation suite tracks clustering quality, retrieval hit-rate, and system performance across parameter changes and data growth.

It suits teachers and curriculum teams who assemble exams repeatedly, as well as developers who want a reproducible, local question-retrieval step inside an LLM workflow. The base parser needs zero third-party dependencies, while the smart engine runs in an isolated .venv, so the two layers can be adopted independently without interfering with each other.

Use Cases

  • Upload a .docx or .pdf question file and get a printable exam with writing gaps and two-column choices in one prompt
  • Use local clustering and vector search to select diverse questions from a bank, cutting LLM token usage
  • Run the smart engine CLI standalone to benchmark clustering quality, retrieval hit-rate, and cross-version performance

Best For

  • Teachers and curriculum teams who assemble exams on a recurring basis
  • Developers adding a local, reproducible question-retrieval step to an LLM pipeline
  • Educational institutions that want offline, version-controlled question-bank tooling