LS0/100جارٍ التحميل
تخطَّ إلى المحتوى
Llavisahu
تواصل
خطط تصمد. سلاسل توريد لا ترفّ.
قل مرحًا ✦تواصلتواصل
الرئيسيةالعملالمكتبةالسفرالألعابالمعملBlogعني
LinkedInGitHubEmail
© 2026 Lavi Sahu
07المعمل — سجل البناء

أبني هذا الموقع بالطريقة التي أتمنى أن يبني بها مورِّد ذكاء اصطناعي نظام تخطيط: أرِيك الفرق، لا العرض التسويقي.

المعمل — مفتوح المصدر

ثمانية مستودعات، لا نموذج شكلي

كود عام وشغّال، لا شريحة معرض أعمال: أدوات تخطيط سلاسل التوريد، ونظام إعدادات لذكاء اصطناعي، وتطبيق إملاء صوتي يعمل دون اتصال، ونظام التصميم الذي بُنيت منه هذه الصفحة نفسها. اختر بطاقة لترى ما تفعله فعلًا.

Explore GitHub @LaviSahu
Resilience Radar — Python (stdlib only) — self-contained HTML dashboard
View on GitHub →

Supply chain resilience control tower — risk radar, what-if simulation (time-to-recover / time-to-survive), and mitigation ranking. No dependencies to install; the dashboard is one self-contained HTML file.

git clone https://github.com/LaviSahu/resilience-radar.git
What the code actually does
# risk_score = likelihood(1-5) * impact(1-5), range 1-25.
TIER_THRESHOLDS: list[tuple[int, RiskTier]] = [
    (20, RiskTier.CRITICAL),
    (12, RiskTier.HIGH),
    (6, RiskTier.MEDIUM),
    (1, RiskTier.LOW),
]

def likelihood_score(event: Event, classification: Classification) -> int:
    """1-5, from event confidence (0-1) plus a source-reliability adjustment."""
    base = event.confidence * 5
    adjustment = SOURCE_RELIABILITY_ADJUSTMENT.get(classification.source_category, 0)
    return _clamp(base + adjustment, 1, 5)

src/resilience_radar/scoring.py — classic likelihood × impact risk scoring, plus a per-source reliability adjustment (geopolitical/regulatory signals score noisier than, say, a supplier or logistics event).

المعمل — سجل البناء

سجل التحقق — ما هو أعلاه، وكيف فُحص كل جزء فعلًا

شاهدها عين بشرية

Every animation on the rebuilt pages

The merge-conflict resolutions of 2026-09-19

قُرئ، لم يُشغَّل

The twin's system prompt

Each repo description (2 of 8 carry verbatim code excerpts)

لم يفحصها أحد

Everything the twin tells you

Whether anyone has ever used these repos

العمود الثالث هو العمود الصادق. لا يفرغ إلا حين تفرغ الفجوة — ليس قبل ذلك.

المعمل — سجل البناء

لا تأخذ كلامي — حرِّك الرافعات بنفسك.

ثلاث أدوات حية — محاكي سيناريوهات، وحاسبة مخزون، ومخطط تأثير السوط. لا شرائح ولا كلام إيحائي: كل رقم يُحسب في متصفحك أثناء تحريك الرافعات.

المعمل — سجل البناء

ميزة ذكاء اصطناعي حقيقية، لا نموذجًا شكليًا

هذه ليست روبوت محادثة مضمَّنًا. إنها دالة Cloudflare Pages تستدعي Workers AI مباشرة — مقيدة بنطاق هذا الموقع، ومحدودة المعدل لكل IP، وبتعليمات نظام تقول لها أن تجيب 'لا أعرف' بدل اختراع اسم عميل أو رقم. اسألها عن S&OP أو تخطيط المخزون.

اسأل توأمي الذكي

غير مُتحقق

عرض تجريبي: نموذج لغوي بتعليمات قصيرة بصوتي. قد يخطئ بثقة — لا تتصرَّف بناءً على ما يقول. اسأله عن S&OP وIBP وo9 والمخزون.

اسأل عن أي شيء في التخطيط. التوأم يجيب بصوتي.

تقييم التوأم لنفسه — النبرة: قريبة. الحقائق: لم يتحقق منها أحد، ولا أنا. النموذج: @cf/meta/llama-3.3-70b-instruct-fp8-fast، بسقف 512 رمزًا، وموجَّه أن يقول "لا أعرف" بدل اختراع اسم عميل أو رقم. حاجز أمان، لا ضمان.

مولَّد بالذكاء الاصطناعي · ليس بديلًا عن Lavi الحقيقي

المعمل — سجل البناءمدموج، لا منشور.

سجل البناء — 2026-09-19

المعمل — سجل البناءrefkit

Refkit — 28 ports, 1 in production

Every card below is a real VengeanceUI port — working code, not a screenshot. Exactly one of them, VeCreepy, is actually load-bearing right now: it's the Connect link in this site's own footer. The other twenty-seven are verified to render, not yet asked to carry a real page's weight. Same rule as the build log above — a component only counts as shipped once it's doing a job, not once it looks good in a gallery.

