from checkio_referee import RefereeBase
from checkio_referee.covercode import py_unwrap_args
from checkio_referee.validators import FloatEqualValidator

import settings
import settings_env
from tests import TESTS

FloatEqualValidator.PRECISION = 8


class Referee(RefereeBase):
    TESTS = TESTS
    EXECUTABLE_PATH = settings.EXECUTABLE_PATH
    CURRENT_ENV = settings_env.CURRENT_ENV
    FUNCTION_NAME = "chase"
    VALIDATOR = FloatEqualValidator
    ENV_COVERCODE = {
        "python_2": py_unwrap_args,
        "python_3": py_unwrap_args,
        "javascript": None
    }

@@ -57,99 +57,55 @@
 eree
-.covercode import py_unwrap_args%0Afrom checkio_referee.validators import FloatEqualValidator
+ import covercodes, validators, representations
 %0A%0Aim
@@ -163,26 +163,60 @@
  TESTS%0A%0A
-FloatEqual
+Validator = validators.FloatEqualValidator%0A%0A
 Validato
@@ -413,35 +413,252 @@
 DATOR = 
-FloatEqualValidator
+Validator%0A    CALLED_REPRESENTATIONS = %7B%0A        %22python_3%22: representations.unwrap_arg_representation,%0A        %22python_2%22: representations.unwrap_arg_representation,%0A        %22javascript%22: representations.unwrap_arg_representation%0A    %7D
 %0A    ENV
@@ -692,16 +692,27 @@
 hon_2%22: 
+covercodes.
 py_unwra
@@ -739,16 +739,27 @@
 hon_3%22: 
+covercodes.
 py_unwra

add representation