{"id":15067413,"url":"https://github.com/vra/llm-code-scorer","last_synced_at":"2025-04-10T14:12:31.380Z","repository":{"id":256129447,"uuid":"853803663","full_name":"vra/llm-code-scorer","owner":"vra","description":"Code Scorer using LLM","archived":false,"fork":false,"pushed_at":"2024-09-17T08:24:32.000Z","size":199,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:56:20.148Z","etag":null,"topics":["ai","github","llm","vue"],"latest_commit_sha":null,"homepage":"http://lcs.simpleai.site","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/vra.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":"2024-09-07T15:26:53.000Z","updated_at":"2024-12-11T20:08:36.000Z","dependencies_parsed_at":"2024-09-09T06:32:05.768Z","dependency_job_id":"d3734549-76d0-4c05-ae1a-9e191dea67b7","html_url":"https://github.com/vra/llm-code-scorer","commit_stats":null,"previous_names":["vra/llm-code-scorer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Fllm-code-scorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Fllm-code-scorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Fllm-code-scorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Fllm-code-scorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vra","download_url":"https://codeload.github.com/vra/llm-code-scorer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248232633,"owners_count":21069487,"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","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":["ai","github","llm","vue"],"created_at":"2024-09-25T01:20:52.508Z","updated_at":"2025-04-10T14:12:31.357Z","avatar_url":"https://github.com/vra.png","language":"Python","readme":"# llm-code-scorer\n用 LLM 给 GitHub 代码仓库进行打分\n\n体验地址: \u003chttp://lcs.simpleai.site\u003e\n\n## 项目概述\n1. LLM：采用免费的智谱`glm-4-flash`模型\n2. 网页后端：flask + gunicorn\n3. 网页前端：Vue\n\n## 一些限制\n1. 采用大模型打分，目前没找到固定回复的方法，每次返回的分值和理由会有变化\n2. 超过100M的仓库国内机器下载很慢，因此暂不支持\n\n## 环境搭建\n1. 使用nvm安装nodejs和npm\n```bash\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash\nnvm install 22\nnode -v\nnpm -v\n```\n2. 用npm安装vue\n```bash\nnpm install -g @vue/cli \n```\n3. 安装python包\n```bash\npip install flask gunicorn flask-cors zhipuai\n```\n\n## 运行代码\n```bash\nnpm install\nnpm run serve\ncd src\nAPI_KEY=\u003czhipuai_api_key\u003e gunicorn -w 4 -b 0.0.0.0:5000 flask_app:app --timeout 600\n```\n\n## 项目细节\n1. PROMPT设计对结果影响很大，具体参考\u003cai_coder_scorer.py\u003e\n2. 国内服务器 github clone很慢，此仓库使用的是gitclone.com镜像\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvra%2Fllm-code-scorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvra%2Fllm-code-scorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvra%2Fllm-code-scorer/lists"}