diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..4a8183d7 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,7 @@ + +Thank you for submitting a PR! Please replace this text with a high-level description of the PR. Also ensure the following for new publications: + + +- [ ] Files for new publications are in the `_publications` folder. +- [ ] The name of each file is `lastnameYEARfirstword.markdown`, _e.g._ `smith2019neural` for a Smith _et al._ paper title "A neural approach to the Universe". +- [ ] Consider using tags that already exist. We aim to avoid variations or introducing new ones when possible. This is to help searching across this literature review. diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f13646cb..b6e8d907 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,13 +19,18 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.8' architecture: x64 - name: Compute tSNE Embeddings run: | - python -m pip install transformers sklearn numpy - python -m pip install torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html + python -m pip install transformers scikit-learn numpy + python -m pip install torch==1.10.0+cpu -f https://download.pytorch.org/whl/torch_stable.html python ${{ github.workspace }}/etc/compute_embeddings.py ${{ github.workspace }}/_site/paper-abstracts.json ${{ github.workspace }}/_site/tsne.json + - name: Compute topics + run: | + python -m pip install nltk gensim scipy + python ${{ github.workspace }}/etc/compute_topics.py ${{ github.workspace }}/_site/paper-abstracts.json ${{ github.workspace }}/_site/topics.json + python ${{ github.workspace }}/etc/compute_related.py ${{ github.workspace }}/_site/paper-abstracts.json ${{ github.workspace }}/_site/publications-metadata/ - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..c3200447 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,22 @@ +# YAML 1.2 +--- +authors: + - + family-names: Allamanis + given-names: Miltiadis + orcid: "https://orcid.org/0000-0002-5819-9900" + - + family-names: Barr + given-names: "Earl T" + - + family-names: Devanbu + given-names: Premkumar + - + family-names: Sutton + given-names: Charles +cff-version: "1.1.0" +doi: "10.1145/3212695" +message: "For this live survey cite and the associated paper, please cite it as below." +repository-code: "https://ml4code.github.io/" +title: "A survey of machine learning for big code and naturalness" +... \ No newline at end of file diff --git a/_config.yml b/_config.yml index b99a8666..2b7f88d2 100644 --- a/_config.yml +++ b/_config.yml @@ -13,3 +13,6 @@ collections: plugins_dir: - jekyll-sitemap - jekyll-seo-tag + +sass: + style: compressed diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 1535bd8c..6e5e71b6 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,3 +1,4 @@ +Contribute to ML4Code