Skip to content

Job request: 21614

Organisation:
Bennett Institute
Workspace:
tpp-database-history
ID:
63faybfe2fl3vkpb

This page shows the technical details of what happened when the authorised researcher Iain Dillingham 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

  • Action:
    query
    Status:
    Status: Succeeded
    Job identifier:
    pn53rvksf5vvafsp
  • Action:
    aggregate
    Status:
    Status: Succeeded
    Job identifier:
    ehi2iip2sengras7
  • Action:
    plot_from_2016
    Status:
    Status: Succeeded
    Job identifier:
    5ni2hqyisur4fbfn
  • Action:
    plot_from_2020
    Status:
    Status: Succeeded
    Job identifier:
    txatp3vaa6dmj6g6
  • Action:
    plot_from_last_30_days
    Status:
    Status: Succeeded
    Job identifier:
    dvmiqqw6s3s6boq5
  • Action:
    render_report
    Status:
    Status: Succeeded
    Job identifier:
    h7h7n2m4b6l6gd77

Pipeline

Show project.yaml
version: "3.0"

expectations:
  population_size: 1000

actions:
  query:
    run: >
      sqlrunner:latest
        --dummy-data-file analysis/dummy_rows.csv.gz
        --output output/query/rows.csv.gz
        --log-file output/query/log.json
        analysis/query.sql
    outputs:
      highly_sensitive:
        rows: output/query/rows.csv.gz
      moderately_sensitive:
        log: output/query/log.json

  aggregate:
    needs: [query]
    run: python:latest python -m analysis.aggregate
    outputs:
      moderately_sensitive:
        aggregates: output/aggregate/*_by_*.csv

  plot_from_2016:
    needs: [query, aggregate]
    run: >
      python:latest python -m analysis.plot
        --from-date 2016-01-01
        --output output/plot_from_2016
    outputs:
      moderately_sensitive:
        plots: output/plot_from_2016/*.png
        metadata: output/plot_from_2016/metadata.json

  plot_from_2020:
    needs: [query, aggregate]
    run: >
      python:latest python -m analysis.plot
        --from-date 2020-02-01
        --output output/plot_from_2020
    outputs:
      moderately_sensitive:
        plots: output/plot_from_2020/*.png
        metadata: output/plot_from_2020/metadata.json

  plot_from_last_30_days:
    needs: [query, aggregate]
    run: >
      python:latest python -m analysis.plot
        --from-offset 30
        --output output/plot_from_last_30_days
    outputs:
      moderately_sensitive:
        plots: output/plot_from_last_30_days/*.png
        metadata: output/plot_from_last_30_days/metadata.json

  render_report:
    needs: [query, plot_from_2016, plot_from_2020, plot_from_last_30_days]
    run: python:latest python -m analysis.render_report
    outputs:
      moderately_sensitive:
        report: output/render_report/report.html

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 01:34:47

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

Job information

Status
Succeeded
Backend
TPP
Requested by
Iain Dillingham
Branch
main
Force run dependencies
Yes
Git commit hash
471ccc7
Requested actions
  • run_all

Code comparison

Compare the code used in this Job Request