Please enable JavaScript to use CodeHS

CodeHS Pro · Academic Integrity

Academic integrity so you can teach with confidence.

CodeHS supports authentic computer science learning at every level. Our Academic Integrity tools help you build a culture of honesty, prevent shortcuts before they happen, and surface the data you need when something looks off.

  • Every keystroke captured for replay
  • Side-by-side code similarity
  • One click to a plagiarism report
Our approach

Three principles that build and preserve integrity

01

Build a strong culture around honesty

A classroom culture of honesty empowers students to believe in themselves and value their own learning. Start the year with an open conversation about honesty and healthy collaboration to set the tone.

Start with the CodeHS Honor Code
02

Set up effective cheat-prevention safeguards

Layer in classroom-management safeguards that facilitate genuine learning. Protective measures give you confidence that every student is held to the same standards.

03

Monitor & detect potential issues with ease

When students overstep the bounds of appropriate collaboration, you have the tools and data to evaluate their work — including an individualized Plagiarism Report for anyone suspected of a violation.

See it in action

Tell copied code from honest work

Our Code Similarity tool compares two submissions line by line and scores how alike they are. Toggle between a flagged pair and an authentic pair below — it's a live, interactive demo.

Code Similarity
0%
code similarity

Student A

                        
Student B

                        
Identical Renamed / similar Unique to student
The toolkit

CodeHS tools to support your classroom

Plagiarism Report

Concerned a student may be violating the code of conduct? Generate a full report of a student's work to review for potential dishonesty. Evaluate their code with a complete breakdown of time spent, number of saves, and code similarity with other students.

Focus Mode

Immediately send all students to a designated activity. Focus Mode blocks students from navigating to any other CodeHS page, so everyone works on the same project at the same time — without reviewing past work or jumping ahead.

Code Replay

Review a student's entire code history. Concerned about a student's effort? Watch every keystroke play back as they progress toward their solution — see their corrections and bugs as they solve the challenge.

More safeguards

Additional Resources

Copy/Paste Prevention

Enable or disable student copy/paste capabilities on assignments in the CodeHS IDE.

Shuffle Quiz Questions

Configure quiz questions so they are ordered randomly for individual students.

Alternate Exercises

Subtly switch assignments in your CodeHS course while keeping the core concept and difficulty.

Time Tracking

Quickly see how much time students have spent on an assignment.

Code History

Review a student's full Code History and compare their time spent on an assignment.

Keep learning

Helpful Resources

Read Write Code Blog

Go to Blog

Artificial Intelligence in the Classroom with CodeHS Webinar

Watch

CodeHS Webinar: Cheat Detection and Prevention

Watch

Academic Integrity Center Overview

Learn More
Questions & answers

Frequently asked questions

How does CodeHS detect cheating or plagiarism in coding assignments?

CodeHS gives you several signals instead of a single yes-or-no. The Plagiarism Report scores how similar a student's code is to their classmates' and shows time spent and number of saves. Code Replay then plays the whole session back keystroke by keystroke, so you can see exactly how the work came together.

How does Focus Mode work?

Focus Mode locks your whole class onto one assignment at a time. With a single click, you send every student to a designated activity and block them from navigating to any other CodeHS page — so no one reviews past work, races ahead, or wanders off-task while you're teaching or giving a test.

Can I stop students from copying and pasting code?

Yes. CodeHS lets you turn off copy and paste inside the code editor on any assignment, so students can't drop in code from a classmate, a website, or an AI chatbot. Advanced settings let you fine-tune what's allowed — for example, permitting only long URL strings — so students can still paste when it's genuinely needed, without sneaking in snippets or answers they found online. And because it's set per assignment, you can lock down tests while leaving everyday practice open.

What can I see in a student's Code History and Code Replay?

Code History shows every saved version of a student's program over time, so you can track how their work progressed and how long they spent. Code Replay goes further and plays the session back keystroke by keystroke — you watch them write, hit bugs, and make corrections in real time, which makes it easy to tell genuine problem-solving from code that was pasted in all at once.

Upgrade to CodeHS Pro to access the full suite of Academic Integrity tools.

Questions? Contact our team at hello@codehs.com today.