Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the readme #5

Merged
merged 7 commits into from May 30, 2022
Merged

Updated the readme #5

merged 7 commits into from May 30, 2022

Conversation

Aekalix
Copy link
Collaborator

@Aekalix Aekalix commented May 30, 2022

Read me can be found below:

Code4Me

Code4Me provides automatic intelligent code completion based on large pre-trained language models. Code4Me predicts statement (line) completion and is available for both PyCharm (also other JetBrains IDEs) and Visual Studio Code. The code suggestions from Code4Me can be recognised by the logo in the suggestion menu. Code4Me automatically triggers (on specific trigger characters) or the user can prompt it manually by pressing the keybind. The keybind differs per IDE:

  • Jetbrains: ALT + SHIFT + K
  • VSC: CTRL + SPACE

Code4Me does not hinder native auto completion or other extensions.

Installation

The plugin is available on both marketplaces. You can download them by either clicking the link in your browser or looking up 'Code4Me' in the integrated marketplace of your IDE.

JetBrains

The Code4Me plugin can be found in the JetBrains Marketplace.

VSC

The Code4Me plugin can be found in the Visual Studio Code Marketplace.

Data Collection

The plugin works with a remote API in order to suggest autocompletions. After triggering the autocompletion (automatically or manually), the client's request is sent to the server. Running the ML-based model, the server returns a prediction in response to the client. The remote API requires a segment of the current document (close left context at the trigger point). This limited segment is sent to the backend server only for prediction and will not be stored on our server.
For the purpose of evaluating the models' predictions, we only store the suggestion made by the ML-based models at each trigger point and compare it against the accepted prediction by users (collected after 30 seconds).

The plugin does not collect personal data nor the segment sent. The plugin does collect the following data:

  • Suggest autocompletion.
  • Verification of the autocompletion.
    • The plugin tracks the line the code was inserted and sends that line to the server after 30 seconds.
  • Inference time of completion.

Furthermore, Code4Me is in full compliance with the GDPR and all data is anonymous. The data collected will remain on the servers of TU Delft until the end of the study. By using Code4Me you give permission for the data collection.

Source Code

The source code for the IDE plugins and the API webserver can be found at our GitHub repository.

Copy link
Collaborator

@FrankHeijden FrankHeijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huts paar dingetjes

code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
code4me-server/markdowns/index.md Outdated Show resolved Hide resolved
Aekalix and others added 5 commits May 30, 2022 15:24
Co-authored-by: Frank van der Heijden <frank.boekanier@gmail.com>
Co-authored-by: Frank van der Heijden <frank.boekanier@gmail.com>
@mrkingmarc01
Copy link
Collaborator

nice 👍

Copy link
Collaborator

@FrankHeijden FrankHeijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Aekalix Aekalix merged commit ab0b3ca into main May 30, 2022
@Aekalix Aekalix deleted the feature/update-readme branch May 30, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants