fix(manual): harden inference reliability and editable fields#77
fix(manual): harden inference reliability and editable fields#77github-actions[bot] merged 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (9)
WalkthroughThis pull request enhances the cable markings system with UI improvements, data-driven parsing logic, expanded test coverage, and a refactored backend inference pipeline. Key updates include USB generation datalist support in the markings form, refactored capability parsing with regex-based token extraction, changed default connectors from "USB-C" to "Unknown," and significant backend changes introducing LLM-specific schemas, normalization helpers, Lightning ceiling detection, and improved manual inference processing. Changes
Sequence Diagram(s)sequenceDiagram
participant User as User Input
participant Deterministic as Deterministic Parser
participant Normalize as Normalizer
participant LLM as LLM Inference
participant Merge as Signal Merger
participant Output as Final Result
User->>Deterministic: Submit markings text
Deterministic->>Deterministic: Extract signals (connector, power, data)
Deterministic->>Normalize: Pass extracted signals
Normalize->>Normalize: Apply Lightning ceiling<br/>(cap data, disable video)
Normalize->>LLM: Send normalized context
LLM->>LLM: Preprocess input via<br/>coerceLlmText
LLM->>LLM: Extract draft patch<br/>with normalized schemas
LLM-->>Merge: Return LLM results<br/>+ confidence score
Deterministic-->>Merge: Deterministic signals
Merge->>Merge: Combine patches<br/>Filter power if Lightning
Merge->>Output: Return merged inference
Output-->>User: Final cable profile
Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
Summary
Validation
Notes
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests