<commit_before>{
    "name": "SIIMForm",
    "html": [
        {
            "name": "title",
            "type": "div",
            "html": [
                {
                    "type": "h1",
                    "html": "Formulario SIIMForm"
                }
            ]
        },
        {
            "name": "ficha",
            "caption": "Ficha",
            "type": "text",
            "class": "input-xlarge",
            "options": {
                "idea": "Idea",
                "perfil": "Perfil",
                "prefactibilidad": "Prefactibilidad",
                "factibilidad": "Factibilidad",
                "ejecucion": "Ejecución"
            }
        },
        {
            "name": "estado",
            "caption": "Estado",
            "class": "input-xlarge",
            "type": "select",
            "options": {
                "en_estudio": "En Estudio",
                "en_ejecucion": "En Ejecución",
                "rechazado": "Rechazado",
                "aplazado": "Aplazado",
                "aprobado": "Aprobado",
                "no_aprobado": "No Aprobado",
                "viable": "Viable",
                "no_viable": "No Viable",
                "finalizado": "Finalizado"
            }
        },
        {
            "name": "nombre",
            "caption": "Nombre del Proyecto",
            "type": "text",
            "class": "input-xlarge",
            "validations": {
                "minlength": 10
            }
        },
        {
            "name": "forma_intervencion",
            "caption": "Forma de intervención",
            "class": "input-xxlarge",
            "type": "select",
            "options": {
                "forma_generica": "Forma Genérica",
                "intervencion_directa": "Intervención Directa",
                "por_asociacion": "Por Asociación"
            }
        },
        {
            "name": "localidad",
            "caption": "Localidad",
            "class": "input-xxlarge",
            "type": "select",
            "options": {
                "": "",
                "usaquen": "Usaquén",
                "chapinero": "Chapinero",
                "santa_fe": "Santa Fe"
            }
        },
        {
            "name": "localizacion_general",
            "caption": "Localizacion General Proyecto",
            "type": "textarea",
            "class": "input-xxlarge",
            "rows": "5",
            "cols": "70"
        },
        {
            "name": "acta_creacion_proyecto",
            "caption": "Acta creación proyecto",
            "type": "attachment"
        },
        {
            "name": "areas",
            "caption": "Areas",
            "type": "cw-grid",
            "class": "input-xxlarge height-1",
            "cw-grid-options": {
                "columns": [
                    {
                        "name": "areas.descripcion",<commit_msg>Add definition extample of restrictions to form (field nombre)<commit_after>{
    "name": "SIIMForm",
    "html": [
        {
            "name": "title",
            "type": "div",
            "html": [
                {
                    "type": "h1",
                    "html": "Formulario SIIMForm"
                }
            ]
        },
        {
            "name": "ficha",
            "caption": "Ficha",
            "type": "text",
            "class": "input-xlarge",
            "options": {
                "idea": "Idea",
                "perfil": "Perfil",
                "prefactibilidad": "Prefactibilidad",
                "factibilidad": "Factibilidad",
                "ejecucion": "Ejecución"
            }
        },
        {
            "name": "estado",
            "caption": "Estado",
            "class": "input-xlarge",
            "type": "select",
            "options": {
                "en_estudio": "En Estudio",
                "en_ejecucion": "En Ejecución",
                "rechazado": "Rechazado",
                "aplazado": "Aplazado",
                "aprobado": "Aprobado",
                "no_aprobado": "No Aprobado",
                "viable": "Viable",
                "no_viable": "No Viable",
                "finalizado": "Finalizado"
            }
        },
        {
            "name": "nombre",
            "caption": "Nombre del Proyecto",
            "type": "text",
            "class": "input-xlarge",
            "validations": {
              "minlength": 10,
              "restrictions" : [
                {
                  "evaluation" : "if( {{estado}} === 'en_estudio' || {{ficha}} === 'idea')",
                  "then" : " {{nombre}} !== '' ",
                  "key-message-true" : "Nombre correcto",
                  "key-message-false" : "Nombre debe ser vacio"
                },
                {
                  "evaluation" : "if( {{estado}} !== 'en_estudio' || {{ficha}} !== 'idea')",
                  "then" : " {{nombre}} === '' ",
                  "key-message-false" : "Nombre no puede ser vacio"
                }
              ]
            }
        },
        {
            "name": "forma_intervencion",
            "caption": "Forma de intervención",
            "class": "input-xxlarge",
            "type": "select",
            "options": {
                "forma_generica": "Forma Genérica",
                "intervencion_directa": "Intervención Directa",
                "por_asociacion": "Por Asociación"
            }
        },
        {
            "name": "localidad",
            "caption": "Localidad",
            "class": "input-xxlarge",
            "type": "select",
            "options": {
                "": "",
                "usaquen": "Usaquén",
                "chapinero": "Chapinero",
                "santa_fe": "Santa Fe"
            }
        },
        {
            "name": "localizacion_general",
            "caption": "Localizacion General Proyecto",
            "type": "ckedit",
            "class": "input-xxlarge"
        },
        {
            "name": "acta_creacion_proyecto",
            "caption": "Acta creación proyecto",
            "type": "attachment"
        },
        {
            "name": "areas",
            "caption": "Areas",
            "type": "cw-grid",
            "class": "input-xxlarge height-1",
            "cw-grid-options": {
                "columns": [
                    {
                        "name": "areas.descripcion",
{'fraction_non_alphanumeric': 0.15508355458378884, 'fraction_numerical': 0.0017179447134155865, 'mean_word_length': 1.0914435009797518, 'pattern_counts': {'":': 138, '<': 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': '4226755', 'n_tokens_mistral': 1915, 'n_tokens_neox': 1831, 'n_words': 330}