✔ | F W S OK | Context
⠏ | 0 | task-1-subtask-1-tests
⠏ | 0 | log_importance_weights()
✖ | 2 3 | log_importance_weights()
────────────────────────────────────────────────────────────────────────────────
Failure ('test-task-1-subtask-1-tests.R:23:3'): log_importance_weights()
log_importance_weights(alpha, beta) not equivalent to c(...).
Lengths differ: 6 is not 10
Error: Incorrect result for alpha = c(4.5, 1.8, -2.4, 0.7, 0.3, -3.1, 0.4, 1.7, -0.5, -0.1) and beta = c(25.2, 7, -5.6, 1.1, 14.7, -6.5, 14.2, 25.9, 13.4, 19.8).
Failure ('test-task-1-subtask-1-tests.R:31:3'): log_importance_weights()
log_importance_weights(alpha, beta) not equivalent to c(...).
Lengths differ: 6 is not 10
Error: Incorrect result for alpha = c(1.4, 1.5, -2.3, -2.3, -0.5, 1.9, 1.6, -1.8, -2.7, -1.9) and beta = c(11.4, 8.2, 10.8, 7.4, 18.2, 27.8, 5.1, 1.9, -15.7, 25.1).
────────────────────────────────────────────────────────────────────────────────
⠏ | 0 | task-2-subtask-1-tests
⠏ | 0 | normalized_importance_weights()
✖ | 2 3 | normalized_importance_weights()
────────────────────────────────────────────────────────────────────────────────
Failure ('test-task-2-subtask-1-tests.R:23:3'): normalized_importance_weights()
normalized_importance_weights(alpha, beta) not equivalent to c(0.03, 0.44, 0, 0.01, 0.18, 0, 0.25, 0.04, 0.04, 0.01).
Lengths differ: 6 is not 10
Error: Incorrect result for alpha = c(4.5, 1.8, -2.4, 0.7, 0.3, -3.1, 0.4, 1.7, -0.5, -0.1) and beta = c(25.2, 7, -5.6, 1.1, 14.7, -6.5, 14.2, 25.9, 13.4, 19.8).
Failure ('test-task-2-subtask-1-tests.R:31:3'): normalized_importance_weights()
normalized_importance_weights(alpha, beta) not equivalent to c(0.47, 0.42, 0, 0, 0, 0.01, 0.09, 0, 0, 0).
Lengths differ: 6 is not 10
Error: Incorrect result for alpha = c(1.4, 1.5, -2.3, -2.3, -0.5, 1.9, 1.6, -1.8, -2.7, -1.9) and beta = c(11.4, 8.2, 10.8, 7.4, 18.2, 27.8, 5.1, 1.9, -15.7, 25.1).
────────────────────────────────────────────────────────────────────────────────
⠏ | 0 | task-3-subtask-1-tests
⠏ | 0 | S_eff()
✖ | 2 3 | S_eff()
────────────────────────────────────────────────────────────────────────────────
Failure ('test-task-3-subtask-1-tests.R:23:3'): S_eff()
S_eff(alpha, beta) not equivalent to 3.404.
1/1 mismatches
[1] 1.35 - 3.4 == -2.05
Error: Incorrect result for alpha = c(4.5, 1.8, -2.4, 0.7, 0.3, -3.1, 0.4, 1.7, -0.5, -0.1) and beta = c(25.2, 7, -5.6, 1.1, 14.7, -6.5, 14.2, 25.9, 13.4, 19.8).
Failure ('test-task-3-subtask-1-tests.R:31:3'): S_eff()
S_eff(alpha, beta) not equivalent to 2.448.
1/1 mismatches
[1] 1.35 - 2.45 == -1.09
Error: Incorrect result for alpha = c(1.4, 1.5, -2.3, -2.3, -0.5, 1.9, 1.6, -1.8, -2.7, -1.9) and beta = c(11.4, 8.2, 10.8, 7.4, 18.2, 27.8, 5.1, 1.9, -15.7, 25.1).
────────────────────────────────────────────────────────────────────────────────
⠏ | 0 | task-4-subtask-1-tests
⠏ | 0 | posterior_mean()
✖ | 2 3 | posterior_mean()
────────────────────────────────────────────────────────────────────────────────
Failure ('test-task-4-subtask-1-tests.R:23:3'): posterior_mean()
posterior_mean(alpha, beta) not equivalent to c(1.111039, 11.854793).
2/2 mismatches (average diff: 2.09)
[1] 0.503 - 1.11 == -0.608
[2] 8.275 - 11.85 == -3.580
Error: Incorrect result for alpha = c(4.5, 1.8, -2.4, 0.7, 0.3, -3.1, 0.4, 1.7, -0.5, -0.1) and beta = c(25.2, 7, -5.6, 1.1, 14.7, -6.5, 14.2, 25.9, 13.4, 19.8).
Failure ('test-task-4-subtask-1-tests.R:30:3'): posterior_mean()
posterior_mean(alpha, beta) not equivalent to c(1.458649, 9.67896).
2/2 mismatches (average diff: 1.18)
[1] 0.503 - 1.46 == -0.956
[2] 8.275 - 9.68 == -1.404
Error: Incorrect result for alpha = c(1.4, 1.5, -2.3, -2.3, -0.5, 1.9, 1.6, -1.8, -2.7, -1.9) and beta = c(11.4, 8.2, 10.8, 7.4, 18.2, 27.8, 5.1, 1.9, -15.7, 25.1).
────────────────────────────────────────────────────────────────────────────────
══ Results ═════════════════════════════════════════════════════════════════════
Duration: 0.3 s
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 12 ]