Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

BotSniffer

Detects source code generated by AI on projects using Machine Learning and "Feature Extraction."

Usage

On the command line

You can use botsniffer in your terminal as command line. You need to train the tool before being able to detect code.

I included some AI generated snippets, but you need to incorporate a bigger dataset in order to make it fully functional.

$ pip3 install botsniffer
$ botsniffer ./ --train (will train using the code in the current directory. Any files with "ai" in the name will be taken as AI generated).
$ botsniffer ./ --identify (will list feature extraction scores plus AI as True/False)

## Notice

This tool does not provide legal advice; I'm not a lawyer.

The code is an experimental implementation. Refrain from relying on the accuracy of the output of this tool.

## Contributing

Contributions are very welcome! See [CONTRIBUTING](CONTRIBUTING.md) for more info.

## License

This code is licensed under the [Apache 2.0 License](LICENSE).

Release files for botsniffer 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botsniffer 0.1
File Size Uploaded
botsniffer-0.1.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botsniffer 0.1
File Interpreter ABI Platform
botsniffer-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.6 kB

Release files / botsniffer-0.1.tar.gz

Download URL botsniffer-0.1.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
944522e614d5240493daea5cbc4b0b3b5c9cd334fa545b3777fb8c2f6ed0445c
BLAKE2b-256 checksum
How to use checksums
734e5d88a2451bf71a666a9af2051e57e0f8992f598e9671554616f22fefeafc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / botsniffer-0.1-py3-none-any.whl

Download URL botsniffer-0.1-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ded83c45b61046e59cf7558034bb88957d7d000915ce4c5d5f57aa00d463f959
BLAKE2b-256 checksum
How to use checksums
871dcb63ea7b3d263c23b45a4169d52749ad418fe8c976a228e864b7fa558f5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page