The Python code includes TagValidator.comma_is_missing_before_opening_bracket(), which is never true in the context in which it is called. The comma validation function TagValidator.find_comma_issues_in_hed_string() also does not flag errors for extra commas or tildes in illegal contexts (e.g. ,, or ,~). I've fixed both in the JavaScript version.