Flight Log / dhar174/steel_defect_demo #112

Fix stratify parameter issue in DataLoader.get_train_test_split method — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in dhar174/steel_defect_demo on Jul 21, 2025; merged in 25 min.

All agent flights in dhar174/steel_defect_demo · GitHub Copilot flights

Not yet classifiedGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
—
Files
—
Commits
—
Reviews
—
To merge
25 min

From the pull request description

## Problem The `get_train_test_split` method in `DataLoader` had a critical issue where the `stratify` parameter was being passed an array that didn't match the order of the input `cast_ids` array. This caused a `ValueError` when `train_test_split` tried to use stratified sampling. The issue occur…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Cite this flight: AgentRiders Flight Log, dhar174/steel_defect_demo#112, record updated Nov 3, 2026, https://agentriders.com/logs/dhar174/steel_defect_demo/112/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.