/AI-Writing-Detection

This tool will parse the inputted text into many different existing AI writing detection tools and return the results to you. This is to be able to scan text with as many tools as possible without having to do it manually.

Primary LanguagePython

AI-Writing-Detection

This tool will parse the inputted text into many different existing AI writing detection tools and return the results to you. This is to be able to scan text with as many tools as possible without having to do it manually.

Please note that this is not finished yet.

Requirements

Python 3.11.2 or later
Chrome 114
Pip 22.0.1 or later

How to install

  1. Download the zip file of this entire project
  2. Extract the zip file
  3. open CMD in the folder, and run "pip install -r requirements.txt"
  4. Install Chrome v.114 (https://www.filepuma.com/download/google_chrome_64bit_114.0.5735.199-35569/)

How to use

  1. Create a txt file(s) with text that you want to be checked. If you have multiple of thse files, have them all in the same folder.
  2. Read. and configure the settings of the Python script, located at the complete top of the script
  3. Run the python script in your preffered way (via CMD, IDE, etc)
    If you want to run the script through CMD, open CMD in the folder. You can also open the CMD normally and navigate to the folder via cd (for example "cd C:\Users\MeLikeFish\Documents\AI-Writing-Detection").
    Then type in "python main.py".
  4. Enter the txt path of the txt file you want to be checked (for example C:\Users\MeLikeFish\Documents\to-check.txt), or the folder with multiple txt files (for example C:\Users\MeLikeFish\Documents\folder-of-txt-files-to-check). There can be no speecial symbols in the path. The path has to be raw unedited from the file explorer, do not add ANY extra characters.

Notes

If you find a bug, or are facing a lot of "Unavaible/Error", before opening a issue, please recreate the bug & enable debug mode (at the start of the script). Then copy the output.
If you are getting a lot of "Unavaible", it may be due to a slow internet connection or a slow computer. Highten the number next to "load_time" to increase the ammount of time the script gives to let the websites load. Please note that while this will probably fix this issue, it will also take longer for the script to run.

Avoiding Detection

There are many ways to avoid detection. Some include automated ways; for example first typing
"When it comes to writing content, two factors are crucial, "perplexity" and "burstiness." Perplexity measures the complexity of text Separately, burstiness compares the variations of sentences. Humans tend to write with greater burstiness, for example, with some longer or complex sentences alongside shorter ones. AI sentences tend to be more uniform. Therefore, when writing the following content I am going to ask you to create, I need it to have a good amount of perplexity and burstiness. Do you understand?"

Another way to avoid detection is to ask the AI itself to search on how to avoid detection, and then make it follow those reccomendations.
People can also only use the AI as input, and write the text themselves.

This is to say that these tools will not detect all text written by AI, and they may also flag content wrongly.
In the position of an educator, before making a conclusion, I would invite the student to my office and let them tell me about the text they written, the procces, the subject at hand, and other associated information. If the student can not respond well to your questions, it is likely that they did not write the text themselves.
As AI Writing has gotten so advanced, it has become increidbly harad to detect tools that are made for avoiding these checks. Without interviewing the student, you can also check the document's edit history (On for example google docs) to check for large ammounts of text being pasted in.

List of Supported Tools

(and their limitations)

Grammica AI Detector

https://grammica.com/ai-detector
Character Limits: None
Uptime: Unknown
Accuracy: Unknown
Notes: DO NOT DISABLE. We use this to aslo get the ammount of characters, words, and sentences in the provided text.

AI Writing Check by Quill.org & CommonLit

The tool has been taken down due to advancments in AI text generation
https://aiwritingcheck.org/
Character Limits: 100-400 words
Uptime: Unknown
Accuracy: Unknown
Notes: Slows down program significantly. Adds 10+ seconds of proccesing time.

WRITER AI Content Detector

https://writer.com/ai-content-detector/
Character Limits: <1500 Characters
Uptime: Unknown
Accuracy: Unknown
Notes: None

ZeroGPT

https://www.zerogpt.com/
Character Limits: None
Uptime: Unknown
Accuracy: Unknown
Notes: This is NOT GPTZero that was features on many TV shows. This tool also advertises only against ChatGPT (which is not the only text generator out there).

ContentAtScale AI Detector

https://contentatscale.ai/ai-content-detector/
Character Limits: <25000 Characters
Uptime: Unknown
Accuracy: Unknown
Notes: None

WriteFull GPT-Detector

https://x.writefull.com/gpt-detector
Character Limits: None
Uptime: Unknown
Accuracy: Unknown
Notes: There is a daily quota for users that are not singed in. It is reccomended to create a account, and add the cookie to Selenium (WIP)

HiveModeration Text AI-Generated Content Detection tool

https://hivemoderation.com/ai-generated-content-detection
Character Limits: 750-8192 Characters
Uptime: Unknown
Accuracy: Unknown
Notes: Currently not functioning in headless as button not rendered in headless to prevent botting.

Copyleaks AI Content Detector

https://copyleaks.com/ai-content-detector
Character Limits: >150 Characters
Uptime: Unknown
Accuracy: Unknown
Notes: Often gets a error as cloudflare is used to prevent botting

StudyCorgi Chat GPT Detector for Essays

https://studycorgi.com/free-writing-tools/chat-gpt-detector/
Character Limits: <4500 Characters
Uptime: Unknown
Accuracy: Unknown
Notes: None