Skip to content

Official Codebase of 3DCodeVerse

Python

bench: add the teaser showcase battery, one file per track

gaoypengd5a3206f9090
diff --git a/harness/bench/prompts/teaser_v1_articulated.yaml b/harness/bench/prompts/teaser_v1_articulated.yaml
new file mode 100644
index 00000000..a4df79d8
--- /dev/null
+++ b/harness/bench/prompts/teaser_v1_articulated.yaml
@@ -0,0 +1,64 @@
+# Teaser showcase battery, split one file per track because a `Battery` binds exactly
+# one track + language (bench/run_bench.py). Cross-language prompts inside a track use
+# the per-prompt `language:` override. These four files ARE the source; edit them here.
+# Regenerate: python /tmp/claude-1000/-home-yipeng/256e9f01-5a86-4d6d-9b4b-3d662f71921d/scratchpad/teaser/make_batteries.py
+# Heroes (run with codex:gpt-5.6-sol, everything else api-agent:gemini:gemini-3.7-flash): (none)
+name: teaser_v1_articulated
+track: articulated_object
+language: urdf_blender
+description: 'teaser_v1 — articulated_object slice (2 prompts). Showcase battery: picked for the picture,
+ every prompt carries its own `why` for the selection evidence.'
+prompts:
+- id: tsr_art_grandfather_clock
+ tier: medium
+ category: furniture
+ tags:
+ - texture
+ - motion
+ - material:walnut+brass+glass
+ prompt: 'a longcase grandfather clock with working articulation: a walnut case with a broken-arch bonnet
+ and turned finials, a brass dial with hour and minute hands, a glazed trunk door on hinges, a pendulum
+ with a brass bob on a pivot and two hanging weights
+
+ '
+ must_have:
+ - case about 2.0 m tall, 0.50 m wide, 0.28 m deep, standing on the ground plane
+ - hinged trunk door with a glass pane, a revolute joint on one side swinging at least 90 degrees open
+ - pendulum on a revolute pivot at the top of the trunk with a brass bob about 0.12 m across, swinging
+ at least 15 degrees each way
+ - hour hand and minute hand on separate revolute joints on the dial axis
+ - brass dial face about 0.28 m across in the bonnet with a chapter ring
+ - two cylindrical weights hanging inside the trunk
+ - broken-arch bonnet with at least two turned finials
+ - walnut case, brass dial and a clear glass door pane as three distinct materials
+ - the door and the pendulum clear the case through their whole joint range
+ dimensions_m:
+ width: 0.5
+ depth: 0.28
+ height: 2.0
+- id: tsr_art_roll_cabinet
+ tier: medium
+ category: tools
+ tags:
+ - texture
+ - motion
+ - material:painted_steel+chrome
+ prompt: 'a red steel rolling tool chest: seven drawers of three different heights on slides, full-width
+ chrome pulls, a hinged top lid over a shallow tray, a push handle on one end and four castors
+
+ '
+ must_have:
+ - carcass about 1.00 m wide, 0.50 m deep, 0.95 m tall excluding castors
+ - seven drawers, each on its own prismatic joint sliding out at least 0.35 m
+ - drawers in three distinct heights, the tallest at the bottom
+ - a full-width chrome pull on every drawer front
+ - hinged top lid on a revolute joint opening at least 70 degrees to reveal a tray
+ - four castors under the carcass, the two front ones on swivel forks
+ - tubular push handle on one end of the carcass
+ - red painted carcass, chrome pulls and black castors as distinct materials
+ - drawer fronts sit flush with the carcass when closed and no drawer intersects another at any joint
+ value
+ dimensions_m:
+ width: 1.0
+ depth: 0.5
+ height: 1.05
diff --git a/harness/bench/prompts/teaser_v1_graphics.yaml b/harness/bench/prompts/teaser_v1_graphics.yaml
new file mode 100644
index 00000000..38aa2225
--- /dev/null
+++ b/harness/bench/prompts/teaser_v1_graphics.yaml
@@ -0,0 +1,100 @@
+# Teaser showcase battery, split one file per track because a `Battery` binds exactly
+# one track + language (bench/run_bench.py). Cross-language prompts inside a track use
+# the per-prompt `language:` override. These four files ARE the source; edit them here.
+# Regenerate: python /tmp/claude-1000/-home-yipeng/256e9f01-5a86-4d6d-9b4b-3d662f71921d/scratchpad/teaser/make_batteries.py
+# Heroes (run with codex:gpt-5.6-sol, everything else api-agent:gemini:gemini-3.7-flash): (none)
+name: teaser_v1_graphics
+track: graphics
+language: glsl_shader
+description: 'teaser_v1 — graphics slice (4 prompts). Showcase battery: picked for the picture; every prompt carries its own `why`
+ for the selection evidence and the per-prompt `why`.'
+prompts:
+- id: tsr_gfx_rain_window
+ tier: medium
+ category: stylised
+ tags:
+ - proven_family
+ - night
+ - refraction
+ prompt: 'raindrops running down a dark window in front of an out-of-focus neon city: each drop refracts
+ a tiny inverted image of the lights behind it, drops grow until they break loose and cut clean trails
+ downward, trails merge as they cross, the glass carries a fine mist between the drops and the city
+ bokeh drifts slowly
+
+ '
+ must_have:
+ - at least 25 separate drops on the glass at once, in at least 3 sizes
+ - each large drop refracts the background lights, brighter and inverted inside the drop
+ - drops slide downward and leave narrower clear trails behind them
+ - two trails that cross visibly merge into one heavier drop
+ - fine mist or fogging on the glass between the drops
+ - out-of-focus coloured city bokeh behind the glass in at least 3 hues
+ - the whole frame is dark with the neon bokeh as the only light source
+ - drop positions differ across the sampled frames — nothing is frozen
+- id: tsr_gfx_aurora_ridge
+ tier: medium
+ category: nature
+ tags:
+ - proven_family
+ - night
+ - atmosphere
+ prompt: 'an aurora over a snowy ridge: layered green and violet curtains with vertical ray structure
+ rippling across the sky, a dense star field behind them, a dark mountain-ridge silhouette along the
+ bottom third and a frozen lake reflecting the curtains with a soft shimmer
+
+ '
+ must_have:
+ - at least 3 overlapping aurora curtains at different depths and brightnesses
+ - vertical ray structure inside the curtains, not flat colour bands
+ - green low in the curtain shading to violet or magenta at the top
+ - star field visible through and above the curtains, at least 200 stars in 2 brightnesses
+ - dark mountain ridge silhouette across the lower third with at least 3 peaks
+ - frozen lake below the ridge reflecting the curtains, softer and dimmer than the sky
+ - the curtains ripple and drift horizontally across the sampled frames
+ - dark night frame with the aurora as the brightest element, nothing blown out
+- id: tsr_gfx_accretion_disc
+ tier: hard
+ category: space
+ tags:
+ - motion
+ - high_contrast
+ prompt: 'a black hole with a glowing accretion disc: a pure black sphere ringed by a thin bright photon
+ ring, a hot orange-white disc of turbulent filaments orbiting it with the approaching side visibly
+ brighter, the far side of the disc lensed up and over the shadow into an arc, and a star field warping
+ near the edge
+
+ '
+ must_have:
+ - perfectly black circular shadow at the centre with a thin bright ring at its edge
+ - accretion disc seen at a shallow angle, brighter and whiter toward the inner edge
+ - turbulent filament structure in the disc, not a smooth gradient
+ - the far side of the disc lensed into an arc above the black shadow
+ - one side of the disc clearly brighter than the other
+ - star field behind, distorted near the shadow's edge
+ - the disc rotates visibly between the sampled frames
+ - 'high dynamic range look: near-black background against a hot white inner disc, no blown-out flat
+ areas'
+- id: tsr_ogl_murmuration
+ tier: hard
+ category: instancing
+ tags:
+ - proven_family
+ - instancing
+ - motion
+ - dusk
+ language: opengl_python
+ prompt: 'a starling murmuration at dusk: several thousand instanced birds flocking with cohesion, separation
+ and alignment around a slowly moving attractor, their dark silhouettes thickening and thinning into
+ shifting shapes against a graded orange to deep-blue sky, with a low dark treeline along the bottom
+ edge
+
+ '
+ must_have:
+ - at least 3000 instanced bird silhouettes drawn in one instanced draw call
+ - flocking behaviour with visible cohesion, separation and alignment, not random motion
+ - the flock density varies across the frame, dense cores and thin trailing streams
+ - birds nearer the camera are larger than distant ones
+ - sky graded from warm orange at the horizon to deep blue at the top
+ - dark treeline or ridge silhouette along the bottom edge
+ - the flock shape changes noticeably between the sampled frames while staying one flock
+ - no bird sprites frozen or clipped at the frame edges
diff --git a/harness/bench/prompts/teaser_v1_scene.yaml b/harness/bench/prompts/teaser_v1_scene.yaml
new file mode 100644
index 00000000..43973e1b
--- /dev/null
+++ b/harness/bench/prompts/teaser_v1_scene.yaml
@@ -0,0 +1,105 @@
+# Teaser showcase battery, split one file per track because a `Battery` binds exactly
+# one track + language (bench/run_bench.py). Cross-language prompts inside a track use
+# the per-prompt `language:` override. These four files ARE the source; edit them here.
+# Regenerate: python /tmp/claude-1000/-home-yipeng/256e9f01-5a86-4d6d-9b4b-3d662f71921d/scratchpad/teaser/make_batteries.py
+# Heroes (run with codex:gpt-5.6-sol, everything else api-agent:gemini:gemini-3.7-flash): tsr_scn_temple_night
+name: teaser_v1_scene
+track: scene
+language: scene_threejs
+description: 'teaser_v1 — scene slice (3 prompts). Showcase battery: picked for the picture; every prompt carries its own `why`
+ for the selection evidence and the per-prompt `why`.'
+prompts:
+- id: tsr_scn_temple_night
+ tier: hard
+ category: multi_language
+ tags:
+ - hero
+ - multi_language
+ - blender_glb
+ - glsl
+ - motion
+ prompt: 'a small temple courtyard on a koi pond at night, lit by stone lanterns and paper lamps. TWO
+ HERO PROPS ARE AUTHORED IN BLENDER WITH bpy AND COMPILED TO GLB (asset kind blender_glb), then loaded
+ into the three.js scene: (1) StoneLantern — a carved granite lantern about 1.7 m tall with a chamfered
+ cap, a pierced fire box, a lotus-carved plinth and moss-worn edges; (2) BronzeCenser — a three-legged
+ bronze incense burner about 0.9 m tall with a domed pierced lid, two ring handles and a relief band. Everything
+ else is procedural three.js: maple and pine trees, the arched wooden bridge, stone paving, railings
+ and the temple hall. A custom GLSL water material gives the pond ripples, lantern reflections and
+ koi moving under the surface; incense smoke and falling maple leaves drift through the frame; the
+ camera dollies across the bridge toward the hall.
+
+ '
+ must_have:
+ - '5 zones: koi pond, arched bridge, lantern path, incense terrace, temple hall'
+ - carved stone lanterns about 1.7 m tall at three stations along the path, each with a lit fire box
+ - bronze incense burner about 0.9 m tall on the terrace, catching a warm specular highlight
+ - at least 8 paper lamps strung between the hall eaves and the trees
+ - at least 3 maple trees with red foliage and at least 4 pines, in 3 silhouettes with size jitter
+ - pond water with animated ripples, lantern reflections on the surface and koi shapes moving below it
+ - temple hall with a tiled sweeping roof behind the terrace
+ - night mood with lantern glow as the dominant warm key against a deep blue sky, no black or blown-out
+ frames (mean luminance roughly 0.15-0.40)
+ - incense smoke rising from the burner and maple leaves falling across the frame
+ - camera dollies across the bridge toward the hall, visibly advancing between the sampled times
+ - camera never intersects the bridge railings, trees or lanterns
+- id: tsr_scn_boat_workshop
+ tier: hard
+ category: multi_language
+ tags:
+ - multi_language
+ - blender_glb
+ - glsl
+ - motion
+ - interior
+ prompt: 'a boatbuilder''s workshop at dusk with low sun raking through a dusty window wall. TWO HERO
+ PROPS ARE AUTHORED IN BLENDER WITH bpy AND COMPILED TO GLB (asset kind blender_glb), then loaded into
+ the three.js scene: (1) ClinkerSkiff — a lapstrake wooden skiff about 4 m long, upturned on trestles,
+ with overlapping planks, visible ribs and a bevelled stem; (2) PotbellyStove — a cast-iron potbelly
+ stove about 1.1 m tall with a bellied body, a bevelled door with a latch, claw feet and a flue collar.
+ Everything else is procedural three.js: workbenches, wall tool racks, timber stacks, sawhorses, clamps,
+ buckets and the roof trusses. A GLSL shader makes the window sunbeams volumetric; sawdust motes drift
+ in the light, the stove glow flickers and a hanging work lamp sways; the camera cranes up from the
+ floor along the hull.
+
+ '
+ must_have:
+ - '4 zones: window wall, skiff on trestles, workbench row, stove corner'
+ - lapstrake wooden skiff about 4 m long resting on two trestles, the overlapping planks readable in
+ the render
+ - cast-iron potbelly stove about 1.1 m tall with a flue running up to the roof
+ - at least 3 workbenches carrying at least 20 small tools and props between them
+ - wall tool racks holding at least 12 hand tools
+ - at least 2 timber stacks and 4 sawhorses or clamp stands
+ - visible volumetric light shafts from the window falling across the hull
+ - 'dusk interior mood: warm low sun beams against cool shadow, no black or blown-out frames (mean luminance
+ roughly 0.20-0.50)'
+ - sawdust motes drifting inside the light shafts and a flickering warm glow at the stove door
+ - hanging work lamp visibly swaying between the sampled times
+ - camera cranes upward along the hull and never clips the hull, trestles or benches
+- id: tsr_scn_neon_alley
+ tier: hard
+ category: urban
+ tags:
+ - glsl
+ - motion
+ - night
+ - reflections
+ prompt: 'a rain-soaked neon alley at night between tall buildings: stacked kanji and script signs in
+ hot pink and cyan, a wet asphalt ground shader mirroring every sign, steam venting from a grate, a
+ flickering holographic billboard, fire escapes and hanging cables, with rain falling through the light
+ cones
+
+ '
+ must_have:
+ - '4 zones: alley mouth, sign wall, steam grate, dead end with the billboard'
+ - narrow alley between two building faces at least 12 m tall
+ - at least 10 emissive neon signs in at least 3 hues, stacked up both walls
+ - wet ground with a custom shader reflecting the signs as vertical streaks
+ - steam venting continuously from at least 2 grates
+ - holographic billboard at the dead end that flickers in brightness
+ - fire escape stairs on at least one wall and cables strung across the alley
+ - at least 20 small props (crates, bins, pipes, puddles, bottles) dressing the alley floor
+ - night mood with the neon as the only key light, no black or blown-out frames (mean luminance roughly
+ 0.15-0.40)
+ - rain falling visibly through the sign light between the sampled times
+ - camera dollies down the alley toward the billboard without clipping the walls, cables or props
diff --git a/harness/bench/prompts/teaser_v1_static.yaml b/harness/bench/prompts/teaser_v1_static.yaml
new file mode 100644
index 00000000..e9e95c9f
--- /dev/null
+++ b/harness/bench/prompts/teaser_v1_static.yaml
@@ -0,0 +1,202 @@
+# Teaser showcase battery, split one file per track because a `Battery` binds exactly
+# one track + language (bench/run_bench.py). Cross-language prompts inside a track use
+# the per-prompt `language:` override. These four files ARE the source; edit them here.
+# Regenerate: python /tmp/claude-1000/-home-yipeng/256e9f01-5a86-4d6d-9b4b-3d662f71921d/scratchpad/teaser/make_batteries.py
+# Heroes (run with codex:gpt-5.6-sol, everything else api-agent:gemini:gemini-3.7-flash): tsr_obj_penny_farthing, tsr_cad_radial_engine
+name: teaser_v1_static
+track: static_object
+language: blender
+description: 'teaser_v1 — static_object slice (7 prompts). Showcase battery: picked for the picture,
+ every prompt carries its own `why` for the selection evidence.'
+prompts:
+- id: tsr_obj_penny_farthing
+ tier: hard
+ category: vehicles
+ tags:
+ - hero
+ - texture
+ - axis:thin_features
+ - material:iron+brass+leather
+ prompt: 'a Victorian penny-farthing bicycle: a very tall spoked front wheel, a small rear wheel, a curved
+ backbone frame, a sprung leather saddle above the front hub, pedals on the front hub, curved handlebars
+ and polished brass fittings
+
+ '
+ must_have:
+ - front wheel about 1.30 m in diameter with at least 32 straight spokes running hub to rim
+ - rear wheel about 0.40 m in diameter with at least 16 spokes
+ - curved backbone tube sweeping from the front hub head down to the rear fork
+ - leather saddle about 0.26 m long on a sprung post above the front wheel
+ - two cranks with pedals on the front hub, 180 degrees apart
+ - handlebars about 0.55 m wide with two grips
+ - solid tyre band on both rims
+ - brass or nickel fittings at the hubs, the head and the saddle post, distinct in colour from the black
+ frame
+ - both wheels touch the ground plane
+ - no spoke, fork or backbone tube intersects a wheel rim
+ dimensions_m:
+ width: 0.6
+ depth: 1.65
+ height: 1.55
+- id: tsr_obj_lighthouse
+ tier: medium
+ category: buildings
+ tags:
+ - texture
+ - axis:arch_detail
+ - material:stone+glass+copper
+ prompt: 'a coastal lighthouse on a rock plinth: a tapered stone tower with painted bands, a corbelled
+ gallery with a railing, a glazed lantern room with a fresnel lens and a domed copper roof with a weathervane,
+ and a keeper''s door at the base
+
+ '
+ must_have:
+ - tapered tower about 14 m tall, wider at the base than under the gallery
+ - at least 3 painted horizontal bands around the tower
+ - corbelled gallery ring projecting at least 0.5 m beyond the tower under the lantern room
+ - gallery railing with at least 16 balusters
+ - lantern room with at least 8 glazed panes between vertical astragals
+ - fresnel lens drum visible inside the lantern room
+ - domed roof with a finial or weathervane on top
+ - keeper's door with a frame and at least 3 small windows up the tower
+ - rock plinth the tower stands on, tower base fully seated on it
+ - stone tower, glass lantern panes and a copper dome as three distinct materials
+ dimensions_m:
+ width: 6.0
+ depth: 6.0
+ height: 18.0
+- id: tsr_obj_gramophone
+ tier: hard
+ category: props
+ tags:
+ - texture
+ - axis:curved_organic
+ - material:brass+oak+bakelite
+ prompt: 'an antique wind-up gramophone: a big flared brass horn on an elbow, an oak case with a felted
+ turntable and a shellac record, a curved tonearm with a sound box, a crank handle on the side and
+ turned feet
+
+ '
+ must_have:
+ - flared horn whose bell is about 0.55 m across, opening from a throat under 0.06 m along a smooth curved
+ flare
+ - elbow joining the horn throat to the sound box
+ - oak case about 0.40 x 0.40 x 0.22 m with a moulded lip
+ - turntable platter about 0.30 m in diameter on the case top
+ - record disc lying flat on the platter with a centre label
+ - curved tonearm from the case to the sound box, with the needle over the record
+ - crank handle on the side of the case
+ - four turned feet, all touching the ground plane
+ - polished brass horn against dark oak and a black record — three clearly different materials
+ - the horn does not intersect the case or the platter
+ dimensions_m:
+ width: 0.6
+ depth: 0.55
+ height: 0.75
+- id: tsr_cad_radial_engine
+ tier: hard
+ category: mechanisms
+ tags:
+ - hero
+ - texture
+ - axis:decomposition
+ - material:aluminium+steel+brass
+ language: cadquery
+ prompt: 'a five-cylinder radial aero engine: a round crankcase with a bolted front cover, five finned
+ cylinder barrels in a star, domed heads with rocker covers, a pushrod tube per cylinder, an exhaust
+ stub on each head and a splined propeller hub
+
+ '
+ must_have:
+ - five cylinder barrels evenly spaced 72 degrees apart around the crankcase axis
+ - at least 8 cooling fins on every barrel, all the same pitch
+ - domed head with a rocker cover on each cylinder
+ - one pushrod tube per cylinder running from the crankcase up to its head
+ - circular crankcase about 0.36 m in diameter
+ - front cover with at least 8 bolt heads on a circular pattern
+ - propeller hub on the crankcase axis with at least 6 bolt holes
+ - an exhaust stub on each head, all pointing the same way around the ring
+ - pale aluminium barrels, a darker steel crankcase and brass pushrod ends as distinct part colours
+ - no barrel, pushrod or exhaust stub intersects a neighbour
+ dimensions_m:
+ width: 0.9
+ depth: 0.42
+ height: 0.9
+- id: tsr_cad_portafilter
+ tier: medium
+ category: tools
+ tags:
+ - texture
+ - material:steel+walnut
+ - product_shot
+ language: cadquery
+ prompt: 'a double-spout espresso portafilter: a polished stainless basket holder with three locking
+ lugs, a knurled collar, two tapered spouts and a turned walnut handle on a chrome ferrule
+
+ '
+ must_have:
+ - cylindrical basket body about 0.075 m outside diameter and 0.035 m deep
+ - filter basket inside the body with a visible rim below the body lip
+ - three locking lugs evenly spaced around the body
+ - knurled or ribbed collar between the body and the ferrule
+ - two tapered spouts under the body, splayed at least 20 degrees apart
+ - turned walnut handle about 0.12 m long, thicker in the middle, on the body axis
+ - chrome ferrule joining handle to body
+ - steel body and chrome ferrule against a dark wood handle, three distinct part colours
+ - handle, ferrule and body are coaxial and touch without gaps
+ dimensions_m:
+ width: 0.09
+ depth: 0.24
+ height: 0.09
+- id: tsr_tjs_arcade_cabinet
+ tier: medium
+ category: props
+ tags:
+ - emissive
+ - material:laminate+glass+plastic
+ language: threejs
+ prompt: 'an upright 1980s arcade cabinet: a sloped control panel with a ball-top joystick and six buttons,
+ a recessed CRT screen behind a bezel, a glowing backlit marquee, a speaker grille, side art panels,
+ a coin door and T-molding trim
+
+ '
+ must_have:
+ - cabinet about 1.75 m tall, 0.70 m wide, 0.85 m deep, standing on the ground plane
+ - sloped control panel with one ball-top joystick and at least 6 round buttons in two rows
+ - screen recessed behind a bezel, the screen surface emissive so it reads as switched on
+ - backlit marquee across the top, emissive and brighter than the cabinet body
+ - speaker grille with at least 12 holes above the screen
+ - coin door with two coin slots and a coin return cup
+ - T-molding trim strip running along both side edges
+ - side art panel in a saturated colour distinct from the black cabinet body
+ - no button or joystick sinks below the control panel surface
+ dimensions_m:
+ width: 0.7
+ depth: 0.85
+ height: 1.75
+- id: tsr_tjs_deco_chandelier
+ tier: hard
+ category: lighting
+ tags:
+ - instancing
+ - material:brass+glass
+ - radial_symmetry
+ language: threejs
+ prompt: 'an art-deco brass chandelier: a central stem on a ceiling canopy and chain, two tiers of curved
+ arms carrying frosted candle shades, stepped faceted glass drops hanging in rings from each tier and
+ a fluted glass bowl at the crown
+
+ '
+ must_have:
+ - central brass stem with a ceiling canopy and a chain of at least 5 links above it
+ - upper tier of 6 curved arms and a lower tier of 8 curved arms, each tier evenly spaced
+ - a frosted candle shade at the end of every arm
+ - at least 40 faceted glass drops hanging in even rings below the two tiers
+ - fluted glass bowl at the crown under the stem
+ - overall diameter about 0.90 m and overall height about 1.10 m
+ - warm brass arms and stem against clear or frosted glass drops and shades
+ - every drop hangs free below its tier and no drop intersects an arm
+ dimensions_m:
+ width: 0.9
+ depth: 0.9
+ height: 1.1