<commit_before>create index idx_activity_user_id on activity (user_id);
create index idx_activity_detail_activity_id on activity_detail (activity_id);

delete from activity_detail where activity_id in (select id from activity where user_id in (select id from "user" where name = 'etalabot'));
delete from activity where user_id in (select id from "user" where name = 'etalabot');

drop index idx_activity_user_id;
drop index idx_activity_detail_activity_id;
<commit_msg>Comment out the creation and removal of PostgreSQL index, because they require a PostgreSQL vacuum step.<commit_after>--create index idx_activity_user_id on activity (user_id);
--create index idx_activity_detail_activity_id on activity_detail (activity_id);

delete from activity_detail where activity_id in (select id from activity where user_id in (select id from "user" where name = 'etalabot'));
delete from activity where user_id in (select id from "user" where name = 'etalabot');

--drop index idx_activity_user_id;
--drop index idx_activity_detail_activity_id;

{'fraction_non_alphanumeric': 0.06544754571703561, 'fraction_numerical': 0.0, 'mean_word_length': 6.703703703703703, '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': '897428', 'n_tokens_mistral': 293, 'n_tokens_neox': 288, 'n_words': 117}