Spaces:
Sleeping
Sleeping
Commit History
-
Smart data ingestion + figure safety + synthetic manifest + HF auth fix
Addresses the directive's six Major Problems without disturbing the primary Gradio workflow at http://127.0.0.1:7860. Major Problem 1 — robust multi-format CSV ingestion New module cdpr.ingest.smart_loader provides load_dataset() and ProfileReport across CSV / TSV / TXT / XLSX / XLS / ODS / Parquet / Feather. Auto-detects format from extension and magic bytes; missing engine surfaces a clean ImportError with the install command rather than a tangled traceback. Timestamp handling: any column whose normalised name matches the alias table (time/timestamp/ts/sec/date/...) OR any string column whose first non-null values parse as datetime is converted to seconds-from-first-sample under a new 't' column. The directive's exact failure case --- 2025-05-07 15:01:27.548198 --- yields t = 0, 1, 2, 3, 4 (seconds). Missing-value handling: recognises the full sentinel set the directive listed (none/None/NULL/NaN/nan/N/A/missing/blank plus common spreadshe…2ad96a7
-
Phase-2 hardening sweep: parametric robots, URL CSVs, schema aliases
Implements all 14 improvements proposed in the post-mortem of the dissertation_8cable CSV failure log: #1 Register dissertation_8cable in the canonical build_robot() factory. The directive geometry moved from scripts/run_simulation.py into src/cdpr/robots/dissertation.py and is now reachable through the same public API as the catalog robots. Replay / PPO / SAC no longer crash on CSVs produced by --preset dissertation-circle. #2 Persist the full robot description (anchors, attachments, mass, inertia, tension bounds) in manifest.json under a new "robot_spec" block. A manifest-aware helper, robot_from_manifest_or_catalog, rebuilds any robot from this block --- catalog OR custom JSON OR inline override. Phase-2 workflows now work on any run_simulation.py output regardless of geometry source. #3 Cable-indexed column filter requires a numeric suffix. ``Layer`` no longer crashes the loader with int('ayer'). Same fix in train_from_csv, compare_…bdbf666