"git@git.ustc.edu.cn:cxwx/root.git" did not exist on "2fd90b3b7f4d6a1c35f7b13803190e94dd44a96c"
-
Enric Tejedor Saavedra authored
In Python2, the dumps function of the json module always returns the same JSON string for a given Python dictionary across different runs. In Python3, the returned JSON changes across runs, in particular the order in which dictionary keys are shown, which complicates the notebook tests of the interactive neural networks. Only with a sorted JSON we can compare the newly generated notebook with a reference notebook.
Enric Tejedor Saavedra authoredIn Python2, the dumps function of the json module always returns the same JSON string for a given Python dictionary across different runs. In Python3, the returned JSON changes across runs, in particular the order in which dictionary keys are shown, which complicates the notebook tests of the interactive neural networks. Only with a sorted JSON we can compare the newly generated notebook with a reference notebook.