Skip to main content

Report a parsing or geocoding problem

You'll have a reproducible report with the exact input, expected and observed results, the first visible mismatch, package and data versions, and a safe submission route.

Prerequisites​

  • Node.js ^24.22.3 || >=26.13.1.
  • A Mailwoman installation that reproduces the result. The commands below were checked with published mailwoman@11.0.0 on Linux x64.
  • Use an address you may publish. The parser trace includes the full input. If the only reproducer contains a private address, keep its trace local and email hello@sister.software to arrange a private report.
  • If the behavior could be exploited as a security vulnerability, use the private security route before preparing a public issue.

1. Write the expected and observed results​

Copy the input exactly, including its script, spaces, punctuation, and casing. State the expected component or coordinate beside the observed value. For a wrong coordinate, say whether the parsed components were correct. An expected result should come from a source you can identify, such as the address as supplied by its owner or a published reference record.

The example used throughout this page is fictional. It demonstrates the report format. The invented place namestoponymA proper name for a geographic place. have no authoritative expected parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates..

InputExpected for this exerciseObserved with mailwoman@11.0.0
17 Imaginary Lane, Exampletown, ZZ 00000Exampletown as locality and ZZ as regionExampletown as dependent_locality and ZZ as locality

2. Save the parser output​

Set ADDRESS to the exact input. Run the installed CLI with the localelocaleThe combination of language and country an address comes from. en-US and fr-FR are the locales Mailwoman ships weights for. you used when the problem appeared. The following command keeps the full JSON trace and standard-error diagnostics in separate local files:

sh
ADDRESS='17 Imaginary Lane, Exampletown, ZZ 00000'
npx --no-install mailwoman parse --locale en-US --debug "$ADDRESS" > trace.json 2> parse.stderr

Inspect trace.json for input, normalized, locale, kind, path, and tree. Keep parse.stderr because a missing optional artifact or another runtime warning can affect interpretation. The command above exited successfully in the verification run. Its parse.stderr reported that no postcodepostcodeThe country-specific postcode (US ZIP, French code postal, etc.). Mailwoman handles postcode parsing entirely by rule classifier — a regex problem, not an ML one.-prefix index was available, so the anchor-regionregionThe first-level administrative subdivision of a country — a US state, a French region, a province. The component between country and locality. prior was off.

If the problem is a geocodinggeocodingThe process of converting an address into geographic coordinates (latitude and longitude). Mailwoman geocodes in a multi-tier cascade: exact address-point match → street interpolation → locality centroid. Each tier is progressively coarser but more widely available. result, also capture the exact mailwoman geocode command, its complete response or error, and the data bundleevidence bundleThe pair of retrieval-augmented input channels (street-type + locality-surface) that feed lexicon membership as soft per-token evidence alongside the text. Shipped in 6.7.0; trained natively from step 0 in the from-scratch base line. used. A parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. command returns labeled components. A coordinate requires a resolverresolverThe component that converts parsed address components (locality, region, postcode) into coordinates by looking them up in the gazetteer. The resolver ranks candidates by name match, population, and proximity, and returns the best-matching place with its centroid or polygon. and a geographic database. The example on this page tests parsingaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. only.

3. Identify the first visible mismatch​

Compare the stagesstageOne of the dataflow stages in the runtime pipeline (normalize, locale check, kind classify, phrase group, token classify, sequence correct, reconcile, resolve). Distinct from tier (model vocabulary) and phase (plan milestone). in order. Start with normalized.normalized, then locale and kind, then the labelscomponent tagOne of the 25 labels in Mailwoman's address schema — street, locality, region, postcode, house_number, unit, po_box, country, venue, intersection, and others. Each parsed span carries exactly one component tag. and spansspanA contiguous range of characters or tokens in the input string, tagged with an address component type (street, locality, postcode, etc.). Parsed addresses are represented as collections of spans, possibly nested in a tree. in tree. For geocodinggeocodingThe process of converting an address into geographic coordinates (latitude and longitude). Mailwoman geocodes in a multi-tier cascade: exact address-point match → street interpolation → locality centroid. Each tier is progressively coarser but more widely available., compare the parse treeparse treeThe hierarchical address structure produced by decoding BIO labels into spans and nesting them per the schema's containment rules (house_number → street → locality → region → country). before the resolverresolverThe component that converts parsed address components (locality, region, postcode) into coordinates by looking them up in the gazetteer. The resolver ranks candidates by name match, population, and proximity, and returns the best-matching place with its centroid or polygon.'s candidates, selected coordinate, and resolution_tier. Use the schema reference to identify each field.

