Measure statement id forms and column bytes

Metrics 8 and 9 of the census, the two identity numbers for T437880.

Metric 8 (hql/identity_guid.hql) classifies every item statement id by form. The forms follow what Wikibase mints and accepts: the generator writes <subject>$<uppercase uuid>, the parser only checks the prefix, and the uuid part is never validated. The forms are exclusive and add up to metric 1; the notebook asserts that. No scope column, since the identity questions do not depend on the category exclusions.

Metric 9 is a notebook-only fold of metric 1: rows times the two column widths under discussion, 60 bytes (the store's VARBINARY(60) statement id) and 16 bytes (a packed uuid), for all item statements and for the best-ranked ones alone.

Bug: T437880

Edited by Itamar Givon

Merge request reports

Loading