spring layout: Configurable forces' weights

6 jobs from noc-spring-bubble in 5 minutes and 13 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Lint
passed #33555
docker
flake8

00:00:18

passed #33559
docker
futurize

00:00:17

passed #33558
docker
pylint

00:00:18

failed #33557
docker allowed to fail
radon

00:00:15

failed #33556
docker allowed to fail
yapf

00:00:17

 
  Test
failed #33560
docker allowed to fail
test_noc

00:04:55

40.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 40%
Coverage Statements : 99026
Coverage Missing : 58885
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 3257 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=33560 responseStatus=201 Created token=hcsM9Ey9
ERROR: Job failed: exit code 1
failed
yapf Lint
         # Attraction - square against optimal length difference
- displacement = np.einsum('ijk,ij->ik',
- delta,
- k3 / distance ** 3 - WA * (distance - k) ** 2)
+ displacement = np.einsum('ijk,ij->ik', delta, k3 / distance**3 - WA * (distance - k)**2)
# Apply bubbling force
if cycles:
displacement += WBF * bubble_disp
ERROR: Job failed: exit code 1
failed
radon Lint
++ echo '$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi'
$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi
++ '[' '!' -z 'config.py
core/topology/layout/spring.py' ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B 'config.py
core/topology/layout/spring.py'
++ let x+=0
ERROR: Job failed: exit code 1