ModelOriented / iBreakDown

Compare f16d924 ... +0 ... 2353a30

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 2 files from the diff.
Other files ignored by Codecov
NEWS.md has changed.

@@ -141,9 +141,9 @@
Loading
141 141
    # average or selected path
142 142
    if (head(path, 1) == "average") {
143 143
      # let's calculate an average attribution
144 -
      extracted_contributions <- sapply(result, function(chunk) {
144 +
      extracted_contributions <- do.call(cbind, lapply(result, function(chunk) {
145 145
        chunk[order(chunk$label, chunk$variable), "contribution"]
146 -
      })
146 +
      }))
147 147
      result_average <- result[[1]]
148 148
      result_average <- result_average[order(result_average$label, result_average$variable),]
149 149
      result_average$contribution <- rowMeans(extracted_contributions)
@@ -206,7 +206,9 @@
Loading
206 206
  }
207 207
208 208
  diffs <- apply(do.call(rbind, yhats), 2, diff)
209 -
209 +
  if (is.vector(diffs)) { #93
210 +
    diffs <- t(diffs)
211 +
  }
210 212
  #76
211 213
  new_observation_vec <- sapply(as.data.frame(new_observation), nice_format) # same as in BD
212 214

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R -0.10% 95.12%
Project Totals (13 files) 95.12%
Loading