GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JuliaRakitina/wireline-ops-console: Real-time wireline operations console with React, TypeScript and D3. Synthetic telemetry, depth-indexed inspection, explainable alerts and replay.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
e2e
e2e
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.json
.prettierrc.json
 
 
DESIGN.md
DESIGN.md
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package.json
package.json
 
 
playwright.config.ts
playwright.config.ts
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

Wireline Operations Console

Verify Deploy GitHub Pages

A real-time wireline monitoring workspace where cable depth, load, and measurement confidence stay connected.

React · strict TypeScript · D3 · deterministic telemetry · tested operator workflows

Real-world provenance

This modern clean-room reconstruction continues a real industrial system; it is not a fictional portfolio case study. I am Julia Rakitina, and I personally designed, implemented, and field-tested the original wireline acquisition and monitoring system end to end in 2015–2016. The complete sensor-to-screen chain was tested under real operating conditions.

My scope covered physical sensor selection and integration, acquisition firmware, serial transport, Python processing and middleware, WAMP communication, persistence and recording, domain logic, and the AngularJS/D3 operator interface. This included the hardware/software path that turned cable movement, line tension, and magnetic depth markers into live measurements, operator alerts, and recorded runs.

A production descendant later migrated to LabJack acquisition and modern tablet software, retained the foundational architecture, and was commercialized in 2026. It remains operational in 2026. My authorship claim concerns the original system and its foundational architecture; it does not imply that I wrote every later production rewrite.

Historical system: real and field-tested. This repository: a modern synthetic clean-room implementation. It is not connected to operating equipment and contains no current production source, credentials, customer data, or field recordings. All measurements in this reconstruction are synthetic.

Contemporary evidence

The 2015 post is a contemporaneous public record of the original development. The later retrospective and behavior map connect that work to this reconstruction.

  1. January 9, 2015 — D3.js line chart overflows margins. My original Stack Overflow question contains AngularJS/D3 code, multiple dynamically generated X axes, a discussion of independent X/Y zoom behavior and the clipping problem, and a screenshot of the real well-log interface.
  2. Engineering retrospective — The Chart That Had to Grow Downward. My account of the visualization work: downward depth, independent measurement scales, clipping, and preserving an operator's inspected viewport while data arrives.
  3. Legacy behavior map. A component-level mapping from observable behavior in the archived implementation to the modern clean-room reconstruction, with explicit boundaries between source evidence and historical context.

Open the live demo — no account or installation required.

Live wireline operations with shared downward depth tracks, independent signal scales, and the well schematic

Try it in 60 seconds

  1. Start run. Watch measured depth advance downward. Hover across all three tracks; drag or zoom into history. New samples keep arriving without moving your inspected window. Click Back to Live.
  2. Set baseline, then choose Snag / overpull in the scenario lab below the chart and Inject scenario. Upward motion stops while absolute and differential tension rise. Warning precedes critical. Acknowledge the alert; its physical condition stays visible.
  3. Inject Encoder degradation. Raw depth undercounts cable travel. A magnetic marker establishes a visible correction while acquisition remains explicitly degraded.
  4. Open Run Review to scrub, replay at 1–8×, or export CSV and the run metadata. Open Well Profile for construction geometry and the clearly labeled survey prototype.

Reset returns to seed 2016, default settings, and a 60-second synthetic pre-roll. The demo opens ready to acquire, with enough history to inspect immediately. Pause freezes acquisition; inspecting history does not.

Scenario What to look for
Normal descent Smooth lowering, small load variation, regular magnetic references
Pause and reverse Deceleration, a stationary interval, then a second chronological pass through depth
Snag / overpull Speed falls while tension rises; warning → critical; horizontal load excursions at one depth
Sudden tension loss Critical loss-of-load alert with possible causes, without asserting a diagnosis
Encoder degradation Missed pulses, uncertain depth, logged magnetic correction; quality remains degraded
Boundary approach Explicit synthetic reposition near Total Depth, followed by configurable proximity alerts

The industrial problem

