Context-aware LoRA adapter routing for VS Code
This file is the authoritative registry of valid adapter IDs for the LoRA-JIT system.
All offline labels, benchmark rows, and runtime adapter directories must use IDs from this list. The auto-labeler and benchmark scorer both validate against this ontology and reject unknown IDs.
| Adapter ID | Domain |
|---|---|
python_core |
General Python programming — stdlib, common patterns, idiomatic Python |
sql_postgres |
PostgreSQL queries, schema design, migrations, parameterised SQL |
react_hooks |
React Hooks, component state, effects, context, and lifecycle patterns |
fastapi_service |
FastAPI endpoint design, dependency injection, Pydantic models |
aws_boto3 |
AWS service integrations via the boto3 SDK |
data_engineering_general |
ETL pipelines, data transforms, workflow orchestration |
typescript_core |
TypeScript type system, generics, utility types, type narrowing |
general |
Fallback generic adapter for mixed or unclassifiable context |
A valid label object must be structured as follows:
{
"primary_adapter": "sql_postgres",
"acceptable_alternatives": ["data_engineering_general"],
"confidence": 0.92,
"reasoning": "File contains parameterised PostgreSQL SELECT statements with JOIN clauses"
}
| Field | Type | Constraint |
|---|---|---|
primary_adapter |
string |
Must be in the registered adapter table above |
acceptable_alternatives |
string[] |
Each entry must be in the registered table |
confidence |
float |
Must be in [0.0, 1.0] |
reasoning |
string |
Free text; used for audit and debugging |
To register a new adapter:
backend/labeling/ontology.py.data/<adapter_id>/train.jsonl.scripts/train-peft-adapter.py.docs/BENCHMARK.md if the new adapter changes scoring interpretation.Changes to this file are considered breaking changes for any stored benchmark datasets that reference the old ontology.