claudia108 / black_thursday Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool-examples/black_thursday
This project forked from turingschool-examples/black_thursday
make test for make merchants
searches transaction class
this needs to work with csv directly
methods: all
find by id
find all by invoice id
find all by credit card number
find all by result
holds and searches items
includes methods all, find by id, find by name, find all with description, find all by price, find all by price in range, find all by merchant id
Low level tests without fixture files
holds on to transaction data
methods/vars: id
invoice id credit card number
credit card expiration date
result
created at
updated at
either customer analysis
or merchant analysis
move sales engine to lib and fix all requires
holds on to custy data
methods/vars: id
first name
last name
created at
updated at
item is its own class
has methods: id
name
description
unit price
create at
updated at
merchant id
unit price to dollars
grabs info with symbol headers
sale engine needs to grab items and merchants from csv
connects single item w single invoice
method/vars to hold on to data: id
item id
invoice id
quantity
unit price
created at
updated at
methods: unit price to dollars (is a method in another Item class - may want to pull from there)
add the following methods to invoice class
is paid in full?
total
has methods id and name.
should be a class that merchant repo calls on
methods:
all
find by id
find all by item id
find all by invoice id
has name and id
methods: average items per merchant
average items per merchant standard deviation
merchants with high item count
average item price for merchant(arg)
average average price per merchant
golden items (2 devations above average)
methods: all
find by id
find all by cust id
find all by merch id
find all by status
all data will come from SalesEngine
methods: id
cust id
merch id
status
created at
updated at
its possible these are going to be attr_readers
holds and searches merchant instances - this is a child class to sales engine.
Methods: all, find by id, find by name, find all by name
average invoice per merch
average invoice standard deviation
top merchants by invoice
top days by invoice
invoice status
this grabs info stored in customer class
works directly with csv
methods: all
find by id
find all by first name
find all by last name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.