A downhole instrument moves through a borehole on a cable. A wireline operator needs to know where it is, how fast it is moving, how much load the cable carries, and whether those measurements remain trustworthy. Legacy wireline logging winch units often conveyed this through mechanical gauges.

Depth grows downward because the tool does. Tension, differential tension, and speed use different horizontal scales but share the same vertical measured-depth axis. Reversing the cable revisits depths; a snag can change tension without changing depth. Shared depth tracks keep those relationships visible alongside instantaneous instrument readings.

Read my account: The chart that had to grow downward.

From sensor to operator screen

My foundational work covered sensor and acquisition hardware selection, encoder-derived depth and speed, tension measurement, magnetic markers, correction, safety alerts, calibration/settings, recording, review, visualization, and operator-interface localization. The original Arduino acquisition layer missed encoder pulses at high input rates in field tests. That exposed an acquisition bottleneck; the later hardware changed while the operating principles endured.

The original operator interface combined a large, configurable line-tension needle gauge with depth-indexed tracks and English, Russian, and Azerbaijani localization, including a saved language preference. The new portfolio interface is English and combines a central tension gauge with depth tracks; the legacy behavior map documents these historical capabilities.

Historical inclinometry work was a visualization/planning prototype; physical instrument integration did not reach the field-complete state of the core depth/tension system.

What is implemented

  • Depth tracks: focused D3 scales, axes, chronological paths, per-track clipping, depth-only zoom/pan, synchronized crosshair, keyboard inspection, track toggles, editable X domains, and explicit live/history ownership.
  • Physical model: pulse calibration, signed line speed, raw/corrected depth, magnetic reference corrections, direction and acquisition quality. Every run is deterministic for its seed and command sequence.
  • Operator baseline: differential tension = current line tension − operator baseline. It retains the sign. Setting a baseline logs an event; separate warning/critical limits apply to its magnitude.
  • Line-tension instrument: a central needle gauge shows absolute load, its exact value, and configured warning/critical zones. Its scale stays fixed during acquisition. Explicit loss-of-load, out-of-range, paused, and stale-reading labels prevent a low or frozen needle from implying normal live operation.
  • Alerts: explainable load, loss-of-load, differential, and directional boundary rules. Acknowledgment belongs to the current occurrence and expires when it clears. Sound is opt-in.
  • Geometry: surface, cased and cemented interval, Casing Shoe, open hole, Total Depth, tool position and warning bands derive from one configuration.
  • Review: bounded recording, IndexedDB persistence, replay speeds, time/depth scrubbing, event selection, CSV, and JSON with initial settings plus timestamped configuration revisions. Historical annotations use the settings effective at the selected sample.
  • Prototype survey: synthetic inclination and azimuth versus measured depth, synchronized stations and a derived 2D vertical section distinguishing MD from TVD.
  • Failure behavior: malformed/duplicate/out-of-order sample rejection, timestamp-gap discontinuities, stale delivery, restart, storage failure, and explicit encoder degradation.

Overpull with a stationary tool, rising tension, critical alerts, and depth-indexed events

Architecture

flowchart LR
  S[Seeded simulator] -->|20 Hz| T[TelemetrySource + validation]
  T --> A[Domain rules + event transitions]
  A --> B[Bounded console store]
  B -->|5 Hz snapshots| R[React workspace]
  R --> D[D3-owned SVG subtree]
  B --> I[IndexedDB snapshot]
  I --> V[Review / CSV / metadata]
Loading
Module Owns
domain Canonical metres, seconds and kN; configuration; derived calculations; lifecycle
telemetry Source interface, seeded simulator, validation and bounded buffers
alerts Pure explainable rules
recording Versioned snapshots, configuration revisions, persistence, exports
visualization Depth geometry, viewport ownership, D3 rendering, well and survey views
features Operator commands, external-store publication, live/review/settings screens

