An open API service indexing awesome lists of open source software.

https://github.com/anon767/stacklstmfixcode

StackLSTM to fix buggy code
https://github.com/anon767/stacklstmfixcode

Last synced: 6 months ago
JSON representation

StackLSTM to fix buggy code

Awesome Lists containing this project

README

          

# StackLSTMFixCode

This repository includes a StackLSTM model which combines a Stack and a LSTM. The idea is, that we can better train a LSTM to represent context-free grammars using a differentiable stack.
Using this premise, we can learn to fix buggy or vulnerable C code.

## Train

```
pip install -r requirements.txt
python3 main.py
```

## Dataset

The dataset consists of NVD code before and after a patch