<commit_before># sequence numbering starts at 0
BEGIN{
	seqid=-1;
}
# new graph collection -> new sequence
# vertex and nucleotide numbering starts at 0
/^t/{
	seqid++;
	vertex_id=0;
	nt_pos=0;
}
# new entry on viewpoint vertice (omitting relational vertices)
/^v/&&!/\^/&&!/#/{
	print seqid, vertex_id++, $3, nt_pos++;
}
# non-viewpoint  vertices only increment nucleotide position
/^V/&&!/\^/&&!/#/{
	nt_pos++
}
# restart sequence numbering on new subgraph
# (this does not work with shifted shreps!)
/^s/||/^u/||/^w/{
	nt_pos=0
}<commit_msg>use nt positions from gspan for vertex dict<commit_after># sequence numbering starts at 0
BEGIN{
	seqid=-1;
}
# new graph collection -> new sequence
# vertex and nucleotide numbering starts at 0
/^t/{
	seqid++;
	vertex_id=0;
}
# new entry on viewpoint vertice (omitting relational vertices)
/^v/ && !/\^/ && !/#/ {
	print seqid, vertex_id++, $3, $4-1;
}
# non-viewpoint  vertices only increment nucleotide position
/^V/ && !/\^/ && !/#/ {
}
{'fraction_non_alphanumeric': 0.17378048780487804, 'fraction_numerical': 0.014227642276422764, 'mean_word_length': 3.925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6241632', 'n_tokens_mistral': 375, 'n_tokens_neox': 349, 'n_words': 112}