Engineering decisions

  • Acquisition and rendering have different clocks. All 20 Hz samples drive alert evaluation; React receives 5 Hz snapshots. Marker, discontinuity and worst-quality flags survive the display boundary. Event transitions are collected at acquisition rate.
  • The viewport is operator-owned state. Live-follow derives a window from the newest sample; inspection stores a fixed domain. Arrival changes data, never that domain. Returning live is explicit.
  • React and D3 have separate DOM ownership. React composes controls and the SVG scaffold. D3 owns one drawing subtree and its zoom behavior. No competing updates to the same nodes.
  • Quality is orthogonal to lifecycle. Running with degraded encoder data is a meaningful state. Correcting position does not magically repair acquisition.
  • A bounded local product is enough. No ceremonial database or server. TelemetrySource leaves a clear seam for a future adapter; transport/reconnect and real equipment commands would need their own implementation and review.
  • Current, compatible tooling. React 19.3 / Vite 8.3 / Vitest 5; TypeScript 6.0 is deliberately used because the current TypeScript ESLint parser supports it. Exact resolutions are in the lockfile.

Run locally

Prerequisites: Node.js 22.12+ (Node 24 tested), pnpm 10.28.2.

pnpm install --frozen-lockfile
pnpm dev

Open 127.0.0.1:5173 and keep the development server running while using the local demo. No environment file, credentials, account, or external service is required. The dev server binds to IPv4 loopback and requires port 5173, so it cannot silently move to another port. Build output uses relative asset URLs for the public GitHub Pages deployment.

Verify

pnpm typecheck
pnpm lint
pnpm format:check
pnpm test
pnpm build
pnpm exec playwright install chromium
pnpm test:e2e
pnpm scan:safety

CI runs the same checks, including browser tests. A separate least-privilege workflow publishes the verified static build to GitHub Pages. E2E tests cover the recruiter path, viewport retention during acquisition, real wheel/drag behavior, configuration propagation, degraded acquisition, saved-run reload, exports, desktop/tablet/mobile layout, and automated WCAG AA checks on the four primary screens. Tests generate the real screenshots in docs/screenshots.

For the repeatable 60-second browser measurement, start pnpm dev in one terminal and run:

node scripts/benchmark-browser.mjs

See performance and visual QA for measured results and their limits.

Data, provenance, and limits

Every measurement and survey station is synthetic. Supplied archives were inspected read-only for behavior; no legacy source, real LAS file, database, credentials, customer details, or production configuration is shipped. The safety scan emits categories/counts, never sensitive matching text. Automated pattern checks complement manual source/screenshot review; they cannot prove the absence of every possible secret or real name.

This is an educational portfolio model, not certified field-control software. Its physics, marker correction and thresholds are intentionally transparent simplifications. It must not control a logging unit or guide real operational safety decisions.

  • Retains up to 12,000 display samples (about 40 minutes at 5 Hz), 500 events, 64 settings revisions, and one latest browser snapshot. It is not a lossless 20 Hz or unlimited historian. Very frequent settings edits shorten retained history so surviving samples retain complete settings provenance.
  • Browser scheduling may slow simulation time; delivery stalls are labeled. A marker corrects a reference but does not restore encoder quality.
  • Survey geometry is synthetic and uses a simple balanced-tangential method, not a survey-grade interpretation package.
  • LAS export is intentionally omitted. Repeated depths, stationary load changes, reversals and reference discontinuities require explicit pass selection and resampling before a meaningful depth-indexed LAS 2.0 export. CSV retains the chronology; JSON retains metadata. No misleading LAS file is produced.
  • Chromium is the verified browser. Real hardware/transport, multi-user operation, external deployment, and formal accessibility/safety certification are outside this build.
  • No open-source license has been added. Public hosting does not grant permission to copy, modify, or redistribute the source.

Further reading

Architecture · Domain model · Field scenarios · Legacy behavior map · Provenance and safety · Design · Interview guide

About

Real-time wireline operations console with React, TypeScript and D3. Synthetic telemetry, depth-indexed inspection, explainable alerts and replay.

juliarakitina.github.io/wireline-ops-console/

Topics

d3data-visualizationindustrial-uiplaywrightportfolioreactreal-timesimulationtelemetrytypescriptvitestwireline

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.