Skip to content

YAGIRO practice

Trace a cabinet export after the columns move

Tray and Finish trade places. Read all four groups in a layout report, then decide what you can say about the two weight headings.

Compare the two versions

Open cabinet-v1.csv and cabinet-v2.tsv as text. Paste v1 on the left and choose comma. Paste v2 on the right and choose tab. Compare the columns. Each version has five headings, but the names and positions tell a different story.

Trace the two moves

Tray moves from column 2 to 3. Finish moves from 3 to 2. Item stays at 1. For fictional item P-6, a worksheet reading “tray from column 2” would now receive matte from Finish. The tray label B is still present at position 3.

Look at the one-sided headings

Weight_g and Note occur only on the left. Weight_kg and Tag occur only on the right. The report shows all four names and their positions. Compare those entries with expected.json and with the two source headers.

Decide what the figures establish

For P-6, the two weight cells read 250 and 0.250. That pair is consistent with a conversion from grams to kilograms. A single example cannot establish the unit, what was weighed or the rounding rule for the whole export. Keep the possible replacement as an open question until you have the field definitions.

Try comparing just the two header lines. You get the same four groups. This is a way to show exactly which columns moved while keeping the observations about P-6 in a separate review record.

Files for this exercise

Fictional practice data. CSV and TSV files are the inputs. Compare your result with expected.json, which contains the expected JSON output and is not a tool input.

Continue with a check