<commit_before># -*- coding: utf-8 -*-
from lettuce import *
import app.match as m


@step(u'Given: "([^"]*)" and "([^"]*)" start a match to "([^"]*)" sets')
def given_group1_and_group2_start_a_match_to_group3_sets(step, group1, group2, group3):
    world.match = m.Match(group1,group2,group3)


@step(u'When: "([^"]*)" and "([^"]*)" start a match to "([^"]*)" sets')
def when_group1_and_group2_start_a_match_to_group3_sets(step, group1, group2, group3):
    assert False, 'This step must be implemented'


@step(u'I see score: "([^"]*)"')
def then_i_see_score_group1(step, group1):
    assert world.match.score() == group1 , 'Error got: ' + world.match.score()


@step(u'When: "([^"]*)" won the "([^"]*)" set "([^"]*)"-"([^"]*)"')
def when_group1_won_the_group2_set_group3_group4(step, group1, group2, group3, group4):
    assert False, 'This step must be implemented'


@step(u'And: "([^"]*)" won the "([^"]*)" set "([^"]*)"-"([^"]*)"')
def and_group1_won_the_group2_set_group3_group4(step, group1, group2, group3, group4):
    assert False, 'This step must be implemented'


@step(u'Then: The match score is: "([^"]*)"')
def then_the_match_score_is_group1(step, group1):
    assert False, 'This step must be implemented'


<commit_msg>para hacer que respeten el flake8<commit_after># -*- coding: utf-8 -*-
from lettuce import *
import app.match as m


@step(u'"([^"]*)" and "([^"]*)" start a match to "([^"]*)" sets')
def group1_and_group2_start_a_match_to_group3_sets(step, g1, g2, g3):
    world.match = m.Match(g1, g2, g3)


@step(u'When: "([^"]*)" and "([^"]*)" start a match to "([^"]*)" sets')
def when_group1_and_group2_start_a_match_to_group3_sets(step, g1, g2, g3):
    assert False, 'This step must be implemented'


@step(u'I see score: "([^"]*)"')
def then_i_see_score_group1(step, group1):
    assert world.match.score() == group1, 'Error got: ' + world.match.score()


@step(u'When: "([^"]*)" won the "([^"]*)" set "([^"]*)"-"([^"]*)"')
def when_group1_won_the_group2_set_group3_group4(step, g1, g2, g3, g4):
    assert False, 'This step must be implemented'


@step(u'And: "([^"]*)" won the "([^"]*)" set "([^"]*)"-"([^"]*)"')
def and_group1_won_the_group2_set_group3_group4(step, g1, g2, g3, g4):
    assert False, 'This step must be implemented'


@step(u'Then: The match score is: "([^"]*)"')
def then_the_match_score_is_group1(step, group1):
    assert False, 'This step must be implemented'

{'fraction_non_alphanumeric': 0.2191383595691798, 'fraction_numerical': 0.03106876553438277, 'mean_word_length': 5.708333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1516463', 'n_tokens_mistral': 994, 'n_tokens_neox': 941, 'n_words': 215}