{"id":24629539,"url":"https://github.com/stufield/tech-interview-coding","last_synced_at":"2026-02-08T19:35:46.158Z","repository":{"id":43407377,"uuid":"465482980","full_name":"stufield/tech-interview-coding","owner":"stufield","description":"Coding exercise for a technical interview for basic R development","archived":false,"fork":false,"pushed_at":"2024-12-04T17:04:47.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T22:39:40.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stufield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-02T22:01:54.000Z","updated_at":"2022-03-02T22:01:54.000Z","dependencies_parsed_at":"2025-03-21T04:32:49.160Z","dependency_job_id":null,"html_url":"https://github.com/stufield/tech-interview-coding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stufield/tech-interview-coding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stufield%2Ftech-interview-coding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stufield%2Ftech-interview-coding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stufield%2Ftech-interview-coding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stufield%2Ftech-interview-coding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stufield","download_url":"https://codeload.github.com/stufield/tech-interview-coding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stufield%2Ftech-interview-coding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29240704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T18:06:38.086Z","status":"ssl_error","status_checked_at":"2026-02-08T18:06:09.124Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-25T06:13:13.434Z","updated_at":"2026-02-08T19:35:46.123Z","avatar_url":"https://github.com/stufield.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Technical Skills Exercise\n\nBelow is a real world example of a problem that regularly occurs \nin the SomaLogic data science workflow.\n\n\n## Background\n\nEvery 6 months, samples from two subjects are run through the assay, with each sample run \nthree times each (a total n = 6 runs). Predictions for the SomaScan Tests are then \nmade for each of the 6 runs and the average for each subject/individual is calculated.\nThis process is part of maintaining our regulatory certification.\nThe final deliverable looks like this:\n\n```bash\n#   SubjectId  mean_testA  mean_testB\n# 1         1        0.69    62.26667\n# 2         2        0.63    61.74000\n```\n\nThe current method for providing this final table involves a lot of cutting and pasting,\nbecause the files are disjoint. We want to move as far away as possible from any\ncut-and-paste operations, as they are very error prone. The information we need to\ncalculate the table comes from two files\n\n1. A predictions file `Predictions.csv`\n2. An ID file `Barcode.csv`\n\n\n### `Predictions.csv` file:\n\nIn `Predictions.csv`, we have predictions for testA (probability) and \ntestB (linear response).\n\n* The first column contains a `barcode` that is tied back to an individual\n* The second and third columns contain the `predictions`\n\n```bash\n#   barcode testA testB\n# 1      d2  0.71 62.37\n# 2      a4  0.63 62.72\n# 3      y3  0.67 62.74\n# 4      g6  0.69 61.69\n# 5      w5  0.67 60.19\n# 6      b1  0.59 62.31\n```\n\n\n### `Barcode.csv` file:\n\nThis file allows us to link the barcodes in the\npredictions file to specific subjects.\n\n* The first column contains the `SubjectId`\n* The remaining columns contain the barcodes for the three replicate runs\n\n```bash\n#   SubjectId barcode_1 barcode_2 barcode_3\n# 1         1        y3        d2        g6\n# 2         2        a4        b1        w5\n```\n\n\n## Instructions\n\n1. clone this repository\n2. create a branch for yourself\n3. rename the `tech-exercise.Rmd` file to `tech-exercise-\u003cname\u003e.Rmd`\n4. open `tech-exercise-\u003cname\u003e.Rmd` and follow the directions inside\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstufield%2Ftech-interview-coding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstufield%2Ftech-interview-coding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstufield%2Ftech-interview-coding/lists"}