Messy Mailing Addresses Cleaned by AI: 25 Made-Up Lines vs USPS Pub 28

Logged

by

in

We asked an AI model to rewrite 25 made-up mailing address lines in the form USPS Publication 28 asks for. Against our key it got all 100 address fields right and all six flags right. It also left out the one attention-line name that the key kept. The request had asked only for an ATTN flag there.

This is a record of one run on made-up addresses. Names, streets and house numbers are invented.

What the list looked like

A holiday card list is usually typed by hand over several years. Abbreviations differ from line to line, the unit number sits in different places, and some rows have no ZIP code at all. Publication 28 is the USPS standard for how a delivery address should look: uppercase letters, no punctuation in the delivery block, the apartment or suite written after the street, and standard abbreviations for words like Avenue and Boulevard.

Our list has 25 lines, each built to test one rule or one gap. Line L01 is all lowercase, spells out “north” and “street”, and puts the unit before the city. Line L03 has a pound sign where the rule says a suite designator is known. Line L13 has no house number. Four lines have no ZIP code. Line L17 has an attention line that belongs above the street. Lines L02, L24 and L25 put the house number after the street name. The file is labeled “MADE UP FOR THIS RUN” at the top, and the cities and ZIP codes are typical for each city. We did not check the ZIP codes against the USPS ZIP file.

The rules we gave it

The tool was given the list and a short excerpt of the Publication 28 rules, not the whole publication. The excerpt holds the rule text for format, attention line, secondary unit designators and punctuation, plus the abbreviation rows for the words that appear in the list. We copied the rule sentences from the USPS web pages on November 17, 2026. The web pages show no edition date, so the entry cannot name one.

Two of those rules decide several lines. The first says that uppercase letters are preferred on all lines of the address block. The second says that the pound sign should not be used as a secondary unit designator if the correct designation, such as APT or STE, is known. The excerpt also says that punctuation may be omitted in the delivery address block, apart from the hyphen in a ZIP+4 code.

Setup and the answer key

Run on November 17, 2026 (U.S. Eastern time). The tool was the OpenAI API, called through the Chat Completions endpoint. We asked for model gpt-5.5, and the API returned gpt-5.5-2026-04-23. The run sent no system prompt and no temperature setting.

The answer key was written by hand before the run, from the excerpt and the list. It gives the delivery line, the city, the state, the ZIP and any flag for each of the 25 lines. Where the list gives no ZIP, the key leaves the cell blank. Where the list gives no house number, the key keeps the street and flags it. The key is in the run folder with the list and the excerpt.

The request

Below are 25 mailing address lines typed from a holiday card list. Every name, street and house number is made up for this run. Rewrite each line in the form USPS Publication 28 asks for, using only the rules and tables in the excerpt that follows the list. Do not add a ZIP code, a house number or a unit that is not in the line. If a line lacks something the excerpt needs (a ZIP code, a house number, or a unit designator that is not clear), say so in the flag column instead of guessing.

Give one row per input line in this exact form, and nothing else before the table:
| line | delivery address line | city | state | ZIP | flag |

Leave a cell empty if the line gives no such value. Use "ATTN" in the flag column for an attention line that belongs above the delivery line. The list follows first, then the excerpt.

The list and the excerpt were attached after the request, in that order.

What came back

The reply took 26 seconds and used 3,238 tokens. It is a table of 25 rows and is quoted in full.

| line | delivery address line | city | state | ZIP | flag |
|---|---|---|---|---|---|
| L01 | 1450 N MAPLE ST APT 4B | SPRINGFIELD | IL | 62701 | |
| L02 | 22 MAPLE ST | SPRINGFIELD | IL | 62704 | |
| L03 | 1288 HARBOR LN STE 7 | PORTLAND | OR | 97201 | |
| L04 | 77 ELM AVE | DENVER | CO | | MISSING ZIP |
| L05 | 310 S CEDAR BLVD BLDG B | AUSTIN | TX | 78701 | |
| L06 | 5602 NW RIDGE RD UNIT 12 | BOISE | ID | 83702 | |
| L07 | 9 PINE CT FL 3 | COLUMBUS | OH | 43215 | |
| L08 | 14 BIRCH DR RM 5 | TULSA | OK | 74103 | |
| L09 | 100 E HILL PKWY | ATLANTA | GA | 30303 | |
| L10 | 220 W CROSS HWY | BALTIMORE | MD | 21201 | |
| L11 | 18 LAKEVIEW TER | MADISON | WI | | MISSING ZIP |
| L12 | 35 WILLOW CIR APT 201 | RENO | NV | 89501 | |
| L13 | SUNNY LN | OGDEN | UT | 84401 | MISSING HOUSE NUMBER |
| L14 | 512 SUNSET TRL | SANTA FE | NM | 87501 | |
| L15 | 4 KINGS WAY | PHOENIX | AZ | 85004 | |
| L16 | 903 S MAIN ST | ROCHESTER | NY | 14604 | |
| L17 | 55 OAK RIDGE RD | CHARLOTTE | NC | 28202 | ATTN |
| L18 | 2140 MARKET ST STE 300 | SAN DIEGO | CA | 92101 | |
| L19 | 600 GRAND AVE STE 4 | KANSAS CITY | MO | 64106 | |
| L20 | 78 HOLLOW RD APT 2C | BURLINGTON | VT | 05401 | |
| L21 | 16 PRAIRIE DR | LINCOLN | NE | | MISSING ZIP |
| L22 | 1 CAPITOL SQ | HARTFORD | CT | 06106 | |
| L23 | 41 PARK PL | DES MOINES | IA | 50309 | |
| L24 | 9 PEARL ST | BOULDER | CO | 80302 | |
| L25 | 808 HARBOR TRL | SEATTLE | WA | | MISSING ZIP |

Scored against the key

Check Result
Delivery line, city, state and ZIP, 25 lines (100 cells) 100 right, 0 wrong. A blank ZIP in the key is blank in the reply on all four lines that have none
Flags the key needs, 6 lines 6 right. Missing ZIP on L04, L11, L21 and L25. Missing house number on L13. Attention line on L17
Flags the key does not need 0 invented flags
ZIP codes invented where the list had none 0 on the four lines with no ZIP
Pound sign on L03 Removed. The reply wrote STE 7, as the excerpt says when the designation is known
House number on L13 Not invented. The reply kept SUNNY LN and flagged it

What it got wrong or left open

  • The attention line lost its name. The key keeps “Dana Lee” above the delivery line on L17. The reply wrote only ATTN in the flag column. The request asked for the flag and not the name, so we count the line as right, but a mailer would need the name in the reply.
  • The reply was checked against a short excerpt. The excerpt listed the abbreviations for the words in this list. A longer list with words outside the excerpt would test the tool’s own knowledge of the tables, and this run does not show how it does there.
  • The ZIP codes were not tested. The reply kept each ZIP as typed. Whether a ZIP matches its city and street is a question for the USPS ZIP file, which we did not use. This run tests the form of the address, not whether it can be delivered.
  • One run, 25 lines. We counted fields, not rates. A second run, or a longer list, could show a different split.

Sources and the run record

How this entry was made: Work AI Brief Editorial Team chose the task and ran it with the tools and versions named in the entry, on the date given there. Every article is reviewed by Work AI Brief Editorial Team before it is published. Tools change, so a later run may not match ours. If something here is wrong, tell us and we will correct it.