Repository navigation
Expand file tree
/
Copy pathdata.js
More file actions
2 lines (2 loc) · 23.9 KB
/
Copy pathdata.js
File metadata and controls
2 lines (2 loc) · 23.9 KB
1
2
window.REFLECTOPD_DATA = {"hero": {"id": "couch", "label": "Spatial relation", "prompt": "a photo of a couch below a cup", "sourceNote": "Strategy summaries follow the paper illustration; prompts are preserved from the source example.", "rounds": [{"image": "couch-0.webp", "passed": false, "judge": "Expected the couch below the cup; found the cup on the couch.", "problem": "The cup sits on the couch instead of above it.", "strategy": "Start from the original request.", "prompt": "a photo of a couch below a cup", "highlights": []}, {"image": "couch-1.webp", "passed": false, "judge": "Expected couch ≥ 1; found 0.", "problem": "The original image did not establish a clear vertical separation.", "strategy": "Raise the cup onto a wooden shelf and place the couch beneath it.", "prompt": "a white ceramic cup with latte art sitting on a wooden shelf, with a beige fabric couch positioned directly beneath the shelf, the cup above the couch", "highlights": ["wooden shelf", "directly beneath the shelf"]}, {"image": "couch-2.webp", "passed": true, "judge": "The requested objects and spatial relation pass verification.", "problem": "The raised shelf helps, but the previous attempt no longer shows a detectable couch.", "strategy": "Keep the shelf strategy. Make the couch explicit with visible cushions, armrests, and a position in the lower half of the frame.", "prompt": "a white ceramic cup with latte art sitting on a wooden shelf, with a beige fabric couch positioned directly beneath the shelf, the cup above the couch, the couch featuring visible cushions and armrests, the shelf resting on a sturdy wooden frame, the cup resting on a saucer, the couch occupying the lower half of the frame with the shelf above it", "highlights": ["wooden shelf", "directly beneath the shelf", "visible cushions and armrests", "the lower half of the frame"], "newHighlights": ["visible cushions and armrests", "the lower half of the frame"]}]}, "cases": [{"id": "00401", "label": "Spatial relation", "prompt": "a photo of a bed right of a sports ball", "sourceNote": "Concise summaries are shown above; the recorded reflector output is available below. Prompts are preserved in full.", "rounds": [{"image": "00401-round0.webp", "passed": false, "judge": "expected bed right of target, found target", "problem": "The bed is not positioned to the right of the ball.", "strategy": "Start from the original request.", "prompt": "a photo of a bed right of a sports ball", "highlights": []}, {"image": "00401-round1.webp", "passed": false, "judge": "expected bed>=1, found 0", "problem": "The ball rests on the bed, rather than beside it.", "strategy": "Try a top-down composition with both objects on the floor, making their lateral arrangement explicit.", "prompt": "a top-down flat lay photo of a sports ball and a bed on the floor, the bed is positioned to the right of the sports ball, sharp focus, clear view of the bed frame and mattress", "highlights": ["top-down flat lay", "to the right of the sports ball"], "recordedProblem": "The generated image shows the sports ball resting ON the bed, whereas the prompt required the bed to be to the RIGHT of the ball. The model interpreted 'right of' as a surface relationship (on top of) rather than a lateral spatial relationship. Additionally, the depth of field is too shallow, blurring the background pillows and wall.", "recordedStrategy": "I will rewrite the prompt to explicitly define a lateral spatial relationship using a 'flat lay' or 'top-down' perspective. This forces the objects to exist on the same horizontal plane (like a floor or table) rather than a vertical one (bed surface), ensuring the bed is positioned to the right of the ball. I will also specify 'sharp focus' to ensure the background is visible and not blurred."}, {"image": "00401-round2.webp", "passed": false, "judge": "expected bed right of target, found below target", "problem": "The previous image fails to show a detectable bed.", "strategy": "The reflector proposes a clearly described bed frame; the guarded prompt falls back to explicitly naming both objects.", "prompt": "A realistic photo containing exactly one sports ball, exactly one bed, each clearly visible and countable. a photo of a bed right of a sports ball", "highlights": ["exactly one sports ball", "exactly one bed"], "recordedProblem": "The latest attempt (Attempt 1) failed because the bed was completely missing (found 0). The prompt described a 'bed' but the model generated a 'mattress' or 'bedding' instead. Additionally, the spatial relation 'right of' was interpreted as the ball being to the left of the mattress, but the mattress was not recognized as a 'bed'. The previous attempt (Attempt 0) had the correct spatial relation but the wrong object order (ball right of bed, instead of bed right of ball).", "recordedStrategy": "I will fix the object recognition failure by explicitly describing the bed as a 'white bed frame with a mattress and pillows' to ensure the model generates the full object rather than just a mattress. I will also correct the spatial relation to 'bed to the right of the ball' and place them on a 'wooden floor' to provide a clear, flat context where the relative positions are unambiguous. I will ensure the prompt is concise to fit within the token limit."}, {"image": "00401-round3.webp", "passed": true, "judge": "All requested constraints pass verification.", "problem": "The bed is below the ball; an earlier revision also lost the bed.", "strategy": "Assign the ball to the left half and the bed to the right half. Keep the bed frame and mattress explicit.", "prompt": "A realistic photo of a sports ball and a bed arranged side-by-side on a wooden floor. The sports ball is in the left half of the frame, and the bed is in the right half of the frame. The bed has a wooden frame and a white mattress. Sharp focus, clear view of the bed frame and mattress.", "highlights": ["left half of the frame", "right half of the frame", "wooden frame and a white mattress"], "recordedProblem": "The latest attempt (Attempt 2) failed because the bed was generated 'below' the ball instead of to the 'right'. The previous attempt (Attempt 1) failed because the bed was completely missing. The root cause is that the model is interpreting 'right of' as a vertical stacking order (ball on top, bed on bottom) or failing to render the bed entirely. To fix this, I must explicitly define a horizontal layout where the ball is on the left side of the frame and the bed is on the right side of the frame, ensuring they are side-by-side on the same plane.", "recordedStrategy": "I will rewrite the prompt to enforce a strict horizontal composition. I will place the sports ball in the 'left half' of the frame and the bed in the 'right half' of the frame. I will describe the scene as a flat-lay or eye-level shot on a floor to ensure they are on the same ground plane, preventing the model from stacking them vertically. I will also ensure the bed is described with enough detail (frame, mattress) to guarantee its presence."}]}, {"id": "00186", "label": "Counting", "prompt": "a photo of four sinks", "sourceNote": "Concise summaries are shown above; the recorded reflector output is available below. Prompts are preserved in full.", "rounds": [{"image": "00186-round0.webp", "passed": false, "judge": "expected sink>=4, found 3", "problem": "Only three sinks are detected; the request asks for four.", "strategy": "Start from the original request.", "prompt": "a photo of four sinks", "highlights": []}, {"image": "00186-round1.webp", "passed": true, "judge": "All requested constraints pass verification.", "problem": "The sinks merge visually instead of appearing as four separate units.", "strategy": "Make the sinks distinct and countable. The final prompt explicitly requests exactly four sinks.", "prompt": "A realistic photo containing exactly four sinks, each clearly visible and countable. a photo of four sinks", "highlights": ["exactly four sinks", "clearly visible and countable"], "recordedProblem": "The original prompt 'a photo of four sinks' failed to generate the required count (found 3). The model likely interpreted 'sinks' as a general concept or a continuous basin rather than four distinct, countable units. The image shows a long vanity with a continuous wooden countertop, which visually merges the basins, making them harder to distinguish as separate entities.", "recordedStrategy": "To ensure the model renders exactly four distinct sinks, I will explicitly describe the scene as a 'long bathroom vanity' containing 'four separate white basins' set into a 'single wooden countertop'. By specifying the material of the countertop (wood) and the basins (white), I create a high-contrast visual boundary that forces the model to render them as four distinct objects rather than one long trough. This positive description of the specific arrangement replaces the ambiguous generic term."}]}, {"id": "ocr", "label": "Text rendering", "prompt": "A stylish, modern tea packaging design for \"Organic Chamomile Blend\", featuring a serene yellow and white color scheme with delicate illustrations of chamomile flowers and leaves, set against a clean, minimalist background.", "sourceNote": "Problem and strategy are concise summaries of the OCR evidence and recorded prompt changes.", "rounds": [{"image": "ocr_test_00095__agentic_fair100_refiner_v2c__r0.webp", "passed": false, "judge": "OCR: TEA CROSESTEALOW AUOTVE OFFFENEChamomileSOMDIE EAIEN CENTHENEPOnnes o", "problem": "The label does not contain the full target phrase.", "strategy": "Start from the original request.", "prompt": "A stylish, modern tea packaging design for \"Organic Chamomile Blend\", featuring a serene yellow and white color scheme with delicate illustrations of chamomile flowers and leaves, set against a clean, minimalist background.", "highlights": ["Organic Chamomile Blend"]}, {"image": "ocr_test_00095__agentic_fair100_refiner_v2c__r1.webp", "passed": false, "judge": "OCR: NluTEAORGANICchamomileBEHDEYPONTANPORTSVEWIEET INFALLOV NO.ZLg", "problem": "The initial label is missing “Organic” and “Blend”.", "strategy": "Center the exact phrase in bold, high-contrast lettering.", "prompt": "A stylish, modern tea packaging design featuring the exact text 'Organic Chamomile Blend' prominently centered in clean, bold, high-contrast lettering on the front label, set against a serene yellow and white color scheme with delicate illustrations of chamomile flowers and leaves, on a clean, minimalist background.", "highlights": ["Organic Chamomile Blend"]}, {"image": "ocr_test_00095__agentic_fair100_refiner_v2c__r2.webp", "passed": false, "judge": "OCR: BIXNIS.AMATEACHAMOMILE BLENDWAYNEETIN FALLORS NII.EL", "problem": "The first revision still does not render “Blend” correctly.", "strategy": "Make the complete phrase the large, clearly legible focal point.", "prompt": "A stylish, modern tea packaging design featuring the exact text 'Organic Chamomile Blend' prominently centered and clearly legible in large, bold, high-contrast lettering as the primary focal point on the front label, set against a serene yellow and white color scheme with delicate illustrations of chamomile flowers and leaves, on a clean, minimalist background.", "highlights": ["Organic Chamomile Blend", "large, bold, high-contrast"]}, {"image": "ocr_test_00095__agentic_fair100_refiner_v2c__r3.webp", "passed": true, "judge": "OCR: OrganicChamomileBLENDanbinit fers3az1", "problem": "The second revision renders “Chamomile Blend” but omits “Organic”.", "strategy": "Preserve the label design and require the phrase verbatim, with no surrounding garbled text.", "prompt": "A stylish, modern tea packaging design featuring the exact text 'Organic Chamomile Blend' prominently centered and clearly legible in large, bold, high-contrast lettering as the primary focal point on the front label, set against a serene yellow and white color scheme with delicate illustrations of chamomile flowers and leaves, on a clean, minimalist background. The text 'Organic Chamomile Blend' must appear verbatim, unambiguous, and unobstructed, with no garbled or incorrect text surrounding it.", "highlights": ["Organic Chamomile Blend", "large, bold, high-contrast", "verbatim, unambiguous, and unobstructed"]}]}, {"id": "00478", "label": "Color binding", "prompt": "a photo of a black broccoli and a yellow cake", "sourceNote": "Recorded Gemini reflection example; this run used the original image as its visual reference and accumulated text feedback.", "rounds": [{"image": "00478-round0.webp", "passed": false, "judge": "expected black broccoli>=1, found 0 black; and 1 green", "problem": "expected black broccoli>=1, found 0 black; and 1 green", "strategy": "Start from the original request.", "prompt": "a photo of a black broccoli and a yellow cake", "highlights": []}, {"image": "00478-round1.webp", "passed": false, "judge": "expected black broccoli>=1, found 0 black; and 1 green\nexpected cake>=1, found 0", "problem": "The broccoli rendered as standard green instead of the requested unnatural black color.", "strategy": "Describe the broccoli with explicit pitch-black and charcoal details across both its florets and stem to override its natural green bias, while keeping the slice of yellow lemon cake separate on the plate.", "prompt": "A studio photo on a white ceramic plate containing a pitch-black broccoli stalk with charcoal-colored florets beside a bright yellow slice of lemon cake.", "highlights": ["pitch-black broccoli", "charcoal-colored florets", "bright yellow"]}, {"image": "00478-round2.webp", "passed": false, "judge": "expected black broccoli>=1, found 0 black; and 1 green", "problem": "The broccoli remains natural green instead of unnatural black, and the cake object recognition was previously lost or misidentified.", "strategy": "Describe the broccoli as a fully charred, jet-black vegetable sculpture with dark charcoal florets, placed distinctly to the left of a yellow sponge cake with yellow frostings.", "prompt": "A high-resolution photo on a table surface featuring a jet-black broccoli head—with completely black charred florets and a dark stem—positioned on the left side, next to a slice of sponge cake with bright yellow frosting and yellow layers on the right side.", "highlights": ["jet-black", "completely black charred florets", "left side", "yellow frosting and yellow layers", "right side"]}, {"image": "00478-round3.webp", "passed": true, "judge": "All requested constraints pass verification.", "problem": "The broccoli keeps rendering in its natural green color instead of black.", "strategy": "Describe the broccoli as completely burned, charred, or covered in pure black activated charcoal powder to force the generator to render pitch-black stalk and florets, entirely removing any green tone.", "prompt": "A photo of a completely black broccoli stalk with pitch-black charred florets, thoroughly coated in black charcoal powder leaving no green visible, placed next to a slice of bright yellow sponge cake with yellow icing.", "highlights": ["pitch-black charred florets", "black charcoal powder leaving no green visible", "bright yellow sponge cake with yellow icing"]}]}, {"id": "ocr-00430", "label": "Text rendering", "prompt": "A medieval shield, intricately crafted with the family crest of the \"Lionheart Clan\", hangs prominently against a weathered stone wall, the lion emblem vividly detailed in gold and crimson, symbolizing courage and heritage.", "sourceNote": "Problem and strategy summarize the recorded OCR outputs and refiner diagnoses. Pass denotes a normalized target-string match, not absence of all extra text.", "rounds": [{"image": "ocr_test_00430__agentic_ocr_v2_relaxed__r0.webp", "passed": false, "judge": "OCR: no text detected.", "problem": "The shield shows the lion emblem, but the requested inscription is missing.", "strategy": "Start from the original request.", "prompt": "A medieval shield, intricately crafted with the family crest of the \"Lionheart Clan\", hangs prominently against a weathered stone wall, the lion emblem vividly detailed in gold and crimson, symbolizing courage and heritage.", "highlights": ["Lionheart Clan"]}, {"image": "ocr_test_00430__agentic_ocr_v2_relaxed__r1.webp", "passed": true, "judge": "OCR: LionheartClan", "problem": "The shield shows the lion emblem, but the requested inscription is missing.", "strategy": "Keep the shield and stone wall, and place a clear gold inscription directly below the lion.", "prompt": "A medieval shield with a golden lion emblem on a red field, mounted on a weathered stone wall, with the text \"Lionheart Clan\" inscribed in bold, clear gold lettering below the lion, symbolizing courage and heritage.", "highlights": ["the text \"Lionheart Clan\"", "bold, clear gold lettering below the lion"]}]}, {"id": "ocr-00973", "label": "Text rendering", "prompt": "A sleek, modern car parked on a city street, with a prominent sign on its side that reads \"speed\" in bold, vibrant letters, reflecting the urban nightlife.", "sourceNote": "Problem and strategy summarize the recorded OCR outputs and refiner diagnoses. Pass denotes a normalized target-string match, not absence of all extra text.", "rounds": [{"image": "ocr_test_00973__agentic_ocr_v2_relaxed__r0.webp", "passed": false, "judge": "OCR: SOPELAMN", "problem": "The lettering is visible, but OCR reads “SOPELAMN” instead of “speed”.", "strategy": "Start from the original request.", "prompt": "A sleek, modern car parked on a city street, with a prominent sign on its side that reads \"speed\" in bold, vibrant letters, reflecting the urban nightlife.", "highlights": ["speed"]}, {"image": "ocr_test_00973__agentic_ocr_v2_relaxed__r1.webp", "passed": true, "judge": "OCR: CFFSLONCOspeed", "problem": "The lettering is visible, but OCR reads “SOPELAMN” instead of “speed”.", "strategy": "Retain the nighttime street scene and emphasize bold pink lettering on the car’s side to improve readability.", "prompt": "A sleek, modern black car parked on a wet city street at night, with the word \"speed\" prominently displayed in bold, vibrant pink letters along its side, glowing under the urban lights, reflecting the neon nightlife.", "highlights": ["the word \"speed\"", "bold, vibrant pink letters along its side"]}]}, {"id": "ocr-cartridge", "label": "Text rendering", "prompt": "A retro video game cartridge, labeled \"Press Reset to Time Travel\", sits on a vintage game console. The room is dimly lit, with soft glow from a CRT TV, capturing the nostalgic essence of 1980s gaming culture.", "sourceNote": "Original and final prompts are from the paper figure source. Round 1 preserves the available prompt text with its explicit omission. OCR strings and outcomes were supplied by the author; the final OCR string is abbreviated. Strategy descriptions summarize the recorded prompt changes.", "rounds": [{"image": "ocr-cartridge-r0.webp", "passed": false, "judge": "OCR: PirasResetTo Time TravelFGEAASHONIARTIME SOCMLEROOODITOGurotoNPbIN", "problem": "“Press” is misspelled as “Piras”, with additional garbled text on the label.", "strategy": "Start from the original request.", "prompt": "A retro video game cartridge, labeled \"Press Reset to Time Travel\", sits on a vintage game console. The room is dimly lit, with soft glow from a CRT TV, capturing the nostalgic essence of 1980s gaming culture.", "highlights": ["Press Reset to Time Travel"]}, {"image": "ocr-cartridge-r1.webp", "passed": false, "judge": "OCR: PRESSRESETTIMETRAVELUiothrlipt", "problem": "The original label misspells “Press” and includes garbled text.", "strategy": "Correct the spelling and improve legibility with bold, clean, high-contrast lettering; require the target phrase verbatim.", "prompt": "A retro video game cartridge, labeled in bold, clean, high-contrast lettering with the exact text 'Press Reset to Time Travel' centered on its label, sits on a vintage game console. … The text must be fully legible, unobstructed, and rendered verbatim without any misspellings or extra characters.", "promptPartial": true, "highlights": ["Press Reset to Time Travel", "bold, clean, high-contrast lettering", "rendered verbatim"]}, {"image": "ocr-cartridge-r2.webp", "passed": true, "judge": "OCR: ZWLERRMMEESSUPRESSRESETTOTIMETRAVEL… (target phrase matched)", "problem": "The first revision improves the lettering but omits “to” between “Reset” and “Time”.", "strategy": "Keep the legibility constraints, explicitly require no missing words, restrict the label to the target phrase, and remove text from the console.", "prompt": "A retro video game cartridge, labeled with the exact text 'Press Reset to Time Travel' in bold, clean, high-contrast lettering, centered on its label and fully unobstructed, sits on a vintage game console. The room is dimly lit, with soft glow from a CRT TV, capturing the nostalgic essence of 1980s gaming culture. The text must be rendered verbatim, with no misspellings, no extra characters, and no missing words. The cartridge label must display only this text, with no other text or artifacts overlapping or covering it. The console must be plain with no branding or text on it.", "highlights": ["bold, clean, high-contrast lettering", "rendered verbatim", "no missing words", "only this text", "no branding or text"], "newHighlights": ["no missing words", "only this text", "no branding or text"]}]}, {"id": "bird-skateboard", "label": "Spatial relation", "prompt": "a photo of a bird below a skateboard", "sourceNote": "The author supplied the original and corrected images, the complete revised prompt, and the successful one-revision outcome. Judge descriptions summarize the visible spatial relation; they are not verbatim detector outputs. The strategy applies the reusable reflection skill.", "rounds": [{"image": "transfer-before.webp", "passed": false, "judge": "Expected the bird below the skateboard; found the bird standing on it.", "problem": "The bird is on top of the skateboard instead of below it.", "strategy": "Start from the original request.", "prompt": "a photo of a bird below a skateboard", "highlights": []}, {"image": "transfer-after.webp", "passed": true, "judge": "The bird stands on the pavement directly below the raised skateboard.", "problem": "The original generation places the bird on the skateboard.", "strategy": "Apply the learned support strategy: raise the board on two concrete blocks and place the bird on the ground underneath.", "prompt": "A photo of a wooden skateboard with black grip tape resting horizontally across two tall concrete blocks. On the ground surface directly underneath the suspended middle section of the skateboard, a small feathered bird stands on the pavement.", "highlights": ["resting horizontally across two tall concrete blocks", "directly underneath the suspended middle section of the skateboard", "bird stands on the pavement"]}]}]};
window.REFLECTOPD_COMPARISONS = [{"id": "212", "label": "Counting", "prompt": "a photo of four baseball gloves", "images": [{"method": "baseline", "image": "comparison-212-baseline.webp"}, {"method": "reflectionflow", "image": "comparison-212-reflectionflow.webp"}, {"method": "flowgrpo", "image": "comparison-212-flowgrpo.webp"}, {"method": "ours", "image": "comparison-212-ours.webp"}]}, {"id": "316", "label": "Color", "prompt": "a photo of a yellow orange", "images": [{"method": "baseline", "image": "comparison-316-baseline.webp"}, {"method": "reflectionflow", "image": "comparison-316-reflectionflow.webp"}, {"method": "flowgrpo", "image": "comparison-316-flowgrpo.webp"}, {"method": "ours", "image": "comparison-316-ours.webp"}]}, {"id": "415", "label": "Position", "prompt": "a photo of a backpack below a cake", "images": [{"method": "baseline", "image": "comparison-415-baseline.webp"}, {"method": "reflectionflow", "image": "comparison-415-reflectionflow.webp"}, {"method": "flowgrpo", "image": "comparison-415-flowgrpo.webp"}, {"method": "ours", "image": "comparison-415-ours.webp"}]}, {"id": "479", "label": "Binding", "prompt": "a photo of a red train and a purple bear", "images": [{"method": "baseline", "image": "comparison-479-baseline.webp"}, {"method": "reflectionflow", "image": "comparison-479-reflectionflow.webp"}, {"method": "flowgrpo", "image": "comparison-479-flowgrpo.webp"}, {"method": "ours", "image": "comparison-479-ours.webp"}]}];