Solve failed test case #3895
vikas-chaudhary-2802 authored a4393eb5
complete00:00:45
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-structure:b1673
b1673: Pulling from codeclimate/codeclimate-structure
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Already exists
3fec094de8af: Already exists
57311f690d79: Already exists
30eef54b06d3: Already exists
533e89ddc74f: Already exists
b1fbd916a7fd: Already exists
c04c8e3d3f1e: Already exists
6270755c49c6: Already exists
c152db51e160: Already exists
0ff11adca159: Already exists
b04ea1c225fc: Already exists
a5900fead2e7: Already exists
05e1fa67ae7b: Already exists
55efbe71dad7: Already exists
fae57dc97efc: Already exists
c9bb173ce1a5: Already exists
ad7655ca63f7: Already exists
c302f0c4c32a: Already exists
2313612dd8ff: Already exists
e256e1e3d8f9: Already exists
4d0473eb5f61: Already exists
24f7364b1ed7: Already exists
e2f78d056f14: Already exists
ba793bb5beb0: Already exists
9c6fe351d4a0: Pulling fs layer
564e99fe143b: Pulling fs layer
d4d28bcef407: Pulling fs layer
377ba0623335: Pulling fs layer
da34fb180d01: Pulling fs layer
e662a1397458: Pulling fs layer
83257097193a: Pulling fs layer
60ea3c49c796: Pulling fs layer
b3bd38aab0f6: Pulling fs layer
4de22538118e: Pulling fs layer
25cf34d42617: Pulling fs layer
912ae8410047: Pulling fs layer
9b6209b21f89: Pulling fs layer
1edfdbef3d97: Pulling fs layer
88d893e5be7c: Pulling fs layer
126b08a94339: Pulling fs layer
da34fb180d01: Download complete
b3bd38aab0f6: Download complete
60ea3c49c796: Download complete
83257097193a: Download complete
d4d28bcef407: Download complete
e662a1397458: Download complete
564e99fe143b: Download complete
912ae8410047: Download complete
377ba0623335: Download complete
4de22538118e: Download complete
25cf34d42617: Download complete
9b6209b21f89: Download complete
1edfdbef3d97: Download complete
8f4517454b55: Pulling fs layer
75d3b10e39b6: Pulling fs layer
f4ee7bf85263: Pulling fs layer
e91df39e5278: Pulling fs layer
6a82a42dca5c: Pulling fs layer
4429e2badffb: Pulling fs layer
97bbdb242e6f: Pulling fs layer
75d3b10e39b6: Download complete
88d893e5be7c: Download complete
126b08a94339: Download complete
8f4517454b55: Download complete
97bbdb242e6f: Download complete
f4ee7bf85263: Download complete
6a82a42dca5c: Download complete
e91df39e5278: Download complete
4429e2badffb: Download complete
9c6fe351d4a0: Pull complete
564e99fe143b: Pull complete
d4d28bcef407: Pull complete
377ba0623335: Pull complete
da34fb180d01: Pull complete
e662a1397458: Pull complete
83257097193a: Pull complete
60ea3c49c796: Pull complete
b3bd38aab0f6: Pull complete
4de22538118e: Pull complete
25cf34d42617: Pull complete
912ae8410047: Pull complete
9b6209b21f89: Pull complete
1edfdbef3d97: Pull complete
88d893e5be7c: Pull complete
126b08a94339: Pull complete
8f4517454b55: Pull complete
75d3b10e39b6: Pull complete
f4ee7bf85263: Pull complete
e91df39e5278: Pull complete
6a82a42dca5c: Pull complete
4429e2badffb: Pull complete
97bbdb242e6f: Pull complete
Digest: sha256:7880f01608ed54b763671e045bd8a2e774b3ad2d41f674f0a7e2af2a1195fca5
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-structure:b1673
docker pull codeclimate/codeclimate-duplication:b1329
b1329: Pulling from codeclimate/codeclimate-duplication
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Already exists
3fec094de8af: Already exists
57311f690d79: Already exists
30eef54b06d3: Already exists
533e89ddc74f: Already exists
b1fbd916a7fd: Already exists
c04c8e3d3f1e: Already exists
6270755c49c6: Already exists
c152db51e160: Already exists
0ff11adca159: Already exists
b04ea1c225fc: Already exists
a5900fead2e7: Already exists
05e1fa67ae7b: Already exists
55efbe71dad7: Already exists
fae57dc97efc: Already exists
c9bb173ce1a5: Already exists
ad7655ca63f7: Already exists
c302f0c4c32a: Already exists
2313612dd8ff: Already exists
e256e1e3d8f9: Already exists
4d0473eb5f61: Already exists
24f7364b1ed7: Already exists
e2f78d056f14: Already exists
ba793bb5beb0: Already exists
9c6fe351d4a0: Already exists
564e99fe143b: Already exists
d4d28bcef407: Already exists
377ba0623335: Already exists
da34fb180d01: Already exists
e662a1397458: Already exists
83257097193a: Already exists
60ea3c49c796: Already exists
b3bd38aab0f6: Already exists
4de22538118e: Already exists
25cf34d42617: Already exists
912ae8410047: Already exists
9b6209b21f89: Already exists
1edfdbef3d97: Already exists
88d893e5be7c: Already exists
126b08a94339: Already exists
8f4517454b55: Already exists
75d3b10e39b6: Already exists
f4ee7bf85263: Already exists
5bdda228a9bd: Pulling fs layer
537f66dfc79a: Pulling fs layer
7621b06003bb: Pulling fs layer
e291ef4014ba: Pulling fs layer
bd60c2073336: Pulling fs layer
64534cad8c58: Pulling fs layer
b90a9e1afea5: Pulling fs layer
b90a9e1afea5: Waiting
e291ef4014ba: Waiting
bd60c2073336: Waiting
64534cad8c58: Waiting
5bdda228a9bd: Verifying Checksum
5bdda228a9bd: Download complete
7621b06003bb: Verifying Checksum
7621b06003bb: Download complete
537f66dfc79a: Verifying Checksum
537f66dfc79a: Download complete
5bdda228a9bd: Pull complete
537f66dfc79a: Pull complete
e291ef4014ba: Verifying Checksum
e291ef4014ba: Download complete
64534cad8c58: Verifying Checksum
64534cad8c58: Download complete
7621b06003bb: Pull complete
e291ef4014ba: Pull complete
bd60c2073336: Download complete
b90a9e1afea5: Verifying Checksum
b90a9e1afea5: Download complete
bd60c2073336: Pull complete
64534cad8c58: Pull complete
b90a9e1afea5: Pull complete
Digest: sha256:08c94e28c0e5d2d83c4d56b338edbdb742d269db6facd9d6477b953dd95c4a14
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-duplication:b1329
docker pull codeclimate/codeclimate-fixme:b188
b188: Pulling from codeclimate/codeclimate-fixme
90f4dba627d6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
84319a08f3d7: Pulling fs layer
9a7a3c8b75ac: Pulling fs layer
a295ebbbbdc1: Pulling fs layer
e9068dee127d: Pulling fs layer
84319a08f3d7: Waiting
1ba56920fd8f: Pulling fs layer
df6640a2ada9: Pulling fs layer
0b4a6fa6bdae: Pulling fs layer
df6640a2ada9: Waiting
a295ebbbbdc1: Waiting
e9068dee127d: Waiting
0b4a6fa6bdae: Waiting
1ba56920fd8f: Waiting
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
90f4dba627d6: Verifying Checksum
90f4dba627d6: Download complete
90f4dba627d6: Pull complete
9a7a3c8b75ac: Verifying Checksum
9a7a3c8b75ac: Download complete
a295ebbbbdc1: Verifying Checksum
a295ebbbbdc1: Download complete
84319a08f3d7: Verifying Checksum
84319a08f3d7: Download complete
a3ed95caeb02: Pull complete
e9068dee127d: Verifying Checksum
e9068dee127d: Download complete
df6640a2ada9: Verifying Checksum
df6640a2ada9: Download complete
1ba56920fd8f: Verifying Checksum
1ba56920fd8f: Download complete
0b4a6fa6bdae: Verifying Checksum
0b4a6fa6bdae: Download complete
84319a08f3d7: Pull complete
9a7a3c8b75ac: Pull complete
a295ebbbbdc1: Pull complete
e9068dee127d: Pull complete
1ba56920fd8f: Pull complete
df6640a2ada9: Pull complete
0b4a6fa6bdae: Pull complete
Digest: sha256:a1d81814b1bcb2a08a5537aa956a566723daef4b1b02dd2bc6addf4d836a4a2d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-fixme:b188
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
51b9219e6e44: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Download complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
ab6db1bc80d0: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
bf17e9a1c113: Pull complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
4f8d95c214b1: Pull complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-12T20:13:49.851357 #1]  INFO -- : Skipping file ./qutip/solver/options.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python3/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 40
    self, default, feedback=None, name="", doc="", /, **kwargs
                                                   ^
