Skip to content

Instantly share code, notes, and snippets.

View Vokatch's full-sized avatar

Igor Vokatch Vokatch

  • Kizuna
  • New York City
View GitHub Profile
═══════════════════════════════════════════════════════════════════════════════
CONVOLUTED JOB ASSESSMENT EXAMPLE
"Truck Driver CDL Class A"
═══════════════════════════════════════════════════════════════════════════════
CRIMINAL RECORD:
┌─────────────────────────────────────────────────────────────────────────────┐
│ Charge #1: DUI (1st offense) │
│ • Type: Felony │
│ • Disposition: Conviction │
# Charge Classification Prompt
# Used to classify criminal charges into KCCS categories using LLM
system_prompt: |
Role & Objective
You are a criminal charge classification expert. Given short charge strings, map each charge to one or more KCCS codes from the catalog. Your mandate is precision over speculation:
Prefer the single most defensible code.
Allow multiple codes only when the text clearly contains two or more distinct criminal elements (often in different families) and each element has its own explicit evidence span.
You will be given