22 lines
301 B
Markdown
22 lines
301 B
Markdown
# PlanetExpressExpress
|
|
|
|
A data driven approach for solving a shipping discount calculator.
|
|
|
|
## Setup
|
|
|
|
- Ruby 3.x
|
|
|
|
## Usage
|
|
|
|
Generating sample data
|
|
|
|
```sh
|
|
$ ruby bin/generate_data.rb $SAMPLE_SIZE $SHIPMENTS_PER_DAY > sample_file.txt
|
|
```
|
|
|
|
Run the calculator
|
|
|
|
```sh
|
|
$ ruby bin/run.rb sample_file.txt
|
|
```
|