pub fn parse_profile(filename: &str, content: &str) -> Profile
Parse the textual content of a profile file. Tolerates missing preamble lines, unknown comments, and malformed rows (skipped).