Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit History
-
feat: local dataset paths, API route, and versioned fetch routing
alexis779- Add server API to read local LeRobot dataset files safely (path validation). - Add localDataset helpers, internalFetch, and parquet/versionUtils updates for local vs Hugging Face URLs. - Wire home, episode viewer, stats, and filtering panels to local dataset flow. - Add unit tests for localDataset and extend versionUtils tests. - Add .gitignore and .prettierignore (node_modules, .next, build artifacts). Made-with: Cursorbe47857
-
remove old ref
Unverified signature2985a11 -
memory cap and cache cleanup
Unverified signature0ec6cb5
-
fix(memory): prevent server OOM from unbounded Next.js fetch cache and dataset info cache
- Add `cache: "no-store"` to fetchParquetFile, fetchJson, and tasks.jsonl fetch so Next.js does not accumulate large parquet ArrayBuffers in its Data Cache across many requests over days of continuous operation - Cap datasetInfoCache at 200 entries with FIFO eviction to prevent unbounded growth Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2b90078
-
style: run prettier formatting
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>291477f
-
Merge branch 'main' into feat/speedup_visulization
Unverified signaturee457eba -
refactor: extract utilities and improve type safety (Phases 1-3)
This PR implements a comprehensive refactoring to improve code maintainability and type safety without changing any functionality. ## Phase 1: Extract Constants - Created src/utils/constants.ts with centralized constants - Eliminated 40+ magic numbers (padding values, thresholds, config) - Updated all files to import from constants module ## Phase 2: Extract Business Logic - Created src/utils/dataProcessing.ts with chart processing functions - Extracted ~500 lines of duplicated scale grouping logic - Functions: groupRowBySuffix, computeGroupStats, groupByScale, etc. - Created src/utils/languageInstructions.ts for language extraction - Consolidates duplicate logic from v2 and v3 data fetching - Created src/utils/stringFormatting.ts for path formatting - Standard padding and path building utilities ## Phase 3: Improve Type Safety - Created src/utils/typeGuards.ts with type guard functions - Replaced 15+ unsafe type assertions with proper type guards - Added typed interfaces fo…2cbfbf8 -
chore: apply Prettier formatting
Run prettier --write to fix code style across all files. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>28ef794
-
fix playback and typing
Unverified signaturea990603 -
perf: faster video loading
Unverified signature9196260
-
change the way we check the dataset version (#8)
8ffbccb
-
clean debugging and unused functions and vars
eff9a58 -
Refactor episode data loading to support v3.0 structure and enhance video player segmentation features. Added debug logging for version checks and data loading processes (will remove later).
aa2bc0d
-
Added check for v3.0
5fe6175 -
Added files from Mishig PR
Co-authored-by: Mishig <dmishig@gmail.com>8a37195