{"id":18544252,"url":"https://github.com/qew21/autoleetcode","last_synced_at":"2026-05-19T09:02:52.989Z","repository":{"id":244793200,"uuid":"814735888","full_name":"qew21/AutoLeetcode","owner":"qew21","description":"Automatically read Leetcode problems using Selenium, hand them over to different large models for processing, and automatically submit solutions while tracking accuracy rates.","archived":false,"fork":false,"pushed_at":"2024-07-03T15:28:05.000Z","size":182,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T05:34:35.652Z","etag":null,"topics":["leetcode","llm","qwen2","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qew21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-13T15:41:55.000Z","updated_at":"2024-07-04T06:30:42.000Z","dependencies_parsed_at":"2024-12-26T06:20:02.057Z","dependency_job_id":null,"html_url":"https://github.com/qew21/AutoLeetcode","commit_stats":null,"previous_names":["qew21/autoleetcode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qew21/AutoLeetcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qew21%2FAutoLeetcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qew21%2FAutoLeetcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qew21%2FAutoLeetcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qew21%2FAutoLeetcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qew21","download_url":"https://codeload.github.com/qew21/AutoLeetcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qew21%2FAutoLeetcode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"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-07-28T02:00:09.689Z","response_time":68,"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":["leetcode","llm","qwen2","selenium"],"created_at":"2024-11-06T20:15:47.658Z","updated_at":"2026-05-19T09:02:47.947Z","avatar_url":"https://github.com/qew21.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autoleetcode\n\n\n#### 介绍\n使用selenium自动读取Leetcode题目，交给不同的大模型处理，自动提交统计正确率\n\n目前看顶尖的大模型尚不能高正确率的通过中等难度题目，预期通过微调AlchemistCoder提高准确率\n\n#### 使用说明\n1. 下载匹配Chrome浏览器版本的[driver](https://googlechromelabs.github.io/chrome-for-testing/#stable)\n2. 将driver放到当前目录下\n3. 参考如下配置修改配置中的ApiKey和BaseUrl等参数\n4. 安装依赖，运行 ```python main.py```\n5. 处于登录状态时，会自动跳转到登录页面，登录成功后会自动跳转到题目页面\n```json5\n{\n    \"BaseUrl\": \"https://dashscope.aliyuncs.com/compatible-mode/v1\",  // dashscope api url\n    \"ApiKey\": \"sk-****\",  // dashscope api key\n    \"Model\": \"qwen2-72b-instruct\",  // model name\n    \"Level\": \"hard\",  // difficulty level\n    \"Skip\": false,  // skip already solved problems\n    \"Count\": 100,  // problem count\n    \"StartPage\": 1  // start page\n}\n```\n\n#### 示例\n\n![demo](demo.jpg)\n\n---\n#### Introduction\nAutomatically read Leetcode problems using Selenium, hand them over to different large models for processing, and automatically submit solutions while tracking accuracy rates.\n\nIt appears that even top-tier large models struggle to achieve high accuracy on medium difficulty problems. The expectation is to improve accuracy by fine-tuning the AlchemistCoder model.\n\n#### Instructions\n1. Download the driver [here](https://googlechromelabs.github.io/chrome-for-testing/#stable) that matches your Chrome browser version.\n2. Place the driver in the current directory.\n3. Create a `config.json` file based on example below, modifying parameters such as ApiKey and BaseUrl.\n4. Install requirements and run ```python main.py```\n5. When in a logged-out state, the system will automatically redirect to the login page; after successful login, it will automatically navigate to the problem page.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqew21%2Fautoleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqew21%2Fautoleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqew21%2Fautoleetcode/lists"}