def record_val(self, val, *args, **kwargs):

        if kwargs.has_key('dollars') and kwargs['dollars'] is not None:
            self.dollars_sum += abs(kwargs['dollars'])

        if val is False:
            self.failed_tests += 1

        if self.result_type is 'boolean':
            if val is True:
                self.sum += 1
                if kwargs.has_key('dollars') and kwargs['dollars'] is not None:
                    self.dollars_of_passed_tests += abs(kwargs['dollars'])
            elif val is False:
                if kwargs.has_key('dollars') and kwargs['dollars'] is not None:
                    self.dollars_of_failed_tests += abs(kwargs['dollars'])
        else:        
            self.sum += val
            
            self.values.append(val)

            if self.result_type is 'integer':
                if not self.histogram.has_key(val):
                    self.histogram[val] = 0
                self.histogram[val] += 1
Setup: --config on cmd, $GREEN_CONFIG is set, $HOME/.green exists
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/__init__.py/Result.record_val--crossover with--dataset/ETHPy150Open CleanCut/green/green/test/test_config.py/TestConfig.test_cmd_env_def