Repository navigation
[Bugfix] Add .gitignore rules to exclude downloaded dataset data files in ais_bench/datasets/ - #386
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the .gitignore file to ignore downloaded dataset files under ais_bench/datasets/ while attempting to preserve Python source modules. The reviewer correctly pointed out that ignoring the entire directory structure prevents Git from traversing subdirectories, making the exclusion rule for .py files ineffective. A suggestion was provided to explicitly exclude subdirectories from being ignored so that Python source files can be tracked properly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
PR Type / PR类型
🔍 Motivation / 变更动机
数据集(如 GSM8K、GPQA、AIME2025 等)下载后默认存放在 ais_bench/datasets/ 目录下,产生大量 .jsonl、.csv、.zip 等数据文件。由于 .gitignore 未覆盖该目录,这些数据文件会作为 untracked files
出现在 git status 中,影响日常开发的代码审查和提交体验。
📝 Modification / 修改内容
在 .gitignore 中新增 32行规则:
这样后续下载任何新数据集的数据文件都会被自动忽略,无需手动维护。
📐 Associated Test Results / 关联测试结果
仅为 .gitignore 变更,不涉及代码逻辑
无。
无。