VDEBench / DATA_DICTIONARY.md
walled120's picture hongzhuyi's picture
Duplicate from hongzhuyi/VDEBench
a4cfa02
|
Raw History Blame Contribute Delete
4.99 kB

Data dictionary

Compatibility schemas are taken from the captured official JSONs: text SHA 8fd30206e8571d6a27e62f216a6c9d0e2201170623123b261360bfb088a460fe, table SHA 55ab7be293c6622522750a063d556efd8677dec98aa171272c6ef5e52dac585f. The original table file is heterogeneous; optional fields occur on only some original records. Preserve original values. Unknown generated human ratings, annotation identities and annotation timing are null, never synthesized.

Main JSON fields

Field Type Meaning
id integer Persistent numeric ID; never renumber previously allocated IDs or recycle holes
image_input string Package-relative source image path
image_output string Package-relative edited target image path; output names must be unique
instruction string Frozen edit instruction, unchanged by packaging
data_source string or retained original value Source document category; not a license or generator identity
label_output list of rectangle objects Edited evaluation regions in an annotation canvas; see provenance for annotation method
instruction type string; text JSON text replace, text addition or text deletion
language string; text JSON Original/recorded language value; generated Chinese is normalized to simplified_chinese
edit_type string; table JSON text modify, text addition, text deletion or table structure edit
lang string or null; table JSON Original/recorded language value; some original records lack it
label_input list or null; table JSON Original input annotation or documented automatically derived source-coordinate region
data_id, annotator, annotation_id original type or null; table JSON Historical annotation identifiers; no invented generated identities
score_instruction, score_realism, score_satisfaction, score_background original type or null; table JSON Historical ratings; generated examples have no fabricated ratings
created_at, updated_at, lead_time original type or null; table JSON Historical annotation timing, not inferred generation time

The text JSON has eight fields. The table schema is the union of the19 field names listed above. Formatting compatibility does not mean unavailable original optional values were reconstructed.

Rectangle object and mask sidecars

x, y, width, height are percentages of original_width/original_height. rotation is0 for the exported generated rectangles. rectanglelabels retains the official compatible label list. Pixel boxes in sidecars use [x0,y0,x1,y1], origin at top-left, with exclusive right/bottom endpoints. Percentage conversion can produce a one-pixel integer truncation difference in the official image reader; preserve the float canvas mapping.

Keep these distinct: planned_target_bbox_xyxy is the pre-generation plan; allowed_mask/approved_roi_rectangles_xyxy describe allowed restoration regions; actual_difference_mask and actual_edit_bbox_xyxy describe current source-versus-output pixel changes. Generated main annotations follow the existing allowed-ROI enclosing-rectangle export convention; actual changed-pixel boxes/masks remain sidecars. Do not redefine the main annotation of an existing ID during this packaging step. Old942/600 annotation semantics remain historical and must not silently be relabeled as exact current-difference boxes. Where native rasters differ from annotation canvas, retain both dimensions; do not silently assume identical frames.

Provenance sidecars

Per-record evidence should bind id, original stable task ID, stratum/route, source document group, source dataset/category, public source citation, license text/reference and its evidence status, actual generation model/version when available, immutable instruction/input/output SHA256, annotation origin/canvas, current review SHA, postprocess method and masks, and validation scope. Generated human_verified remains false. null means unknown/not available, not zero or failure. Source paper license and dataset license must be stored separately.

Generation metadata for successful attempts must refer to the selected output SHA; transport archive versions are not successful HTTP200 counts. Preserve failed/unused versions as evidence outside the selected3506 main entries. Public sidecars must remove credentials, request authentication, internal service URLs and machine-specific absolute paths; use package-relative references and public citations. Public source URLs are not a substitute for license evidence.

Publication metadata sanitization

For this release, data_id, annotator, annotation_id, created_at, updated_at and lead_time are null. Public source citations and document content are preserved. Output filenames use numeric IDs. Image bytes can change after metadata removal, but decoded pixels, dimensions, instructions and annotation coordinates are identical. Current image hashes are recorded separately from upstream hashes.