import os

run_data = [
    ('python', [
        ('rnn.vec', 'default'),
    ]),
    ('julia', [
        ('rnn.loop', 'default'),
    ]),
]


def task_bench():
    def datapath(*args):
        return os.path.join('data', *args)

    for lang, args_list in run_data:
        for args in args_list:
            target = datapath('python', *args)
            yield {
                'name': '+'.join(args),
                'actions': [
                    'mkdir -p $(dirname %(targets)s)',
                    lang + '/cli run ' + ' '.join(args) + ' > %(targets)s',
                ],
                'targets': [
                    target,
                ],
            }

import os

run_data = [
    ('python', [
        ('rnn.vec', 'default'),
    ]),
    ('julia', [
        ('rnn.loop', 'default'),
    ]),
]


def task_bench():
    def datapath(*args):
        return os.path.join('data', *args)

    for lang, args_list in run_data:
        for args in args_list:
            target = datapath(lang, *args)
            yield {
                'name': target,
                'actions': [
                    'mkdir -p $(dirname %(targets)s)',
                    lang + '/cli run ' + ' '.join(args) + ' > %(targets)s',
                ],
                'targets': [
                    target,
                ],
            }

Fix dodo.py