Skip to content

Commit 59f1e63

Browse files
committed
Geomean and original eval benchmarks
1 parent ce0a666 commit 59f1e63

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

infra/platforms-eval.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ function run() {
6464
# Run configs
6565

6666
# Original:
67-
# run $BENCH_DIR/hamming hamming $NUM_SEEDS
68-
# run $BENCH_DIR/mathematics mathematics $NUM_SEEDS
69-
70-
# run $BENCH_DIR/graphics graphics $NUM_SEEDS
7167
run $BENCH_DIR/hamming hamming $NUM_SEEDS
72-
run $BENCH_DIR/libraries libraries $NUM_SEEDS
7368
run $BENCH_DIR/mathematics mathematics $NUM_SEEDS
74-
run $BENCH_DIR/numerics numerics $NUM_SEEDS
75-
run $BENCH_DIR/physics physics $NUM_SEEDS
76-
run $BENCH_DIR/haskell.fpcore haskell $NUM_SEEDS
77-
run $BENCH_DIR/regression.fpcore regression $NUM_SEEDS
69+
70+
# run $BENCH_DIR/graphics graphics $NUM_SEEDS
71+
# run $BENCH_DIR/hamming hamming $NUM_SEEDS
72+
# run $BENCH_DIR/libraries libraries $NUM_SEEDS
73+
# run $BENCH_DIR/mathematics mathematics $NUM_SEEDS
74+
# run $BENCH_DIR/numerics numerics $NUM_SEEDS
75+
# run $BENCH_DIR/physics physics $NUM_SEEDS
76+
# run $BENCH_DIR/haskell.fpcore haskell $NUM_SEEDS
77+
# run $BENCH_DIR/regression.fpcore regression $NUM_SEEDS
7878

7979
python3 $INFRA_DIR/platforms/cross-plot.py "$OUTDIR/platforms/output"
8080

src/datafile.rkt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,16 @@
6363
(define initial-cost* (exact->inexact initial-cost))
6464
(for/list ([point (in-list (list* initial-point best-point other-points))])
6565
(match-define (list cost accuracy _ ...) point)
66-
(list (/ cost initial-cost*) accuracy))))
66+
;(list (/ cost initial-cost*) accuracy))))
67+
(list (log (/ cost initial-cost*)) accuracy))))
6768
(define frontier
6869
(map
6970
(match-lambda
7071
[(list cost accuracy)
7172
(list
7273
;; Equivalent to (/ 1 (/ cost tests-length))
73-
(/ 1 (/ cost tests-length))
74+
;(/ 1 (/ cost tests-length))
75+
(/ 1 (exp (/ cost tests-length)))
7476
(- 1 (/ accuracy maximum-accuracy)))])
7577
(pareto-combine rescaled #:convex? #t)))
7678
(define maximum-cost

0 commit comments

Comments
 (0)