Skip to content

Job request: 797

Organisation:
Bennett Institute
Workspace:
os-demo-research
ID:
wxtag52c2s2qjoeh

This page shows the technical details of what happened when the authorised researcher Will Hulme requested one or more actions to be run against real patient data in the project, within a secure environment.

By cross-referencing the list of jobs with the pipeline section below, you can infer what security level various outputs were written to. Researchers can never directly view outputs marked as highly_sensitive ; they can only request that code runs against them. Outputs marked as moderately_sensitive can be viewed by an approved researcher by logging into a highly secure environment. Only outputs marked as moderately_sensitive can be requested for release to the public, via a controlled output review service.

Jobs

Pipeline

Show project.yaml
version: '3.0'

expectations:
  population_size: 10000

actions:


# actions to plot TPP-STP size

  generate_cohort_stppop:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_1_stppop --output-dir=output/cohorts
    outputs:
      highly_sensitive:
        cohort: output/cohorts/input_1_stppop.csv

  plot_stppop:
    run: r:latest analysis/1-plot-stppop.R
    needs: [generate_cohort_stppop]
    outputs:
      moderately_sensitive:
        figure: output/plots/plot_stppop_bar.png


# actions to plot deaths over time

  generate_cohort_deaths:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_2_deaths --output-dir=output/cohorts
    outputs:
      highly_sensitive:
        cohort: output/cohorts/input_2_deaths.csv

  plot_deaths:
    run: r:latest analysis/2-plot-deaths.R
    needs: [generate_cohort_deaths]
    outputs:
      moderately_sensitive:
        figure: output/plots/plot_deaths.png


# actions to plot gp activity over time

  generate_cohort_activity:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_3_activity --index-date-range "2020-01-01 to 2020-09-01 by month" --output-dir=output/measures
    outputs:
      highly_sensitive:
        cohort: output/measures/input_3_activity_*.csv

  generate_measures_activity:
    run: cohortextractor:latest generate_measures --study-definition study_definition_3_activity --output-dir=output/measures
    needs: [generate_cohort_activity]
    outputs:
      moderately_sensitive:
        measure_csv: output/measures/measure_*.csv

  plot_activity:
    run: r:latest analysis/3-plot-activity.R
    needs: [generate_measures_activity]
    outputs:
      moderately_sensitive:
        figure: output/plots/plot_*.png


# alternative stppop anaylsis using better dummy data

  generate_cohort_stppop_map:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_1_stppop_map --output-dir=output/cohorts
    outputs:
      highly_sensitive:
        cohort: output/cohorts/input_1_stppop_map.csv

  plot_stppop_map:
    run: r:latest analysis/1-plot-stppop_map.R
    needs: [generate_cohort_stppop_map]
    outputs:
      moderately_sensitive:
        figure1: output/plots/plot_stppop_bar_names.png
        figure2: output/plots/plot_stppop_map.png

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 01:14:09

These timestamps are generated and stored using the UTC timezone on the TPP backend.

Job information

Status
Failed
Backend
TPP
Workspace
os-demo-research
Requested by
Will Hulme
Branch
master
Force run dependencies
Yes
Git commit hash
0ca7d8d
Requested actions
  • run_all

Code comparison

Compare the code used in this Job Request