<commit_before>{
    "domains": [
        "enikshay"
    ],
    "server_environment": [
        "softlayer"
    ],
    "data_source_table": "voucher",
    "report_id": "drug_voucher",
    "config": {
        "description": "",
        "title": "Drug Voucher Register",
        "sort_expression": [],
        "visible": true,
        "configured_charts": [],
        "aggregation_columns": ["doc_id"],
        "filters": [
            {
                "compare_as_string": false,
                "datatype": "datetime",
                "required": false,
                "slug": "date_fulfilled",
                "field": "date_fulfilled",
                "type": "date",
                "display": "Voucher Validation Date"
            },
            {
                "compare_as_string": false,
                "datatype": "string",
                "choice_provider": {
                    "include_descendants": true,
                    "type": "location",
                    "order_by_hierarchy": true,
                    "show_full_path": true
                },
                "show_all": true,
                "display": "Location",
                "field": "person_owner_id",
                "type": "dynamic_choice_list",
                "slug": "village"
            },
            {
                "pre_value": "prescription",
                "datatype": "string",
                "pre_operator": null,
                "slug": "voucher_type",
                "field": "voucher_type",
                "type": "pre",
                "display": null
            },
            {
                "pre_value": 1,
                "datatype": "integer",
                "display": null,
                "field": "has_date_fulfilled",
                "type": "pre",
                "slug": "has_date_fulfilled_pre"
            }
        ],
        "columns": [
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_fulfilled_by_id",
                "calculate_total": false,
                "column_id": "voucher_fulfilled_by_id",
                "type": "field",
                "display": "Pharmacy Id"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_fulfilled_by_name",
                "calculate_total": false,
                "column_id": "voucher_fulfilled_by_name",
                "type": "field",
                "display": "Pharmacy Name"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "contact_phone_number",
                "calculate_total": false,
                "type": "field",
                "display": "Pharmacy Mobile Number"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "fo",
                "calculate_total": false,
                "type": "field",
                "display": "Assigned FO"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "person_id",
                "calculate_total": false,
                "type": "field",
                "display": "Beneficiary Id"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "name",
                "calculate_total": false,
                "type": "field",
                "display": "Beneficiary Name"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "phone_number",
                "calculate_total": false,
                "type": "field",
                "display": "Beneficiary Mobile Number"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "treatment_initiation_date",
                "calculate_total": false,
                "type": "field",
                "display": "Rx Initiation Date"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "date_of_notification",
                "calculate_total": false,
                "type": "field",
                "display": "Date of Notification"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "treatment_initiation_status",
                "calculate_total": false,
                "type": "field",
                "display": "Rx Initiation Status"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_issued_by_id",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Generated By Provider ID"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_id",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Id"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "date_issued",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Issue Date"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "date_fulfilled",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Validation Date"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "state",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Status"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validation_mode",
                "calculate_total": false,
                "type": "field",
                "display": "Validation Mode"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "issued_amount",
                "calculate_total": false,
                "type": "field",
                "display": "Issued Amount"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_amount_as_per_chemist",
                "calculate_total": false,
                "type": "field",
                "display": "Validated Amount"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "drugs_ordered_static",
                "calculate_total": false,
                "type": "field",
                "display": "Issued Product"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "units_prescribed_static",
                "calculate_total": false,
                "type": "field",
                "display": "Issued No Of Units"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "days_prescribed_static",
                "calculate_total": false,
                "type": "field",
                "display": "Issued Number Of Days"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_product_name",
                "calculate_total": false,
                "type": "field",
                "display": "Validated Product Name"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_unit_price",
                "calculate_total": false,
                "type": "field",
                "display": "Validated Unit Price"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_number_of_units",
                "calculate_total": false,
                "type": "field",
                "display": "Validated No Of Units"
            }
        ]
    }
}
<commit_msg>Apply transform to FO field in Drug Voucher report<commit_after>{
    "domains": [
        "enikshay"
    ],
    "server_environment": [
        "softlayer"
    ],
    "data_source_table": "voucher",
    "report_id": "drug_voucher",
    "config": {
        "description": "",
        "title": "Drug Voucher Register",
        "sort_expression": [],
        "visible": true,
        "configured_charts": [],
        "aggregation_columns": ["doc_id"],
        "filters": [
            {
                "compare_as_string": false,
                "datatype": "datetime",
                "required": false,
                "slug": "date_fulfilled",
                "field": "date_fulfilled",
                "type": "date",
                "display": "Voucher Validation Date"
            },
            {
                "compare_as_string": false,
                "datatype": "string",
                "choice_provider": {
                    "include_descendants": true,
                    "type": "location",
                    "order_by_hierarchy": true,
                    "show_full_path": true
                },
                "show_all": true,
                "display": "Location",
                "field": "person_owner_id",
                "type": "dynamic_choice_list",
                "slug": "village"
            },
            {
                "pre_value": "prescription",
                "datatype": "string",
                "pre_operator": null,
                "slug": "voucher_type",
                "field": "voucher_type",
                "type": "pre",
                "display": null
            },
            {
                "pre_value": 1,
                "datatype": "integer",
                "display": null,
                "field": "has_date_fulfilled",
                "type": "pre",
                "slug": "has_date_fulfilled_pre"
            }
        ],
        "columns": [
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_fulfilled_by_id",
                "calculate_total": false,
                "column_id": "voucher_fulfilled_by_id",
                "type": "field",
                "display": "Pharmacy Id"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_fulfilled_by_name",
                "calculate_total": false,
                "column_id": "voucher_fulfilled_by_name",
                "type": "field",
                "display": "Pharmacy Name"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "contact_phone_number",
                "calculate_total": false,
                "type": "field",
                "display": "Pharmacy Mobile Number"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {
                    "type": "custom",
                    "custom_type": "owner_display"
                },
                "aggregation": "simple",
                "field": "fo",
                "calculate_total": false,
                "type": "field",
                "display": "Assigned FO"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "person_id",
                "calculate_total": false,
                "type": "field",
                "display": "Beneficiary Id"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "name",
                "calculate_total": false,
                "type": "field",
                "display": "Beneficiary Name"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "phone_number",
                "calculate_total": false,
                "type": "field",
                "display": "Beneficiary Mobile Number"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "treatment_initiation_date",
                "calculate_total": false,
                "type": "field",
                "display": "Rx Initiation Date"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "date_of_notification",
                "calculate_total": false,
                "type": "field",
                "display": "Date of Notification"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "treatment_initiation_status",
                "calculate_total": false,
                "type": "field",
                "display": "Rx Initiation Status"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_issued_by_id",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Generated By Provider ID"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "voucher_id",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Id"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "date_issued",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Issue Date"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "date_fulfilled",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Validation Date"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "state",
                "calculate_total": false,
                "type": "field",
                "display": "Voucher Status"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validation_mode",
                "calculate_total": false,
                "type": "field",
                "display": "Validation Mode"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "issued_amount",
                "calculate_total": false,
                "type": "field",
                "display": "Issued Amount"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_amount_as_per_chemist",
                "calculate_total": false,
                "type": "field",
                "display": "Validated Amount"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "drugs_ordered_static",
                "calculate_total": false,
                "type": "field",
                "display": "Issued Product"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "units_prescribed_static",
                "calculate_total": false,
                "type": "field",
                "display": "Issued No Of Units"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "days_prescribed_static",
                "calculate_total": false,
                "type": "field",
                "display": "Issued Number Of Days"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_product_name",
                "calculate_total": false,
                "type": "field",
                "display": "Validated Product Name"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_unit_price",
                "calculate_total": false,
                "type": "field",
                "display": "Validated Unit Price"
            },
            {
                "sortable": false,
                "description": null,
                "format": "default",
                "transform": {},
                "aggregation": "simple",
                "field": "validated_number_of_units",
                "calculate_total": false,
                "type": "field",
                "display": "Validated No Of Units"
            }
        ]
    }
}

{'fraction_non_alphanumeric': 0.13152623848310857, 'fraction_numerical': 8.901945074998887e-05, 'mean_word_length': 1.040690281562216, 'pattern_counts': {'":': 528, '<': 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': '1075579', 'n_tokens_mistral': 5767, 'n_tokens_neox': 5217, 'n_words': 1096}