Parses a discovery labels.jsonl. Blank lines are skipped. Throws a DecisionCorpusError naming the line when a line is not JSON or does not match the label schema: an agent label needs an agentId, and a none label a kind.
labels.jsonl
agent
agentId
none
kind
The file's text.
The file's name, for messages.
Parses a discovery
labels.jsonl. Blank lines are skipped. Throws a DecisionCorpusError naming the line when a line is not JSON or does not match the label schema: anagentlabel needs anagentId, and anonelabel akind.