Skip to content

YAGIRO practice

Test width differences on an embossing-bench plan

Six marks come from rack strips and a bench drawing. NFKC makes three mixed-width labels match and also removes a distinction the drawing uses to tell two jobs apart.

Separate the two sources

Read the P6 legend in source-note.txt. The first four rows in keys.json come from four rack strips. The last two come from symbols on the drawing.

Open the array in the key preview and choose NFC. All six original strings remain distinct. The mixed-width letters and digits in these particular marks survive NFC.

Try compatibility normalization

Choose NFKC. Row 1 has a fullwidth A and row 3 a fullwidth 7. Both now match row 2, which already contained A7. Row 4 remains A8.

Look past the rack labels. Row 5 is U+2460, a circled digit one. Under NFKC it becomes the plain 1 in row 6. NFKC can change more than character width.

Read the groups against the drawing

Compare the report with expected.json. There are three changed rows, three distinct outputs and two new collision groups. Rows 1, 2 and 3 have three different originals. Rows 5 and 6 have two.

The legend gives the circled digit a job of its own. It names a die station. The plain digit gives the cut sequence. Matching output text would erase the distinction if it were used alone as an identifier.

Record two decisions

Keep the original symbols on the drawing and record the different jobs of rows 5 and 6. The legend supplies that evidence directly.

Set aside the rack question. The strips lack a drawing tying each label to its bin. A reviewer can record the three-way spelling match while leaving the physical bin assignment open.

Files for this exercise

Fictional text and JSON string arrays. Follow the guide to choose an input and operation. Keep the original and compare the expected report with your result.

Reference sources

Continue with a check