Skip to content

Job request: 17381

Organisation:
Bennett Institute
Workspace:
the-impact-of-covid-19-on-prescribing-of-antimicrobials-interactive
ID:
fmy7r6bdjfdfr53i

This page shows the technical details of what happened when the authorised researcher Brian MacKenna (PHC) requested one or more actions to be run against real patient data within a secure environment.

By cross-referencing the list of jobs with the pipeline section below, you can infer what security level the outputs were written to.

The output security levels are:

  • highly_sensitive
    • Researchers can never directly view these outputs
    • Researchers can only request code is run against them
  • moderately_sensitive
    • Can be viewed by an approved researcher by logging into a highly secure environment
    • These are the only outputs that can be requested for public release via a controlled output review service.

Jobs

  • Action:
    generate_study_population_weekly_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Succeeded
    Job identifier:
    2o27ot2jlogdkcao
  • Action:
    generate_study_population_ethnicity_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Succeeded
    Job identifier:
    ytsqrs7t4q2bbrar
  • Action:
    generate_study_population_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    npqu6dssg5gmey6n
    Error:
    nonzero_exit: Job exited with an error: A transient database error occurred, your job may run if you try it again, if it keeps failing then contact tech support
  • Action:
    top_5_table_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    vulqez4wawblu4se
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    join_cohorts_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    hgcd5dj6lo5mw227
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    plot_measure_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    y6b7og7rsv6kq3wy
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    generate_report_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    xzjsevn5a7k3yr4m
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    event_counts_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    yybw3m62xqe5cwgv
    Error:
    dependency_failed: Not starting as dependency failed
  • Action:
    generate_measures_01GZ0S80X6JS205PCHC5NDCZ4R
    Status:
    Failed
    Job identifier:
    ndi7huz3mxmbgzqy
    Error:
    dependency_failed: Not starting as dependency failed

Pipeline

Show project.yaml
version: '3.0'

expectations:
  population_size: 1000

