p-doom/crowd-code-dataset-0.2 huggingface dataset:
[content] /home/franz.srambical/crowd-pilot/crowd_pilot/insert_missing_csv_newlines.py (python)
def needs_split(line: str, timestamp_regexes: List[Pattern[str]]) -> bool:
    starts = find_row_start_indices(line, timestamp_regexes)
    if len(starts) >= 2:
        return True
    if len(starts) == 1:
        prefix = line[: starts[0]]
        if prefix.strip(" ,;|	
") != "":
            return True
    return False