Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
critical bug also in exp1 and exp3
Browse files Browse the repository at this point in the history
  • Loading branch information
taivop committed Dec 5, 2016
1 parent fbef966 commit a056305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/r/exp1_summary.r
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ normalise_request_log_df <- function(df) {
DROP_TIMES_BEFORE = first_get_request_time + 2 * 60 * 1000
DROP_TIMES_AFTER = last_get_request_time - 2 * 60 * 1000

df2 <- df2 %>% filter(timeCreated > first_get_request_time &
timeCreated >= DROP_TIMES_AFTER)
df2 <- df2 %>% filter(timeCreated > DROP_TIMES_BEFORE &
timeCreated <= DROP_TIMES_AFTER)
return(df2)
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/r/exp3_summary.r
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ normalise_request_log_df <- function(df) {
DROP_TIMES_BEFORE = first_request_time + 2 * 60 * 1000
DROP_TIMES_AFTER = last_request_time - 2 * 60 * 1000

df2 <- df2 %>% filter(timeCreated > first_request_time &
timeCreated >= DROP_TIMES_AFTER) %>%
df2 <- df2 %>% filter(timeCreated > DROP_TIMES_BEFORE &
timeCreated <= DROP_TIMES_AFTER) %>%
select(-timeCreated, -timeEnqueued, -timeDequeued, -timeForwarded,
-timeReceived, -timeReturned)
return(df2)
Expand Down

0 comments on commit a056305

Please sign in to comment.