def METHOD_NAME():
    parser = argparse.ArgumentParser()
    parser.description = "Convert verification results to csv."
    parser.add_argument(
        "--file",
        "-f",
        type=Path,
        default="verification-results.csv",
        help="Filename for resulting csv file.",
    )
    parser.add_argument(
        "results",
        nargs=1,
        type=Path,
        help="Results directory containing *.meta.json and *-verification.json files.",
    )
    args = parser.parse_args()
    with open(args.file, "w") as outf:
        writer = csv.writer(outf)
        writer.writerow([x[0] for x in HEADERS])
        list(
            map(
                writer.writerow,
                map(
                    dict_to_csv_row,
                    map(merge_dicts, iter_verification_paths(args.results[0])),
                ),
            )
        )