1
0

updating the bot frameworks plotting

This commit is contained in:
Matthew Gaughan 2025-04-01 10:28:00 -07:00
parent e2e668e6fa
commit 6b96713a03
5 changed files with 22 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -27,9 +27,8 @@ long_df <- input_df |>
values_to = "lengthened_commit_count") values_to = "lengthened_commit_count")
summarized_df <- long_df |> summarized_df <- long_df |>
group_by(relative_week, commit_type) |> group_by(relative_week, commit_type, rd_event) |>
summarise(total_commit_count = sum(lengthened_commit_count, na.rm = TRUE)) |> summarise(total_commit_count = sum(lengthened_commit_count, na.rm = TRUE))
mutate(rd_event="release")
#long_df <- input_df |> #long_df <- input_df |>
# tidyr::pivot_longer(cols = c(wmf_ft_commit_count, unaff_ft_commit_count, nonbot_commit_count), # tidyr::pivot_longer(cols = c(wmf_ft_commit_count, unaff_ft_commit_count, nonbot_commit_count),
# names_to = "commit_type", # names_to = "commit_type",
@ -41,7 +40,7 @@ summarized_df <- long_df |>
# mutate(scaled_long_commits = lengthened_commit_count / 10) # mutate(scaled_long_commits = lengthened_commit_count / 10)
window_num <- 4 window_num <- 8
final_long_df <- summarized_df |> final_long_df <- summarized_df |>
filter(relative_week >= (- window_num) & relative_week <= (window_num)) filter(relative_week >= (- window_num) & relative_week <= (window_num))
@ -66,8 +65,7 @@ commit_plot <- final_long_df |>
theme(legend.position = "top") theme(legend.position = "top")
commit_plot commit_plot
ggsave(filename = "0401-bot-frameworks-commits-event.png", plot = commit_plot, width = 15, height = 9, dpi = 800)
ggsave(filename = "0316-bot-frameworks-commits-event.png", plot = commit_plot, width = 15, height = 9, dpi = 800)
total_commit_plot <- final_long_df |> total_commit_plot <- final_long_df |>
ggplot(aes(x=relative_week, ggplot(aes(x=relative_week,

View File

@ -15,3 +15,4 @@ When done using RStudio Server, terminate the job by:
2. Issue the following command on the login node: 2. Issue the following command on the login node:
scancel -f 25101978 scancel -f 25101978
slurmstepd: error: *** JOB 25101978 ON n3439 CANCELLED AT 2025-04-01T10:12:30 DUE TO TIME LIMIT ***

View File

@ -0,0 +1,17 @@
1. SSH tunnel from your workstation using the following command:
ssh -N -L 8787:n3439:60911 mjilg@klone.hyak.uw.edu
and point your web browser to http://localhost:8787
2. log in to RStudio Server using the following credentials:
user: mjilg
password: EKa4WB0aZn3MeC3Huz21
When done using RStudio Server, terminate the job by:
1. Exit the RStudio Session ("power" button in the top right corner of the RStudio window)
2. Issue the following command on the login node:
scancel -f 25104883