<commit_before>BEGIN;
    DELETE FROM transfers WHERE amount = 0 AND context = 'take-over';
    ALTER TABLE transfers ADD CONSTRAINT positive CHECK (amount > 0);
END;
<commit_msg>only enforce the new constraint on future rows<commit_after>BEGIN;
    DELETE FROM transfers WHERE amount = 0 AND context = 'take-over';
    ALTER TABLE transfers ADD CONSTRAINT positive CHECK (amount > 0) NOT VALID;
END;

{'fraction_non_alphanumeric': 0.07481296758104738, 'fraction_numerical': 0.00997506234413965, 'mean_word_length': 4.4324324324324325, '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': '3126084', 'n_tokens_mistral': 122, 'n_tokens_neox': 107, 'n_words': 49}