@magic.line_magic
    @magic_arguments()
    @argument('enabled', type=int, help='(0 | 1)')
    def hex(self, line):
        args = parse_argstring(self.hex, line)
        self.hex_mode = args.enabled
Test the ClusterScaler class with different patterns of job creation. Tests ascertain
dataset/ETHPy150Open scanlime/coastermelt/backdoor/shell_magics.py/ShellMagics.hex--crossover with--dataset/ETHPy150Open BD2KGenomics/toil/src/toil/test/provisioners/clusterScalerTest.py/ClusterScalerTest._testClusterScaling