Reword the comments in the test suite
Each comment is one sentence or two short ones joined by "=>", without a final period.
This commit is contained in:
parent
0f69709226
commit
bca4250b4d
1 changed files with 39 additions and 59 deletions
|
|
@ -13,8 +13,8 @@ DATE = (YEAR, MONTH, DAY)
|
|||
# The hour when most test cases take place
|
||||
NOON = 12
|
||||
|
||||
# `START` and `END` constitute a 57-day time span, 8 full weeks plus 1 day.
|
||||
# That implies a maximum `train_horizon` of `8` as that needs full 7-day weeks.
|
||||
# `START` and `END` span 57 days, i.e., 8 full weeks plus 1 day
|
||||
# => The maximum `train_horizon` is `8` as it needs full 7-day weeks
|
||||
START = dt.datetime(YEAR, MONTH, DAY, pkg_config.SERVICE_START, 0)
|
||||
_end = START + dt.timedelta(days=56) # `56` as `START` is not included
|
||||
END = dt.datetime(_end.year, _end.month, _end.day, pkg_config.SERVICE_END, 0)
|
||||
|
|
@ -23,9 +23,8 @@ END = dt.datetime(_end.year, _end.month, _end.day, pkg_config.SERVICE_END, 0)
|
|||
LONG_TIME_STEP = 60
|
||||
SHORT_TIME_STEP = 30
|
||||
TIME_STEPS = (SHORT_TIME_STEP, LONG_TIME_STEP)
|
||||
# The `frequency` of vertical time series is the number of days in a week, 7,
|
||||
# times the number of time steps per day. With 12 operating hours (11 am - 11 pm)
|
||||
# the `frequency`s are 84 and 168 for the `LONG/SHORT_TIME_STEP`s.
|
||||
# Vertical `frequency`s are 7 days times the time steps per day (12 operating hours)
|
||||
# => 84 and 168 for the `LONG_TIME_STEP` and `SHORT_TIME_STEP`
|
||||
VERTICAL_FREQUENCY_LONG = 7 * 12
|
||||
VERTICAL_FREQUENCY_SHORT = 7 * 24
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue