Skip to main content
The config matrix lists every MapEngine knob and vocabulary, and Mapping explains how the scorers combine. This page is the task-shaped shortcut: a few complete snippets for the jobs you actually reach for.

Map a messy export to your canonical schema

You have a source file whose column names don’t match your target. You want the best 1:1 mapping and the renamed frame.
Each mapping carries a confidence in 0.0..1.0 and a human-readable reason, so a low-confidence pair is easy to spot and override before you apply it.

Reuse a saved mapping as a validation gate

You have recurring files from the same source. You want to pin the mapping once and fail fast when a new drop is missing a required field.
Then validate each incoming file against the pinned config — non-zero exit on a missing required field makes it a CI gate:
Apply the pinned mapping without re-inferring:

Add a custom alias or domain pack

You have source names your target schema doesn’t know about (cust_ref really is customer_id). You want InferMap to resolve them without lowering min_confidence.
Aliases feed the AliasScorer (weight 0.95), so a known alias resolves with high confidence instead of relying on the fuzzy-name tie-breaker. (Note this is the engine config file — distinct from the saved mapping an earlier result.to_config(...) writes, which infermap apply/from_config consume.)