SyntaxError: invalid syntax


I, [2024-04-12T20:13:50.600890 #1]  INFO -- : Skipping file ./qutip/solver/mcsolve.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python3/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 254
    return *self._integrator.get_state(copy), self._generator
           ^
SyntaxError: invalid syntax


I, [2024-04-12T20:13:52.549065 #1]  INFO -- : Skipping file ./qutip/core/data/constant.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python3/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 80
    def zeros_like_data(data, /):
                              ^
SyntaxError: invalid syntax


I, [2024-04-12T20:13:52.556880 #1]  INFO -- : Skipping file ./qutip/core/data/eigen.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python3/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 210
    def eigs_csr(data, /, isherm=None, vecs=True, sort='low', eigvals=0,
                       ^
SyntaxError: invalid syntax


I, [2024-04-12T20:13:52.569190 #1]  INFO -- : Skipping file ./qutip/core/data/linalg.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python3/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def inv_dense(data, /):
                        ^
SyntaxError: invalid syntax
7
fixme
fixme engine documentation
8
pep8
pep8 engine documentation
View output
.github/ setup.py qutip/utilities.py qutip/fileio.py qutip/solver/ qutip/_mkl/ qutip/distributions.py qutip/animation.py qutip/ui/ qutip/piqs/ qutip/matplotlib_utilities.py qutip/qip.py qutip/tomography.py qutip/random_objects.py qutip/cite.py qutip/visualization.py qutip/legacy/ qutip/entropy.py qutip/measurement.py qutip/testing.py qutip/partial_transpose.py qutip/__init__.py qutip/ipynbtools.py qutip/continuous_variables.py qutip/about.py qutip/bloch.py qutip/core/ qutip/wigner.py qutip/settings.py qutip/simdiag.py qutip/control.py