irs's People
irs's Issues
Comparison of initial CSS and final CSS
TC-EXIT-02
Interfaces from robot are also available on tablet.
- Tablet is opened to show same interface as robot.
Expected Outcome
Interface should be identical and have same functionality.
There is no code yet
Display Tables (Robot) -> Touch Screen User Interface for Table Allocation
Sub Tasks
- Task... (PR)
- Designs
- HTML
- Add to flask <accessible from https://ict-irs.herokuapp.com/ >
- Connect with data from db
Report interface
Management UI
Sub-tasks:
- Login-logout flow (#56)
- Login authentication to database
- Other things and pull requests
A menu item should have a price
A small issue - not a top priority - but a menu item (in the db schema) should have a field for its price.
Calculation of CSS
Managing restaurant tables
- An interface for managing/interacting with the restaurant table records in the database.
Extraction of images from the data bucket for dimensionality reduction calibration
Autodeploy to Cloud Services
Travis:
- Add deploy scripts lambda
- Add deploy scripts s3 static assets
Lambda:
- Flask App, HTTP Trigger
- Sentiment Analysis, S3 Trigger
S3:
- Static Assets
- Images pending recognition
API Gateway:
- Lambda triggers
CloudFront:
- Amalgamate S3, Lambda
- Make the url pretty
Route53:
- Pretty URL
TC-ROB-02
Robot processes speech from user.
- User speaks to the robot.
- Robot processes the speech.
- Robot displays text that was spoken.
Expected Outcome
Users speech is displayed to them.
TC-TBL-01
Tables are shown to the user.
- User enters the size of their party.
- List of tables are shown to the user.
- User selects a table from the list.
- Table is assigned to that group.
Expected Outcome
Interface should show available tables for the user based on their party size.
Non-reporting SQL queries
Table states for database
TC-CSS-01
CSS score is calculated.
- Image is taken of the user.
- Image is proccessed and passed through the function.
- CSS score is assigned to the user.
Expected Outcome
CSS score is created and is between 0 and 100.
Derive Secret from Environment Variable
The current approach for obtaining the APP secret is bad because it will force logging in over and over.
TC-TBL-02
Table state changes as users are assigned.
- User selectes a table
- State of the table is changed.
Expected Outcome
Searching the table in the database should show that the table has been allocated.
Web interface design
Exit kiosk utilising Chrome as the web interface 6.2.1.2
Add pip caching to Travis config
Database driver functions for manipulating menu items and staff records
- Functions to list/add menu items for frontend views
- Functions to list/add staff records for authentication
Complete unit test coverage for db schema
The suite of unit tests will need to check the simple and advanced constraints of our schema - to ensure ACID-compliant transactions.
Pulling information from database for reports
Report filters
Sql stuff etc.
Postgres Template Database for Unit Tests
Makefile or similar
Thinking about putting all the scripts in a makefile of sorts. Either an actual makefile, or to fit with the theme, a python script. This would be a central point which implements and also documents:
- Running tests e.g.
make test
- Setup database e.g.
make apply-schema
- Linter e.g.
make lint
This would be expandable as we add more features and 'dev-ops' related features.
TC-BUILD-0
Build 0 works
Collection of customer evaluation data to be used for dimensionality reduction calibration
Exit kiosk interface
-
Bootstrap modal for pop up where you can select new table state
-
Reading from and posting (updated status) to db
-
Applying css (already created) to a table if it is now unavailable
TC-EXIT-01
Image capture of user.
- User stands in front of the tablet.
- Image is captured.
- Image is displayed to concierge.
Expected Outcome
Concierge is able to see the photo that has been taken.
Database Test Fixture
Need a test fixture to inject the db connection into unit tests as they require it.
Implement the true schema
As defined by the ERD and persistent data dictionary in the report.
Update table status based on exit
Report template
TC-ROB-01
Robot captures image of user
- User stands in front of the robot.
- Robot captures image of the user.
- Robot displays image captured.
I can't see the Kanban board containing the TODO tasks
Store CSS with Customer Event
One example of database connection pooling in Flask
Implement the database connection pool classes, as defined by the logical class diagram.
Store emotion API response with table data.
TC-ROB-03
Robot speaks to user to prompt them for an answer.
- User is detected by the robot.
- Robot speaks to the user.
Expected Outcome
Robot is able to speak to the user to prompt them.
Running the unit tests with FLASK_DEBUG=1
Running the unit testing suite with the environment variable FLASK_DEBUG=1
will cause the unit tests to fail intest_db.py
, with:
AssertionError: A setup function was called after the first request was handled. This usually indicates a bug in the application where a module was not imported and decorators or other functionality was called too late. To fix this make sure to import all your view modules, database models and everything related at a central place before the application starts serving requests.
This is a known issue as per here: ga4gh/ga4gh-server#791.
Let it be known, that people running unit tests locally should do so with export FLASK_DEBUG=0
. (I don't think there is any other quick fix to this)
Greeting/Robot UI Design
Endpoint in robot.py
UI Design: 9.1 of https://docs.google.com/document/d/19sFZmp3gpnUUBAwQmX9ADK9wBfQw1Miklpnxs_YiCr8/edit#heading=h.6ol07zt2rka5
Interaction: 6.1.1 of https://docs.google.com/document/d/105dhwgfuZhn7RUYRUEhM0qxlRo4OvLpqXy5B-BIrT9I/edit#heading=h.jx6ibiv1q6kz
Pages:
GET /robot
Figure 9.1.1 of UI Design
GET /robot/table?people={number of people to seat}
Figure 9.1.2&9.1.3 of UI Design
POST /robot/table
to support GET /robot/table
GET /robot/proceed{:resid}
to support successful POST /robot/table
GET /robot/full
to support negative POST /robot/table
Process:
- implement all the GET endpoints (#99)
- implement the POST endpoint
Display Tables (Robot) -> Speech Capture for response to prompts
Tested by #81
TC-CSS-02
CSS score is stored with table data.
- CSS is calculated.
- CSS is stored with the table reservation in the database.
Expected Outcome
Searching for a reservation should show CSS score for table.
Dashboard Reporting
- CSS values across time (daily, weekly, monthly) entry vs exit
- Dropdown for specific timing per filter
- Average CSS for specified time period
- Average CSS per staff member
- Graph historic CSS values for staff member and show on graph.
- Trend of selected meals from group (nice to have)
Documentation
Need to update README.md to reflect changes
Make a README to explain to newcomers how to get started
Endpoint Authentication
Could add it as a decorator
Deploy to AWS
Lambda Functions:
- Flask App - HTTP Trigger
- Azure Face Recognition - S3 Trigger
S3:
- Static Assets Bucket
- Face Recognition Bucket
Route53:
- setup domain
RDS:
- Host the database
CloudFront:
- [] Make pretty url like this.
Image deletion from datastore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.