<commit_before>CREATE OR REPLACE FUNCTION bq_generate_id () RETURNS text AS $$
BEGIN
  RETURN CAST(encode(gen_random_bytes(12), 'hex') as text);
END
$$ LANGUAGE plpgsql IMMUTABLE STRICT;<commit_msg>more things<commit_after>DROP FUNCTION IF EXISTS bq_generate_id();

CREATE OR REPLACE FUNCTION bq_generate_id () RETURNS char(24) AS $$
BEGIN
  RETURN CAST(encode(gen_random_bytes(12), 'hex') as char(24));
END
$$ LANGUAGE plpgsql IMMUTABLE STRICT;
{'fraction_non_alphanumeric': 0.10561797752808989, 'fraction_numerical': 0.017977528089887642, 'mean_word_length': 7.2592592592592595, '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': '5360435', 'n_tokens_mistral': 174, 'n_tokens_neox': 161, 'n_words': 43}