From acbf6d6bd6d63ab0e9f7c4e119827f76e0382aac Mon Sep 17 00:00:00 2001 From: kboz Date: Sun, 19 Apr 2026 01:50:32 +0200 Subject: feat(backend): unify boot process and refactor route properties - Added scripts/haul.sh, setup_auth.py, and setup_eve_data.py for simplified SSO and CSV data bootstrapping. - Refactored `Ship` and `RouteStep` properties across route planning modules to utilize dictionaries instead of strict dataclass attributes. - Re-aligned route limits, reducing upfront capital risk values in `arbitrage.py` and updating ship metrics in `manager.py`. - Updated `.gitignore`, `.env.example`, and created AI-assistant prompt configuration. - Added comprehensive "Getting Started" guides to the README and initialized CHANGELOG.md. --- backend/src/graph.py | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/src/graph.py') diff --git a/backend/src/graph.py b/backend/src/graph.py index 31eef80..9e4534a 100644 --- a/backend/src/graph.py +++ b/backend/src/graph.py @@ -300,6 +300,7 @@ class NavigationGraph: else: logger.info("Generating path lengths and caching to file") dist = dict(nx.all_pairs_dijkstra_path_length(self.graph)) + PATHS_FILE.parent.mkdir(parents=True, exist_ok=True) with PATHS_FILE.open("wb") as f: pickle.dump(dist, f) return dist -- cgit v1.3