Skip to content
Novus Examples
json825 B

D clipboard: outpaint boundary record

Where the original view of a delivery note on a clipboard held against a van door, outdoor overcast light, slight angle landed inside the expanded frame, as JSON: the rectangle 0,192 to 512,704 in a 512x704 canvas, the padding that produced it, and the 40-pixel feather that means the comparison must be inset. Authored BEFORE the expansion ran, so it is ground truth rather than a rectangle recovered afterwards by matching the original against the result - which is what a consumer would otherwise have to do, and which cannot distinguish a correct offset from a plausible one.

json

application/json

825 B
Pad Name
top-only
Pad Left
0
Pad Top
192
Pad Right
0
Pad Bottom
0
Original Rect
0,192,512,704

Binary json: no in-browser preview. Download it above to open in a compatible application.

Specifications

Pad Name
top-only
Pad Left
0
Pad Top
192
Pad Right
0
Pad Bottom
0
Original Rect
0,192,512,704
Feather Px
40
Source Plate
nss-d-clipboard_00001_.png
Crop Box
229,212,741,724
Added Share
0.27273
Synthetic
true
Disclosure
Derived from an AI-generated plate. Synthetic, not a photograph of a real scene.
Schema Version
1
Role
reference
Core Mad
5.301
Whole Original Mad
6.294

Testing contract

Reference control
Scenario
Parse the record and check that originalRect lies wholly inside the expanded frame and that its width and height equal the original's.
Expected result
It places the original at 0,192,512,704, states the padding that produced the frame, and names a 40-pixel feather. It was authored BEFORE the expansion ran, so it is ground truth rather than a rectangle recovered afterwards by matching the original against the result - a recovery that cannot tell a correct offset from a plausible one.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“D clipboard: outpaint boundary record” is a deterministic Novus Examples fixture for Inpainting. Images with cut-out regions (rects, circles, corners, strips, irregular tears) and matching masks for testing inpainting, generative fill, content-aware fill, and object-removal pipelines.

Documented properties for this file: reference. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Run your enhancement model on the degraded input and diff against the clean ground-truth companion in the same group; keep the documented degradation parameters and seed in your eval notes so scores are reproducible.

Code examples

import json

with open("d-clipboard-boundary.json") as f:
    data = json.load(f)
print(type(data), len(data))

Generated by generation/comfy_expand_wave.py. Free for any use, no attribution required, license.