<commit_before>[
    {
        "pk": 1,
        "model": "nailgun.release",
        "fields": {
            "name": "OpenStack Grizzly on CentOS 6.4",
            "version": "2013.1.2",
            "description": "This option will install the OpenStack Grizzly packages using CentOS as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment.",
            "available": true,
            "networks_metadata": [
                {"name": "floating", "access": "public"},
                {"name": "public", "access": "public"},
                {"name": "management", "access": "private192"},
                {"name": "storage", "access": "private172"},
                {"name": "fixed", "access": "private10"}
            ],
            "volumes_metadata": {
                "controller": [
                    {
                        "type": "vg",
                        "id": "os",
                        "volumes": [
                            {
                                "mount": "/",
                                "type": "lv",
                                "name": "root",
                                "size": {"generator": "calc_root_size"}
                            },
                            {
                                "mount": "swap",
                                "type": "lv",
                                "name": "swap",
                                "size": {"generator": "calc_swap_size"}
                            }
                        ]
                    }
                ],
                "compute": [
                    {
                        "type": "vg",
                        "id": "os",
                        "volumes": [
                            {
                                "mount": "/",
                                "type": "lv",
                                "name": "root",
                                "size": {"generator": "calc_root_size"}
                            },
                            {
                                "mount": "swap",
                                "type": "lv",
                                "name": "swap",
                                "size": {"generator": "calc_swap_size"}
                            }
                        ]
                    },
                    {
                        "type": "vg",
                        "id": "vm",
                        "volumes": [
                            {
                                "mount": "/var/lib/nova",
                                "type": "lv",
                                "name": "libvirt",
                                "size": {
                                    "generator": "calc_total_vg",
                                    "generator_args": ["vm"]
                                }
                            }
                        ]
                    }
                ],
                "cinder": [
                    {
                        "type": "vg",
                        "id": "os",
                        "volumes": [
                            {
                                "mount": "/",
                                "type": "lv",
                                "name": "root",
                                "size": {"generator": "calc_root_size"}
                            },
                            {
                                "mount": "swap",
                                "type": "lv",
                                "name": "swap",
                                "size": {"generator": "calc_swap_size"}
                            }
                        ]
                    },
                    {
                        "type": "vg",
                        "id": "cinder",
                        "volumes": []
                    }
                ]
            },
            "attributes_metadata": {
                "editable": {
                    "os": {
                        "distro": {
                            "value": "centos",
                            "values": [
                                {
                                    "data": "centos",
                                    "display_name": "CentOS",
                                    "description": "CentOS"
                                },
                                {
                                    "data": "rhel",
                                    "display_name": "RHEL",
                                    "description": "RHEL"
                                }
                            ],
                            "label": "Operation System",
                            "weight": 10
                        },
                        "rh_username": {
                            "label": "Red Hat user",
                            "weight": 20
                        },
                        "rh_password": {
                            "label": "Red Hat password",
                            "weight": 30
                        }
                    },
                    "access": {
                        "user": {
                            "value": "admin",
                            "label": "username",
                            "description": "Username for Administrator",
                            "weight": 10
                        },
                        "email": {
                            "value": "<EMAIL>",
                            "label": "email",
                            "description": "Email address for Administrator",
                            "weight": 40
                        },
                        "tenant": {
                            "value": "admin",
                            "label": "tenant",
                            "description": "Tenant (project) name for Administrator",
                            "weight": 30
                        },
                        "password": {
                            "value": "admin",
                            "label": "password",
                            "description": "Password for <PASSWORD>",
                            "weight": 20
                        }
                    },
                    "common": {
                        "auto_assign_floating_ip": {
                            "value": false,
                            "label": "Auto assign floating IP",
                            "description": "If true, OpenStack will automatically assign a floating IP to a new instance",
                            "weight": 40
                        },
                        "libvirt_type": {
                            "value": "qemu",
                            "values": [
                                {
                                    "data": "kvm",
                                    "display_name": "KVM",
                                    "description": "Choose this type of hypervisor if you run OpenStack on hardware"
                                },
                                {
                                    "data": "qemu",
                                    "display_name": "QEMU",
                                    "description": "Choose this type of hypervisor if you run OpenStack on virtual hosts."
                                }
                            ],
                            "label": "Hypervisor type",
                            "weight": 10
                        },
                        "start_guests_on_host_boot": {
                            "value": true,
                            "label": "Start guests on host boot",
                            "description": "Whether to (re-)start guests when the host reboots. If enabled, this option causes guests assigned to the host to be unconditionally restarted when nova-compute starts. If the guest is found to be stopped, it starts. If it is found to be running, it reboots.",
                            "weight": 50
                        },
                        "use_cow_images": {
                            "value": true,
                            "label": "Use qcow format for images",
                            "description": "For most cases you will want qcow format. If it's set to false, raw image format will be used to run VMs. OpenStack with raw format currently does not support snapshotting.",
                            "weight": 30
                        },
                        "compute_scheduler_driver": {
                            "value": "nova.scheduler.filter_scheduler.FilterScheduler",
                            "values": [
                                {
                                    "data": "nova.scheduler.filter_scheduler.FilterScheduler",
                                    "display_name": "Filter scheduler",
                                    "description": "Currently the most advanced OpenStack scheduler. See the OpenStack documentation for details."
                                },
                                {
                                    "data": "nova.scheduler.simple.SimpleScheduler",
                                    "display_name": "Simple scheduler",
                                    "description": "This is 'naive' scheduler which tries to find the least loaded host"
                                }
                            ],
                            "label": "Scheduler driver",
                            "weight": 20
                        },
                        "auth_key": {
                            "value": "",
                            "label": "Public Key",
                            "description": "Public key(s) to include in authorized_keys on deployed nodes",
                            "weight": 60
                        }
                    },
                    "syslog": {
                        "syslog_transport": {
                            "value": "udp",
                            "values": [
                                {
                                    "data": "udp",
                                    "display_name": "UDP",
                                    "description": ""
                                },
                                {
                                    "data": "tcp",
                                    "display_name": "TCP",
                                    "description": ""
                                }
                            ],
                            "label": "Syslog transport protocol",
                            "weight": 30
                        },
                        "syslog_server": {
                            "value": "",
                            "label": "Hostname",
                            "description": "Remote syslog hostname",
                            "weight": 10
                        },
                        "syslog_port": {
                            "value": "514",
                            "label": "Port",
                            "description": "Remote syslog port",
                            "weight": 20
                        }
                    }
                },
                "generated": {
                    "mysql": {
                        "root_password": {
                            "generator": "password"
                        }
                    },
                    "keystone": {
                        "db_password": {
                            "generator": "password"
                        },
                        "admin_token": {
                            "generator": "password"
                        }
                    },
                    "glance": {
                        "db_password": {
                            "generator": "password"
                        },
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "nova": {
                        "db_password": {
                            "generator": "password"
                        },
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "rabbit": {
                        "password": {
                            "generator": "password"
                        }
                    },
                    "swift": {
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "cinder": {
                        "db_password": {
                            "generator": "password"
                        },
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "base_syslog": {
                        "syslog_server": {
                            "generator": "ip",
                            "generator_arg": "admin"
                        },
                        "syslog_port": {
                            "generator": "identical",
                            "generator_arg": "514"
                        }
                    }
                }
            }
        }
    }
]
<commit_msg>[nailgun] Add default user/pass values to fixture.<commit_after>[
    {
        "pk": 1,
        "model": "nailgun.release",
        "fields": {
            "name": "OpenStack Grizzly on CentOS 6.4",
            "version": "2013.1.2",
            "description": "This option will install the OpenStack Grizzly packages using CentOS as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment.",
            "available": true,
            "networks_metadata": [
                {"name": "floating", "access": "public"},
                {"name": "public", "access": "public"},
                {"name": "management", "access": "private192"},
                {"name": "storage", "access": "private172"},
                {"name": "fixed", "access": "private10"}
            ],
            "volumes_metadata": {
                "controller": [
                    {
                        "type": "vg",
                        "id": "os",
                        "volumes": [
                            {
                                "mount": "/",
                                "type": "lv",
                                "name": "root",
                                "size": {"generator": "calc_root_size"}
                            },
                            {
                                "mount": "swap",
                                "type": "lv",
                                "name": "swap",
                                "size": {"generator": "calc_swap_size"}
                            }
                        ]
                    }
                ],
                "compute": [
                    {
                        "type": "vg",
                        "id": "os",
                        "volumes": [
                            {
                                "mount": "/",
                                "type": "lv",
                                "name": "root",
                                "size": {"generator": "calc_root_size"}
                            },
                            {
                                "mount": "swap",
                                "type": "lv",
                                "name": "swap",
                                "size": {"generator": "calc_swap_size"}
                            }
                        ]
                    },
                    {
                        "type": "vg",
                        "id": "vm",
                        "volumes": [
                            {
                                "mount": "/var/lib/nova",
                                "type": "lv",
                                "name": "libvirt",
                                "size": {
                                    "generator": "calc_total_vg",
                                    "generator_args": ["vm"]
                                }
                            }
                        ]
                    }
                ],
                "cinder": [
                    {
                        "type": "vg",
                        "id": "os",
                        "volumes": [
                            {
                                "mount": "/",
                                "type": "lv",
                                "name": "root",
                                "size": {"generator": "calc_root_size"}
                            },
                            {
                                "mount": "swap",
                                "type": "lv",
                                "name": "swap",
                                "size": {"generator": "calc_swap_size"}
                            }
                        ]
                    },
                    {
                        "type": "vg",
                        "id": "cinder",
                        "volumes": []
                    }
                ]
            },
            "attributes_metadata": {
                "editable": {
                    "os": {
                        "distro": {
                            "value": "centos",
                            "values": [
                                {
                                    "data": "centos",
                                    "display_name": "CentOS",
                                    "description": "CentOS"
                                },
                                {
                                    "data": "rhel",
                                    "display_name": "RHEL",
                                    "description": "RHEL"
                                }
                            ],
                            "label": "Operation System",
                            "weight": 10
                        },
                        "rh_username": {
                            "value": "",
                            "label": "Red Hat user",
                            "weight": 20
                        },
                        "rh_password": {
                            "value": "",
                            "label": "Red Hat password",
                            "weight": 30
                        }
                    },
                    "access": {
                        "user": {
                            "value": "admin",
                            "label": "username",
                            "description": "Username for Administrator",
                            "weight": 10
                        },
                        "email": {
                            "value": "<EMAIL>",
                            "label": "email",
                            "description": "Email address for Administrator",
                            "weight": 40
                        },
                        "tenant": {
                            "value": "admin",
                            "label": "tenant",
                            "description": "Tenant (project) name for Administrator",
                            "weight": 30
                        },
                        "password": {
                            "value": "admin",
                            "label": "password",
                            "description": "Password for Administrator",
                            "weight": 20
                        }
                    },
                    "common": {
                        "auto_assign_floating_ip": {
                            "value": false,
                            "label": "Auto assign floating IP",
                            "description": "If true, OpenStack will automatically assign a floating IP to a new instance",
                            "weight": 40
                        },
                        "libvirt_type": {
                            "value": "qemu",
                            "values": [
                                {
                                    "data": "kvm",
                                    "display_name": "KVM",
                                    "description": "Choose this type of hypervisor if you run OpenStack on hardware"
                                },
                                {
                                    "data": "qemu",
                                    "display_name": "QEMU",
                                    "description": "Choose this type of hypervisor if you run OpenStack on virtual hosts."
                                }
                            ],
                            "label": "Hypervisor type",
                            "weight": 10
                        },
                        "start_guests_on_host_boot": {
                            "value": true,
                            "label": "Start guests on host boot",
                            "description": "Whether to (re-)start guests when the host reboots. If enabled, this option causes guests assigned to the host to be unconditionally restarted when nova-compute starts. If the guest is found to be stopped, it starts. If it is found to be running, it reboots.",
                            "weight": 50
                        },
                        "use_cow_images": {
                            "value": true,
                            "label": "Use qcow format for images",
                            "description": "For most cases you will want qcow format. If it's set to false, raw image format will be used to run VMs. OpenStack with raw format currently does not support snapshotting.",
                            "weight": 30
                        },
                        "compute_scheduler_driver": {
                            "value": "nova.scheduler.filter_scheduler.FilterScheduler",
                            "values": [
                                {
                                    "data": "nova.scheduler.filter_scheduler.FilterScheduler",
                                    "display_name": "Filter scheduler",
                                    "description": "Currently the most advanced OpenStack scheduler. See the OpenStack documentation for details."
                                },
                                {
                                    "data": "nova.scheduler.simple.SimpleScheduler",
                                    "display_name": "Simple scheduler",
                                    "description": "This is 'naive' scheduler which tries to find the least loaded host"
                                }
                            ],
                            "label": "Scheduler driver",
                            "weight": 20
                        },
                        "auth_key": {
                            "value": "",
                            "label": "Public Key",
                            "description": "Public key(s) to include in authorized_keys on deployed nodes",
                            "weight": 60
                        }
                    },
                    "syslog": {
                        "syslog_transport": {
                            "value": "udp",
                            "values": [
                                {
                                    "data": "udp",
                                    "display_name": "UDP",
                                    "description": ""
                                },
                                {
                                    "data": "tcp",
                                    "display_name": "TCP",
                                    "description": ""
                                }
                            ],
                            "label": "Syslog transport protocol",
                            "weight": 30
                        },
                        "syslog_server": {
                            "value": "",
                            "label": "Hostname",
                            "description": "Remote syslog hostname",
                            "weight": 10
                        },
                        "syslog_port": {
                            "value": "514",
                            "label": "Port",
                            "description": "Remote syslog port",
                            "weight": 20
                        }
                    }
                },
                "generated": {
                    "mysql": {
                        "root_password": {
                            "generator": "password"
                        }
                    },
                    "keystone": {
                        "db_password": {
                            "generator": "password"
                        },
                        "admin_token": {
                            "generator": "password"
                        }
                    },
                    "glance": {
                        "db_password": {
                            "generator": "password"
                        },
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "nova": {
                        "db_password": {
                            "generator": "password"
                        },
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "rabbit": {
                        "password": {
                            "generator": "password"
                        }
                    },
                    "swift": {
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "cinder": {
                        "db_password": {
                            "generator": "password"
                        },
                        "user_password": {
                            "generator": "password"
                        }
                    },
                    "base_syslog": {
                        "syslog_server": {
                            "generator": "ip",
                            "generator_arg": "admin"
                        },
                        "syslog_port": {
                            "generator": "identical",
                            "generator_arg": "514"
                        }
                    }
                }
            }
        }
    }
]

{'fraction_non_alphanumeric': 0.09646017699115045, 'fraction_numerical': 0.004056047197640118, 'mean_word_length': 0.5566205590311657, 'pattern_counts': {'":': 434, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 52, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2478976', 'n_tokens_mistral': 5553, 'n_tokens_neox': 5020, 'n_words': 1140}