Git Product home page Git Product logo

seek_coding_challenge's Introduction

SEEK Coding Challenge

Description

This coding challenge contains a PDF(not linked) referring to some dataset, and posing some questions regarding that data.

This project is setup to answer those questions.

The main assumption of this project is that the environment will have access to Docker.

Various make targets will be provided for simplicity, however, the specific bash commands will be provided to adhere to the docker requirement.

Assumptions

It is assumed that each profile relates to a unique person within the dataset.

Such that if two profile share a firstName and lastName they will be considered different people who just happen to have the same name.

Answers

The list of questions and respective answers are found in answers.log.

Getting Started

This project assumes the following about the environment:

  • that docker is installed
  • that bash is installed
  • (optionally) that GNU make is installed

Setting up the credentials

The dataset download requires some credentials set to unzip it.

To setup the .envrc file, execute the script:

bash bin/setup_envrc.bash

from the root directory, or execute:

make .envrc

Downloading the data

To download the data, from the root directory execute the following script:

export $(cat .envrc | xargs) > /dev/null && bash bin/download_dataset.bash

or execute:

make download

Executing the answers to the questions

To have the scripts print out the questions and the associated answers, from the root directory execute the following command:

docker build . --build-arg UID=$(id -u) --tag seek_coding_challenge && docker run -it -v $(pwd):/opt/app/ seek_coding_challenge

or execute:

make run

Running the tests

To run the tests, from the root directory execute the following command:

docker build . --build-arg UID=$(id -u) --build-arg POETRY_DEV_OPTION= --tag seek_coding_challenge_dev && docker run -it seek_coding_challenge_dev pytest

or execute:

make test

seek_coding_challenge's People

Contributors

cfdair avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.