Fix string escaping and timespan unit selection in deep to string
Fix string escaping and timespan unit selection in deep to string: a task in LegoFlow-SWE (Harbor dataset). The deep to string function is expected to produce a concise, escaped representation. Specifically: - Tab characters ( \t ) should be rendered as the two-character sequence \\t . - Newline…
The task
The `deep_to_string` function is expected to produce a concise, escaped representation. Specifically: - Tab characters (`\t`) should be rendered as the two-character sequence `\\t`. - Newline characters (`\n`) should be rendered as `\\n`. - Durations should be converted to the largest whole unit: if the duration is…
Part of Lego-X/LegoFlow-SWE.