CONTINUOUS-VARIABLE MAP CALIBRATION

The Tuning House: 8 Master Tables & 36 AST Micro-Dials

Dial in IR token compression, AST boilerplate suppression, and RAG chunk radius limits, then mint signed tune.jwt maps.

Enterprise policy console for cutting LLM token usage 50–70%: calibrate agent loop caps, RAG chunk radius, MCP wastegate rules, and TPM headroom—then publish signed tune.jwt maps to Polycracker ECU teams.

Open Production Tuning House →
Polycracker Tuning House dashboard

8-Master ECU Calibration Bench

Stage 2 · Track Spec

Monthly API spend baseline

12000
Est. Token Shred
—
Compression Ratio
—
Projected Savings
—
Hardware AST Knock
—
Live sync

All 36 Tier-2 Micro-Dials (Grouped by Master Table)

Unlocked in Polycracker ECU Stage 2 & Stage 3.

1. IR Token Compression (7 Micro-Dials)
body_collapse_threshold_lines (Default: 132) — Collapse non-focal function bodies exceeding this line count to signatures.
comment_density_level (65%) — Fraction of non-directive inline comments preserved.
decorator_retention_level (65%) — Retention ratio for framework/metadata decorators on peripheral symbols.
docstring_retention_level (65%) — Percentage of module/class/function docstrings preserved.
max_string_chars (3285) — Hard character ceiling per string literal before token elision.
newline_limit (3) — Maximum consecutive blank lines retained in source payloads.
string_truncation_level (35%) — Aggressiveness of eliding long static string/fixture literals.
2. AST Boilerplate Suppression (5 Micro-Dials)
type_hint_retention_level (65%) — Retention ratio for verbose generic annotations in non-target files.
logging_statement_suppression (25%) — Strip debug/print/logging statements from non-focal compilation units.
dunder_method_suppression (25%) — Fold or elide peripheral __dunder__ boilerplate outside the active symbol graph.
type_checking_block_suppression (25%) — Remove TYPE_CHECKING-only import blocks and conditional typing scaffolding.
standard_lib_import_suppression (25%) — Prune unused or redundant stdlib import lines during AST pass-through.
3. Context Window Compaction (4 Micro-Dials)
max_history_turns (70) — Rolling turn window retained before older turns are compacted.
assistant_trim_chars (35060) — Character cap applied to historical assistant responses.
system_prompt_retention_level (70%) — Retention percentage for repetitive boilerplate system instructions.
drop_strategy (sliding_window | keep_all | drop_oldest | semantic_prune) — Eviction algorithm when history exceeds budget.
4. Semantic Retrieval Intake (5 Micro-Dials)
rag_chunk_radius_lines (152) — Surrounding context lines fetched around each matched AST symbol.
dependency_graph_depth (4) — Transitive caller/callee traversal hops included in context.
symbol_index_pruning_threshold (40) — Minimum cosine relevance score (0–100) required to keep symbol stubs.
cross_file_reference_resolution (20) — Depth of cross-module reference resolution (0 = off, 50 = full graph).
max_import_levels (4) — Maximum module import depth expanded during context assembly.
5. Agentic Autonomy & Drive (5 Micro-Dials)
conversational_dampening_level (40%) — Suppresses pleasantries, preambles, and verbose prose explanations.
diff_format_enforcement (40%) — Forces compact unified search/replace blocks over full-file rewrites.
system_override_strength (40%) — Priority weight of ECU token-economy directives over verbose defaults.
max_autonomous_loops (11) — Maximum self-directed tool/repair iterations per task invocation.
require_human_approval (Enabled / ON) — Pause before applying destructive multi-file patch operations.
6. Knock Sensor & Guardrails (5 Micro-Dials)
syntax_strictness (85%) — Strictness of pre/post parse checks before accepting compressed edits.
hallucination_tolerance (15%) — Permissible unresolved symbol tolerance (lower = stricter anti-knock).
rehydration_strictness (85%) — Exactness required when restoring elided docstrings, comments, and bodies.
max_auto_retries (9) — Automatic uncompressed fallback retries when AST knock is detected.
syntax_validation_enabled (Enabled / ON) — Enable local deterministic AST verification on every emitted patch.
7. Exhaust Patch & Telemetry (3 Micro-Dials)
fuzzy_match_tolerance (30%) — Whitespace and line-offset tolerance when applying returned diffs.
fallback_merge_strategy (fuzzy_splice | strict_patch | full_block_fallback) — Resolution mode when diff anchors drift.
telemetry_verbosity (44) — Local diagnostic logging detail written by Polycracker-ECU.exe (0=quiet, 100=trace).
8. Compute Cascade Routing (2 Micro-Dials)
fallback_enabled (Enabled / ON) — Automatically escalate to frontier model if utility tier trips knock sensor.
complexity_token_threshold (32675) — Prompt token threshold above which tasks bypass lightweight cascade tiers.