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
-
Sync from GitHub via hub-sync
Verified signature7b87ba1 -
Sync from GitHub via hub-sync
Verified signature5e6e3e2 -
Sync from GitHub via hub-sync
Verified signatureffcdaff
-
Sync from GitHub via hub-sync
Verified signature53af930 -
Sync from GitHub via hub-sync
Verified signature3c85a10
-
fix lint
Unverified signaturef32c7fc -
move loading and computation to client
Unverified signature9723607
-
chore(format): formatting code
CarolinePascalUnverified signature42ccb4d -
fix(lag computation): fixing lag computation by switching from delta states - raw actions correlation to delta states - delta actions correlation
CarolinePascalUnverified signature07d5949
-
chore(format): formatting code
CarolinePascalUnverified signatureaf5bddc -
fix(discrete/inactive legend): updating discrete and inactive motors legend
CarolinePascalUnverified signature482e1a7 -
feat(discrete motors): adding support for discrete motors detection
CarolinePascalUnverified signature100cc5c -
chore(format): formatting code
CarolinePascalUnverified signature3f3a086 -
feat(paper links): add links to cited papers
CarolinePascalUnverified signatureb3b1c86 -
feat(normalizatio + activity): adding range normalization and activity detection for the action velocity metric computation
CarolinePascalUnverified signature567d8a6 -
fix(rounding): adding rounding to 2 digits with scientific notation on the y-axis for motors plots
CarolinePascalUnverified signature4aeed71 -
fix(rounding): adding rounding to 2 digits on the y-axis for action insight plots
CarolinePascalUnverified signature378f824
-
refactor: update component definitions to function syntax
- Changed React component definitions from arrow functions to function declarations for ActionInsightsPanel, FilteringPanel, EpisodeLengthHistogram, Card, and StatsPanel for consistency and improved readability. - Replaced hardcoded delimiter in shortName function with CHART_CONFIG.SERIES_NAME_DELIMITER for better maintainability.3ed0c9a -
style: run prettier formatting
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>291477f -
refactor: align types with merged PRs #23 and #24
- Remove duplicate VideoInfo and AdjacentEpisodeVideos types from fetch-data.ts; import from @/types instead - Update videos-player and simple-videos-player to import VideoInfo from @/types instead of fetch-data - Replace manual Number() BigInt conversions with bigIntToNumber() from @/utils/typeGuards for consistency - Replace magic-string SERIES_DELIM in urdf-viewer with CHART_CONFIG.SERIES_NAME_DELIMITER from @/utils/constants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>15a2c53 -
fix: remove unused imports in action-insights-panel
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>22b820e
-
fix type check
Unverified signatured597fbf -
remove autoprune
Unverified signaturef3bbd13 -
remove some unneeded analysis and fix typing
Unverified signaturecdc8a1e -
add URDF assets to public/, fix OpenArm DAE materials, fix lint errors
2e738fc
-
fix openarms urdf vis
Unverified signatureeeeaa65 -
Merge branch 'main' into feat/speedup_visulization
Unverified signaturee457eba -
increase text size, remove unneeded stats
Unverified signature9f9a669 -
style: run prettier formatting
Fix code style issues in 5 files to pass format:check CI. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>59b5c7b -
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: resolve ESLint errors - remove unused imports and variables
- Remove unused type imports (SeriesColumn, ParquetDataRow) - Fix unused error parameters in catch blocks - Comment out unused columnNames variable - Fix React Hook ordering in data-recharts.tsx (move useEffect before early return) - Remove unused useRouter and useSearchParams imports - Fix groupRowBySuffix return type to ensure timestamp is always a number Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>cb139d0 -
feat: add comprehensive TypeScript types and type checking
Add complete TypeScript type definitions for the entire codebase based on the LeRobot dataset format, replacing all `any` types in core modules with proper types. ## Type Definitions Added - Create `src/types/` directory with domain-based type organization - `dataset.types.ts`: Dataset metadata, features (video, numeric, boolean) - `episode.types.ts`: Episode data structures for v2.x and v3.0 formats - `video.types.ts`: Video info and segmentation types - `chart.types.ts`: Chart data structures ## Core Changes - Replace all `any` types in data fetching (`fetch-data.ts`, `parquetUtils.ts`) - Add return types to all functions in episode data processing - Type component props in `episode-viewer.tsx`, `side-nav.tsx`, `data-recharts.tsx` - Fix BigInt/number conversions for v3.0 dataset compatibility - Handle null checks for optional fields (video_path, timestamps) ## Build & CI/CD - Add `type-check`, `type-check:watch`, and `validate` scripts to package.json - Remove `ignoreBuildErrors` …4f26d07
-
Add top jerky episodes
Unverified signature824eff6 -
add more action insight tools
Unverified signature83fd2de -
add openarm
Unverified signaturecb1fbc7 -
add trail in urdf viewer
Unverified signature9333aea -
Make episode visualizer nicer (colors, formatting) add detection for still epsiodes and fix urdf visualizer
Unverified signature39baaef -
Add stats, 3d viewer, begin/end image visualization
Unverified signature6346799 -
fix playback and typing
Unverified signaturea990603 -
perf: faster video loading
Unverified signature9196260
-
Fix charts for dataset v3.0 (#5)
69b5c3e
-
clean debugging and unused functions and vars
eff9a58 -
removed timebar and autoreset
e8df620 -
working better visualization
bb094c2 -
working visualization
fe9b8aa -
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 files from Mishig PR
Co-authored-by: Mishig <dmishig@gmail.com>8a37195