Skip to content

fix: delegate legacy data collection - #1947

Open
njzjz-bot wants to merge 1 commit into
masterfrom
codex/fix-1894-collect-data-tools
Open

fix: delegate legacy data collection#1947
njzjz-bot wants to merge 1 commit into
masterfrom
codex/fix-1894-collect-data-tools

Conversation

@njzjz-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Replace calls to missing template conversion scripts with the maintained DP-GEN collector.
  • Preserve the legacy helper entry point as a deprecated wrapper using shuffled, per-system output.
  • Point users to dpgen collect and add delegation regression coverage.

Tests

  • python -m unittest tests.tools.test_collect_data -v
  • ruff check dpgen/tools/collect_data.py tests/tools/test_collect_data.py
  • ruff format --check dpgen/tools/collect_data.py tests/tools/test_collect_data.py
  • Confirmed no missing dpgen/template, convert2raw.py, shuffle_raw.py, or raw_to_set.sh references remain in the helper.

Fixes #1894

Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

Fixes #1894

Coding-Agent: Codex

Codex-Version: codex-cli 0.149.0

Model: gpt-5.6-sol

Reasoning-Effort: xhigh
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 27 minutes.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fb92df5d-defd-4b1c-a557-3ed5374d886e

📥 Commits

Reviewing files that changed from the base of the PR and between d5ce577 and 94d8099.

📒 Files selected for processing (2)
  • dpgen/tools/collect_data.py
  • tests/tools/test_collect_data.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 50.07%. Comparing base (d5ce577) to head (94d8099).

Files with missing lines Patch % Lines
dpgen/tools/collect_data.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1947      +/-   ##
==========================================
+ Coverage   49.80%   50.07%   +0.26%     
==========================================
  Files          83       83              
  Lines       14986    14922      -64     
==========================================
+ Hits         7464     7472       +8     
+ Misses       7522     7450      -72     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Code scan] Remove or repair legacy collect_data template tool paths

1 participant