Lab — essays

Five frameworks, worked through properly

Not case studies from my own client work — original, research-driven essays on real named frameworks and formulas (bullwhip ratio, TTR/TTS resilience, the Kraljic matrix, Theory of Constraints, digital twins), each grounded in a cited real source, not invented. Pick a card for the summary, or read the full essay.

For the fuller story behind the bullwhip math — two 2000s-era factory fires and what they cost — see Buffer Shock, on the Blog →

محاكي سيناريوهات S&OP

مباشر

حرِّك الرافعات التي يتحكم بها المخطِّط فعلًا — وشاهد المفاضلات تتحرك في الوقت الحقيقي. نموذج توضيحي.

0%
100%
95%
4 أسب
مستوى الخدمة المتوقع90.5%
استغلال الطاقة100%
مؤشر المخزون (الخطة = 100)100
خطر التقادم0%

نقطة تشغيل متوازنة. الخدمة تبقى قرب الهدف مع مخزون واستغلال في نطاق صحي.

ما يخفيه هذا: صنف SKU واحد، وخط واحد، وموسم واحد. التقادم هنا مؤشر تقريبي، لا نموذج إهلاك. النسخة التي أتقاضى عنها مقابلًا فيها خطة طلب تجادل الخط الأساسي الإحصائي — وفي تلك الجدالة يُحسم القرار فعلًا.

تحسين المخزون

مباشر

EOQ ومخزون الأمان ونقطة إعادة الطلب من أرقامك أنت — الرياضيات التي تقف وراء كل سياسة تجديد.

4,767
EOQ (وحدات)
563
مخزون الأمان
5,183
نقطة إعادة الطلب

اطلب 4,767 وحدةً نحو 25.2× في السنة. أعد الطلب عند 5,183 وحدة متاحة — مع حمل 563 وحدة مخزون أمان للحفاظ على مستوى خدمة 97% عبر زمن توريد 14 يومًا.

ما يخفيه هذا: σ هي تباين الطلب اليومي، لا خطأ التوقع — النسخة الإنتاجية تستخدم خطأ التوقع، وهو أكبر وأقل تهذيبًا. قيمة z تأتي من جدول من عشرة صفوف، لا من منحنى التوزيع الطبيعي الكامل. و97% مجرد هدف — تحقق هل مخزون الأمان مضبوط على مستوى الخدمة الذي وعدتَ به فعلًا.

عارض تأثير السوط

مباشر

اهتزاز صغير عند الرف يصير عاصفة في المنبع. شاهد تباين الطلب يتضخم طبقةً بعد طبقة. نموذج توضيحي.

20%
4
100بائع التجزئة120الموزِّع144تاجر الجملة173مركز توزيع إقليمي

تقلبات صغيرة في الطلب عند الرف تتضخم إلى تقلبات كبيرة في الطلبات في المنبع — عند الطبقة 4 (مركز توزيع إقليمي)، يصير CV بنسبة 20% مؤشر طلبات قدره 173. رؤية الطلب، وزمن توريد أقصر، وتمهيد الطلبات — كلها تخمد السوط.

ما يخفيه هذا: كل طبقة تضاعف التذبذب بواحد زائد CV — نموذج تعليمي، لا محاكاة. السياط الحقيقية حصص يُلاعب بها وطلبات تُجمَّع على دفعات. المُخمِّدات في الملاحظة هي التي تنجو من الاحتكاك بسجل طلبات حقيقي.

> cat build-log.md

خمسة فروع ميزات — Home وWork وLibrary وTravel وGames وAbout و404 — بُني كل منها مستقلًا على مدى أسبوعين تقريبًا، وبقي بلا دمج. اليوم صارت فرعًا واحدًا: خمس عمليات دمج، ثلاث منها احتاجت حل تعارضات يدويًا — كلها في الملف نفسه، وحُلَّت بالاحتفاظ بالجانبين، مع خطأ استيراد مكرر حقيقي واحد اكتُشف وأُصلح قبل أن يُنشر.

ما كاد يضيع: 207 ملفًا ونحو 10MB من عمل سابق — مكونات حركة جديدة، وتركيبة تفكيك إطارًا بإطار، وبناء ثلاثي الأبعاد أُصلح فيه خطؤاه المعروفان، والسابق المباشر لهذه الصفحة نفسها — لم يُرفع أيٌّ منها إلى git أبدًا. كان جالسًا في مجلد على حاسوب محمول واحد. أُصلح بأمر واحد؛ وكان يمكن أن يمحوه أمر git clean سيئ واحد.

ما ما زال مفتوحًا: خط الأنابيب الذي أنجز هذا العمل يستطيع ترجمة الموقع وقراءة HTML الخاص به، لكنه لا يستطيع عرض بكسل واحد. كل حركة في هذه الصفحة، وفي الصفحات الأربع قبلها، يُتحقق منها حاليًا بمراجعة الكود وعينَي إنسان — لا بعينَي ذكاء اصطناعي. هذه الفجوة مذكورة هنا بقصد، وليست مُنعَّمة.

