eval corpus loaders: JSON parse errors name no file or line
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- testing
Research direction
Start in eval/run.ts at the JSON.parse calls on lines 432, 446, 456, and 478, then trace the four corpus loaders and the JSONL input they process. Add the shared parsing behavior so malformed entries report the file and line, and verify that all four loaders use it instead of bare JSON.parse(line).
Written by the indexing model from the issue text.
Description
Every corpus loader in eval/run.ts parses lines with a bare JSON.parse(line) (lines 432, 446, 456, 478). A malformed hand edit kills the run with a raw SyntaxError that names neither the file nor the line.
Fix: one helper that parses a JSONL file and rethrows with file:line. All four loaders call it.
Found by the review gate on #76. It predates that PR.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 20m
- Merged PRs (30d)
- 32
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from STRML/omp-classifier
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
STRML/omp-classifier#80 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
STRML/omp-classifier#78 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
STRML/omp-classifier#84 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
STRML/omp-classifier#82 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
STRML/omp-classifier#73 ·
All issues in STRML/omp-classifier
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100