{"id":17720722,"url":"https://github.com/freed-wu/evaluate","last_synced_at":"2026-01-29T13:48:55.123Z","repository":{"id":135881243,"uuid":"257360184","full_name":"Freed-Wu/evaluate","owner":"Freed-Wu","description":"A backup of my class work.","archived":false,"fork":false,"pushed_at":"2020-05-08T09:09:52.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T06:46:44.954Z","etag":null,"topics":["classwork"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Freed-Wu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-20T17:47:49.000Z","updated_at":"2021-07-26T17:17:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"e41774f5-f35a-48b8-8520-72afe4c107fd","html_url":"https://github.com/Freed-Wu/evaluate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Freed-Wu/evaluate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fevaluate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fevaluate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fevaluate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fevaluate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freed-Wu","download_url":"https://codeload.github.com/Freed-Wu/evaluate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fevaluate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28878776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["classwork"],"created_at":"2024-10-25T15:28:57.028Z","updated_at":"2026-01-29T13:48:55.099Z","avatar_url":"https://github.com/Freed-Wu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# evaluate\nA backup of my class work.\n\n## Dependent ##\n\n1. [mysql](https://github.com/mysql/mysql-server).\n\n## Usage ##\n\n1. Put data into `csv`\n\n**Note**: Data type is `csv` not `tsv`, `xls`, `xlsx`, just because my\nconvenience. If not csv, `load date\ninfile'/home/wzy/Documents/evaluate/csv/*.csv'` in the code should be modify.\n\n*路径名应该改成相对路径的，别人电脑上怎么会有`wzy`这个文件夹呢……*\n\n```\n.\n├── 2020_2104.tsv\n├── csv\n│   ├── 2020\n│   │   ├── 操卡检查总公示（第5周-第18周）.csv\n│   │   ├── 查留寝结果总公示（第6、8、11周）.csv\n│   │   ├── 活动统计总公示（8月-1月）.csv\n│   │   └── 卫生检查总公示（第5周-第17周）.csv\n│   ├── 2020_development\n│   │   ├── 91XXXXXXXXXX.csv\n│   │   └── ...\n│   ├── 2020_science\n│   │   ├── 91XXXXXXXXXX.csv\n│   │   └── ...\n│   ├── dormitory10.csv\n│   ├── dormitory11.csv\n│   ├── dormitory12.csv\n│   └── student.csv\n├── LICENSE\n├── main.mysql\n└── README.md\n```\n\n`csv/2020/*.csv` come from website of my grade.\nThe origin file is `xlsx`.\nI installed `gnumetric` to convert `xlsx` to `csv`.\n\n```{.zsh}\nssconvert -E cp936 csv/2020/*.xlsx csv/2020/*.csv\n```\n\n`cp936` is the English name of `GB2312`.\n\n`csv/2020_*/*.csv` come from other people. The every line of file is\n\n```{.csv}\nstudent_id,award_name,aword_grade,grade,score\n```\n\nE.g.\n\n```{.csv}\n91XXXXXXXXXX,纪录片观影活动,院级,第一名,6\n```\n\n**Note**: if data format is wrong, like\n\n```{.csv}\n91XXXXXXXXXX,纪录片观影活动,院级,6,第一名\n```\n\nor\n\n```{.csv}\n91XXXXXXXXXX,纪录片观影活动,院级,6\n```\n\n`mysql` will return error like `incorrect\ncolumn`\n\n2. run `main.mysql` in `mysql`:\n\n```{.mysql}\nsource main.mysql;\n```\n\nIf succeeded, you will get result `score.tsv`. Data type is `tsv` by default.\n\n```{.mysql}\nsystem sudo chown wzy:wzy /var/lib/mysql/evaluate/score.tsv;\nsystem sudo mv /var/lib/mysql/evaluate/score.tsv .;\n```\n\n**Note**: `main.mysql` 最后这2句用了unix shell, 在没有安装 unix 兼容层的\nWindows 上可能无法运行。最好应该判断一下 OS 类型后对 Windows 改用\ncmd 。 Windows 用户应该改为：\n\n```{.mysql}\nsystem sudo move 'C:\\Program Files\\MySQL\\MySQL Server 5.7\\lib\\mysql\\evaluate\\score.tsv' .;\n```\n\n或者直接查看结果：\n\n```{.mysql}\nselect * from score;\n```\n\n## Q \u0026 A ##\n\nQ: Why?\nA: I know why you are strange for my behavior.\nWhy not handle data manually? Is it easier, isn't it?\nBut I must do the same work every term. I have tolerated it too much.\nFor me, it is very easy to get confused by some much data.\nSo I try to use computer to finish my work automatically.\n\nQ: Support for `cmd`?\nA: Welcome to pull request.\n\nSee more on [issues](https://github.com/Freed-Wu/evaluate/issues)\n\n## Todo ##\n\n1. Relative path.\n\n## Thanks ##\n\n1. [SkTsKtSkT1](https://github.com/SkTsKtSkT1) encourage me to use mysql to\n   finish it.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreed-wu%2Fevaluate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreed-wu%2Fevaluate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreed-wu%2Fevaluate/lists"}