In the fictional example, normalized.normalized preserves the input and kind.kind is structured_address. The first visible mismatch is in tree: the returned top-level node tags ZZ as locality, and its child tags Exampletown as dependent_locality. The CLI trace doesn't establish whether classification, decoding, or a repair caused that labelcomponent tagOne of the 25 labels in Mailwoman's address schema — street, locality, region, postcode, house_number, unit, po_box, country, venue, intersection, and others. Each parsed span carries exactly one component tag. choice. Select Unknown for the issue form's First stagestageOne of the dataflow stages in the runtime pipeline (normalize, locale check, kind classify, phrase group, token classify, sequence correct, reconcile, resolve). Distinct from tier (model vocabulary) and phase (plan milestone). that diverges field and explain the visible tree difference under Evidence and scope. Choose a specific stagestageOne of the dataflow stages in the runtime pipeline (normalize, locale check, kind classify, phrase group, token classify, sequence correct, reconcile, resolve). Distinct from tier (model vocabulary) and phase (plan milestone). only when the captured evidence identifies it.

4. Record the environment​

Run these commands in the same installation:

sh
node --version
node -p "require('mailwoman/package.json').version"
npx --no-install mailwoman doctor --json > doctor.json 2> doctor.stderr

For the verification run, node --version returned v24.22.1, the package version command returned 11.0.0, and doctor.json reported the en-US weightsparameterA single learned number inside a model — one weight or bias. Mailwoman's encoder has roughly 30 million of them; training is the search for good values. package as available and the admin gazetteergazetteerA geographical index that maps place names and postcodes to real-world coordinates. Mailwoman uses a custom-built Who's On First (WOF) SQLite database as its gazetteer — the 'atlas' half of the grammar/atlas architecture. as missing. The missing gazetteergazetteerA geographical index that maps place names and postcodes to real-world coordinates. Mailwoman uses a custom-built Who's On First (WOF) SQLite database as its gazetteer — the 'atlas' half of the grammar/atlas architecture. prevents this installation from verifying a coordinate. It doesn't explain the fictional parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates.'s node labelscomponent tagOne of the 25 labels in Mailwoman's address schema — street, locality, region, postcode, house_number, unit, po_box, country, venue, intersection, and others. Each parsed span carries exactly one component tag.. Record the modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' or weightsparameterA single learned number inside a model — one weight or bias. Mailwoman's encoder has roughly 30 million of them; training is the search for good values. version, configured localelocaleThe combination of language and country an address comes from. en-US and fr-FR are the locales Mailwoman ships weights for., operating system, relevant data bundleevidence bundleThe pair of retrieval-augmented input channels (street-type + locality-surface) that feed lexicon membership as soft per-token evidence alongside the text. Shipped in 6.7.0; trained natively from step 0 in the from-scratch base line. and its vintage, and any runtime flags that affect the call. Review doctor.json and the trace before sharing them because they can contain local paths, configuration details, and the input address.

5. Fill the bug-report form​

Open the Mailwoman issue chooser and select Bug report. The form requires Failing input, Expected result, Observed result, First stagestageOne of the dataflow stages in the runtime pipeline (normalize, locale check, kind classify, phrase group, token classify, sequence correct, reconcile, resolve). Distinct from tier (model vocabulary) and phase (plan milestone). that diverges, Evidence and scope, Artifacts under test, and Reproduction. Its Why chain field asks for only the causal steps the evidence supports. It also requires the submission checkboxes.

The fictional example fills the core fields as follows. Paste the complete trace.json under Observed result or attach it to the issue after reviewing it for private data.

