Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xk1h0/usable_code_assistant_extension
usable_code_assistant_extension
https://github.com/0xk1h0/usable_code_assistant_extension
Last synced: about 1 month ago
JSON representation
usable_code_assistant_extension
- Host: GitHub
- URL: https://github.com/0xk1h0/usable_code_assistant_extension
- Owner: 0xk1h0
- License: mit
- Created: 2023-12-22T08:48:39.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-23T04:05:12.000Z (11 months ago)
- Last Synced: 2023-12-23T10:50:46.655Z (11 months ago)
- Language: Python
- Size: 19.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## UserStudy (AI-powered Coding Assistant tools)
#### The source code for the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=0X4N0NYM0U5.UserStudy-CodingAssistant) used in
#### \[IEEE S&P 2024 (TBA)\] [Poisoned ChatGPT Finds Work for Idle Hands: Exploring Developers' Coding Practices with Insecure Suggestions from Poisoned AI Models](https://arxiv.org/abs/2312.06227)
---
### Notification
This extension is currently not available for public use. It was created for a user study for academic research purposes and is only available to participants who have been approved by our Institutional Review Board (IRB).### About Our Extension
1. Languages Supported
This extension currently only supports Python, but we plan to add additional languages in future releases.2. Modules Trained On
The model used in our extension was trained on Python code, covering the tasks used in our user study.3. How Extension Works
Our extension uses a large language model (LLM) called [CodeGen] to generate or complete code. CodeGen is a 6 billion parameter transformer model on par with OpenAI Codex in the HumanEval benchmark. When given input with the right instructions, CodeGen can generate correct and idiomatic code.#### Extension Usage Example
To use the extension, you can type a sentence that describes the code you want to generate, followed by # Please write a code to ... and then press Enter. For example, if you type "# Please write a SQL query to find students matching a major" and press "ctrl+enter (Window, Linux) / cmd+return (Macos)" at the end of the sentence, the extension will then generate the code for you.#### We do not recommend installing this extension if you do not participate in our user study.
[CodeGen]: https://github.com/salesforce/CodeGen/tree/main/codegen1
---
## Citation
```latex
@article{oh2023poisoned,
title={Poisoned ChatGPT Finds Work for Idle Hands: Exploring Developers' Coding Practices with Insecure Suggestions from Poisoned AI Models},
author={Oh, Sanghak and Lee, Kiho and Park, Seonhye and Kim, Doowon and Kim, Hyoungshick},
journal={arXiv preprint arXiv:2312.06227},
year={2023}
}
```