{"id":19470547,"url":"https://github.com/prokil/anlp-grading-tools","last_synced_at":"2025-10-28T03:50:14.819Z","repository":{"id":46647558,"uuid":"411375459","full_name":"ProKil/anlp-grading-tools","owner":"ProKil","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-22T01:58:57.000Z","size":47,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T12:45:55.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProKil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-28T17:19:58.000Z","updated_at":"2023-09-01T19:00:16.000Z","dependencies_parsed_at":"2023-01-18T18:16:51.245Z","dependency_job_id":null,"html_url":"https://github.com/ProKil/anlp-grading-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ProKil/anlp-grading-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fanlp-grading-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fanlp-grading-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fanlp-grading-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fanlp-grading-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProKil","download_url":"https://codeload.github.com/ProKil/anlp-grading-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fanlp-grading-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281381647,"owners_count":26491160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T18:59:05.524Z","updated_at":"2025-10-28T03:50:14.803Z","avatar_url":"https://github.com/ProKil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grading tools for Advanced NLP (11-711)\n\n## Installation\n\nYou'll need `docker` and `unzip` to use this repo. For `docker`, visit the [official guide](https://docs.docker.com/get-started/) to get started. For `unzip`, you can install it on ubuntu via `sudo apt-get install unzip`.\n\nInstall the python package by \n```\ngit clone https://github.com/ProKil/anlp-grading-tools\ncd anlp-grading-tools\npip install -e .\n```\n\n\n## Usage\n\nTo evaluate your code, you'll need to change the environment variables in test.sh.\n\n`ANLP_TMP_DIR`: `mkdir` a new folder, e.g. `mkdir tmp`, and point this variable to the absolute path of the tmp folder. \n\n`SUBMISSION_DIR`: this should point to the folder containing your submission zip file. Note that the toolkit will automatically evaluate all zip files in the folder. \n\n`SCORES_DIR`: this should point to an empty folder. Your score will be logged in a text file there. \n\n`DATA_DIR`: this should point to the data folder of `minbert-assignment`.\n\nExample code to prepare the folders:\n```\nmkdir tmp\nmkdir scores\ncp -r path/to/minbert-assignment/data ./\nmkdir submission\ncp your/submission.zip submission\n```\n\nNow you can evaluate your code through `bash test.sh`, after which your scores are at `SCORES_DIR/andrewid`. \n\n## Troubleshooting\n\n1. You may find writing files inside `ANLP_TMP_DIR` and `SCORE_DIR` requiring permission. You can either use `sudo` or log into docker through `docker run -v FOLDER_TO_WRITE:/mnt -it --entrypoint /bin/bash anlp` and `cd /mnt` to write those files. \n2. You may experience other permission issues with docker. Please refer to [this page](https://docs.docker.com/engine/install/linux-postinstall/) to use docker without sudo.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprokil%2Fanlp-grading-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprokil%2Fanlp-grading-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprokil%2Fanlp-grading-tools/lists"}