Job request: 3219

View Repo View project.yaml

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

By cross-referencing the indicated Requested Actions with the Pipeline section below, you can infer what security level various outputs were written to. Outputs marked as highly_sensitive can never be viewed directly by a researcher; 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

ID Status Action
w6krorkshzyzn3m6 failed count_by_strata_v2

Pipeline

Show Hide project.yaml
version: '3.0'

expectations:
  population_size: 2000

actions:

  generate_cohort:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_cohort
    outputs:
      highly_sensitive:
        cohort: output/input_cohort.csv

  count_by_strata:
    run: python:latest python analysis/all_time_counts.py
    needs: [generate_cohort]
    outputs:
      moderately_sensitive:
        table: output/counts_table.csv
        practice_distribution: output/practice_distribution.csv
        per_week: output/code_use_per_week_long_covid.csv
        per_week_pvf: output/code_use_per_week_post_viral_fatigue.csv
        code_table: output/all_long_covid_codes.csv
        practice_summ: output/practice_summ.txt

  # # to be run locally
  generate_report_notebook:
      run: jupyter:latest jupyter nbconvert /workspace/analysis/long_covid_coding_report.ipynb --execute --to html --output-dir=/workspace/released_outputs --ExecutePreprocessor.timeout=86400 --no-input
      outputs:
        moderately_sensitive:
          notebook: released_outputs/long_covid_coding_report.html

  # Uses V1 with ethnicity codes instead of categories, run locally to generate a
  # dummy data file for V2
  generate_cohort_v1_for_v2_comparison:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_cohort_v1_with_ethnicity_codes
    outputs:
      highly_sensitive:
        cohort: output/v2/input_cohort_v1_with_ethnicity_codes.csv

  # Cohort Extractor V2
  generate_cohort_v2:
    run: cohortextractor-v2:latest --cohort-definition analysis/study_definition_cohort_v2.py --output output/v2/input_cohort.csv --dummy-data-file analysis/dummy_data.csv
    outputs:
      highly_sensitive:
        cohort: output/v2/input_cohort.csv

  count_by_strata_v2:
    run: python:latest python analysis/all_time_counts_v2.py
    needs: [generate_cohort_v2]
    outputs:
      moderately_sensitive:
        table: output/v2/counts_table.csv
        practice_distribution: output/v2/practice_distribution.csv
        per_week: output/v2/code_use_per_week_long_covid.csv
        per_week_pvf: output/v2/code_use_per_week_post_viral_fatigue.csv
        code_table: output/v2/all_long_covid_codes.csv
        practice_summ: output/v2/practice_summ.txt

State

State is inferred from the related Jobs.

Status: Failed

Timings

Timings set to UTC timezone.

  • Created:
  • Started:
  • Finished:
  • Runtime: 02:43:30

Config