Skip to content

A6.1: Stream batch inputs from --input-file (.txt + CSV)#20

Closed
paulius-krutkis-dcd wants to merge 1 commit into
mainfrom
scr-3178-batch-input-parsing
Closed

A6.1: Stream batch inputs from --input-file (.txt + CSV)#20
paulius-krutkis-dcd wants to merge 1 commit into
mainfrom
scr-3178-batch-input-parsing

Conversation

@paulius-krutkis-dcd

Copy link
Copy Markdown
Collaborator

First of four stacked PRs implementing A6 — batch input (SCR-3092).

Adds the batch input-parsing layer (src/batch/): lazily read inputs from a file, one per item, without loading the whole file into memory.

  • .txt — one trimmed input per line; blank lines skipped.
  • .csv — requires --input-column; quote-aware line parser handles commas and escaped quotes inside fields.
  • Usage/validation errors for a missing column flag or unknown column.

Unit tests only — no SDK calls.

Stack: A6.1 (this) → A6.2 → A6.3 → A6.4

Closes SCR-3178.

🤖 Generated with Claude Code

Add the batch input-parsing layer: lazily read inputs from a file, one
per item, without buffering the whole file in memory.

- .txt: one trimmed input per line, blank lines skipped.
- .csv: requires --input-column; quote-aware line parser handles commas
  and escaped quotes inside fields.
- Usage/validation errors for missing column flag and unknown column.

Unit tests only; no SDK calls (SCR-3178).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@paulius-krutkis-dcd

Copy link
Copy Markdown
Collaborator Author

Superseded by #24 (rebranched to drop internal ids).

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.

1 participant