<s> import json <EOL> from world import world <EOL> from bigml . api import HTTP_OK <EOL> from bigml . fields import Fields <EOL> def i_get_the_dataset ( step , dataset ) : <EOL> resource = world . api . get_dataset ( dataset ) <EOL> world . status = resource [ '<STR_LIT:code>' ] <EOL> assert world . status == HTTP_OK <EOL> world . dataset = resource [ '<STR_LIT:object>' ] <EOL> def i_get_the_missing_values ( step ) : <EOL> resource = world . dataset <EOL> fields = Fields ( resource [ '<STR_LIT>' ] ) <EOL> world . step_result = fields . missing_counts ( ) <EOL> def i_get_the_errors_values ( step ) : <EOL> resource = world . dataset <EOL> world . step_result = world . api . error_counts ( resource ) <EOL> def i_get_the_properties_values ( step , text , properties_dict ) : <EOL> if properties_dict is None : <EOL> assert False <EOL> assert world . step_result == json . loads ( properties_dict ) </s>
