<commit_before>-- Upadte DIR_SUM_SIZE for select node
update STATS_DIR_LOCAL_SIZE a
set a.DIR_SUM_SIZE = (
	select sum(b.DIR_LOCAL_SIZE)
	from STATS_DIR_LOCAL_SIZE b
	where b.PARENT_NODE_ID = a.NODE_ID
)
where a.NODE_ID in ( :ids )<commit_msg>correcting sum calculation<commit_after>-- Update DIR_SUM_SIZE for select node
update STATS_DIR_LOCAL_SIZE a
set a.DIR_SUM_SIZE = (
	select sum( isnull( b.DIR_LOCAL_SIZE, 0 ) ) + sum( isnull( b.DIR_SUM_SIZE, 0 ) )
	from STATS_DIR_LOCAL_SIZE b
	where b.PARENT_NODE_ID = a.NODE_ID
)
where a.NODE_ID = :ids
{'fraction_non_alphanumeric': 0.08608058608058608, 'fraction_numerical': 0.003663003663003663, 'mean_word_length': 5.0777777777777775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7486222', 'n_tokens_mistral': 230, 'n_tokens_neox': 220, 'n_words': 54}