MCPcopy
hub / github.com/QData/TextAttack / __str__

Method __str__

textattack/attack_results/attack_result.py:72–73  ·  view source on GitHub ↗
(self, color_method=None)

Source from the content-addressed store, hash-verified

70 return lines
71
72 def __str__(self, color_method=None):
73 return "\n\n".join(self.str_lines(color_method=color_method))
74
75 def goal_function_result_str(self, color_method=None):
76 """Returns a string illustrating the results of the goal function."""

Callers 2

attack_interactiveMethod · 0.80
log_attack_resultMethod · 0.80

Calls 1

str_linesMethod · 0.95

Tested by

no test coverage detected