Skip to content
sgsmcfePublic

About

100% client-side Lean engineering suite: Video & Live Time Study, Yamazumi (Mixed-Model, RPW, Shojinka), PERT/CPM, TWI SOP/SWS, SMED & ROI, REBA/RULA, Spaghetti A*, Mini-VSM & Shift Capacity

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

TimeStudy — Lean Video Time Study, Yamazumi, Spaghetti & Capacity Planner

TimeStudy is a 100% client-side web application built for Lean manufacturing engineers to turn shop-floor videos into repeatable time studies, Muda Pareto charts, Standard Work Combination Tables (SWCT), Yamazumi line-balancing boards, Spaghetti walking diagrams, Mini-VSM WIP analyses, and multi-shift capacity plans.

100% Local & Private — Videos and study files never leave your computer. There is no backend server, no cloud upload, and no external runtime dependency.


Quick Start (Work PC Ready)

Option 1 — Zero Install (GitHub Pages, Recommended)

Open directly in Google Chrome or Microsoft Edge:

  • https://sgsmcfe.github.io/TimeStudy/
  • Works completely offline after first load; local videos are played directly from disk via browser object URLs, and Autosave to a local folder works natively over https:// via the File System Access API.

Option 2 — One-Click Windows Launcher (start-timestudy.bat)

If you cloned or downloaded this repository on a Windows PC with Node.js (v18+):

  1. Double-click start-timestudy.bat.
  2. It installs dependencies (first run only), builds the app, starts a local preview server on http://localhost:4173, and opens your browser.

Option 3 — Node.js CLI

npm install
npm run dev          # development server (http://localhost:5173)
# or production build + preview:
npm run build
npm run preview      # http://localhost:4173

Option 4 — Static Hosting (Python / IIS / SharePoint)

Build dist/ once (npm run build), then serve dist/ with any static server:

python3 -m http.server 8080 --directory dist

Core Capabilities

Phase 1 — Video & Gemba Time Study Capture

  • 3 switchable layouts: Top/Bottom resizable split (default), Left/Right split, and Cinema Focus with slide-over inspector drawer.
  • Live Stopwatch Gemba Mode + Dual Video Comparison: Capture directly on the shop floor without a video file, or synchronize two videos side-by-side (Before vs After Kaizen).
  • Non-blocking rapid capture: Click any operation lane (or press 1–9) to mark start/stop while the video plays, with optional Auto-Chain (scoped per operator) and Auto-Pause on Stop.
  • Full context & methodology parameters: Active Operator, Station, Location, per-operation Performance Rating % / PFD % overrides, TMU / Basic MOST formula calculator, REBA/RULA ergonomic scoring, and 1-click SOP frame snapshot capture.
  • One-piece, Batch & Off-cycle operations: Automatic unit-time normalization (raw / batchSize) and 3 off-cycle frequency modes (every X pieces, per time interval, per changeover) plus CSV/Excel matrix bulk import.
  • Multi-track timeline: Group by Operation, Operator, or Station; automatic sub-lanes for overlapping observations; drag bar edges to fine-tune timestamps; full Undo/Redo (Ctrl+Z / Ctrl+Y).
  • Built-in Demo Project: Realistic 15-cycle assembly study with a synthetic animated shop-floor video so you can test every feature immediately without uploading a file.

Phase 2 — Lean Engineering Analytics

  • Executive Overview: 2×2 management summary (KPI strip with simulated Kaizen ROI, Yamazumi, Muda Pareto, Shift Capacity, Top Kaizen actions).
  • Variations & Mudas: Automatic Lowest Repeatable Time (LRT) calculation, ILO/Student required sample size ($N_{\text{req}}$ & achieved margin $\pm%$), Tukey IQR + Grubbs outlier detection, Muda Pareto (8 TIMWOODS + custom tags), unexplained spike detection, and floating Picture-in-Picture (PiP) clip replay.
  • Dual Gantt & SWCT: Observed real-time Gantt (Operator / Station / Operator@Station) + Standard Work Combination Table (SWCT) with masked machine time, PERT blocking, and Takt reference line.
  • Yamazumi & Kaizen Simulation: Operator or Station view, Mixed-Model Product Variants (weighted mix, worst-case peak, min–max whiskers), RPW + PERT constraint-aware Auto-Balance, REBA ergonomic color overlay & exposure table, 1-click Water Spider, Shojinka staffing (1 → N), and PDCA actions with CapEx tracking.
  • Standard Work SOP & SWS: TWI Job Instruction SOP cards (How / Why / Safety / Quality / Tools), document governance (Draft / Reviewed / Approved), client-side irreversible mosaic privacy blur on operator photos, and Printable Standardized Work Sheet (SWS).
  • SMED & Kaizen Financial ROI: Dedicated 4-stage SMED workshop (IED vs OED separation, Multi-Crew Pit-Crew Gantt, EPEI lot-size reduction) and annualized Direct Labor + SMED Downtime savings with CapEx payback months.
  • Spaghetti Diagram & Layout Editor: Interactive 25 cm / 1 ft grid layout editor (drag/resize stations, locations, obstacles; optional floorplan image overlay), A* aisle routing vs. straight line, aggregated flow vs. classic spaghetti, frequency-weighted dashed off-cycle trips, and walking KPIs (m/piece, km/shift).
  • Mini-VSM & WIP: Automatic process boxes from timed operations, WIP buffers with overflow alerts, Little's Law lead time, Process Cycle Efficiency (PCE), and What-If scenarios (50% WIP / One-Piece Flow).
  • Takt & Shift Capacity Planner: Direct or demand-calculated Takt, net shift time & OEE, per-shift scenario modulation, and automatic extrapolation across 1×8, 2×8, 3×8 (5d), 4×8 (6d / 18 shifts), and 5×8 (7d / 21 shifts).
  • Study Baseline Diff (T0 vs T1): Compare any exported baseline .timestudy.json against a follow-up study (or Measured vs Active Simulation) with operation realization % and KPI deltas.