actions:

  generate_study_population_ethnicity_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: cohortextractor:latest generate_cohort
      --study-definition study_definition_ethnicity
      --param end_date="2023-03-31"
      --output-dir output/01GZ0S80X6JS205PCHC5NDCZ4R --output-format=feather
    outputs:
      highly_sensitive:
        cohort: output/01GZ0S80X6JS205PCHC5NDCZ4R/input_ethnicity.feather

  generate_study_population_weekly_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: cohortextractor:latest generate_cohort
      --study-definition study_definition
      --param codelist_1_path="interactive_codelists/codelist_1.csv"
      --param codelist_1_type="medication"
      --param codelist_2_path="interactive_codelists/codelist_2.csv"
      --param codelist_2_type="medication"
      --param codelist_1_frequency="weekly"
      --param time_value="0"
      --param time_ever="False"
      --param time_scale="weeks"
      --param time_event="before"
      --param codelist_2_comparison_date="end_date"
      --param operator="AND"
      --param population="adults"
      --param breakdowns=""
      --index-date_range="2023-04-10 to 2023-04-10 by week"
      --output-dir=output/01GZ0S80X6JS205PCHC5NDCZ4R
      --output-format=feather
      --output-file=output/01GZ0S80X6JS205PCHC5NDCZ4R/input_weekly_2023-04-10.feather
    outputs:
      highly_sensitive:
        cohort: output/01GZ0S80X6JS205PCHC5NDCZ4R/input_weekly_2023-04-10.feather

  generate_study_population_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: cohortextractor:latest generate_cohort
      --study-definition study_definition
      --param codelist_1_path="interactive_codelists/codelist_1.csv"
      --param codelist_1_type="medication"
      --param codelist_2_path="interactive_codelists/codelist_2.csv"
      --param codelist_2_type="medication"
      --param codelist_1_frequency="monthly"
      --param time_value="0"
      --param time_ever="False"
      --param time_scale="weeks"
      --param time_event="before"
      --param codelist_2_comparison_date="end_date"
      --param operator="AND"
      --param population="adults"
      --param breakdowns="sex,age,ethnicity,imd,region"
      --index-date-range="2019-09-01 to 2023-03-31 by month"
      --output-dir=output/01GZ0S80X6JS205PCHC5NDCZ4R
      --output-format=feather
    outputs:
      highly_sensitive:
        cohort: output/01GZ0S80X6JS205PCHC5NDCZ4R/input_*.feather

  join_cohorts_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: >
      cohort-joiner:v0.0.38
        --lhs output/01GZ0S80X6JS205PCHC5NDCZ4R/input_20*.feather
        --rhs output/01GZ0S80X6JS205PCHC5NDCZ4R/input_ethnicity.feather
        --output-dir output/01GZ0S80X6JS205PCHC5NDCZ4R/joined
    needs: [generate_study_population_01GZ0S80X6JS205PCHC5NDCZ4R, generate_study_population_ethnicity_01GZ0S80X6JS205PCHC5NDCZ4R]
    outputs:
      highly_sensitive:
        cohort: output/01GZ0S80X6JS205PCHC5NDCZ4R/joined/input_20*.feather

  generate_measures_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: >
      python:latest -m analysis.measures
        --breakdowns=sex
        --breakdowns=age
        --breakdowns=ethnicity
        --breakdowns=imd
        --breakdowns=region
        --input-dir="output/01GZ0S80X6JS205PCHC5NDCZ4R/joined"

    needs: [join_cohorts_01GZ0S80X6JS205PCHC5NDCZ4R]
    outputs:
      moderately_sensitive:
        measure: output/01GZ0S80X6JS205PCHC5NDCZ4R/joined/measure_all.csv
        decile_measure: output/01GZ0S80X6JS205PCHC5NDCZ4R/joined/measure_practice_rate_deciles.csv

  top_5_table_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: >
      python:latest python analysis/top_5.py
      --codelist-1-path="interactive_codelists/codelist_1.csv"
      --codelist-2-path="interactive_codelists/codelist_2.csv"
      --output-dir="output/01GZ0S80X6JS205PCHC5NDCZ4R"
    needs: [generate_measures_01GZ0S80X6JS205PCHC5NDCZ4R]
    outputs:
      moderately_sensitive:
        tables: output/01GZ0S80X6JS205PCHC5NDCZ4R/joined/top_5*.csv

  plot_measure_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: >
      python:latest python analysis/plot_measures.py
        --breakdowns=sex
        --breakdowns=age
        --breakdowns=ethnicity
        --breakdowns=imd
        --breakdowns=region
        --output-dir output/01GZ0S80X6JS205PCHC5NDCZ4R
    needs: [generate_measures_01GZ0S80X6JS205PCHC5NDCZ4R]
    outputs:
      moderately_sensitive:
        measure: output/01GZ0S80X6JS205PCHC5NDCZ4R/plot_measure*.png
        deciles: output/01GZ0S80X6JS205PCHC5NDCZ4R/deciles_chart.png

  event_counts_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: >
      python:latest -m analysis.event_counts --input-dir="output/01GZ0S80X6JS205PCHC5NDCZ4R" --output-dir="output/01GZ0S80X6JS205PCHC5NDCZ4R"
    needs: [join_cohorts_01GZ0S80X6JS205PCHC5NDCZ4R, generate_study_population_weekly_01GZ0S80X6JS205PCHC5NDCZ4R]
    outputs:
      moderately_sensitive:
        measure: output/01GZ0S80X6JS205PCHC5NDCZ4R/event_counts.json

  generate_report_01GZ0S80X6JS205PCHC5NDCZ4R:
    run: >
      python:latest python analysis/render_report.py
      --output-dir="output/01GZ0S80X6JS205PCHC5NDCZ4R"
      --population="adults"
      --breakdowns=sex
      --breakdowns=age
      --breakdowns=ethnicity
      --breakdowns=imd
      --breakdowns=region
      --codelist-1-name="Oral prednisolone codes"
      --codelist-2-name="Doxycycline (tetracyclines)"
      --codelist-1-link="primis-covid19-vacc-uptake/astrxm2/v1.5.3"
      --codelist-2-link="user/alexorlek/doxycycline-tetracyclines/4458c45a"
      --time-value="0"
      --time-scale="weeks"
      --time-event="before"
      --start-date="2019-09-01"
      --end-date="2023-03-31"
      
    needs: [event_counts_01GZ0S80X6JS205PCHC5NDCZ4R, top_5_table_01GZ0S80X6JS205PCHC5NDCZ4R, plot_measure_01GZ0S80X6JS205PCHC5NDCZ4R]
    outputs:
      moderately_sensitive:
        notebook: output/01GZ0S80X6JS205PCHC5NDCZ4R/report.html

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 15:51:13

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

Job request

Status
Failed
Backend
TPP
Requested by
Brian MacKenna (PHC)
Branch
main
Force run dependencies
Yes
Git commit hash
39e488d
Requested actions
  • run_all

Code comparison

Compare the code used in this job request