# 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).
Raw data
{
"_id": null,
"home_page": "https://github.com/oscarvalenzuelab/botsniffer",
"name": "botsniffer",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Oscar Valenzuela B.",
"author_email": "alkamod@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/73/4e/5d88a2451bf71a666a9af2051e57e0f8992f598e9671554616f22fefeafc/botsniffer-0.1.tar.gz",
"platform": null,
"description": "# BotSniffer\n\nDetects source code generated by AI on projects using Machine Learning and \"Feature Extraction.\"\n\n## Usage\n\n### On the command line\n\nYou can use botsniffer in your terminal as command line. You need to train the tool before being able to detect code.\n\nI included some AI generated snippets, but you need to incorporate a bigger dataset in order to make it fully functional.\n\n```\n$ pip3 install botsniffer\n$ botsniffer ./ --train (will train using the code in the current directory. Any files with \"ai\" in the name will be taken as AI generated).\n$ botsniffer ./ --identify (will list feature extraction scores plus AI as True/False)\n\n## Notice\n\nThis tool does not provide legal advice; I'm not a lawyer.\n\nThe code is an experimental implementation. Refrain from relying on the accuracy of the output of this tool.\n\n## Contributing\n\nContributions are very welcome! See [CONTRIBUTING](CONTRIBUTING.md) for more info.\n\n## License\n\nThis code is licensed under the [Apache 2.0 License](LICENSE).\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Detects AI generated code using ML",
"version": "0.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "871dcb63ea7b3d263c23b45a4169d52749ad418fe8c976a228e864b7fa558f5b",
"md5": "48638ea28dee309e61d338ea9a3674a9",
"sha256": "ded83c45b61046e59cf7558034bb88957d7d000915ce4c5d5f57aa00d463f959"
},
"downloads": -1,
"filename": "botsniffer-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "48638ea28dee309e61d338ea9a3674a9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 14207,
"upload_time": "2023-04-23T11:07:27",
"upload_time_iso_8601": "2023-04-23T11:07:27.981827Z",
"url": "https://files.pythonhosted.org/packages/87/1d/cb63ea7b3d263c23b45a4169d52749ad418fe8c976a228e864b7fa558f5b/botsniffer-0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "734e5d88a2451bf71a666a9af2051e57e0f8992f598e9671554616f22fefeafc",
"md5": "3c51f847d793093a8f57058226e8a6c1",
"sha256": "944522e614d5240493daea5cbc4b0b3b5c9cd334fa545b3777fb8c2f6ed0445c"
},
"downloads": -1,
"filename": "botsniffer-0.1.tar.gz",
"has_sig": false,
"md5_digest": "3c51f847d793093a8f57058226e8a6c1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12408,
"upload_time": "2023-04-23T11:07:29",
"upload_time_iso_8601": "2023-04-23T11:07:29.904884Z",
"url": "https://files.pythonhosted.org/packages/73/4e/5d88a2451bf71a666a9af2051e57e0f8992f598e9671554616f22fefeafc/botsniffer-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-23 11:07:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "oscarvalenzuelab",
"github_project": "botsniffer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "botsniffer"
}