def select(self, tag):
		if isinstance(tag, element.Tag):
			for child in reversed(tag.find_all()):
				if not isinstance(tag, element.Tag):
					continue
				score = core.get_total_score(child)

				if self.mode == "upper":
					if score < self.threshold:
						self.actor.act(child)
				else:
					if score > self.threshold:
						self.actor.act(child)
dataset/ETHPy150Open visualrevenue/reporter/reporter/selectors.py/ScoreSelector.select/original