def render_chest(self, player, player_image, slot, part):
        gender = player.get_gender()
        stance = player.get_personality()

        if slot is None:
            return player_image

        item = self.assets.items().get_item(slot["name"])

        if (item is None or not (gender + "Frames") in item[0]):
            return player_image

        frame_paths = item[0][gender + "Frames"]
        for k, v in frame_paths.items():
            if v[0] != "/":
                frame_paths[k] = os.path.dirname(item[1]) + "/" + v

        files = ["fsleeve", "chestm", "bsleeve"]
        if gender == "female":
            files = ["fsleevef", "chestf", "bsleevef"]

        color = lambda x: self.assets.images().color_image(x, slot["parameters"])
        if part == "fsleeve":
            fsleeve = self.assets.images().get_image(frame_paths["frontSleeve"])
            if fsleeve is None:
                return player_image
            fsleeve_frame = self.assets.frames().lookup_frame(files[0], stance)
            fsleeve = fsleeve.crop(fsleeve_frame)
            fsleeve = color(fsleeve)
            player_image.paste(fsleeve, mask=fsleeve)
        elif part == "bsleeve":
            bsleeve = self.assets.images().get_image(frame_paths["backSleeve"])
            if bsleeve is None:
                return player_image
            bsleeve_frame = self.assets.frames().lookup_frame(files[2], stance)
            bsleeve = bsleeve.crop(bsleeve_frame)
            bsleeve = color(bsleeve)
            player_image.paste(bsleeve, mask=bsleeve)
        elif part == "body":
            body = self.assets.images().get_image(frame_paths["body"])
            if body is None:
                return player_image
            body_frame = self.assets.frames().lookup_frame(files[1], stance)
            body = body.crop(body_frame)
            body = color(body)
            player_image.paste(body, mask=body)

        return player_image
The set of all instances which have changed, but not deleted,
dataset/ETHPy150Open wizzomafizzo/starcheat/starcheat/assets/species.py/Species.render_chest--crossover with--dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/session.py/SessionModel.dirty