Simplify `get_leaderboard` code
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with src/apps/api/views/competitions.py at the linked get_leaderboard endpoint and read the surrounding view code to understand its behavior and callers. The issue gives no tests or desired simplification, so first identify existing coverage and expected responses; done means the endpoint is easier to understand without changing its behavior.
由索引模型根据 Issue 内容生成。
描述
This endpoint looks very messy and is difficult to understand. We really need to simplify this:
https://github.com/codalab/codabench/blob/e40d067ea3b61b9d7fa0146b7c075ed3d677862c/src/apps/api/views/competitions.py#L803
- 主要语言
- Python
- 星标
- 192
- 派生
- 82
- 平均合并
- 6 天 10 小时
- 30 天内合并 PR
- 51
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codalab/codabench 的其他 Issue
-
Wrong count for failed submissions in Resource interface可能已有人在做 @ihsaan-ullah 于 17 天前认领。 未关闭Bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
P1 Production
难度 4/5 3-5 天 新手友好度 25/100
codalab/codabench#2679 · 18 条评论 · 30 个 reaction ·
维护者通常 2 天内回复
-
Post-it
难度 3/5 1-2 天 新手友好度 70/100
codalab/codabench#2676 · 2 条评论 ·
维护者通常 2 天内回复
-
Post-it
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 2 天内回复
-
Enhancement
难度 3/5 1-2 天 新手友好度 50/100
维护者通常 2 天内回复
查看 codalab/codabench 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
conda-forge/conda-forge-bot#7025 ·
维护者通常 1 天内回复
-
area:ci
难度 1/5 1 小时以内 新手友好度 74/100
catincloud-labs/dagster-dex#149 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
home-assistant/core#188424 ·
维护者通常 1 天内回复
-
Review backlog (docs-currency): README 'CI run' link lands on a run whose overall badge is cancelled未关闭agent/reviewer needs-kind needs-triage
难度 2/5 1-3 小时 新手友好度 63/100
projectbluefin/utah#880 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
redis/memtier_benchmark#850 ·
维护者通常 1 天内回复