After 60 years of service.
Please sign her farewell card here
- Run
get_movie_time.py |input file here|
and receive this week's schedule - That's it!
hours.ini
file.
Any issues, please contact script creator here
- Operation hours
- Monday - Thursday, 8:00AM - 11:00PM
- Friday - Sunday, 10:30AM - 11:30PM
- Make them parametrized, subject to change.
- Overhead
- Beginning of day: 1 hour setup before any movie.
- 35 mins between movies.
- Movie cannot end after theatre closing time, which is midnight
- Movie cannot start after theatre hours. I.e., Between theatre hours end and closing time.
- Prioritize movies schedule later in the day
- Have rounded times. E.g., 4:00PM, 2:35PM. Not 6:32PM
- Assume movie theatre has no limit of number of screens.
- Soft performance spec: Must return answer within reasonable time (e.g., less than 5 sec)
- Input is CSV
- No commans expected in data payloads.
- No limit on size.
- Assume char set UTF-8.
- Output
- Show the date in format
Day of week name|MM|DD|YYYY|
- Show the movie name, rating, and duration in 24 hour "military" time format
- Show the available show times and end time for every movie
happy_path.csv
"Happy path" dataerror_handle.csv
Possible valid CSV but contains invalid data for our application- Special chars
- Empty value
- Invalid year
- Invalid runtime
- Duplicate entries
- UTF-8 chars
line_break.csv
Mistaken line feedsduplicate.csv
Duplicate moviesnot_a_csv.csv
A regular text fileempty_file.csv
An empty filestress.csv
A really long file