Skip to content

Commit 279c1ba

Browse files
zbucclaude
andcommitted
Configure E2E tests to use loft_profile with extreme-ultra quality
Updated GitHub Pages workflow and E2E test to use the high-quality loft_profile reconstruction mode for published results: - Load configs/loft_profile-extreme-ultra.json configuration - 200 slices (vs 120 default) - 2048 profile samples (vs 512 default) - 192 radial segments (vs 64 default) - 4096x4096 render resolution (vs 512x512 default) Updated test_name to use actual reconstruction mode instead of hardcoded 'legacy', and added quality metadata to exports. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent bdb6992 commit 279c1ba

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/publish-e2e-results.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
continue-on-error: true
4444
run: |
4545
cd blender_blocking
46-
/home/headless/blender/blender --background --python test_e2e_validation.py
46+
/home/headless/blender/blender --background --python test_e2e_validation.py -- --config-path ../configs/loft_profile-extreme-ultra.json
4747
echo "test_exit_code=$?" >> $GITHUB_OUTPUT
4848
4949
- name: Check if results were generated

blender_blocking/test_e2e_validation.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,23 @@ def test_with_sample_images(
385385
export_dir = base_dir.parent / "docs" / "e2e-results"
386386
try:
387387
exporter = E2EResultsExporter(export_dir)
388-
test_name = f"vase_legacy_{config_label}"
388+
recon_mode = (
389+
validator.workflow_config.reconstruction.reconstruction_mode
390+
if validator.workflow_config
391+
else "legacy"
392+
)
393+
test_name = f"vase_{recon_mode}_{config_label}"
389394

390395
# Get metadata
396+
cfg = validator.workflow_config
391397
metadata = {
392398
"num_slices": num_slices,
393399
"config_label": config_label,
400+
"reconstruction_mode": recon_mode,
394401
"blender_version": bpy.app.version_string if BLENDER_AVAILABLE else "N/A",
402+
"profile_samples": cfg.profile_sampling.num_samples if cfg else None,
403+
"radial_segments": cfg.mesh_from_profile.radial_segments if cfg else None,
404+
"render_resolution": list(cfg.render_silhouette.resolution) if cfg else None,
395405
}
396406

397407
# Export this test case

0 commit comments

Comments
 (0)