Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Create train/val/test splits

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Locate the normalized dataset input and the existing data-processing entry point, then review how commit types, repository identity, and scope frequency are represented. Define and implement reproducible train, validation, and test outputs under data/splits/; done means the three JSONL files and splits_metadata.json exist, satisfy the stated stratification and leakage constraints, and include documented statistics.

Written by the indexing model from the issue text.

Description

data

Summary

Split the normalized dataset into train, validation, and test sets with proper stratification.

Success Criteria

  • Split ratios defined (e.g., 80/10/10)
  • Stratification by commit type
  • No data leakage (same repo shouldn't span splits)
  • Splits saved to data/splits/
  • Split statistics documented
  • Reproducible with fixed random seed

Stratification Strategy

  • Balance commit types across splits
  • Consider stratifying by scope frequency
  • Ensure test set has good coverage of rare types

Output Files

```
data/splits/
train.jsonl
val.jsonl
test.jsonl
splits_metadata.json
```

Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aRustyDev/ccgram

All issues in aRustyDev/ccgram

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.