Persistence & Exports

  • Local Folder Autosave (Chrome/Edge): Pick a local folder once; TimeStudy debounces and writes <study-name>.timestudy.json automatically (~1 s after each edit), mirrored in browser IndexedDB.
  • JSON Backup & Relink Video: Export/import .timestudy.json files with automatic schema sanitization (SCHEMA_VERSION = 1) and 1-click local video relinking.
  • 12-Sheet Excel Workbook (.xlsx): Summary & KPIs, Raw Observations, Operation Stats, Muda Pareto, Yamazumi Data, Spaghetti & Travel, WIP & Mini-VSM, Capacity & Shifts, Kaizen Action Plan, PERT & Methodology, Standard Work SOP, SMED & Ergonomics.
  • High-DPI PNG & A3 PDF Print: 1-click 2× PNG export on every chart + print-optimized A3 landscape report.

Keyboard Shortcuts (Phase 1)

Shortcut Action
Enter Next step for active operator (stops current & starts next, looping)
S Stop current step without chaining
/ Open Quick-Jump search palette (ideal for 20–30+ operations)
O / Alt + 1–9 Switch active operator
Space Play / Pause
← / → Previous / Next frame (1/30 s)
Shift + ← / Shift + → Skip backward / forward 5 s
1 – 9 Start / Stop visible operation #1–9
M Toggle Motion Muda tag on selected observation
Esc Cancel all open captures
Delete / Backspace Delete selected observation
Ctrl+Z / Ctrl+Y Undo / Redo

Testing & Verification (5 Layers)

TimeStudy is validated across 5 test layers:

npm run typecheck      # Strict TypeScript (noUncheckedIndexedAccess)
npm run test           # Unit, edge-case, 1,000-factory Monte Carlo, & React integration tests
npm run test:coverage  # V8 coverage report on engines, storage, and export
npm run build          # Production bundle verification
npm run test:e2e       # Real headless Chrome E2E across all views & downloads
npm run verify:all     # typecheck + test + build

Deep Documentation

  • Benchmark & Roadmap Kaizen (FR) — Méthodologie de benchmark marché (AVIX, Timer Pro, OTRS10, Tulip, Yamazumi/SMED), matrice des écarts et roadmap RICE-Lean.
  • Mémoire Technique (FR) — Référentiel complet des méthodologies de calcul, équations, hypothèses industrielles, limites, architecture et protocole de validation (LRT, $N_{\text{req}}$ Student, Outliers, Basic MOST, Allure/PFD, Yamazumi Mixed-Model & RPW, SMED/ROI, REBA/RULA, PERT/CPM, Spaghetti A*, Mini-VSM, Capacitaire).
  • User Guide — Step-by-step operational handbook for shop-floor time studies.
  • Formulas & Lean Methodology — Exact equations for LRT, Muda conservation, Yamazumi, A* Spaghetti, Little's Law VSM, and Shift Capacity.
  • Architecture & Testing — Codebase design, JSON sanitizer, persistence architecture, 5-layer testing, and V2 extension roadmap.

License

Copyright © 2026 Simon Guimas

  • Software source code (src/, scripts/, and build configuration): licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later) — see LICENSE.
    • You are free to use, run (including locally or on an internal factory intranet such as IIS/SharePoint), study, and modify TimeStudy.
    • Any redistribution of modified versions or derivative works must also be released under GPL-3.0-or-later with its corresponding source code.
  • Documentation (docs/, including the Mémoire Technique, Lean methodology reference, and User Guide): licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) — see docs/LICENSE.
  • Third-party dependencies: runtime attributions (React MIT, xlsx / SheetJS Apache-2.0) are listed in THIRD_PARTY_NOTICES.md.

Commercial Licensing

If you wish to integrate TimeStudy into a proprietary/closed-source product, obtain an exception to the GPLv3 copyleft requirements, or use the documentation in commercial training or consulting engagements, a commercial license is available upon request:

About

100% client-side Lean engineering suite: Video & Live Time Study, Yamazumi (Mixed-Model, RPW, Shojinka), PERT/CPM, TWI SOP/SWS, SMED & ROI, REBA/RULA, Spaghetti A*, Mini-VSM & Shift Capacity

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages