use crate::spec::types::ParityFailure;
use std::fs;
use std::io::{self, Write};
use std::path::PathBuf;
use std::sync::atomic::{AtomicU64, Ordering};
use std::time::{SystemTime, UNIX_EPOCH};
#[cfg(loom)]
use loom::sync::Mutex as LoomMutex;
use super::hex::*;
pub(super) fn regression_dir(op_id: &str) -> PathBuf {
let root = std::env!("CARGO_MANIFEST_DIR");
PathBuf::from(root)
.join("regressions")
.join(sanitize(op_id))
}