Form fieldDry-run entry
Arealocality
Failing input17 Imaginary Lane, Exampletown, ZZ 00000
Expected resultFor this exercise, Exampletown is locality and ZZ is region. These are fixture expectations for invented names.
Observed resulttree.roots[0] has tag: "locality", value: "ZZ". Its child has tag: "dependent_locality", value: "Exampletown". Include the full trace.
First stagestageOne of the dataflow stages in the runtime pipeline (normalize, locale check, kind classify, phrase group, token classify, sequence correct, reconcile, resolve). Distinct from tier (model vocabulary) and phase (plan milestone). that divergesUnknown. The tree is the first visible mismatch. The trace doesn't isolate the modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' or decoderdecoderIn a transformer encoder-decoder model, the part that produces output sequences. Mailwoman's classifier is encoder-only (no decoder); the 'CRF decoder' is a different thing — a structured-prediction layer that picks the best label sequence from the encoder's outputs..
Evidence and scopeThe input, normalized text, and structured_address kind appear in the trace. The tree differs from the exercise expectation. This is one synthetic reproduction, with no accuracy rate claimed.
Artifacts under testmailwoman@11.0.0, @mailwoman/neural-weights-en-us@11.0.0, Node.js v24.22.1, Linux x64, --locale en-US. doctor.json reports the admin gazetteergazetteerA geographical index that maps place names and postcodes to real-world coordinates. Mailwoman uses a custom-built Who's On First (WOF) SQLite database as its gazetteer — the 'atlas' half of the grammar/atlas architecture. missing.
Reproductionnpx --no-install mailwoman parse --locale en-US --debug '17 Imaginary Lane, Exampletown, ZZ 00000'
Why chain1. Observed: the returned tree assigns ZZ to locality. 2. Unknown: this trace does not identify the model or decode decision that produced the tag.

Check the form's required boxes against your actual report. Put each measured number beside its denominator and comparison when you make a performance or accuracy claim. The fictional example makes no such claim. Submit the issue only after the input and attached output are safe to publish.

Report a security issue​

Email hello@sister.software privately with the impact, reproduction steps or proof of concept, and affected version or commit. The repository's security policy directs vulnerability reports to that address. Keep exploit details out of a public GitHub issue.

Verify​

Before submitting a public bug report, confirm that the issue contains the verbatim input, expected and observed results, the earliest mismatch the evidence supports, package and data versions, and a command another person can run. Confirm that every attached trace is safe to publish. In the dry run above, the exact command reproduced the displayed tree and the doctor --json command identified the missing gazetteergazetteerA geographical index that maps place names and postcodes to real-world coordinates. Mailwoman uses a custom-built Who's On First (WOF) SQLite database as its gazetteer — the 'atlas' half of the grammar/atlas architecture..

Limits​

  • The parser trace shows the final component tree and pipelinestaged pipelineMailwoman's runtime architecture: a sequence of pure-function stages (normalize → query-shape → locale-hint → kind-classifier → phrase-grouper → classifier → decoder) connected by typed handoffs. Each stage is published as its own npm package. decisions. If the cause of a node labelcomponent tagOne of the 25 labels in Mailwoman's address schema — street, locality, region, postcode, house_number, unit, po_box, country, venue, intersection, and others. Each parsed span carries exactly one component tag. is still unknown, include that uncertainty in the issue. A modelneural classifierThe machine learning model at the core of Mailwoman's parser — a transformer encoder (~30M parameters) trained from scratch to do BIO token classification over addresses. It learns the 'grammar' of address formats; the gazetteer supplies the 'atlas.' trace or maintainer investigation can separate classification from later repair.
  • The example uses invented place namestoponymA proper name for a geographic place. and supplies an exercise expectation. For a real report, identify the source of the expected address or coordinate.
  • A private input belongs in a private message until a public synthetic input reproduces the same result. A security vulnerability follows the security route above.
  • Inspect the decisions behind a parse explains the --debug fields and spansspanA contiguous range of characters or tokens in the input string, tagged with an address component type (street, locality, postcode, etc.). Parsed addresses are represented as collections of spans, possibly nested in a tree..
  • Node library API lists the parseaddress parsingThe process of decomposing a free-text postal address string into structured components — house number, street name, locality, region, postcode, and country — so a geocoder can resolve them to coordinates. and geocode calls.