def make_context(db_bench_obj: dict, extr_name: str, fname: str,
                 evars: dict) -> dict:
    """ Make a context dict for db_bench output files. """

    return {
        "rocks_ver": db_bench_obj["rocks_ver"],
        "date": db_bench_obj["date"],
        "memtable_rep": db_bench_obj["memtable_rep"],
        "compression": db_bench_obj["compression"],
        "entries": db_bench_obj["entries"],
        "keys_bytes": db_bench_obj["keys_bytes"],
        "values_bytes": db_bench_obj["values_bytes"],
        "fname": fname,
        "extractor_name": extr_name,
        "evars": evars,
    }