X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debbugs.Rnw;h=32c2cd0965b7b1b0d781367465f727a0e6ddb4af;hb=e1ea3aa93b5adbb32cc4c1aedf31f4ae3d12db24;hp=7494895bcb953c4ccbf808d88ec796e26fba21f8;hpb=2db991196249eb1eee4e524aeb496672db63d6a2;p=debbugs-presentations.git diff --git a/debbugs.Rnw b/debbugs.Rnw index 7494895..32c2cd0 100644 --- a/debbugs.Rnw +++ b/debbugs.Rnw @@ -38,6 +38,7 @@ % \setbeamercovered{transparent} } +\setbeamertemplate{navigation symbols}{}%remove navigation symbols \usepackage[nomargin,inline,draft]{fixme} \usepackage{listings} @@ -146,15 +147,17 @@ scientific_10 <- function(x) { \section{Bugs in Debian} \subsection{Bug Reporting Rate} -\begin{frame}{How many bugs do we have?} +\begin{frame}{Bugs from the beginning of time} \begin{center} <>= bug.growth <- fread("data/sorted_bug_growth_for_r_every_500.txt") colnames(bug.growth) <- c("time","bugs") bug.growth <- bug.growth[pmax(bugs) <= as.numeric(bugs),] bug.growth <- bug.growth[order(time),] -bug.growth <- - bug.growth[c(0,diff(bugs))>=0,] +while (bug.growth[,any(c(0,diff(bugs)) < 0)]) { + bug.growth <- + bug.growth[c(0,diff(bugs))>=0,] +} bug.growth[,date:= as.POSIXct(ISOdatetime(1970,1,1,0,0,0)+ as.numeric(bug.growth$time))] @@ -165,12 +168,12 @@ print(ggplot(bug.growth,#[date > as.POSIXct(ISOdatetime(2005,1,1,0,0,0)),], aes(x=date,y=bugs))+ xlab("Time")+ylab("Bugs filed in Debian")+ scale_y_continuous(labels = scientific_10)+ - geom_point()+stat_smooth(method="lm")) + geom_point()) @ \end{center} \end{frame} -\begin{frame}{Bug Growth Rate} +\begin{frame}[fragile]{Bug Growth Rate} <>= print(ggplot(bug.growth[date > as.POSIXct(ISOdatetime(2014,1,1,0,0,0)),], aes(x=date,y=`bugs per day`))+ @@ -183,7 +186,17 @@ print(ggplot(bug.growth[date > as.POSIXct(ISOdatetime(2014,1,1,0,0,0)),], @ \end{frame} -\begin{frame}{My entries into Cristian's game} +\begin{frame}[fragile]{Is the bug filing rate decreasing?} +\tiny +<>= +summary(lm(log(`bugs per day`)~date, + bug.growth[date > "2014-01-01 PST",])) +@ +\normalsize +Not significantly decreasing. +\end{frame} + +\begin{frame}{My entries into Christian's game} \begin{columns} \column{0.5\textwidth} \begin{center}