feat(vehicle): Tanı Bilgi Motoru Temeli (PR-31, deterministik/LLM'siz)#31
Merged
Merged
Conversation
PR-17→PR-30 arası tüm katmanları (DTC Catalog · PID Registry · Vehicle Knowledge Base · Manufacturer Intelligence · Manufacturer Profile Builder · Discovery) İLK KEZ tek bir tanı katmanında birleştirir. Bir DTC geldiğinde kaynakları ilişkilendirip tek Diagnostic Insight üretir.⚠️ LLM/AI YOK — TAMAMEN DETERMİNİSTİK. - diagnosticKnowledgeEngine.ts (yeni, salt-okunur birleştirme): * buildDiagnosticInsight: dtc/description/severity/confidence/manufacturer/profileHint/ likelySystems/relatedPids/relatedDids/discoveredOnVehicle/manufacturerSeenCount/ vehicleSeenCount/possibleCauses/recommendedChecks/driveSafe/firstSeen/lastSeen * likelySystemsFor + relatedPidsFor: deterministik DTC→sistem→PID korelasyonu (P0401→EGR→MAP/MAF/DPF→ilgili canlı PID'ler) * combineConfidence: DTC severity + manufacturer + vehicle + discovery (deterministik) * DiagnosticKnowledgeEngine.diagnose: kaynakları salt-okunur birleştirir, FAIL-SOFT Hiçbir mevcut dosya değişmedi (2 yeni dosya). YALNIZ OKUR. Dokunulmadı: LLM/OpenAI/ Claude/Gemini · Cloud/SQL/Supabase · Native · Poll · PID/DID Registry · Discovery · Fingerprint · Vehicle Knowledge · Manufacturer Intelligence · Profile Builder. 12 yeni test. tsc temiz · eslint temiz · 2489 test yeşil (yalnız 23 bilinen env-gated, ilgisiz) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fauew13VP3vbfKqnocPdfX
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…tic-knowledge-engine
… (PR-31) DiagnosticKnowledgeEngine constructor'ı açık field+atama (erasableSyntaxOnly / tsc -b). Davranış AYNI. (#30'a kadar olan fix'ler merge-forward ile devralındı.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fauew13VP3vbfKqnocPdfX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Amaç
PR-17→PR-30 arasında kurulan tüm altyapıyı ilk kez tek bir tanı motorunda birleştirir. Bir DTC geldiğinde DTC Catalog + PID Registry + Vehicle Fingerprint + Vehicle Knowledge Base + Manufacturer Intelligence + Manufacturer Profile Builder + Discovery çıktılarını ilişkilendirip tek Diagnostic Insight üretir.
Kapsam — DiagnosticKnowledgeEngine (salt-okunur)
Bir DTC → ilgili PID → ilgili DID → aynı araçta görülmüş mü → aynı üreticide görülmüş mü → confidence zincirini deterministik ilişkilendirir.
Diagnostic Insight (tüm alanlar)
dtc·description·severity·confidence·manufacturer·profileHint·likelySystems·relatedPids·relatedDids·discoveredOnVehicle·manufacturerSeenCount·vehicleSeenCount·possibleCauses·recommendedChecks·driveSafe·firstSeen·lastSeenConfidence (deterministik birleşim)
0.5·severityWeight + 0.2·manufacturerConfidence + 0.2·vehicleConfidence + 0.1·discoveryConfidence→ [0,1].Yeni dosyalar
src/platform/diagnosticKnowledgeEngine.tssrc/__tests__/diagnosticKnowledgeEngine.test.tsDeğişen dosyalar
Hiçbiri. Yalnız 2 yeni dosya. Tüm kaynaklar salt-okunur (
resolveDtcRecord,STANDARD_PID_MAP, VKB, MIE). Boot wiring/depo/yazma yok.Testler (12)
✓ DTC insight oluşuyor · ✓ Manufacturer bilgisi geliyor · ✓ Vehicle bilgisi geliyor · ✓ related PID geliyor · ✓ related DID geliyor · ✓ recommendation oluşuyor · ✓ confidence hesaplanıyor · ✓ severity korunuyor · ✓ fail-soft · ✓ boş knowledge ile çalışıyor · ✓ mevcut modülleri/girdiyi değiştirmiyor + korelasyon/confidence birim testleri.
Risk analizi
En düşük — sıfır mevcut-dosya değişikliği.
Doğrulama
tsc --noEmittemiz ·eslinttemizSaha doğrulama
🔴 Cihazda doğrulanmadı — gerçek araçta DTC gelince birleşik insight (systems/PID/confidence) gözlemlenmeli.
Merge YAPILMADI.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Fauew13VP3vbfKqnocPdfX