Skip to content

Job request: 8571

Organisation:
Bennett Institute
Workspace:
covid-vaccine-preliminary-study-master
ID:
dis4ohhl6urdzj23

This page shows the technical details of what happened when the authorised researcher Lisa Hopcroft 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: 100000
    # dummy population size must be at least 50000 to ensure the STP analysis can run successfully
    
actions:

  generate_delivery_cohort:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_delivery --output-format=csv.gz
    outputs:
      highly_sensitive:
        cohort: output/input_delivery.csv.gz



#   generate_report:
#     run: cohort-report:v2.1.0 output/input_delivery.csv.gz
#     needs: [generate_delivery_cohort]
#     config:
#       output_path: output/cohort_reports_outputs
#     outputs:
#       moderately_sensitive:
#         reports: output/cohort_reports_outputs/descriptives_input_delivery.csv.html

  
  generate_notebook:
    run: jupyter:latest jupyter nbconvert /workspace/notebooks/population_characteristics.ipynb --execute --to html --output-dir=/workspace/output --ExecutePreprocessor.timeout=86400 --debug

    needs: [generate_delivery_cohort]
    outputs:
      moderately_sensitive:
        notebook: output/population_characteristics.html 
        figures: interim-outputs/figures/*
        tables: interim-outputs/tables/*
        fig_csvs_1: output/machine_readable_outputs/figure_csvs/*ethnicity*.csv 
        fig_csvs_2: output/machine_readable_outputs/figure_csvs/*imd*.csv 
        fig_csvs_3: output/machine_readable_outputs/figure_csvs/*psychosis*.csv 
        fig_csvs_4: output/machine_readable_outputs/figure_csvs/*LD_*.csv 
        fig_csvs_5: output/machine_readable_outputs/figure_csvs/*eligible*.csv 
        text: interim-outputs/text/*
        
  generate_simple_report:
    run: jupyter:latest env IMAGE_FORMAT=png jupyter nbconvert /workspace/notebooks/opensafely_vaccine_report_overall.ipynb --execute --to html --template basic --output=/workspace/output/opensafely_vaccine_report_overall_simple.html --ExecutePreprocessor.timeout=86400 --no-input

    needs: [generate_delivery_cohort, generate_notebook]
    outputs:
      moderately_sensitive:
        notebook: output/opensafely_vaccine_report_overall_simple.html
        csvs: output/machine_readable_outputs/table_csvs/*

  generate_report_second_doses:
    run: jupyter:latest jupyter nbconvert /workspace/notebooks/second_doses.ipynb --execute --to html --template basic --output-dir=/workspace/output --ExecutePreprocessor.timeout=86400 --no-input

    needs: [generate_notebook]
    outputs:
      moderately_sensitive:
        notebook: output/second_doses.html
        tables: output/machine_readable_outputs/second_doses/*.csv

  generate_report_third_doses:
    run: jupyter:latest jupyter nbconvert /workspace/notebooks/booster-third-doses.ipynb --execute --to html --template basic --output-dir=/workspace/output --ExecutePreprocessor.timeout=86400 --no-input

    needs: [generate_notebook]
    outputs:
      moderately_sensitive:
        notebook: output/booster-third-doses.html
        tables: output/machine_readable_outputs/third_doses/*.csv



  generate_u16_cohort:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_delivery_u16 --output-format=csv.gz
    outputs:
      highly_sensitive:
        cohort: output/input_delivery_u16.csv.gz

  generate_u16_notebook:
    run: jupyter:latest jupyter nbconvert /workspace/notebooks/population_characteristics_u16.ipynb --execute --to html --output-dir=/workspace/output --ExecutePreprocessor.timeout=86400 --debug
    needs: [generate_u16_cohort]
    outputs:
      moderately_sensitive:
        notebook: output/population_characteristics_u16.html 
        figures: interim-outputs/u16/figures/*
        tables: interim-outputs/u16/tables/*
        fig_csvs: output/machine_readable_outputs/figure_csvs/*_u16*.csv 
        # fig_csvs_1: output/machine_readable_outputs/figure_csvs/*ethnicity*.csv 
        # fig_csvs_2: output/machine_readable_outputs/figure_csvs/*imd*.csv 
        # fig_csvs_4: output/machine_readable_outputs/figure_csvs/*LD_*.csv 
        # fig_csvs_5: output/machine_readable_outputs/figure_csvs/*eligible*.csv 
        text: interim-outputs/u16/text/*

  generate_u16_simple_report:
    run: jupyter:latest env IMAGE_FORMAT=png jupyter nbconvert /workspace/notebooks/first_dose_u16.ipynb --execute --to html --template basic --output=/workspace/output/first_dose_u16.html --ExecutePreprocessor.timeout=86400 --no-input
    needs: [generate_u16_cohort, generate_u16_notebook]
    outputs:
      moderately_sensitive:
        notebook: output/first_dose_u16.html
        csvs: output/machine_readable_outputs/table_csvs/*_u16*.csv
        
  generate_u16_report_second_doses:
    run: jupyter:latest jupyter nbconvert /workspace/notebooks/second_doses_u16.ipynb --execute --to html --template basic --output-dir=/workspace/output --ExecutePreprocessor.timeout=86400 --no-input
    needs: [generate_u16_notebook]
    outputs:
      moderately_sensitive:
        notebook: output/second_doses_u16.html
        tables: output/machine_readable_outputs/second_doses/*_u16*.csv

  # generate_u16_report_third_doses:
  #   run: jupyter:latest jupyter nbconvert /workspace/notebooks/booster-third-doses_u16.ipynb --execute --to html --template basic --output-dir=/workspace/output --ExecutePreprocessor.timeout=86400 --no-input
  #   needs: [generate_u16_notebook]
  #   outputs:
  #     moderately_sensitive:
  #       notebook: output/booster-third-doses_u16.html
  #       tables: output/machine_readable_outputs/third_doses/*_u16*.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 07:18:22

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

Job information

Status
Succeeded
Backend
TPP
Requested by
Lisa Hopcroft
Branch
master
Force run dependencies
No
Git commit hash
b1ebd74
Requested actions
  • generate_delivery_cohort
  • generate_notebook
  • generate_simple_report
  • generate_report_second_doses
  • generate_report_third_doses

Code comparison

Compare the code used in this Job Request