تقييم ذاتي — التخطيط: 8/10 (وُجدت مواصفة والتُزم بها). التحقق: 4/10 (فحص الواجهة معطَّل في هذه البيئة — فجوة حقيقية، مُعلَنة لا مخفية). قرارات حُكم اتُّخذت دون سؤال أولًا: عدة (رقم سقف الحزمة الجديد، وأسلوب حل تعارضات الدمج، ورفع العمل غير المرفوع سابقًا) — كلها قابلة للتراجع، ولا واحد منها دُفع إلى الإنتاج.

المدخل التالي، غير مكتوب بعد: منح خط الأنابيب عينين — متصفح بلا واجهة في CI يعرض حركات هذه الصفحة ويقارن كل إطار بآخر إطار سليم معروف. إن تحقق، فدرجة التحقق أعلاه ستتحرك. وإن لم يتحقق، فسيبقى هذا السطر بلا تاريخ، كإيصال.

refkit · VengeanceUI ports

The port wall

28 components ported from the VengeanceUI registry to plain POP-token CSS — every demo below is live. The heavy WebGL pieces wait until you scroll to them. Tap a card's name for what it demonstrates and its real-vs-demo status.

VeAnimatedTooltipVengeanceUI port
What is this?
VeMaskedAvatarsVengeanceUI port
  • Ada
    Ada
  • Bram
    Bram
  • Cleo
    Cleo
  • Dario
    Dario
  • Esme
    Esme
VeDiagonalCarouselVengeanceUI port

Harbor Line

Kiln Study

North Pier

Paper Hills

Tidal Steps

VePerspectiveCarouselVengeanceUI port

Harbor Line

Kiln Study

North Pier

Paper Hills

Tidal Steps

VeImageTrailVengeanceUI port
VeStatsCounterVengeanceUI port
0ports
0batches
0new deps
VeInteractiveBookVengeanceUI port

Porting Notes

refkit

Porting Notes

Interactive Edition

1

Why port

Each piece starts as a registry component and lands here as one TSX file plus a CSS batch.

2
2
3

Token pass

Tailwind classes go first, swapped for POP tokens: ink outlines, hard shadows, cream ground.

4
4
5

Motion pass

Springs move to motion/react and every animation learns to sit still under reduced motion.

6
6

The End

Click to Open
VeScrollDissolveRevealVengeanceUI port — WebGL, mounts on scroll
VeLineHoverLinkVengeanceUI port
Slide underlineArc underlineScribble underline
VePerspectiveGridVengeanceUI port
VeImageRevealListVengeanceUI port
  • Field Notes on Slow Mail01Field Notes on Slow MailEssay
  • The Torii Trail at Dawn02The Torii Trail at DawnTravel
  • Shipping a Type Foundry03Shipping a Type FoundryInterview
  • Notes from the Night Market04Notes from the Night MarketPhoto
VeTeamRevealGridVengeanceUI port

The people behind the product

Meet the team

A small, multidisciplinary team building thoughtful tools for ambitious people.

VeGlowBorderCardVengeanceUI port
glow ring
VeTypingKeyboardVengeanceUI port
VePixelatedImageTrailVengeanceUI port
VeAsciiGlitchRippleVengeanceUI port
VeMorphTextVengeanceUI port
SHIPSHAPESHOW

one word morphs into the next

VeLiquidTextVengeanceUI port — WebGL, mounts on scroll
VeAnimatedFooterVengeanceUI port

Refkit

VeImageScatterVengeanceUI port

VeStaggeredGridVengeanceUI port
POP
ExploreProjects
ExploreWriting
ExploreContact
ExploreProjects
ExploreWriting
ExploreContact
ExploreProjects
ExploreWriting
ExploreContact
ExploreProjects
ExploreWriting
ExploreContact
ExploreProjects
ExploreWriting
ExploreContact
ExploreProjects
Builds

Builds

Builds
Notes

Notes

Notes
Reach out

Reach out

Reach out
ExploreWriting
ExploreContact
Built with refkitMore demos
VeCircularGalleryVengeanceUI port
VeVerseCardsVengeanceUI port
Work
Atlas
Nimbus
Vertex
Harbor
Quill
Click the front card to deal it away.
VeGooeyTextRevealVengeanceUI port

Goo in, goo out.

Lines split, blur, and snap back into focus.

VeInteractiveParticlesVengeanceUI port — WebGL, mounts on scroll
VeMusicPlayerVengeanceUI port — dark zone, white-on-glass UI
Paper Signals artwork
Paper Signals
Refkit Radio
VeBooksShowcaseVengeanceUI port — WebGL, mounts on scroll
VeCreepyVengeanceUI port
Don't hoverDon't hover
btn-ve-pophand-made — refkit-vengeance.css