Skip to main content

parse_batch_observations

Function parse_batch_observations 

Source
pub fn parse_batch_observations(text: &str) -> Result<Value>
Expand description

Parse markdown map-phase batch observations.

Format: each file is a ## path (or # path) header, followed by bullet or bare-line observations. Produces { "files": [{ "path", "observations" }] }. Files with no observations are kept with an empty array. Lenient: strips fences, accepts varied bullet glyphs and bare-line observations.