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
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,15 @@ fn openmemory_ui_export_probe_has_dedicated_docker_task() -> Result<()> {
let makefile = fs::read_to_string(workspace_root.join("Makefile.toml"))?;
let docker_script = fs::read_to_string(workspace_root.join("scripts/baseline-docker.sh"))?;
let compose = fs::read_to_string(workspace_root.join("docker-compose.baseline.yml"))?;
let script = fs::read_to_string(workspace_root.join("scripts/live-baseline-benchmark.sh"))?;
let script = [
"scripts/live-baseline-benchmark.sh",
"scripts/live-baseline/core.sh",
"scripts/live-baseline/openmemory.sh",
]
.into_iter()
.map(|path| fs::read_to_string(workspace_root.join(path)))
.collect::<Result<Vec<_>, _>>()?
.join("\n");
let report = serde_json::from_str::<Value>(&fs::read_to_string(workspace_root.join(
"apps/elf-eval/fixtures/report_snapshots/2026-06-11-xy-931-openmemory-ui-export-readback.json",
))?)?;
Expand Down
9 changes: 6 additions & 3 deletions apps/elf-eval/tests/real_world_job_benchmark/misc_reports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ use crate::support;

#[test]
fn mem0_delete_audit_probe_requires_explicit_delete_history_event() -> Result<()> {
let script = fs::read_to_string(
support::workspace_root()?.join("scripts").join("live-baseline-benchmark.sh"),
)?;
let workspace_root = support::workspace_root()?;
let script = ["scripts/live-baseline-benchmark.sh", "scripts/live-baseline/projects/mem0.sh"]
.into_iter()
.map(|path| fs::read_to_string(workspace_root.join(path)))
.collect::<Result<Vec<_>, _>>()?
.join("\n");

assert!(script.contains("def history_has_event"));
assert!(script.contains("str(entry.get(\"event\", \"\")).upper() == expected"));
Expand Down
Loading