curiouslearning / followthelearners

MIT License
2 stars 1 forks source link

Scripts for populating backend data for Admin Dashboard UI visualizations over time #512

Closed burrage closed 3 years ago

burrage commented 3 years ago

User Story As a developer, I want to write scripts that pull necessary data from various sources over specified periods of time that are required for Admin Dashboard visualizations that require looking at data over periods of time, So that I can safely store important performance data over time to tell how the FTL system is doing.

As a developer, I want to automate the running of the scripts that I have written for populating backend data, So that I do not have to run the script manually all the time.

As a developer, I want to write a check that reports the status of the automatic running of the script, So that I can determine easily if there is an issue with the script running over time.

Acceptance Criteria Given that I have finished the UI wireframes, I have setup the backend data structure needed for storing the data over time, and I have written a script for pulling and storing that data, When I manually run the script and view the backend data structure, Then I should see all of the necessary stored on the backend data structure for that particular specified time period.

(repeat for multiple time periods and determine how to handle previously stored data for that time period-- update? Ignore?)

Given that I have manually run the script for various time periods and verified storage of that data, When I have setup the repeating task to automatically run the script at specific intervals, Then I should see data automatically being stored in the backend data structure.

Given that I have written a test of what the end result of automatically running the script is, When I view a log of the results of that script running automatically, Then I should have confidence that data is being pulled and stored automatically.