Skip to content

About

Personal site — backend engineer, Java & Spring Boot, payments and core banking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

r0h1tb.github.io

Personal site of Rohit Behera, backend engineer. Next.js 16 · React 19 · Tailwind v4 · fully static, served from GitHub Pages.

The site is meant to be evidence rather than a description: an interactive simulation of the onboarding pipeline's failure handling, a live Unicode splitter demo, retrieval over the site's own content with an evaluation you can run in the browser, and an upstream ledger generated from the GitHub API.

npm run dev          # http://localhost:3000
npm run check        # lint + typecheck + tests + build — what CI runs
npm test             # node:test, no test framework dependency
npm run sync         # refresh src/data/github.json from the GitHub API
npm run og           # regenerate public/og.png (needs network for fonts)

Where things are

content/work/*.md            case studies → /work/[slug]; {{embed:name}} splices in a component
content/writing/*.md         drafts (the route stays parked until one is published)
src/data/github.json         PR facts from the GitHub API (npm run sync)
src/data/upstream-notes.ts   what each fix was, and its failure class — written by hand
src/data/eval-set.ts         retrieval eval questions with gold passages, plus off-topic ones
src/lib/sim/pipeline.ts      the onboarding pipeline model behind the failure lab and hero trace
src/lib/split/split.ts       code-unit / code-point / grapheme splitting for the splitlint demo
src/lib/search/              BM25, rank fusion, evaluation, abstention, corpus builder
src/app/search.json/route.ts the retrieval corpus, written to out/search.json at build time
public/embed-worker.js       in-browser embeddings (transformers.js, all-MiniLM-L6-v2), opt-in
scripts/check-design.mjs     build-time enforcement, see below

How the interactive parts stay honest

  • Failure lab. Retry counts, backoff, breaker thresholds and the outbox poll interval are copied from the service's configuration, and the breaker and retry schedule are computed by small state machines with unit tests, not written out by hand. The one scenario the design does not handle is shown and labelled as a gap.
  • Upstream ledger. Facts come from the API; interpretation comes from upstream-notes.ts. A merged PR without a note fails a local build. Closed-unmerged PRs are left out.
  • Retrieval. Keyword results and their eval are computed at build time. Embedding results, the fused ranking and their eval run in the visitor's browser. The model was chosen by this eval: MiniLM beat bge-small on MRR and on separating off-topic questions. The page reports misses and abstention rates rather than a headline accuracy.

Design system

Systems-trace direction: an engineering document crossed with a tracing UI. Type and diagrams carry it; colour is reserved for state.

  • Type — Archivo, one variable family at two widths (body at 100%, display at 122% via the wdth axis), and IBM Plex Mono for anything that is data: labels, logs, numerals.
  • Colour — ten tokens: paper sunk rule edge ink muted faint signal ok fail. The accent is amber, the colour of a WARN line. Tailwind's default palette is cleared, not extended. Light and dark both follow the OS, with a toggle that persists; the choice is applied before first paint.
  • Structure — radius 0, hairlines instead of shadows, diagrams as inline SVG drawn with the same tokens so they follow the theme.
  • Motion — scroll-driven reveals on native CSS timelines, a streamed trace in the hero, flowing dashes on diagram edges. Every animation degrades to its finished state, and prefers-reduced-motion turns all of it off. The headline never animates in (it would stop being the LCP).

Enforcement

npm run build runs check:design first and fails on: default-palette classes, gradients, rounded-*, shadow-*, raw hex outside the token block, marketing filler, any text colour under 4.5:1 or control border under 3:1 in either theme, a mobile themeColor that disagrees with the paper colour, a published post with its route still parked, or a merged upstream PR with no note (a warning in CI, so a scheduled deploy still ships).

Append design-check-ignore to a line to override it deliberately.

Content rules

  • The employer is described ("a global bank"), never named.
  • The credit-card onboarding platform is presented as a personal capstone, and none of its illustrative figures are quoted as measurements.
  • A number appears only if it can be checked: a PR, a test count, a config value, or the resume.

About

Personal site — backend engineer, Java & Spring Boot, payments and core banking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages