Introduce type hinting into script and rename variables

* Introduce type hinting so that variables can be renamed and shortened.
4 jobs for !132 with 148-develop-example-script-calculating-cumulative-data in 2 minutes and 24 seconds (queued for 3 seconds)
latest detached
Status Name Job ID Coverage
  Test
passed lint #460556

00:00:41

passed sqa:dev #460558
internal

00:01:25

passed test #460557

00:00:32

 
  Build
passed build:package #460559

00:00:50