def evaluate_overwatch_mood():
	_stats = WORLD_INFO['overwatch']
	_hardship = get_overwatch_hardship(no_mod=True)
	_success = get_overwatch_success()
	
	_hardship_rate = _hardship/10.0
	_success_rate = _success/10.0
	
	_activity = _stats['last_updated']/float(WORLD_INFO['ticks'])
	_difficulty = numbers.clip(_hardship_rate-_success_rate, 0.0, 1.0)
	
	#print _activity, numbers.clip(_success_rate, 0.3, 0.85)
	
	if numbers.clip(_success_rate, 0.3, 0.85) > _activity:
		_stats['mood'] = 'rest'
	elif _success_rate<.3:
		_stats['mood'] = 'help'
	elif _success_rate>_hardship_rate:
		_stats['mood'] = 'intrigue'
	else:
		_stats['mood'] = 'idle'
dataset/ETHPy150Open flags/Reactor-3/overwatch/core.py/evaluate_overwatch_mood/swapped operands of `>`