<commit_before>﻿UPDATE ae
SET StatusId = 5
FROM [employer_account].[EmployerAgreement] AS ae
JOIN [employer_account].[AccountLegalEntity] AS ale
ON ae.AccountLegalEntityId = ale.Id
WHERE (ale.SignedAgreementId IS NULL AND ale.PendingAgreementId IS NULL)

UPDATE [employer_account].[AccountLegalEntity]
SET Deleted = GetUtcDate()
WHERE (SignedAgreementId IS NULL AND PendingAgreementId IS NULL)<commit_msg>Potential fix base on dev assumption<commit_after>﻿UPDATE ale
SET Deleted = GETUTCDATE()
FROM [employer_account].[EmployerAgreement] AS ea
JOIN [employer_account].[AccountLegalEntity] AS ale
ON ea.AccountLegalEntityId = ale.Id
WHERE ea.StatusId = 5 AND ale.Deleted IS NULL AND ale.PendingAgreementId IS NULL AND ale.SignedAgreementId IS NULL
{'fraction_non_alphanumeric': 0.07640750670241286, 'fraction_numerical': 0.002680965147453083, 'mean_word_length': 6.946808510638298, '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': '7327181', 'n_tokens_mistral': 263, 'n_tokens_neox': 233, 'n_words': 72}