Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion eval/main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@
(rival-machine-full machine (or hint (rival-machine-default-hint machine)))))
(define-values (hint* hint*-converged?)
(make-hint machine (or hint (rival-machine-default-hint machine))))
(list (ival (or bad? stuck?) (not good?)) hint* hint*-converged?))
;; `stuck?` should be terminal for sampling, same as invalid.
;; Keep the boolean interval valid by setting the upper bit as well.
(list (ival (or bad? stuck?) (or (not good?) stuck?)) hint* hint*-converged?))

(define (rival-analyze machine rect)
(car (rival-analyze-with-hints machine rect)))
2 changes: 1 addition & 1 deletion infra/run-baseline.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
(baseline-machine-full machine (or hint (rival-machine-default-hint machine))))
(define-values (hint* hint*-converged?)
(make-hint machine (or hint (rival-machine-default-hint machine))))
(list (ival (or bad? stuck?) (not good?)) hint* hint*-converged?))
(list (ival (or bad? stuck?) (or (not good?) stuck?)) hint* hint*-converged?))

(define (baseline-machine-adjust machine)
(let ([start-time (current-inexact-milliseconds)]
Expand Down