Ejemplo n.º 1
0
def map_reduce():
    mapreduce.run("line-count", map="line_count/count_map.js", reduce="line_count/count_reduce.js")

    mapreduce.run(
        "line-count-python",
        map="line_count/python_map.js",
        reduce="_common/stats_reduce.js",
        finalize="_common/stats_finalize.js",
    )
Ejemplo n.º 2
0
def map_reduce():
    mapreduce.run('swearing',
        map='swearing/count_map.js',
        reduce='swearing/count_reduce.js'
    )

    mapreduce.run('profanity-score',
        map='swearing/profane_map.js',
        reduce='swearing/profane_reduce.js'
    )
Ejemplo n.º 3
0
def map_reduce():
    mapreduce.run('popularity-watchers',
        map='popularity/watchers_map.js',
        reduce='_common/stats_reduce.js',
        finalize='_common/stats_finalize.js'
    )

    mapreduce.run('popularity-forks',
        map='popularity/forks_map.js',
        reduce='_common/stats_reduce.js',
        finalize='_common/stats_finalize.js'
    )

    mapreduce.run('popularity-issues',
        map='popularity/issues_map.js',
        reduce='_common/stats_reduce.js',
        finalize='_common/stats_finalize.js'
    )

    mapreduce.run('popularity-collaborators',
        map='popularity/collaborators_map.js',
        reduce='_common/stats_reduce.js',
        finalize='_common/stats_finalize.js'
    )
Ejemplo n.º 4
0
def map_reduce():
    mapreduce.run("readme", map="readme/map.js", reduce="_common/sum_reduce.js")
Ejemplo n.º 5
0
def map_reduce():
    mapreduce.run('pep8',
        map='pep8/map.js',
        reduce='pep8/reduce.js'
    )
Ejemplo n.º 6
0
def map_reduce():
    mapreduce.run('setup_py',
        map='setup_py/map.js',
        reduce='_common/sum_reduce.js',
    )
Ejemplo n.º 7
0
def map_reduce():
    mapreduce.run('license',
        map='license/map.js',
        reduce='_common/sum_reduce.js'
    )
Ejemplo n.º 8
0
def map_reduce():
    mapreduce.run('pyflakes',
        map='pyflakes/map.js',
        reduce='pyflakes/reduce.js'
    )
Ejemplo n.º 9
0
def map_reduce():
    mapreduce.run('tabs-or-spaces',
        map='tabs_or_spaces/map.js',
        reduce='_common/sum_reduce.js'
    )