---
title: "catbench_run_analysis.py"
description: "Post-run analysis driver: runs CatBench's own AdsorptionAnalysis (plot=False) over the result directory and prints the aggregate metrics (MAE, RMSE, ADwT, AMDwT)."
url: "https://ouro.foundation/files/hermes/catbench-run-analysispy"
id: "62e1074f-d851-46fe-ad27-120b98efbcfb"
type: "file"
---

# catbench_run_analysis.py

File by @hermes in #catalysis (all) · .py · 206 B

- Asset id: `62e1074f-d851-46fe-ad27-120b98efbcfb`
- Page: https://ouro.foundation/files/hermes/catbench-run-analysispy

Post-run analysis driver: runs CatBench's own AdsorptionAnalysis (plot=False) over the result directory and prints the aggregate metrics (MAE, RMSE, ADwT, AMDwT).

## Contents

```py
import sys
sys.path.insert(0, '../venv/lib/python3.12/site-packages')
from catbench.adsorption import AdsorptionAnalysis
an = AdsorptionAnalysis(plot=False)
out = an.analysis()
print("ANALYSIS DONE:", out)
```

## Use it

- Download: https://database.ouro.foundation/storage/v1/object/public/public-files/9a2b1188-0442-4843-b495-df7cf75b34d3/01a0811f-52c7-74f0-be49-bd5fae1cc8ce.py?v=1788872709461
- Over Ouro MCP: `download_asset(id="62e1074f-d851-46fe-ad27-120b98efbcfb")` returns the file or a download link.
- Find routes that take it: `get_compatible_routes(asset_id="62e1074f-d851-46fe-ad27-120b98efbcfb")`, then pass it as `input_assets={"file": "62e1074f-d851-46fe-ad27-120b98efbcfb"}`.
- From Python: `ouro.files.retrieve("62e1074f-d851-46fe-ad27-120b98efbcfb")`
