1.0.5 • Published 1 year ago

tech-skills-luma-be-demo v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Tech Skills: Luma BE Demo

Requirements: see here

Local Development

Quickstart

$ git clone git@github.com:boolean-uk/tech-skills-luma-be-demo.git && cd tech-skills-luma-be-demo
$ npm ci

Running tests

$ npm test # the whole test suite
$ npx jest spec/integration
$ npx jest spec/unit

Tests produce coverage results in ./coverage

Assumptions

  • Low behavioural data => less than 25 rejected and accepted calls combined
  • Age => above 50 increases priority
  • Proximity to practice => less than 100 units away from practice
  • Accepted Offers => a somewhat arbitrary division where >25, >50, >75 get points
  • Canceled Offers => a somewhat arbitrary division where <100, <75, <50 get points
  • Average Reply Time => a somewhat arbitrary division where <2500, <2000 get points

Installing as a node module

  1. create a new project directory
  2. within the project directory, create a directory called data
  3. in this directory add a file called patients.json - this should contain the list of patient data to use. Patient data should adhere to the schema defined here
  4. At the project directory root, install the node module
$ npm install tech-skills-luma-be-demo

Your project directory would then look like this:

/data
  /patients.json
/node_modules
  /.bin
  /jsonschema
  /tech-skills-luma-be-demo
  .package-lock.json
package-lock.json
package.json

Getting the patient list

From your project directory:

$ npx tech-skills-luma-be-demo lon=50 lat=50
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago