def transform_fields(self, data, transforms):
        for field_name, transform in transforms.items():
            data = transform.transform(data)

        return data
Test if the code is migrated by a given file mask.
dataset/ETHPy150Open openelections/openelections-core/openelex/base/bake.py/Roller.transform_fields--crossover with--dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/scripts/test_migrate.py/test_migrate