Skip to content

Job request: 23347

Organisation:
Bennett Institute
Workspace:
tpp-database-schema
ID:
otfaftnwnhkpyyh3

This page shows the technical details of what happened when the authorised researcher Dave Evans 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:
    data_dictionary_query
    Status:
    Status: Succeeded
    Job identifier:
    zp5tyd4gm4rrhycc
  • Action:
    query
    Status:
    Status: Succeeded
    Job identifier:
    xc5sh7hanrxrjzyh
  • Action:
    make-html-reports
    Status:
    Status: Succeeded
    Job identifier:
    pyxtd74jou5rdtg5

Pipeline

Show project.yaml
version: "3.0"

expectations:
  population_size: 1000

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

  data_dictionary_query:
    run: >
      sqlrunner:latest
        --output output/data_dictionary.csv
        --log-file output/data_dictionary_log.json
        analysis/data_dictionary_query.sql
    outputs:
      moderately_sensitive:
        rows: output/data_dictionary.csv
        log: output/data_dictionary_log.json

  make-html-reports:
    # --execute
    #   execute notebooks before converting them to HTML reports
    # --no-input
    #   exclude input cells and output prompts from HTML reports
    # --to=html
    #   convert notebooks to HTML reports (not e.g. to PDF reports)
    # --template basic
    #   use the basic (unstyled) template for HTML reports
    # --output-dir=output
    #   write HTML reports to the `output` directory
    run: >
      python:latest jupyter nbconvert
        --execute
        --no-input
        --to=html
        --template basic
        --output-dir=output
        analysis/*.ipynb
    needs:
      - query
    outputs:
      moderately_sensitive:
        reports: output/*.html

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:01:24

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

Job information

Status
Succeeded
Backend
TPP
Requested by
Dave Evans
Branch
main
Force run dependencies
No
Git commit hash
c65370a
Requested actions
  • query
  • data_dictionary_query
  • make-html-reports

Code comparison

Compare the code used in this Job Request