claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] LexC Document Type Classification Failure - Clear Document Headers Not Recognized

Open JLiotta-25 opened this issue 1 year ago • 2 comments

Bug Description

LexC fails to identify document types even when explicitly stated in document headers.

Reproduction

Process document with clear header "CONSULTING AGREEMENT"

Expected: document_type: "contract" or "consulting_agreement"
Actual: document_type: "unknown"

Impact

  • Document classification pipeline broken
  • Semantic analysis starts with wrong document type
  • Legal analysis may miss document-specific rules

Test Case

Document: SchromM_Services Agreement_20190829.docx Header: "CONSULTING AGREEMENT" (all caps, clearly visible) Result: Type marked as "unknown"

Priority: High - Core document classification functionality

JLiotta-25 avatar Sep 21 '25 16:09 JLiotta-25

Closing - this is a LexC/Parslee parsing issue, not a Claude Code bug. This issue belongs in the appropriate Parslee repository rather than the Claude Code CLI tool repository.

JLiotta-25 avatar Sep 21 '25 16:09 JLiotta-25

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Sep 29 '25 14:09 github-actions[bot]