ROKH
← All recipes

Spot copied answers even after rewording or translation

parts checkedwith an AI agent

What you get

All submitted essays or test answers are compared by meaning; pairs that say the same thing in different words, or in another language, are listed for the teacher to look at.

Why this combination

Plagiarism checkers compare words; a multilingual meaning model catches the Russian original translated into Azerbaijani, and nothing is uploaded to a commercial database.

Parts

sentence-transformers GitHubTurns sentences into numbers that capture meaning, so similar texts in different languages end up close.licence: Apache-2.019,307 starslast update: November 25, 2026
paraphrase-multilingual-MiniLM-L12-v2 Hugging Face modelSmall multilingual meaning model (50+ languages incl. Russian; Azerbaijani is not on its list). Runs on a laptop.licence: Apache-2.024,694,758 downloads per monthlast update: January 28, 2026
duckdb GitHubA database in one file: SQL over CSV and Excel exports on your own computer.licence: MIT43,369 starslast update: November 26, 2026

What was checked

On November 26, 2026 a script checked all 3 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.

Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.

Limits, honestly

Similar is not proof of cheating; short or standard answers will look alike. The teacher decides.

How to start

It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.

Prompt for your AI agent

Build this for me: Spot copied answers even after rewording or translation.
What I want to get: All submitted essays or test answers are compared by meaning; pairs that say the same thing in different words, or in another language, are listed for the teacher to look at.

Use these open projects and data:
- sentence-transformers: https://github.com/huggingface/sentence-transformers (Apache-2.0)
- paraphrase-multilingual-MiniLM-L12-v2: https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 (Apache-2.0)
- duckdb: https://github.com/duckdb/duckdb (MIT)

Why this combination: Plagiarism checkers compare words; a multilingual meaning model catches the Russian original translated into Azerbaijani, and nothing is uploaded to a commercial database.
Known limits: Similar is not proof of cheating; short or standard answers will look alike. The teacher decides.

Run it on my computer. Tell me first what you will install and where.
Explain each step in plain words for someone who does not program.
Do not ask me for passwords or keys and do not use administrator rights.
Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first.
When it works, tell me how to open it again. If something does not work, say so plainly.

Fits

Teaching and coursesHR and hiring