<commit_before>patches = [
    # Rename AWS::LakeFormation::Permissions.Resource to AWS::LakeFormation::Permissions.ResourceProperty
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::LakeFormation::Permissions.Resource",
        "path": "/PropertyTypes/AWS::LakeFormation::Permissions.ResourceProperty",
    },
    {
        "op": "replace",
        "path": "/ResourceTypes/AWS::LakeFormation::Permissions/Properties/Resource/Type",
        "value": "ResourceProperty",
    },
    {
        "op": "replace",
        "path": "/ResourceTypes/AWS::LakeFormation::DataLakeSettings/Properties/Admins/Type",
        "value": "List",
    },
    {
        "op": "add",
        "path": "/ResourceTypes/AWS::LakeFormation::DataLakeSettings/Properties/Admins/ItemType",
        "value": "DataLakePrincipal",
    },
]<commit_msg>Fix broken regen due to LakeFormation changes<commit_after>patches = [
    # Rename AWS::LakeFormation::Permissions.Resource to AWS::LakeFormation::Permissions.ResourceProperty
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::LakeFormation::Permissions.Resource",
        "path": "/PropertyTypes/AWS::LakeFormation::Permissions.ResourceProperty",
    },
    {
        "op": "replace",
        "path": "/ResourceTypes/AWS::LakeFormation::Permissions/Properties/Resource/Type",
        "value": "ResourceProperty",
    },
    {
        "op": "replace",
        "path": "/ResourceTypes/AWS::LakeFormation::DataLakeSettings/Properties/Admins/Type",
        "value": "List",
    },
    {
        "op": "add",
        "path": "/ResourceTypes/AWS::LakeFormation::DataLakeSettings/Properties/Admins/ItemType",
        "value": "DataLakePrincipal",
    },
    {
        "op": "add",
        "path": "/PropertyTypes/AWS::LakeFormation::PrincipalPermissions.Resource/Properties/Catalog/PrimitiveType",
        "value": "Json",
    },
    {
        "op": "remove",
        "path": "/PropertyTypes/AWS::LakeFormation::PrincipalPermissions.Resource/Properties/Catalog/Type",
    },
    {
        "op": "add",
        "path": "/PropertyTypes/AWS::LakeFormation::TagAssociation.Resource/Properties/Catalog/PrimitiveType",
        "value": "Json",
    },
    {
        "op": "remove",
        "path": "/PropertyTypes/AWS::LakeFormation::TagAssociation.Resource/Properties/Catalog/Type",
    },
    # Rename AWS::LakeFormation::TagAssociation.Resource to AWS::LakeFormation::TagAssociation.TagAssociationResource
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::LakeFormation::TagAssociation.Resource",
        "path": "/PropertyTypes/AWS::LakeFormation::TagAssociation.TagAssociationResource",
    },
    {
        "op": "replace",
        "path": "/ResourceTypes/AWS::LakeFormation::TagAssociation/Properties/Resource/Type",
        "value": "TagAssociationResource",
    },
    # Rename AWS::LakeFormation::TagAssociation.TableWithColumns to AWS::LakeFormation::TagAssociation.TagAssociationTableWithColumns
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::LakeFormation::TagAssociation.TableWithColumnsResource",
        "path": "/PropertyTypes/AWS::LakeFormation::TagAssociation.TagAssociationTableWithColumnsResource",
    },
    {
        "op": "replace",
        "path": "/PropertyTypes/AWS::LakeFormation::TagAssociation.TagAssociationResource/Properties/TableWithColumns/Type",
        "value": "TagAssociationTableWithColumnsResource",
    },
    # Rename AWS::LakeFormation::Permissions.DataLocationResource to AWS::LakeFormation::Permissions.PermissionsDataLocationResource
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::LakeFormation::Permissions.DataLocationResource",
        "path": "/PropertyTypes/AWS::LakeFormation::Permissions.PermissionsDataLocationResource",
    },
    {
        "op": "replace",
        "path": "/PropertyTypes/AWS::LakeFormation::Permissions.ResourceProperty/Properties/DataLocationResource/Type",
        "value": "PermissionsDataLocationResource",
    },
]
{'fraction_non_alphanumeric': 0.157286432160804, 'fraction_numerical': 0.0, 'mean_word_length': 3.581127733026467, 'pattern_counts': {'":': 52, '<': 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': '7036829', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1174, 'n_words': 132}