Datasets:
Verify RoboHome source completeness and document portable workflows
Browse files- code/robohome/.gitignore +15 -0
- code/robohome/README.md +174 -47
- code/robohome/docs/configuration.md +72 -0
- code/robohome/docs/source-completeness.json +1158 -0
- code/robohome/docs/workflows.md +76 -0
- code/robohome/requirements-test.txt +2 -0
- code/robohome/requirements.txt +9 -0
- code/robohome/source-manifest.json +131 -36
- code/robohome/src/THIRD_PARTY_NOTICES.md +6 -4
- code/robohome/src/adaptive_shell.py +52 -0
- code/robohome/src/build_native_shell_case.py +3 -0
- code/robohome/src/conftest.py +12 -0
- code/robohome/src/engine/BASE_SHA256SUMS +5 -5
- code/robohome/src/engine/REPAIR_V2_REVISION.json +30 -7
- code/robohome/src/engine/source/packages/runtime/stack_batch.py +6 -3
- code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/envelope_layout.py +70 -12
- code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/joint_layout.py +247 -3
- code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/layout_rules.yaml +1 -0
- code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/structural_material_application.py +49 -8
- code/robohome/src/engine/source/scripts/internal/scene_generation/shell_opening_geometry.py +145 -15
- code/robohome/src/engine/tests/task028_structural_false_positives_blender.py +73 -0
- code/robohome/src/engine/tests/test_layout_search_order_025.py +109 -0
- code/robohome/src/engine/tests/test_living_search_order.py +2 -1
- code/robohome/src/engine/tests/test_task028_structural_false_positives.py +212 -0
- code/robohome/src/fixtures/r7_residential_search.json.gz +3 -0
- code/robohome/src/task_scene_setup.py +1 -1
- code/robohome/src/test_area_bin_033.py +26 -0
- code/robohome/src/test_c13.py +1 -1
- code/robohome/src/test_coffee_sofa_clearance_032.py +49 -0
- code/robohome/src/test_door_jambs_032.py +73 -0
- code/robohome/src/test_envelope_layout.py +8 -4
- code/robohome/src/test_layout_repair_029.py +150 -0
- code/robohome/src/test_stack_batch_compatibility.py +28 -0
- code/robohome/src/tests/fixtures/support_pair_completed_success.json.gz +3 -0
- code/robohome/src/tools/collection/package_scene.py +53 -8
- code/robohome/src/tools/release/paths_029_restoration.patch.gz +3 -0
- code/robohome/src/tools/rplan_library/screen_library.py +1 -0
- code/robohome/tools/verify_source.py +78 -0
code/robohome/.gitignore
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.venv/
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.pyc
|
| 4 |
+
.pytest_cache/
|
| 5 |
+
.env
|
| 6 |
+
.env.*
|
| 7 |
+
config/*.local.json
|
| 8 |
+
work/
|
| 9 |
+
cache/
|
| 10 |
+
logs/
|
| 11 |
+
assets/*
|
| 12 |
+
scenes/*
|
| 13 |
+
src/engine/runs/
|
| 14 |
+
*.blend
|
| 15 |
+
*.sqlite3
|
code/robohome/README.md
CHANGED
|
@@ -1,61 +1,188 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
```bash
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
CASE="$PWD/work/case-001"
|
| 33 |
-
|
| 34 |
-
--description '
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
```
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
| 43 |
|
| 44 |
-
##
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
```bash
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
| 56 |
```
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RoboHome
|
| 2 |
|
| 3 |
+
Whole-home scene generation with native-scale assets, functional layouts,
|
| 4 |
+
saved-geometry validation, and Blender rendering. RoboHome accepts a residential
|
| 5 |
+
description or a floorplan image and produces furnished scenes and structured
|
| 6 |
+
metadata. Robot tasks are recorded as sidecars; generation does not execute a robot policy.
|
| 7 |
|
| 8 |
+
[Code](https://github.com/Roboparty/RP-RoboHavenGen) |
|
| 9 |
+
[Dataset](https://huggingface.co/datasets/RoboParty/RoboHome) |
|
| 10 |
+
[Configuration](docs/configuration.md) | [Workflows](docs/workflows.md)
|
| 11 |
|
| 12 |
+
## Contents
|
| 13 |
+
|
| 14 |
+
- [Requirements](#requirements)
|
| 15 |
+
- [Installation](#installation)
|
| 16 |
+
- [Download Data](#download-data)
|
| 17 |
+
- [Quick Start](#quick-start)
|
| 18 |
+
- [Batch Collection](#batch-collection)
|
| 19 |
+
- [Outputs](#outputs)
|
| 20 |
+
- [Project Layout](#project-layout)
|
| 21 |
+
- [Tests](#tests)
|
| 22 |
+
- [Licenses](#licenses)
|
| 23 |
+
|
| 24 |
+
## Requirements
|
| 25 |
+
|
| 26 |
+
- Linux and Python 3.10 for the generation controller.
|
| 27 |
+
- Blender configured with `RHG_BLENDER`. Packages imported by Blender must also
|
| 28 |
+
be installed for Blender's Python version.
|
| 29 |
+
- A compatible root filesystem, asset library, annotation/retrieval indexes,
|
| 30 |
+
prepared asset pools with receipts, runtime template, and floorplan library.
|
| 31 |
+
- Optional: local Qwen3-VL weights and compatible PyTorch/Transformers for image
|
| 32 |
+
input. GPU rendering requires a supported Blender backend.
|
| 33 |
+
|
| 34 |
+
Source downloads exclude model weights, scene payloads and binary Python environments.
|
| 35 |
+
|
| 36 |
+
## Installation
|
| 37 |
+
|
| 38 |
+
Download the standalone source tree, then install host dependencies:
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
python3 -m pip install huggingface_hub
|
| 42 |
+
hf download RoboParty/RoboHome --repo-type dataset --local-dir download \
|
| 43 |
+
--include 'code/robohome/**'
|
| 44 |
+
cd download/code/robohome
|
| 45 |
+
python3.10 -m venv .venv
|
| 46 |
+
source .venv/bin/activate
|
| 47 |
+
python -m pip install -r requirements.txt
|
| 48 |
+
python tools/verify_source.py --dependencies
|
| 49 |
+
python scene_workflow.py --help
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Image input additionally needs mutually compatible PyTorch and Torchvision,
|
| 53 |
+
Transformers with Qwen3-VL support, and `opencv-python-headless`.
|
| 54 |
+
`src/requirements-floorplan.txt` records the snapshot's image dependencies.
|
| 55 |
+
USD workflows require OpenUSD's `pxr`; MDL preparation requires the MDL SDK and
|
| 56 |
+
its Python runtime. See [configuration](docs/configuration.md).
|
| 57 |
+
|
| 58 |
+
## Download Data
|
| 59 |
+
|
| 60 |
+
Code, assets and scenes can be downloaded independently. Run from the project root:
|
| 61 |
+
|
| 62 |
+
```bash
|
| 63 |
+
# Asset bundles only.
|
| 64 |
+
hf download RoboParty/RoboHome --repo-type dataset --local-dir . \
|
| 65 |
+
--include 'assets/bundles/**'
|
| 66 |
+
# Published scenes only, without the asset corpus.
|
| 67 |
+
hf download RoboParty/RoboHome --repo-type dataset --local-dir . \
|
| 68 |
+
--include 'scenes/**'
|
| 69 |
+
# One scene: replace SCENE_ID with a directory in the dataset listing.
|
| 70 |
+
hf download RoboParty/RoboHome --repo-type dataset --local-dir . \
|
| 71 |
+
--include 'scenes/100-109m2/SCENE_ID/**'
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
The compressed closure in `assets/full_closure_20261122/` and the raw closure in
|
| 75 |
+
`assets/full_closure_raw_20261123/` are alternative archive representations.
|
| 76 |
+
Download one if a full closure is needed. Concatenate split archives in filename
|
| 77 |
+
order and check supplied SHA256 manifests before extraction.
|
| 78 |
+
|
| 79 |
+
Scenes may reference external textures or assets. Consult their dependency records
|
| 80 |
+
for complete rendering or reproduction. Pin downloads with `--revision COMMIT`.
|
| 81 |
+
|
| 82 |
+
## Quick Start
|
| 83 |
+
|
| 84 |
+
Configure your installation's data locations as described in
|
| 85 |
+
[configuration](docs/configuration.md):
|
| 86 |
|
| 87 |
```bash
|
| 88 |
+
export ROBOHOME_DATA="$PWD/assets/extracted"
|
| 89 |
+
export RHG_BLENDER="$(command -v blender)"
|
| 90 |
+
export RHG_ROOTFS="$ROBOHOME_DATA/rootfs"
|
| 91 |
+
export RHG_LIBRARY_ROOT="$ROBOHOME_DATA/asset_library"
|
| 92 |
+
export RHG_RUNTIME_TEMPLATE="$ROBOHOME_DATA/runtime_template.json"
|
| 93 |
+
export RHG_PREPARED_ASSET_POOL="$ROBOHOME_DATA/prepared/prepared_assets.sqlite3"
|
| 94 |
+
export RHG_COLLISION_FRAME_MAPPINGS="$ROBOHOME_DATA/collision_frame_mappings.json"
|
| 95 |
+
export RHG_RPLAN_SEEDS="$ROBOHOME_DATA/floorplans/library.json"
|
| 96 |
+
|
| 97 |
CASE="$PWD/work/case-001"
|
| 98 |
+
python scene_workflow.py build-shell --case "$CASE" --seed 42 \
|
| 99 |
+
--description 'A two-bedroom home with a living room, kitchen and balcony'
|
| 100 |
+
python scene_workflow.py prepare --case "$CASE" --seed 42
|
| 101 |
+
python scene_workflow.py execute --case "$CASE"
|
| 102 |
+
python scene_workflow.py audit --case "$CASE"
|
| 103 |
+
python scene_workflow.py render --case "$CASE" --device CPU --samples 4
|
| 104 |
```
|
| 105 |
|
| 106 |
+
These directory names illustrate an installation, not a fixed archive layout.
|
| 107 |
+
Point every variable and runtime-template path to the corresponding extracted
|
| 108 |
+
resource. Use a fresh case directory per run. A room requirement with no matching
|
| 109 |
+
floorplan fails explicitly. See [workflows](docs/workflows.md) for image input and rendering.
|
| 110 |
|
| 111 |
+
## Batch Collection
|
| 112 |
|
| 113 |
+
Copy `config/collection.example.json`, replace its placeholders, and inspect a job:
|
| 114 |
|
| 115 |
```bash
|
| 116 |
+
cp config/collection.example.json config/collection.local.json
|
| 117 |
+
python src/tools/collection/collect_one.py \
|
| 118 |
+
--config config/collection.local.json \
|
| 119 |
+
--case-id case-001 --seed 42 --cpus 0-3 \
|
| 120 |
+
--dataset "$PWD/scenes" --log-root "$PWD/logs" --dry-run
|
| 121 |
+
python src/tools/collection/collection_queue.py \
|
| 122 |
+
--config config/collection.local.json \
|
| 123 |
+
--dataset "$PWD/scenes" --log-root "$PWD/logs" \
|
| 124 |
+
--seed-base 42 --slots 'cpu0:0-3::' --max-new 1
|
| 125 |
```
|
| 126 |
|
| 127 |
+
`${NAME}` values expand from the environment. Replace all placeholders, including
|
| 128 |
+
unused optional settings, with valid or empty values. Adapt affinity to the host.
|
| 129 |
+
[Workflows](docs/workflows.md) covers disk protection, rendering and run retention.
|
| 130 |
+
|
| 131 |
+
## Outputs
|
| 132 |
+
|
| 133 |
+
| Output | Purpose |
|
| 134 |
+
| --- | --- |
|
| 135 |
+
| `scene_input.json` | Selected floorplan and input evidence |
|
| 136 |
+
| `execution_summary.json` | Final attempt, exit code, output directory and validation flags |
|
| 137 |
+
| `execution/result.json` | First attempt; recovery can produce a different final output |
|
| 138 |
+
| Final scene directory | Saved `.blend`, composition manifest and asset/import evidence |
|
| 139 |
+
| `renders/presentation/render_summary.json` | Rendering status and image records |
|
| 140 |
+
| Collection dataset package | Area-bin package, manifests, floorplan preview and renders |
|
| 141 |
+
|
| 142 |
+
After recovery, follow `execution_summary.json.final_output`. Generation success
|
| 143 |
+
requires saved-geometry and output-contract checks; it does not certify physical
|
| 144 |
+
simulation, visual quality or robot-task success.
|
| 145 |
+
|
| 146 |
+
## Project Layout
|
| 147 |
+
|
| 148 |
+
```text
|
| 149 |
+
robohome/
|
| 150 |
+
scene_workflow.py # public command-line entrypoint
|
| 151 |
+
requirements.txt # host dependencies
|
| 152 |
+
config/ # portable collection configuration
|
| 153 |
+
docs/ # configuration and workflow guides
|
| 154 |
+
tools/verify_source.py # source completeness and dependency checks
|
| 155 |
+
src/ # generator and regression tests
|
| 156 |
+
engine/ # generation, geometry and rendering
|
| 157 |
+
tools/collection/ # collection queue and packaging
|
| 158 |
+
tools/rplan/ # floorplan conversion
|
| 159 |
+
tools/rplan_library/ # floorplan screening
|
| 160 |
+
assets/ # downloaded assets
|
| 161 |
+
scenes/ # downloaded or collected scenes
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
`src/` preserves sibling imports and engine resource paths. `RHG_*` variables and
|
| 165 |
+
schema identifiers remain stable for compatibility. Collection tools orchestrate
|
| 166 |
+
the same public workflow stages.
|
| 167 |
+
|
| 168 |
+
## Tests
|
| 169 |
+
|
| 170 |
+
```bash
|
| 171 |
+
python tools/verify_source.py --dependencies
|
| 172 |
+
python -m pip install -r requirements-test.txt
|
| 173 |
+
python -m pytest -q \
|
| 174 |
+
src/test_rhg_paths_029.py src/test_oss_defaults_023.py src/test_area_bin_033.py \
|
| 175 |
+
src/test_door_jambs_032.py src/test_coffee_sofa_clearance_032.py \
|
| 176 |
+
src/test_furnishing_support_precheck.py src/test_residential_group_search.py \
|
| 177 |
+
src/test_stack_batch_compatibility.py
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
The verifier checks packaged files, engine signatures and required dynamic helpers
|
| 181 |
+
without generation. Integration tests needing Blender or external datasets require
|
| 182 |
+
a configured installation; source checks do not replace them.
|
| 183 |
+
|
| 184 |
+
## Licenses
|
| 185 |
+
|
| 186 |
+
A project-wide source license has not been declared in this snapshot.
|
| 187 |
+
[Third-party notices](src/THIRD_PARTY_NOTICES.md) describe dependency licenses.
|
| 188 |
+
Assets and datasets retain their upstream terms and access conditions.
|
code/robohome/docs/configuration.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Configuration
|
| 2 |
+
|
| 3 |
+
External data locations are explicit environment variables or collection-config
|
| 4 |
+
values. JSON templates use `${NAME}`; missing values name the variable to configure.
|
| 5 |
+
|
| 6 |
+
## Generation Inputs
|
| 7 |
+
|
| 8 |
+
| Variable | Resource |
|
| 9 |
+
| --- | --- |
|
| 10 |
+
| `RHG_BLENDER` | Blender executable |
|
| 11 |
+
| `RHG_ROOTFS` | Root filesystem containing native inputs |
|
| 12 |
+
| `RHG_LIBRARY_ROOT` | Asset library; runtime `library_root` must agree |
|
| 13 |
+
| `RHG_RUNTIME_TEMPLATE` | Runtime JSON with Blender, library and annotation index |
|
| 14 |
+
| `RHG_PREPARED_ASSET_POOL` | SQLite pool with its valid sibling receipt |
|
| 15 |
+
| `RHG_COLLISION_FRAME_MAPPINGS` | Verified collision-frame mapping JSON |
|
| 16 |
+
| `RHG_RPLAN_SEEDS` | Floorplan library JSON |
|
| 17 |
+
| `RHG_FLOORPLAN_VLM_MODEL` | Local Qwen3-VL weights, for image input only |
|
| 18 |
+
|
| 19 |
+
`prepare --help` lists explicit options for retrieval and appearance indexes,
|
| 20 |
+
attribute releases, supplemental pools, caches and material preparation.
|
| 21 |
+
Configure paths inside runtime JSON as well as top-level variables. Receipts,
|
| 22 |
+
source hashes and qualification records must accompany external data.
|
| 23 |
+
|
| 24 |
+
## Collection Configuration
|
| 25 |
+
|
| 26 |
+
Copy `config/collection.example.json` to `config/collection.local.json`.
|
| 27 |
+
Replace placeholders or export the corresponding variables before use.
|
| 28 |
+
|
| 29 |
+
Required resource keys: `blender`, `rootfs`, `runtime_template`,
|
| 30 |
+
`collision_frame_mappings`, `prepared_asset_pool`, `supplemental_prepared_pool`,
|
| 31 |
+
`prepared_cache`, `retrieval_index`, `appearance_index`, `attribute_release`,
|
| 32 |
+
`mdl_sdk_root`, `mdl_sdk_python`, `material_artifact_index`,
|
| 33 |
+
`artifact_cache_root`, `digest_cache`, and `library`.
|
| 34 |
+
|
| 35 |
+
`rplan_seeds` aliases `library`; if both are present they must resolve to the same
|
| 36 |
+
file. `asset_library_root` is separate and may be empty to use the runtime template.
|
| 37 |
+
Optional `review_python`, `review_site`, `residential_profile`, `retrieval_rounds`,
|
| 38 |
+
`preparation_budget` and rendering settings can be filled directly. Unused fields
|
| 39 |
+
must not contain unresolved placeholders.
|
| 40 |
+
|
| 41 |
+
Keep digest and mutable artifact caches on local storage. Configure
|
| 42 |
+
`min_free_gb` and `run_dir_retention` for expected output size.
|
| 43 |
+
|
| 44 |
+
## Optional Backends
|
| 45 |
+
|
| 46 |
+
- Blender has its own Python ABI. Install geometry packages for that ABI; a host
|
| 47 |
+
virtual environment cannot be copied across incompatible Python versions.
|
| 48 |
+
- USD assets need OpenUSD's `pxr`. MDL materials need the SDK, its Python runtime
|
| 49 |
+
and the material-artifact index configured in the runtime template.
|
| 50 |
+
- Image input needs compatible PyTorch/Torchvision, Qwen3-VL-capable Transformers,
|
| 51 |
+
OpenCV and local model weights.
|
| 52 |
+
- Rendering supports CPU and, where available in Blender, CUDA or OptiX.
|
| 53 |
+
|
| 54 |
+
## Optional Test Evidence
|
| 55 |
+
|
| 56 |
+
`RHG_TEST_EVIDENCE_ROOT` may point to saved-scene regression evidence containing
|
| 57 |
+
`q29/structural_precision_022.json` and `q59/wall_q59.json`. The default location is
|
| 58 |
+
`src/tests/fixtures/structural/`. These external scene records are not in the source
|
| 59 |
+
snapshot; tests requiring them explicitly skip when they are unavailable. Pure
|
| 60 |
+
geometry tests run independently. No synthetic records replace the saved-scene evidence.
|
| 61 |
+
|
| 62 |
+
## Path Migration
|
| 63 |
+
|
| 64 |
+
`src/tools/relocate_paths.py` writes relocated copies of data records and reports
|
| 65 |
+
unmapped locations. It never overwrites the input dataset:
|
| 66 |
+
|
| 67 |
+
```bash
|
| 68 |
+
python src/tools/relocate_paths.py --help
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
`RHG_*` names are engine interfaces. Legacy path mode supplies no hidden machine
|
| 72 |
+
defaults in this delivery; configure every external root explicitly.
|
code/robohome/docs/source-completeness.json
ADDED
|
@@ -0,0 +1,1158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source_label": "robohome_final_034",
|
| 3 |
+
"scope": "All project Python modules from the running collection source; external binary environments, output directories and caches excluded.",
|
| 4 |
+
"source_modules": [
|
| 5 |
+
"acceptance_doors.py",
|
| 6 |
+
"acceptance_evidence.py",
|
| 7 |
+
"acceptance_layers.py",
|
| 8 |
+
"activation_rejection_cache.py",
|
| 9 |
+
"adaptive_shell.py",
|
| 10 |
+
"appearance_matching.py",
|
| 11 |
+
"appearance_observations.py",
|
| 12 |
+
"appearance_requirements.py",
|
| 13 |
+
"apply_admission_patch_v31.py",
|
| 14 |
+
"apply_balcony_coffee_scene.py",
|
| 15 |
+
"apply_balcony_floor_scene.py",
|
| 16 |
+
"apply_current_scene_style.py",
|
| 17 |
+
"apply_kitchen_tabletop_scene.py",
|
| 18 |
+
"apply_native_patch.py",
|
| 19 |
+
"apply_showhome_scene.py",
|
| 20 |
+
"apply_supplemental_scene.py",
|
| 21 |
+
"apply_wall_paint_scene.py",
|
| 22 |
+
"artifact_runtime.py",
|
| 23 |
+
"asset_diversity_order.py",
|
| 24 |
+
"asset_retrieval_audit.py",
|
| 25 |
+
"audit_furnished_case.py",
|
| 26 |
+
"audit_task_scene.py",
|
| 27 |
+
"balcony_window_revision.py",
|
| 28 |
+
"bath_furniture_policy.py",
|
| 29 |
+
"bathroom_layout_audit.py",
|
| 30 |
+
"bathroom_mode_revision.py",
|
| 31 |
+
"bedroom_asset_diversity.py",
|
| 32 |
+
"bedroom_contract_audit.py",
|
| 33 |
+
"bedside_probe.py",
|
| 34 |
+
"bedside_recovery.py",
|
| 35 |
+
"build_native_shell_case.py",
|
| 36 |
+
"children_room_enrichment.py",
|
| 37 |
+
"children_room_policy.py",
|
| 38 |
+
"coffee_seat_spacing_revision.py",
|
| 39 |
+
"complete_kitchen_scene.py",
|
| 40 |
+
"decorate_saved_scene.py",
|
| 41 |
+
"deploy_bathroom_pair_rules.py",
|
| 42 |
+
"deploy_bathroom_rules.py",
|
| 43 |
+
"deploy_connection_revision.py",
|
| 44 |
+
"deploy_dining_wall_revision.py",
|
| 45 |
+
"deploy_home_revision.py",
|
| 46 |
+
"deploy_kitchen_completion.py",
|
| 47 |
+
"deploy_kitchen_rules.py",
|
| 48 |
+
"deploy_marked_decoration.py",
|
| 49 |
+
"deploy_window_infill.py",
|
| 50 |
+
"dining_chair_revision.py",
|
| 51 |
+
"dining_wall_layout.py",
|
| 52 |
+
"discover_style.py",
|
| 53 |
+
"draw_connection_plan.py",
|
| 54 |
+
"draw_home_revision_plan.py",
|
| 55 |
+
"draw_kitchen_comparison.py",
|
| 56 |
+
"draw_kitchen_completion.py",
|
| 57 |
+
"dynamic_retrieval.py",
|
| 58 |
+
"dynamic_selection.py",
|
| 59 |
+
"early_installation_precheck.py",
|
| 60 |
+
"early_surface_precheck.py",
|
| 61 |
+
"engine/effective_contract.py",
|
| 62 |
+
"engine/feedback.py",
|
| 63 |
+
"engine/floor_cover_contacts.py",
|
| 64 |
+
"engine/geometry_validation.py",
|
| 65 |
+
"engine/material_plan.py",
|
| 66 |
+
"engine/measurement_refresh.py",
|
| 67 |
+
"engine/native_contract.py",
|
| 68 |
+
"engine/native_patches/admission_v31/base/eligible_candidate_request.py",
|
| 69 |
+
"engine/native_patches/admission_v31/base/functional_front_policy.py",
|
| 70 |
+
"engine/native_patches/admission_v31/base/joint_layout.py",
|
| 71 |
+
"engine/native_patches/admission_v31/base/source_attribute_consumer.py",
|
| 72 |
+
"engine/native_patches/admission_v31/base/style_attribute_consumer.py",
|
| 73 |
+
"engine/native_patches/admission_v31/eligible_candidate_request.py",
|
| 74 |
+
"engine/native_patches/admission_v31/functional_front_policy.py",
|
| 75 |
+
"engine/native_patches/admission_v31/joint_layout.py",
|
| 76 |
+
"engine/native_patches/admission_v31/style_attribute_consumer.py",
|
| 77 |
+
"engine/native_patches/bathroom_pair_parent/source/scripts/internal/scene_generation/real_assets/bathroom_relations.py",
|
| 78 |
+
"engine/native_patches/bathroom_parent/source/scripts/internal/scene_generation/real_assets/envelope_layout.py",
|
| 79 |
+
"engine/native_patches/bathroom_parent/source/scripts/internal/scene_generation/real_assets/joint_layout.py",
|
| 80 |
+
"engine/native_patches/bathroom_parent/source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py",
|
| 81 |
+
"engine/native_patches/bedroom_contract_r17_parent/source/scripts/internal/scene_generation/real_assets/adaptive_relations.py",
|
| 82 |
+
"engine/native_patches/bedroom_contract_r17_parent/source/scripts/internal/scene_generation/real_assets/functional_asset_policy.py",
|
| 83 |
+
"engine/native_patches/bedroom_contract_r17_parent/source/scripts/internal/scene_generation/real_assets/joint_layout.py",
|
| 84 |
+
"engine/native_patches/bedroom_contract_r17_parent/source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py",
|
| 85 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/bind_fixed_layout.py",
|
| 86 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/blender_replace_render.py",
|
| 87 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/presentation_windows.py",
|
| 88 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/render_saved_scene.py",
|
| 89 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py",
|
| 90 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/scene_delivery.py",
|
| 91 |
+
"engine/native_patches/home_revision_parent/source/scripts/internal/scene_generation/real_assets/semantic_eligibility.py",
|
| 92 |
+
"engine/native_patches/kitchen_parent/source/scripts/internal/scene_generation/real_assets/joint_layout.py",
|
| 93 |
+
"engine/native_patches/kitchen_parent/source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py",
|
| 94 |
+
"engine/native_patches/v29_front_blocker_parent/joint_layout.py",
|
| 95 |
+
"engine/native_patches/v29_zone_patch_parent/joint_layout.py",
|
| 96 |
+
"engine/native_patches/v31_continuous_floor_parent/source/scripts/internal/scene_generation/portal_floor_support.py",
|
| 97 |
+
"engine/native_patches/v31_continuous_floor_parent/source/scripts/internal/scene_generation/real_assets/probe_shell_geometry.py",
|
| 98 |
+
"engine/native_patches/v31_continuous_floor_parent/source/scripts/internal/scene_generation/real_assets/scene_delivery.py",
|
| 99 |
+
"engine/native_patches/v31_continuous_floor_parent/source/scripts/internal/scene_generation/real_assets/structural_material_application.py",
|
| 100 |
+
"engine/native_patches/v31_continuous_floor_parent/source/scripts/internal/scene_generation/real_assets/tests/test_structural_material_application.py",
|
| 101 |
+
"engine/native_patches/v31_continuous_floor_parent/source/scripts/internal/scene_generation/real_assets/verify_saved_blend.py",
|
| 102 |
+
"engine/native_patches/window_infill_parent/source/scripts/internal/scene_generation/build_native_shell_blender_v16_1g.py",
|
| 103 |
+
"engine/process_control.py",
|
| 104 |
+
"engine/real_test/analyze_penetration_v2.py",
|
| 105 |
+
"engine/real_test/audit_saved_geometry.py",
|
| 106 |
+
"engine/real_test/calibrate_penetration_v2.py",
|
| 107 |
+
"engine/real_test/door_installation_audit.py",
|
| 108 |
+
"engine/real_test/door_installation_sweep.py",
|
| 109 |
+
"engine/real_test/freeze_revision.py",
|
| 110 |
+
"engine/real_test/generate_geometry_fixture.py",
|
| 111 |
+
"engine/real_test/gpu_inventory.py",
|
| 112 |
+
"engine/real_test/gravity_settle_v2.py",
|
| 113 |
+
"engine/real_test/measure_saved_scene.py",
|
| 114 |
+
"engine/real_test/preload_joint_layout.py",
|
| 115 |
+
"engine/real_test/prepare_server_runtime.py",
|
| 116 |
+
"engine/real_test/projection_adapter.py",
|
| 117 |
+
"engine/real_test/remote_gpu_render.py",
|
| 118 |
+
"engine/real_test/render_wholehouse.py",
|
| 119 |
+
"engine/real_test/replay_joint_layout.py",
|
| 120 |
+
"engine/real_test/review_saved_house.py",
|
| 121 |
+
"engine/real_test/run_geometry_chain.py",
|
| 122 |
+
"engine/real_test/run_geometry_regression.py",
|
| 123 |
+
"engine/real_test/run_measurement_smoke.py",
|
| 124 |
+
"engine/real_test/run_native_repairs.py",
|
| 125 |
+
"engine/real_test/run_real_house.py",
|
| 126 |
+
"engine/real_test/run_search_followup.py",
|
| 127 |
+
"engine/real_test/run_server_house.py",
|
| 128 |
+
"engine/real_test/run_three_houses.py",
|
| 129 |
+
"engine/real_test/seal_derived.py",
|
| 130 |
+
"engine/real_test/seal_fusion.py",
|
| 131 |
+
"engine/real_test/stage_packed_scene.py",
|
| 132 |
+
"engine/real_test/test_freeze_revision.py",
|
| 133 |
+
"engine/real_test/test_preload_joint_layout.py",
|
| 134 |
+
"engine/real_test/test_replay_joint_layout.py",
|
| 135 |
+
"engine/repair_execution.py",
|
| 136 |
+
"engine/room_program.py",
|
| 137 |
+
"engine/run_chain.py",
|
| 138 |
+
"engine/runtime_identity.py",
|
| 139 |
+
"engine/saved_mesh_seams.py",
|
| 140 |
+
"engine/scene_spec.py",
|
| 141 |
+
"engine/search_bridge.py",
|
| 142 |
+
"engine/source/packages/__init__.py",
|
| 143 |
+
"engine/source/packages/adapters/__init__.py",
|
| 144 |
+
"engine/source/packages/adapters/arena.py",
|
| 145 |
+
"engine/source/packages/adapters/embodiedgen.py",
|
| 146 |
+
"engine/source/packages/adapters/protocols.py",
|
| 147 |
+
"engine/source/packages/adapters/rp1.py",
|
| 148 |
+
"engine/source/packages/adapters/rparena.py",
|
| 149 |
+
"engine/source/packages/adapters/rparena_baked.py",
|
| 150 |
+
"engine/source/packages/adapters/rparena_native.py",
|
| 151 |
+
"engine/source/packages/adapters/rparena_usd_worker.py",
|
| 152 |
+
"engine/source/packages/adapters/rparena_v16.py",
|
| 153 |
+
"engine/source/packages/adapters/sam3d.py",
|
| 154 |
+
"engine/source/packages/adapters/scenesmith.py",
|
| 155 |
+
"engine/source/packages/adapters/source_device.py",
|
| 156 |
+
"engine/source/packages/adapters/texture_compression.py",
|
| 157 |
+
"engine/source/packages/adapters/texture_metrics.py",
|
| 158 |
+
"engine/source/packages/asset_registry/__init__.py",
|
| 159 |
+
"engine/source/packages/asset_registry/admission.py",
|
| 160 |
+
"engine/source/packages/asset_registry/articulation.py",
|
| 161 |
+
"engine/source/packages/asset_registry/basisu.py",
|
| 162 |
+
"engine/source/packages/asset_registry/certification.py",
|
| 163 |
+
"engine/source/packages/asset_registry/certification_models.py",
|
| 164 |
+
"engine/source/packages/asset_registry/context_usd.py",
|
| 165 |
+
"engine/source/packages/asset_registry/descriptors.py",
|
| 166 |
+
"engine/source/packages/asset_registry/embeddings.py",
|
| 167 |
+
"engine/source/packages/asset_registry/expansion.py",
|
| 168 |
+
"engine/source/packages/asset_registry/front_certification.py",
|
| 169 |
+
"engine/source/packages/asset_registry/front_policy.py",
|
| 170 |
+
"engine/source/packages/asset_registry/index.py",
|
| 171 |
+
"engine/source/packages/asset_registry/ingestion.py",
|
| 172 |
+
"engine/source/packages/asset_registry/models.py",
|
| 173 |
+
"engine/source/packages/asset_registry/multiview.py",
|
| 174 |
+
"engine/source/packages/asset_registry/native_usd.py",
|
| 175 |
+
"engine/source/packages/asset_registry/parametric.py",
|
| 176 |
+
"engine/source/packages/asset_registry/preparation.py",
|
| 177 |
+
"engine/source/packages/asset_registry/proxy_sdf.py",
|
| 178 |
+
"engine/source/packages/asset_registry/release.py",
|
| 179 |
+
"engine/source/packages/asset_registry/repository.py",
|
| 180 |
+
"engine/source/packages/asset_registry/runtime_repair.py",
|
| 181 |
+
"engine/source/packages/asset_registry/source_reporting.py",
|
| 182 |
+
"engine/source/packages/asset_registry/task_aliases.py",
|
| 183 |
+
"engine/source/packages/asset_registry/usd_front_evidence.py",
|
| 184 |
+
"engine/source/packages/benchmark/__init__.py",
|
| 185 |
+
"engine/source/packages/benchmark/artifact_lifecycle.py",
|
| 186 |
+
"engine/source/packages/benchmark/domain_randomization.py",
|
| 187 |
+
"engine/source/packages/benchmark/packager.py",
|
| 188 |
+
"engine/source/packages/benchmark/performance_compare.py",
|
| 189 |
+
"engine/source/packages/benchmark/portable.py",
|
| 190 |
+
"engine/source/packages/benchmark/request.py",
|
| 191 |
+
"engine/source/packages/benchmark/suite_builder.py",
|
| 192 |
+
"engine/source/packages/benchmark/suite_matrix.py",
|
| 193 |
+
"engine/source/packages/benchmark/task_library.py",
|
| 194 |
+
"engine/source/packages/config/__init__.py",
|
| 195 |
+
"engine/source/packages/config/generation.py",
|
| 196 |
+
"engine/source/packages/core/__init__.py",
|
| 197 |
+
"engine/source/packages/core/contracts/__init__.py",
|
| 198 |
+
"engine/source/packages/core/contracts/asset.py",
|
| 199 |
+
"engine/source/packages/core/contracts/providers.py",
|
| 200 |
+
"engine/source/packages/core/contracts/scene.py",
|
| 201 |
+
"engine/source/packages/core/file_lock.py",
|
| 202 |
+
"engine/source/packages/core/files.py",
|
| 203 |
+
"engine/source/packages/core/state_machine.py",
|
| 204 |
+
"engine/source/packages/evaluator/__init__.py",
|
| 205 |
+
"engine/source/packages/evaluator/engine.py",
|
| 206 |
+
"engine/source/packages/evaluator/suite.py",
|
| 207 |
+
"engine/source/packages/generative/__init__.py",
|
| 208 |
+
"engine/source/packages/generative/client.py",
|
| 209 |
+
"engine/source/packages/plugins/__init__.py",
|
| 210 |
+
"engine/source/packages/plugins/tasks/__init__.py",
|
| 211 |
+
"engine/source/packages/plugins/tasks/base.py",
|
| 212 |
+
"engine/source/packages/plugins/tasks/builtins.py",
|
| 213 |
+
"engine/source/packages/plugins/tasks/cabinet_open_close.py",
|
| 214 |
+
"engine/source/packages/plugins/tasks/pick_move_place.py",
|
| 215 |
+
"engine/source/packages/providers/__init__.py",
|
| 216 |
+
"engine/source/packages/providers/assets/__init__.py",
|
| 217 |
+
"engine/source/packages/providers/assets/base.py",
|
| 218 |
+
"engine/source/packages/providers/scenes/__init__.py",
|
| 219 |
+
"engine/source/packages/providers/scenes/base.py",
|
| 220 |
+
"engine/source/packages/providers/scenes/metric_v2.py",
|
| 221 |
+
"engine/source/packages/providers/scenes/scenesmith_visual.py",
|
| 222 |
+
"engine/source/packages/robots/__init__.py",
|
| 223 |
+
"engine/source/packages/robots/profiles.py",
|
| 224 |
+
"engine/source/packages/robots/task_constraints.py",
|
| 225 |
+
"engine/source/packages/runtime/__init__.py",
|
| 226 |
+
"engine/source/packages/runtime/blender_resident.py",
|
| 227 |
+
"engine/source/packages/runtime/gpu_scheduler.py",
|
| 228 |
+
"engine/source/packages/runtime/isaac/__init__.py",
|
| 229 |
+
"engine/source/packages/runtime/isaac/contracts.py",
|
| 230 |
+
"engine/source/packages/runtime/isaac/evaluator.py",
|
| 231 |
+
"engine/source/packages/runtime/isaac/injection.py",
|
| 232 |
+
"engine/source/packages/runtime/paths.py",
|
| 233 |
+
"engine/source/packages/runtime/scenesmith_parallel.py",
|
| 234 |
+
"engine/source/packages/runtime/scenesmith_process_bootstrap.py",
|
| 235 |
+
"engine/source/packages/runtime/scenesmith_skill_policy.py",
|
| 236 |
+
"engine/source/packages/runtime/stack_batch.py",
|
| 237 |
+
"engine/source/packages/scenarios/__init__.py",
|
| 238 |
+
"engine/source/packages/scenarios/router.py",
|
| 239 |
+
"engine/source/packages/scenarios/stair_room.py",
|
| 240 |
+
"engine/source/packages/scene_generation/__init__.py",
|
| 241 |
+
"engine/source/packages/scene_generation/agent_executor.py",
|
| 242 |
+
"engine/source/packages/scene_generation/agent_orchestration.py",
|
| 243 |
+
"engine/source/packages/scene_generation/agent_runtime.py",
|
| 244 |
+
"engine/source/packages/scene_generation/asset_first.py",
|
| 245 |
+
"engine/source/packages/scene_generation/bundle_compiler.py",
|
| 246 |
+
"engine/source/packages/scene_generation/case_configuration.py",
|
| 247 |
+
"engine/source/packages/scene_generation/compiler.py",
|
| 248 |
+
"engine/source/packages/scene_generation/conflict_resampling.py",
|
| 249 |
+
"engine/source/packages/scene_generation/delivery_reports.py",
|
| 250 |
+
"engine/source/packages/scene_generation/dependency_graph.py",
|
| 251 |
+
"engine/source/packages/scene_generation/design_contract.py",
|
| 252 |
+
"engine/source/packages/scene_generation/deterministic_placement.py",
|
| 253 |
+
"engine/source/packages/scene_generation/functional_front.py",
|
| 254 |
+
"engine/source/packages/scene_generation/generation_profile.py",
|
| 255 |
+
"engine/source/packages/scene_generation/geometry_task.py",
|
| 256 |
+
"engine/source/packages/scene_generation/global_pose_repair.py",
|
| 257 |
+
"engine/source/packages/scene_generation/hierarchical_execution.py",
|
| 258 |
+
"engine/source/packages/scene_generation/local_optimization.py",
|
| 259 |
+
"engine/source/packages/scene_generation/manipulation_physics.py",
|
| 260 |
+
"engine/source/packages/scene_generation/metric_layout.py",
|
| 261 |
+
"engine/source/packages/scene_generation/motifs.py",
|
| 262 |
+
"engine/source/packages/scene_generation/multi_room.py",
|
| 263 |
+
"engine/source/packages/scene_generation/orchestrator.py",
|
| 264 |
+
"engine/source/packages/scene_generation/pbr.py",
|
| 265 |
+
"engine/source/packages/scene_generation/pick_move_place.py",
|
| 266 |
+
"engine/source/packages/scene_generation/production_agent_handlers.py",
|
| 267 |
+
"engine/source/packages/scene_generation/prompt_multi_room.py",
|
| 268 |
+
"engine/source/packages/scene_generation/robot_constraints.py",
|
| 269 |
+
"engine/source/packages/scene_generation/semantic_constraints.py",
|
| 270 |
+
"engine/source/packages/scene_generation/task_sampling.py",
|
| 271 |
+
"engine/source/packages/schemas/__init__.py",
|
| 272 |
+
"engine/source/packages/schemas/models.py",
|
| 273 |
+
"engine/source/packages/sim2real/geometry/collision_policy.py",
|
| 274 |
+
"engine/source/packages/sim2real/geometry/collision_usd.py",
|
| 275 |
+
"engine/source/packages/sim2real/geometry/export_meshes.py",
|
| 276 |
+
"engine/source/packages/sim2real/geometry/floor_support.py",
|
| 277 |
+
"engine/source/packages/sim2real/geometry/measured_pose.py",
|
| 278 |
+
"engine/source/packages/sim2real/geometry/prepare.py",
|
| 279 |
+
"engine/source/packages/sim2real/geometry/rug_route.py",
|
| 280 |
+
"engine/source/packages/sim2real/native/__init__.py",
|
| 281 |
+
"engine/source/packages/sim2real/native/approach_motion.py",
|
| 282 |
+
"engine/source/packages/sim2real/native/arm_control.py",
|
| 283 |
+
"engine/source/packages/sim2real/native/checked_runner.py",
|
| 284 |
+
"engine/source/packages/sim2real/native/contact_closure.py",
|
| 285 |
+
"engine/source/packages/sim2real/native/cooked_geometry.py",
|
| 286 |
+
"engine/source/packages/sim2real/native/cpu_bootstrap.py",
|
| 287 |
+
"engine/source/packages/sim2real/native/joint_motion.py",
|
| 288 |
+
"engine/source/packages/sim2real/native/manipulation.py",
|
| 289 |
+
"engine/source/packages/sim2real/native/owned_process.py",
|
| 290 |
+
"engine/source/packages/sim2real/native/physical_bootstrap.py",
|
| 291 |
+
"engine/source/packages/sim2real/native/physical_evidence.py",
|
| 292 |
+
"engine/source/packages/sim2real/native/physical_scene.py",
|
| 293 |
+
"engine/source/packages/sim2real/native/protocol.py",
|
| 294 |
+
"engine/source/packages/sim2real/native/rug_contract.py",
|
| 295 |
+
"engine/source/packages/sim2real/native/run_navigation.py",
|
| 296 |
+
"engine/source/packages/sim2real/native/run_physical.py",
|
| 297 |
+
"engine/source/packages/sim2real/native/run_physical_task.py",
|
| 298 |
+
"engine/source/packages/sim2real/native/self_geometry.py",
|
| 299 |
+
"engine/source/packages/sim2real/native/torso_frame.py",
|
| 300 |
+
"engine/source/packages/sim2real/native/verify_attempt.py",
|
| 301 |
+
"engine/source/packages/sim2real/native/verify_closure.py",
|
| 302 |
+
"engine/source/packages/sim2real/native/verify_physical_attempt.py",
|
| 303 |
+
"engine/source/packages/sim2real/native/visible_camera.py",
|
| 304 |
+
"engine/source/packages/sim2real/pipeline.py",
|
| 305 |
+
"engine/source/packages/sim2real/reach/approaches.py",
|
| 306 |
+
"engine/source/packages/sim2real/reach/barrier_solver.py",
|
| 307 |
+
"engine/source/packages/sim2real/reach/grasp_geometry.py",
|
| 308 |
+
"engine/source/packages/sim2real/reach/hand_domain.py",
|
| 309 |
+
"engine/source/packages/sim2real/reach/measured_task_geometry.py",
|
| 310 |
+
"engine/source/packages/sim2real/reach/mesh_clearance.py",
|
| 311 |
+
"engine/source/packages/sim2real/reach/preflight.py",
|
| 312 |
+
"engine/source/packages/sim2real/reach/prepare_physical_plan.py",
|
| 313 |
+
"engine/source/packages/sim2real/reach/probe_backward_descent.py",
|
| 314 |
+
"engine/source/packages/sim2real/reach/probe_joint_approach.py",
|
| 315 |
+
"engine/source/packages/sim2real/reach/revise_physical_plan.py",
|
| 316 |
+
"engine/source/packages/sim2real/reach/screen_approach.py",
|
| 317 |
+
"engine/source/packages/sim2real/reach/screen_endpoint_envelope.py",
|
| 318 |
+
"engine/source/packages/sim2real/reach/screen_payload.py",
|
| 319 |
+
"engine/source/packages/sim2real/reach/search_clear_grasp.py",
|
| 320 |
+
"engine/source/packages/sim2real/reach/search_grasp.py",
|
| 321 |
+
"engine/source/packages/sim2real/reach/solve.py",
|
| 322 |
+
"engine/source/packages/sim2real/reach/solver_profile.py",
|
| 323 |
+
"engine/source/packages/sim2real/tests/test_hand_profile.py",
|
| 324 |
+
"engine/source/packages/supervisor/__init__.py",
|
| 325 |
+
"engine/source/packages/supervisor/case.py",
|
| 326 |
+
"engine/source/packages/supervisor/models.py",
|
| 327 |
+
"engine/source/packages/supervisor/planner.py",
|
| 328 |
+
"engine/source/packages/supervisor/quality.py",
|
| 329 |
+
"engine/source/packages/supervisor/runner.py",
|
| 330 |
+
"engine/source/packages/supervisor/snapshot.py",
|
| 331 |
+
"engine/source/packages/supervisor/visual_preflight.py",
|
| 332 |
+
"engine/source/packages/task_agent/__init__.py",
|
| 333 |
+
"engine/source/packages/task_agent/compiler.py",
|
| 334 |
+
"engine/source/packages/task_agent/declared_transfer.py",
|
| 335 |
+
"engine/source/packages/task_agent/generator.py",
|
| 336 |
+
"engine/source/packages/task_agent/service.py",
|
| 337 |
+
"engine/source/packages/task_agent/skills.py",
|
| 338 |
+
"engine/source/packages/task_agent/spec_agent.py",
|
| 339 |
+
"engine/source/packages/task_catalog/__init__.py",
|
| 340 |
+
"engine/source/packages/task_catalog/html_import.py",
|
| 341 |
+
"engine/source/packages/task_catalog/repository.py",
|
| 342 |
+
"engine/source/packages/usd_composer/__init__.py",
|
| 343 |
+
"engine/source/packages/usd_composer/composer.py",
|
| 344 |
+
"engine/source/packages/validators/__init__.py",
|
| 345 |
+
"engine/source/packages/validators/base.py",
|
| 346 |
+
"engine/source/packages/validators/task_plugin.py",
|
| 347 |
+
"engine/source/packages/version.py",
|
| 348 |
+
"engine/source/scripts/articulation_worker_pool.py",
|
| 349 |
+
"engine/source/scripts/capture_pool_surfaces.py",
|
| 350 |
+
"engine/source/scripts/internal/physics_isaac/rhg_asset_material_bridge_v17.py",
|
| 351 |
+
"engine/source/scripts/internal/physics_isaac/rhg_visual_pipeline_core_v17.py",
|
| 352 |
+
"engine/source/scripts/internal/physics_isaac/rhg_visual_scene_package_v16_60.py",
|
| 353 |
+
"engine/source/scripts/internal/render/rhg_render_cinematic_v0_2_v10_49_asset_library_hdr_pbr.py",
|
| 354 |
+
"engine/source/scripts/internal/scene_generation/base/blender_compose_asset_first_scene.py",
|
| 355 |
+
"engine/source/scripts/internal/scene_generation/base/blender_room_fidelity.py",
|
| 356 |
+
"engine/source/scripts/internal/scene_generation/base/blender_window_daylight.py",
|
| 357 |
+
"engine/source/scripts/internal/scene_generation/base/rhg_asset_hash_compat_v16_14.py",
|
| 358 |
+
"engine/source/scripts/internal/scene_generation/base/rhg_fullhome_test_blender_v2.py",
|
| 359 |
+
"engine/source/scripts/internal/scene_generation/base/rhg_fullhome_test_generate.py",
|
| 360 |
+
"engine/source/scripts/internal/scene_generation/base/rhg_fullhome_test_generate_v2.py",
|
| 361 |
+
"engine/source/scripts/internal/scene_generation/bed_head_window_contract.py",
|
| 362 |
+
"engine/source/scripts/internal/scene_generation/build_native_shell_blender_v16_1g.py",
|
| 363 |
+
"engine/source/scripts/internal/scene_generation/build_procedural_preview.py",
|
| 364 |
+
"engine/source/scripts/internal/scene_generation/floor_slab.py",
|
| 365 |
+
"engine/source/scripts/internal/scene_generation/portal_floor_support.py",
|
| 366 |
+
"engine/source/scripts/internal/scene_generation/real_assets/adaptive_relations.py",
|
| 367 |
+
"engine/source/scripts/internal/scene_generation/real_assets/annotation_overlay.py",
|
| 368 |
+
"engine/source/scripts/internal/scene_generation/real_assets/annotation_retrieval.py",
|
| 369 |
+
"engine/source/scripts/internal/scene_generation/real_assets/assembly_timing.py",
|
| 370 |
+
"engine/source/scripts/internal/scene_generation/real_assets/asset_bundle_host.py",
|
| 371 |
+
"engine/source/scripts/internal/scene_generation/real_assets/asset_bundle_runtime.py",
|
| 372 |
+
"engine/source/scripts/internal/scene_generation/real_assets/asset_collision_qualification.py",
|
| 373 |
+
"engine/source/scripts/internal/scene_generation/real_assets/asset_import.py",
|
| 374 |
+
"engine/source/scripts/internal/scene_generation/real_assets/asset_selection.py",
|
| 375 |
+
"engine/source/scripts/internal/scene_generation/real_assets/bathroom_relations.py",
|
| 376 |
+
"engine/source/scripts/internal/scene_generation/real_assets/bedroom_relations.py",
|
| 377 |
+
"engine/source/scripts/internal/scene_generation/real_assets/benchmark_report.py",
|
| 378 |
+
"engine/source/scripts/internal/scene_generation/real_assets/bind_fixed_layout.py",
|
| 379 |
+
"engine/source/scripts/internal/scene_generation/real_assets/blender_replace_render.py",
|
| 380 |
+
"engine/source/scripts/internal/scene_generation/real_assets/build_procedural_preview.py",
|
| 381 |
+
"engine/source/scripts/internal/scene_generation/real_assets/children_room_policy.py",
|
| 382 |
+
"engine/source/scripts/internal/scene_generation/real_assets/collision_frame_identity.py",
|
| 383 |
+
"engine/source/scripts/internal/scene_generation/real_assets/cuda_kernel_cache.py",
|
| 384 |
+
"engine/source/scripts/internal/scene_generation/real_assets/default_attribute_release.py",
|
| 385 |
+
"engine/source/scripts/internal/scene_generation/real_assets/delivery_cameras.py",
|
| 386 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/benchmark_report.py",
|
| 387 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/legacy_binding_policy.py",
|
| 388 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/migrate_candidate_cache.py",
|
| 389 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/migrate_native_probe_cache.py",
|
| 390 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/migrate_semantic_candidate_cache.py",
|
| 391 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/recovery_evidence.py",
|
| 392 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/validate_annotation_binding.py",
|
| 393 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/validate_annotation_import_basis.py",
|
| 394 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/validate_annotation_replacement.py",
|
| 395 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/validate_structural_usd_blender.py",
|
| 396 |
+
"engine/source/scripts/internal/scene_generation/real_assets/diagnostics/verify_uploaded_structural_fixture.py",
|
| 397 |
+
"engine/source/scripts/internal/scene_generation/real_assets/door_design.py",
|
| 398 |
+
"engine/source/scripts/internal/scene_generation/real_assets/door_gate_contract.py",
|
| 399 |
+
"engine/source/scripts/internal/scene_generation/real_assets/door_joint_pose.py",
|
| 400 |
+
"engine/source/scripts/internal/scene_generation/real_assets/door_kinematics.py",
|
| 401 |
+
"engine/source/scripts/internal/scene_generation/real_assets/door_leaf_fallback.py",
|
| 402 |
+
"engine/source/scripts/internal/scene_generation/real_assets/door_motion_envelope.py",
|
| 403 |
+
"engine/source/scripts/internal/scene_generation/real_assets/doorway_projection.py",
|
| 404 |
+
"engine/source/scripts/internal/scene_generation/real_assets/eligible_candidate_request.py",
|
| 405 |
+
"engine/source/scripts/internal/scene_generation/real_assets/envelope_layout.py",
|
| 406 |
+
"engine/source/scripts/internal/scene_generation/real_assets/export_door_physics.py",
|
| 407 |
+
"engine/source/scripts/internal/scene_generation/real_assets/floor_body_geometry.py",
|
| 408 |
+
"engine/source/scripts/internal/scene_generation/real_assets/floor_cover_layout.py",
|
| 409 |
+
"engine/source/scripts/internal/scene_generation/real_assets/floorplan_exclusions.py",
|
| 410 |
+
"engine/source/scripts/internal/scene_generation/real_assets/functional_asset_policy.py",
|
| 411 |
+
"engine/source/scripts/internal/scene_generation/real_assets/functional_front_policy.py",
|
| 412 |
+
"engine/source/scripts/internal/scene_generation/real_assets/functional_layout.py",
|
| 413 |
+
"engine/source/scripts/internal/scene_generation/real_assets/functional_layout_readback.py",
|
| 414 |
+
"engine/source/scripts/internal/scene_generation/real_assets/functional_search_order.py",
|
| 415 |
+
"engine/source/scripts/internal/scene_generation/real_assets/generation_task_plan.py",
|
| 416 |
+
"engine/source/scripts/internal/scene_generation/real_assets/interior_material_evidence.py",
|
| 417 |
+
"engine/source/scripts/internal/scene_generation/real_assets/job_identity.py",
|
| 418 |
+
"engine/source/scripts/internal/scene_generation/real_assets/joint_layout.py",
|
| 419 |
+
"engine/source/scripts/internal/scene_generation/real_assets/joint_runtime.py",
|
| 420 |
+
"engine/source/scripts/internal/scene_generation/real_assets/kitchen_relations.py",
|
| 421 |
+
"engine/source/scripts/internal/scene_generation/real_assets/layout_rules.py",
|
| 422 |
+
"engine/source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py",
|
| 423 |
+
"engine/source/scripts/internal/scene_generation/real_assets/mdl_sdk_worker.py",
|
| 424 |
+
"engine/source/scripts/internal/scene_generation/real_assets/metric_layout_freeze.py",
|
| 425 |
+
"engine/source/scripts/internal/scene_generation/real_assets/native_glb_assembly.py",
|
| 426 |
+
"engine/source/scripts/internal/scene_generation/real_assets/native_kitchen_contract.py",
|
| 427 |
+
"engine/source/scripts/internal/scene_generation/real_assets/native_scene_contract.py",
|
| 428 |
+
"engine/source/scripts/internal/scene_generation/real_assets/official_mdl_adapter.py",
|
| 429 |
+
"engine/source/scripts/internal/scene_generation/real_assets/opening_volume_layout.py",
|
| 430 |
+
"engine/source/scripts/internal/scene_generation/real_assets/persistent_digest.py",
|
| 431 |
+
"engine/source/scripts/internal/scene_generation/real_assets/prepare_gso_source_assets.py",
|
| 432 |
+
"engine/source/scripts/internal/scene_generation/real_assets/prepare_library_inputs.py",
|
| 433 |
+
"engine/source/scripts/internal/scene_generation/real_assets/prepare_sources_resilient.py",
|
| 434 |
+
"engine/source/scripts/internal/scene_generation/real_assets/prepare_usd_counter_component.py",
|
| 435 |
+
"engine/source/scripts/internal/scene_generation/real_assets/prepared_asset_pool.py",
|
| 436 |
+
"engine/source/scripts/internal/scene_generation/real_assets/prepared_materials.py",
|
| 437 |
+
"engine/source/scripts/internal/scene_generation/real_assets/presentation_views.py",
|
| 438 |
+
"engine/source/scripts/internal/scene_generation/real_assets/presentation_wall_overlap.py",
|
| 439 |
+
"engine/source/scripts/internal/scene_generation/real_assets/presentation_windows.py",
|
| 440 |
+
"engine/source/scripts/internal/scene_generation/real_assets/probe_floor_body_geometry.py",
|
| 441 |
+
"engine/source/scripts/internal/scene_generation/real_assets/probe_journal_entry.py",
|
| 442 |
+
"engine/source/scripts/internal/scene_generation/real_assets/probe_selected_assets.py",
|
| 443 |
+
"engine/source/scripts/internal/scene_generation/real_assets/probe_shell_geometry.py",
|
| 444 |
+
"engine/source/scripts/internal/scene_generation/real_assets/probe_support_contacts.py",
|
| 445 |
+
"engine/source/scripts/internal/scene_generation/real_assets/probe_support_obstacles.py",
|
| 446 |
+
"engine/source/scripts/internal/scene_generation/real_assets/procedural_placeholder_contract.py",
|
| 447 |
+
"engine/source/scripts/internal/scene_generation/real_assets/publication_render.py",
|
| 448 |
+
"engine/source/scripts/internal/scene_generation/real_assets/qualify_native_kitchen_pair.py",
|
| 449 |
+
"engine/source/scripts/internal/scene_generation/real_assets/read_usd_collision_meshes.py",
|
| 450 |
+
"engine/source/scripts/internal/scene_generation/real_assets/real_dimension_layout.py",
|
| 451 |
+
"engine/source/scripts/internal/scene_generation/real_assets/render_saved_scene.py",
|
| 452 |
+
"engine/source/scripts/internal/scene_generation/real_assets/repair_constraints.py",
|
| 453 |
+
"engine/source/scripts/internal/scene_generation/real_assets/requested_shell.py",
|
| 454 |
+
"engine/source/scripts/internal/scene_generation/real_assets/required_passage.py",
|
| 455 |
+
"engine/source/scripts/internal/scene_generation/real_assets/residential_rug_policy.py",
|
| 456 |
+
"engine/source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py",
|
| 457 |
+
"engine/source/scripts/internal/scene_generation/real_assets/run_fixed_layout_preview.py",
|
| 458 |
+
"engine/source/scripts/internal/scene_generation/real_assets/runtime_configuration.py",
|
| 459 |
+
"engine/source/scripts/internal/scene_generation/real_assets/scene_delivery.py",
|
| 460 |
+
"engine/source/scripts/internal/scene_generation/real_assets/seal_geometry_delivery.py",
|
| 461 |
+
"engine/source/scripts/internal/scene_generation/real_assets/semantic_eligibility.py",
|
| 462 |
+
"engine/source/scripts/internal/scene_generation/real_assets/shell_geometry_reuse.py",
|
| 463 |
+
"engine/source/scripts/internal/scene_generation/real_assets/source_attribute_consumer.py",
|
| 464 |
+
"engine/source/scripts/internal/scene_generation/real_assets/source_mesh_contacts.py",
|
| 465 |
+
"engine/source/scripts/internal/scene_generation/real_assets/source_optics.py",
|
| 466 |
+
"engine/source/scripts/internal/scene_generation/real_assets/source_probe_contract.py",
|
| 467 |
+
"engine/source/scripts/internal/scene_generation/real_assets/source_release_preparation.py",
|
| 468 |
+
"engine/source/scripts/internal/scene_generation/real_assets/source_support.py",
|
| 469 |
+
"engine/source/scripts/internal/scene_generation/real_assets/stable_pipeline.py",
|
| 470 |
+
"engine/source/scripts/internal/scene_generation/real_assets/stage_checkpoint.py",
|
| 471 |
+
"engine/source/scripts/internal/scene_generation/real_assets/static_rug_domain.py",
|
| 472 |
+
"engine/source/scripts/internal/scene_generation/real_assets/storage_access.py",
|
| 473 |
+
"engine/source/scripts/internal/scene_generation/real_assets/structural_finish_correction.py",
|
| 474 |
+
"engine/source/scripts/internal/scene_generation/real_assets/structural_material_application.py",
|
| 475 |
+
"engine/source/scripts/internal/scene_generation/real_assets/structural_material_selection.py",
|
| 476 |
+
"engine/source/scripts/internal/scene_generation/real_assets/style_attribute_consumer.py",
|
| 477 |
+
"engine/source/scripts/internal/scene_generation/real_assets/support_blueprint.py",
|
| 478 |
+
"engine/source/scripts/internal/scene_generation/real_assets/support_contact_cache.py",
|
| 479 |
+
"engine/source/scripts/internal/scene_generation/real_assets/support_reconciliation.py",
|
| 480 |
+
"engine/source/scripts/internal/scene_generation/real_assets/support_regions.py",
|
| 481 |
+
"engine/source/scripts/internal/scene_generation/real_assets/surface_contact_readback.py",
|
| 482 |
+
"engine/source/scripts/internal/scene_generation/real_assets/synchronize_task_bindings.py",
|
| 483 |
+
"engine/source/scripts/internal/scene_generation/real_assets/task_asset_selection.py",
|
| 484 |
+
"engine/source/scripts/internal/scene_generation/real_assets/task_binding_contract.py",
|
| 485 |
+
"engine/source/scripts/internal/scene_generation/real_assets/task_entity_completion.py",
|
| 486 |
+
"engine/source/scripts/internal/scene_generation/real_assets/test_kitchen_relations.py",
|
| 487 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_annotation_overlay.py",
|
| 488 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_annotation_retrieval.py",
|
| 489 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_articulation_front_evidence.py",
|
| 490 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_assembly_timing.py",
|
| 491 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_asset_activation.py",
|
| 492 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_asset_collision_qualification.py",
|
| 493 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_asset_selection.py",
|
| 494 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_authored_front_evidence.py",
|
| 495 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_automatic_bedside_alternatives.py",
|
| 496 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_benchmark_diagnostics.py",
|
| 497 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_benchmark_report.py",
|
| 498 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_binding.py",
|
| 499 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_box_support_receipt.py",
|
| 500 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_candidate_cache.py",
|
| 501 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_candidate_cache_migration.py",
|
| 502 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_collision_cache_identity.py",
|
| 503 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_critical_pose_intervals.py",
|
| 504 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_door_motion_placement.py",
|
| 505 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_floor_body_and_support_centers.py",
|
| 506 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_floor_cover_raised_features.py",
|
| 507 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_floor_slab.py",
|
| 508 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_front_resolution_evidence_frame.py",
|
| 509 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_functional_asset_policy.py",
|
| 510 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_generation_task_boundary.py",
|
| 511 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_gso_source_assets.py",
|
| 512 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_joint_conflict_evidence.py",
|
| 513 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_joint_scene_sampling.py",
|
| 514 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_library_preparation.py",
|
| 515 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_material_identity.py",
|
| 516 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_native_probe_migration.py",
|
| 517 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_opening_volume_layout.py",
|
| 518 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_portal_floor_support.py",
|
| 519 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_preparation_context.py",
|
| 520 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_prior_front_evidence.py",
|
| 521 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_render_contract.py",
|
| 522 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_contact_demands.py",
|
| 523 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_native_pair_recheck.py",
|
| 524 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_parent_support_priority.py",
|
| 525 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_support_contact.py",
|
| 526 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_support_reopen.py",
|
| 527 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_support_seam_reopen.py",
|
| 528 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_support_seams.py",
|
| 529 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_repair_v2_surface_pair_recheck.py",
|
| 530 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_residential_rugs.py",
|
| 531 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_room_search_observability.py",
|
| 532 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_runner.py",
|
| 533 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_sampled_front_evidence.py",
|
| 534 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_saved_blend.py",
|
| 535 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_seating_boundary_layout.py",
|
| 536 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_selected_box_projection.py",
|
| 537 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_semantic_cache_migration.py",
|
| 538 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_semantic_eligibility.py",
|
| 539 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_source_probe.py",
|
| 540 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_structural_material_application.py",
|
| 541 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_structural_material_selection.py",
|
| 542 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_support_contact_cache.py",
|
| 543 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_support_relations.py",
|
| 544 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_toilet_front_evidence.py",
|
| 545 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_uploaded_interior_materials.py",
|
| 546 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_usage_ledger.py",
|
| 547 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_usd_counter_component.py",
|
| 548 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_usd_material_compat.py",
|
| 549 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_wall_flush_and_chair_edges.py",
|
| 550 |
+
"engine/source/scripts/internal/scene_generation/real_assets/tests/test_wall_mount_layout.py",
|
| 551 |
+
"engine/source/scripts/internal/scene_generation/real_assets/texture_derivatives.py",
|
| 552 |
+
"engine/source/scripts/internal/scene_generation/real_assets/unified_asset_catalog.py",
|
| 553 |
+
"engine/source/scripts/internal/scene_generation/real_assets/uploaded_interior_materials.py",
|
| 554 |
+
"engine/source/scripts/internal/scene_generation/real_assets/usage_ledger.py",
|
| 555 |
+
"engine/source/scripts/internal/scene_generation/real_assets/usd_material_compat.py",
|
| 556 |
+
"engine/source/scripts/internal/scene_generation/real_assets/verified_attribute_index.py",
|
| 557 |
+
"engine/source/scripts/internal/scene_generation/real_assets/verify_door_sweep.py",
|
| 558 |
+
"engine/source/scripts/internal/scene_generation/real_assets/verify_metric_layout.py",
|
| 559 |
+
"engine/source/scripts/internal/scene_generation/real_assets/verify_saved_blend.py",
|
| 560 |
+
"engine/source/scripts/internal/scene_generation/real_assets/verify_scene_geometry.py",
|
| 561 |
+
"engine/source/scripts/internal/scene_generation/real_assets/wall_mount_layout.py",
|
| 562 |
+
"engine/source/scripts/internal/scene_generation/rhg_asset_index_schema_adapter_v17.py",
|
| 563 |
+
"engine/source/scripts/internal/scene_generation/rhg_asset_library_v1.py",
|
| 564 |
+
"engine/source/scripts/internal/scene_generation/rhg_asset_material_precheck_v17.py",
|
| 565 |
+
"engine/source/scripts/internal/scene_generation/rhg_blender_engine_compat_v16_14.py",
|
| 566 |
+
"engine/source/scripts/internal/scene_generation/rhg_build_material_precheck_from_generator_pools_v17.py",
|
| 567 |
+
"engine/source/scripts/internal/scene_generation/rhg_build_reference_preview_board_v16_3.py",
|
| 568 |
+
"engine/source/scripts/internal/scene_generation/rhg_fullhome_geometry_audit_v14.py",
|
| 569 |
+
"engine/source/scripts/internal/scene_generation/rhg_fullhome_semantic_audit_v14.py",
|
| 570 |
+
"engine/source/scripts/internal/scene_generation/rhg_functional_slot_proposal_v16_56.py",
|
| 571 |
+
"engine/source/scripts/internal/scene_generation/rhg_reference_camera_planner_v16_7.py",
|
| 572 |
+
"engine/source/scripts/internal/scene_generation/rhg_render_review_normalize_v16_5.py",
|
| 573 |
+
"engine/source/scripts/internal/scene_generation/rhg_review_camera_safety_v16_21p.py",
|
| 574 |
+
"engine/source/scripts/internal/scene_generation/rhg_room_conditioned_slot_adapter_v16_21.py",
|
| 575 |
+
"engine/source/scripts/internal/scene_generation/rhg_scene_generation_quality_summary_v16_5.py",
|
| 576 |
+
"engine/source/scripts/internal/scene_generation/rhg_task_contract_generate_v16_1p_procedural_pure.py",
|
| 577 |
+
"engine/source/scripts/internal/scene_generation/rhg_visual_review_score_v16_13_generation_only.py",
|
| 578 |
+
"engine/source/scripts/internal/scene_generation/run_rhg_v16_21p_manual_acceptance_preview.py",
|
| 579 |
+
"engine/source/scripts/internal/scene_generation/run_rhg_v16_21p_procedural_pure_scene_generation.py",
|
| 580 |
+
"engine/source/scripts/internal/scene_generation/run_rhg_v16_4_scene_generation_only.py",
|
| 581 |
+
"engine/source/scripts/internal/scene_generation/shared_wall_geometry.py",
|
| 582 |
+
"engine/source/scripts/internal/scene_generation/shell_opening_geometry.py",
|
| 583 |
+
"engine/source/scripts/internal/scene_generation/structural_surface_resolution.py",
|
| 584 |
+
"engine/source/scripts/internal/scene_generation/window_rules.py",
|
| 585 |
+
"engine/source/scripts/isaac_compile_native_scene.py",
|
| 586 |
+
"engine/source/scripts/isaac_validate_house_doors.py",
|
| 587 |
+
"engine/source/scripts/isaac_validate_native_articulations.py",
|
| 588 |
+
"engine/source/scripts/physics_app.py",
|
| 589 |
+
"engine/source/scripts/prepare_asset_pool.py",
|
| 590 |
+
"engine/source/scripts/prepare_cabinet_layout_evidence.py",
|
| 591 |
+
"engine/source/scripts/run_build_scene_package.py",
|
| 592 |
+
"engine/source/scripts/run_frontier_generation.py",
|
| 593 |
+
"engine/source/scripts/run_generate_scene.py",
|
| 594 |
+
"engine/source/scripts/run_mainline_pipeline.py",
|
| 595 |
+
"engine/source/scripts/run_scene_native_articulations.py",
|
| 596 |
+
"engine/source/scripts/run_validate_house_doors.py",
|
| 597 |
+
"engine/source/scripts/run_validate_package.py",
|
| 598 |
+
"engine/source/scripts/scene_worker_transport.py",
|
| 599 |
+
"engine/source/tests/test_procedural_baseline_contract.py",
|
| 600 |
+
"engine/spatial_priors.py",
|
| 601 |
+
"engine/support_contract.py",
|
| 602 |
+
"engine/task_precheck.py",
|
| 603 |
+
"engine/test_room_program_sink_scope_v25.py",
|
| 604 |
+
"engine/test_validator_contact_samples_v25.py",
|
| 605 |
+
"engine/test_validator_default_v25.py",
|
| 606 |
+
"engine/test_validator_regressions_v25.py",
|
| 607 |
+
"engine/test_validator_saved_audits_v25.py",
|
| 608 |
+
"engine/tests/task028_structural_false_positives_blender.py",
|
| 609 |
+
"engine/tests/test_camera_preflight_016.py",
|
| 610 |
+
"engine/tests/test_candidate_admission_v25.py",
|
| 611 |
+
"engine/tests/test_candidate_exhaustion_v25.py",
|
| 612 |
+
"engine/tests/test_centered_tv_relation_forward_check.py",
|
| 613 |
+
"engine/tests/test_chain.py",
|
| 614 |
+
"engine/tests/test_derived_rug_height_tolerance.py",
|
| 615 |
+
"engine/tests/test_door_installation_blender.py",
|
| 616 |
+
"engine/tests/test_door_joint_pose.py",
|
| 617 |
+
"engine/tests/test_door_probe_final_geometry.py",
|
| 618 |
+
"engine/tests/test_doorway_projection_blender.py",
|
| 619 |
+
"engine/tests/test_effective_request.py",
|
| 620 |
+
"engine/tests/test_feedback.py",
|
| 621 |
+
"engine/tests/test_fixed_pose_performance.py",
|
| 622 |
+
"engine/tests/test_floor_cover_contacts.py",
|
| 623 |
+
"engine/tests/test_floor_cover_identity.py",
|
| 624 |
+
"engine/tests/test_floor_cover_reconciliation_failure.py",
|
| 625 |
+
"engine/tests/test_floor_range_output_contract.py",
|
| 626 |
+
"engine/tests/test_floor_range_room_contract.py",
|
| 627 |
+
"engine/tests/test_formal_metric_stage.py",
|
| 628 |
+
"engine/tests/test_fusion_entry.py",
|
| 629 |
+
"engine/tests/test_fusion_geometry_runtime.py",
|
| 630 |
+
"engine/tests/test_fusion_native.py",
|
| 631 |
+
"engine/tests/test_fusion_semantics.py",
|
| 632 |
+
"engine/tests/test_fusion_support.py",
|
| 633 |
+
"engine/tests/test_generate_scene_entry.py",
|
| 634 |
+
"engine/tests/test_geometry_chain.py",
|
| 635 |
+
"engine/tests/test_geometry_validation.py",
|
| 636 |
+
"engine/tests/test_gravity_settle_v2.py",
|
| 637 |
+
"engine/tests/test_interior_cameras.py",
|
| 638 |
+
"engine/tests/test_interior_support_contact.py",
|
| 639 |
+
"engine/tests/test_lamp_source_family.py",
|
| 640 |
+
"engine/tests/test_layout_search_order_025.py",
|
| 641 |
+
"engine/tests/test_lazy_geometry_identity.py",
|
| 642 |
+
"engine/tests/test_living_search_benchmark.py",
|
| 643 |
+
"engine/tests/test_living_search_order.py",
|
| 644 |
+
"engine/tests/test_locked_collision_admission_v25.py",
|
| 645 |
+
"engine/tests/test_material_plan.py",
|
| 646 |
+
"engine/tests/test_material_plan_room_walls.py",
|
| 647 |
+
"engine/tests/test_measurement_refresh.py",
|
| 648 |
+
"engine/tests/test_native_contract.py",
|
| 649 |
+
"engine/tests/test_native_repair_constraints.py",
|
| 650 |
+
"engine/tests/test_native_runtime_boundary.py",
|
| 651 |
+
"engine/tests/test_open_mesh_proxies.py",
|
| 652 |
+
"engine/tests/test_partial_geometry_repairs.py",
|
| 653 |
+
"engine/tests/test_penetration_depth_policy.py",
|
| 654 |
+
"engine/tests/test_pipeline_closedloop.py",
|
| 655 |
+
"engine/tests/test_pitched_target_cameras.py",
|
| 656 |
+
"engine/tests/test_preferred_task_anchors.py",
|
| 657 |
+
"engine/tests/test_process_control.py",
|
| 658 |
+
"engine/tests/test_projection_adapter.py",
|
| 659 |
+
"engine/tests/test_qualified_tv_bay.py",
|
| 660 |
+
"engine/tests/test_remote_gpu_render.py",
|
| 661 |
+
"engine/tests/test_render_exit_contract.py",
|
| 662 |
+
"engine/tests/test_render_failure_diagnostics.py",
|
| 663 |
+
"engine/tests/test_repair_budget_floor.py",
|
| 664 |
+
"engine/tests/test_repair_execution.py",
|
| 665 |
+
"engine/tests/test_repair_v2_measurement_preservation.py",
|
| 666 |
+
"engine/tests/test_repair_v2_wall_contract.py",
|
| 667 |
+
"engine/tests/test_room_floor_cover_certificates.py",
|
| 668 |
+
"engine/tests/test_room_geometry_evidence.py",
|
| 669 |
+
"engine/tests/test_room_program.py",
|
| 670 |
+
"engine/tests/test_room_structure_visibility.py",
|
| 671 |
+
"engine/tests/test_runtime_identity_v25.py",
|
| 672 |
+
"engine/tests/test_saved_aabb_room_evidence.py",
|
| 673 |
+
"engine/tests/test_saved_collision_representation.py",
|
| 674 |
+
"engine/tests/test_saved_door_fallback_import.py",
|
| 675 |
+
"engine/tests/test_saved_house_review.py",
|
| 676 |
+
"engine/tests/test_saved_mesh_seams.py",
|
| 677 |
+
"engine/tests/test_scene_spec.py",
|
| 678 |
+
"engine/tests/test_seam_feedback.py",
|
| 679 |
+
"engine/tests/test_search_bridge.py",
|
| 680 |
+
"engine/tests/test_search_feedback.py",
|
| 681 |
+
"engine/tests/test_search_followup.py",
|
| 682 |
+
"engine/tests/test_server_runtime.py",
|
| 683 |
+
"engine/tests/test_shell_opening_geometry.py",
|
| 684 |
+
"engine/tests/test_shell_opening_geometry_blender.py",
|
| 685 |
+
"engine/tests/test_sink_source_category.py",
|
| 686 |
+
"engine/tests/test_spatial_priors.py",
|
| 687 |
+
"engine/tests/test_stage_packed_scene.py",
|
| 688 |
+
"engine/tests/test_support_installation_contract.py",
|
| 689 |
+
"engine/tests/test_support_reconciliation.py",
|
| 690 |
+
"engine/tests/test_support_reconciliation_contract.py",
|
| 691 |
+
"engine/tests/test_task028_structural_false_positives.py",
|
| 692 |
+
"engine/tests/test_task11_adapter_contracts.py",
|
| 693 |
+
"engine/tests/test_task_precheck.py",
|
| 694 |
+
"engine/tests/test_three_case_runner.py",
|
| 695 |
+
"engine/tests/test_triangle_contact_integration.py",
|
| 696 |
+
"engine/tests/test_triangle_contacts.py",
|
| 697 |
+
"engine/tests/test_visibility_plan.py",
|
| 698 |
+
"engine/tests/test_wall_contact_targets.py",
|
| 699 |
+
"engine/tests/test_wholehouse_pipeline.py",
|
| 700 |
+
"engine/tests/test_wholehouse_policy_bridge.py",
|
| 701 |
+
"engine/triangle_contacts.py",
|
| 702 |
+
"engine/visibility_plan.py",
|
| 703 |
+
"engine/wholehouse_pipeline.py",
|
| 704 |
+
"floorplan_image.py",
|
| 705 |
+
"front_evidence_extension.py",
|
| 706 |
+
"full_corpus_adapter.py",
|
| 707 |
+
"full_furnishing.py",
|
| 708 |
+
"full_furnishing_layout.py",
|
| 709 |
+
"furnishing_adapter.py",
|
| 710 |
+
"furnishing_asset_policy.py",
|
| 711 |
+
"furnishing_fulfillment.py",
|
| 712 |
+
"furnishing_resolution.py",
|
| 713 |
+
"furnishing_suitability.py",
|
| 714 |
+
"furnishing_support_precheck.py",
|
| 715 |
+
"generate_bathroom_scene.py",
|
| 716 |
+
"generate_kitchen_scene.py",
|
| 717 |
+
"generate_scene.py",
|
| 718 |
+
"generation_dependencies.py",
|
| 719 |
+
"grouped_asset_preferences.py",
|
| 720 |
+
"hallway_open_revision.py",
|
| 721 |
+
"inspect_counter_collision.py",
|
| 722 |
+
"inspect_showhome_scene.py",
|
| 723 |
+
"installation_contracts.py",
|
| 724 |
+
"kitchen_completion_assets.py",
|
| 725 |
+
"kitchen_completion_fallback.py",
|
| 726 |
+
"kitchen_completion_layout.py",
|
| 727 |
+
"kitchen_completion_props.py",
|
| 728 |
+
"kitchen_sliding_door.py",
|
| 729 |
+
"kitchen_stove_correction.py",
|
| 730 |
+
"layout_conventions_audit.py",
|
| 731 |
+
"layout_failure_memory.py",
|
| 732 |
+
"layout_recovery.py",
|
| 733 |
+
"layout_recovery_evidence.py",
|
| 734 |
+
"living_seating_zone.py",
|
| 735 |
+
"living_wall_decor_revision.py",
|
| 736 |
+
"make_home_revision_review.py",
|
| 737 |
+
"marked_decoration.py",
|
| 738 |
+
"master_room_revision.py",
|
| 739 |
+
"native_asset_activation.py",
|
| 740 |
+
"native_collision_filter.py",
|
| 741 |
+
"native_layout_cache_extension.py",
|
| 742 |
+
"north_bedroom_mirror.py",
|
| 743 |
+
"paper_eval/envelope/make_vlm_jobs.py",
|
| 744 |
+
"paper_eval/envelope/run_envelope_eval.py",
|
| 745 |
+
"paper_eval/object_records/build_records.py",
|
| 746 |
+
"paper_eval/object_records/build_records_v2.py",
|
| 747 |
+
"paper_eval/object_records/decide.py",
|
| 748 |
+
"paper_eval/object_records/perceive.py",
|
| 749 |
+
"paper_eval/object_records/render_extra.py",
|
| 750 |
+
"paper_eval/object_records/render_masks.py",
|
| 751 |
+
"paper_eval/traversability/dump_walls.py",
|
| 752 |
+
"paper_eval/traversability/export_plan2d.py",
|
| 753 |
+
"paper_eval/traversability/list_accepted.py",
|
| 754 |
+
"paper_eval/traversability/traverse.py",
|
| 755 |
+
"paper_eval/validation/collect_validation.py",
|
| 756 |
+
"passability.py",
|
| 757 |
+
"preflight_task_assets.py",
|
| 758 |
+
"prepare_balcony_scenery.py",
|
| 759 |
+
"prepare_demo_scene.py",
|
| 760 |
+
"prepare_supplemental_materials.py",
|
| 761 |
+
"prepare_task_runtime.py",
|
| 762 |
+
"prepared_artifact_cache.py",
|
| 763 |
+
"probe_children_room_enrichment.py",
|
| 764 |
+
"probe_dining_chair_revision.py",
|
| 765 |
+
"probe_north_bedroom_mirror.py",
|
| 766 |
+
"probe_room_main_lighting.py",
|
| 767 |
+
"probe_supplemental_assets.py",
|
| 768 |
+
"qualified_tv_bay.py",
|
| 769 |
+
"recovery_search_budget.py",
|
| 770 |
+
"render_bathroom_scene.py",
|
| 771 |
+
"render_case.py",
|
| 772 |
+
"render_connection_revision.py",
|
| 773 |
+
"render_home_revision.py",
|
| 774 |
+
"render_kitchen_scene.py",
|
| 775 |
+
"render_living_detail.py",
|
| 776 |
+
"render_marked_decoration.py",
|
| 777 |
+
"render_task_scene.py",
|
| 778 |
+
"residential_profile.py",
|
| 779 |
+
"residential_quality.py",
|
| 780 |
+
"residential_use_quality.py",
|
| 781 |
+
"review_cameras.py",
|
| 782 |
+
"revise_connections_layout.py",
|
| 783 |
+
"revise_connections_scene.py",
|
| 784 |
+
"revise_dining_group.py",
|
| 785 |
+
"revise_home_scene.py",
|
| 786 |
+
"rhg_paths.py",
|
| 787 |
+
"room_audit_rules.py",
|
| 788 |
+
"room_main_lighting.py",
|
| 789 |
+
"room_plan_render.py",
|
| 790 |
+
"run_connection_revision.py",
|
| 791 |
+
"run_contact_origin_tests.py",
|
| 792 |
+
"run_dining_wall_revision.py",
|
| 793 |
+
"run_home_revision.py",
|
| 794 |
+
"run_kitchen_completion.py",
|
| 795 |
+
"run_marked_decoration.py",
|
| 796 |
+
"scene_input.py",
|
| 797 |
+
"scene_workflow.py",
|
| 798 |
+
"seal_bathroom_pair_revision.py",
|
| 799 |
+
"seal_bathroom_revision.py",
|
| 800 |
+
"seal_bedroom_revision.py",
|
| 801 |
+
"seal_front_revision.py",
|
| 802 |
+
"seal_home_revision.py",
|
| 803 |
+
"seal_kitchen_revision.py",
|
| 804 |
+
"seal_sectional_revision.py",
|
| 805 |
+
"seal_taskinput_v26.py",
|
| 806 |
+
"seal_window_infill_revision.py",
|
| 807 |
+
"seal_zone_revision.py",
|
| 808 |
+
"select_assets.py",
|
| 809 |
+
"selection_pipeline.py",
|
| 810 |
+
"selection_session_cache.py",
|
| 811 |
+
"source_admission_precheck.py",
|
| 812 |
+
"source_qualification_cache.py",
|
| 813 |
+
"style_candidate_pools.py",
|
| 814 |
+
"style_combination.py",
|
| 815 |
+
"style_policy.py",
|
| 816 |
+
"style_sources.py",
|
| 817 |
+
"supplemental_asset_sources.py",
|
| 818 |
+
"supplemental_blender_assets.py",
|
| 819 |
+
"supplemental_scene_decor.py",
|
| 820 |
+
"support_contact_recovery.py",
|
| 821 |
+
"support_selection_progress.py",
|
| 822 |
+
"task_candidate_policy.py",
|
| 823 |
+
"task_manipulation_assets.py",
|
| 824 |
+
"task_scene_pipeline.py",
|
| 825 |
+
"task_scene_setup.py",
|
| 826 |
+
"test_acceptance_layers.py",
|
| 827 |
+
"test_activation_policy_native_boundary.py",
|
| 828 |
+
"test_activation_rejection_cache.py",
|
| 829 |
+
"test_adaptive_bedside_integration.py",
|
| 830 |
+
"test_adaptive_inventory.py",
|
| 831 |
+
"test_adaptive_recovery.py",
|
| 832 |
+
"test_adaptive_recovery_review.py",
|
| 833 |
+
"test_adaptive_room_relations.py",
|
| 834 |
+
"test_adaptive_shell.py",
|
| 835 |
+
"test_adaptive_wall_review.py",
|
| 836 |
+
"test_adaptive_wardrobe_retrieval.py",
|
| 837 |
+
"test_all_window_delivery.py",
|
| 838 |
+
"test_area_bin_033.py",
|
| 839 |
+
"test_artifact_runtime.py",
|
| 840 |
+
"test_assembly_crash_retry.py",
|
| 841 |
+
"test_assembly_floor_cover_recovery.py",
|
| 842 |
+
"test_asset_diversity_order.py",
|
| 843 |
+
"test_asset_retrieval_audit.py",
|
| 844 |
+
"test_attachment_fallback.py",
|
| 845 |
+
"test_attachment_fulfillment_integration.py",
|
| 846 |
+
"test_attachment_intent.py",
|
| 847 |
+
"test_attachment_request.py",
|
| 848 |
+
"test_attribute_index_environment.py",
|
| 849 |
+
"test_attribute_offset_cache.py",
|
| 850 |
+
"test_attribute_session_cache.py",
|
| 851 |
+
"test_attribute_source_precheck.py",
|
| 852 |
+
"test_audit_furnished_case.py",
|
| 853 |
+
"test_authored_rplan_doors_035.py",
|
| 854 |
+
"test_authored_window_diagnostics.py",
|
| 855 |
+
"test_balcony_window_revision.py",
|
| 856 |
+
"test_bathroom_mode_revision.py",
|
| 857 |
+
"test_bathroom_relations.py",
|
| 858 |
+
"test_bed_width_policy.py",
|
| 859 |
+
"test_bedroom_asset_diversity.py",
|
| 860 |
+
"test_bedroom_entry_sightline.py",
|
| 861 |
+
"test_bedroom_group_contract.py",
|
| 862 |
+
"test_bedside_c10.py",
|
| 863 |
+
"test_binding_category_contract.py",
|
| 864 |
+
"test_bound_record_category.py",
|
| 865 |
+
"test_bounds_cache_compat.py",
|
| 866 |
+
"test_budget_furnishing.py",
|
| 867 |
+
"test_c13.py",
|
| 868 |
+
"test_c14.py",
|
| 869 |
+
"test_catalog_recovery_retry.py",
|
| 870 |
+
"test_certificate_dependency_index.py",
|
| 871 |
+
"test_children_room_enrichment.py",
|
| 872 |
+
"test_children_room_policy.py",
|
| 873 |
+
"test_children_wall_material.py",
|
| 874 |
+
"test_coffee_seat_spacing_revision.py",
|
| 875 |
+
"test_coffee_sofa_clearance_032.py",
|
| 876 |
+
"test_collection_disk_guard_030.py",
|
| 877 |
+
"test_collection_tools_004.py",
|
| 878 |
+
"test_collision_diversification.py",
|
| 879 |
+
"test_collision_recovery.py",
|
| 880 |
+
"test_compact_kitchen_014.py",
|
| 881 |
+
"test_compact_kitchen_early_017.py",
|
| 882 |
+
"test_curation_paths.py",
|
| 883 |
+
"test_default_shell_inventory.py",
|
| 884 |
+
"test_deferred_requirement_evidence.py",
|
| 885 |
+
"test_digest_cache_locality_20261123.py",
|
| 886 |
+
"test_dining_chair_revision.py",
|
| 887 |
+
"test_dining_group_recovery.py",
|
| 888 |
+
"test_dining_wall_layout.py",
|
| 889 |
+
"test_disabled_solid_admission.py",
|
| 890 |
+
"test_discovery_role_families.py",
|
| 891 |
+
"test_door_frame_recovery_scope.py",
|
| 892 |
+
"test_door_jambs_032.py",
|
| 893 |
+
"test_door_leaf_fallback.py",
|
| 894 |
+
"test_dynamic_retrieval.py",
|
| 895 |
+
"test_dynamic_selection.py",
|
| 896 |
+
"test_dynamic_selection_recovery.py",
|
| 897 |
+
"test_early_installation_hook.py",
|
| 898 |
+
"test_early_installation_precheck.py",
|
| 899 |
+
"test_early_omission.py",
|
| 900 |
+
"test_early_surface_precheck.py",
|
| 901 |
+
"test_early_surface_producer_registration.py",
|
| 902 |
+
"test_envelope_layout.py",
|
| 903 |
+
"test_exit_policy_038.py",
|
| 904 |
+
"test_external_runtime_configuration.py",
|
| 905 |
+
"test_extra_bedroom_windows.py",
|
| 906 |
+
"test_face_distance_025.py",
|
| 907 |
+
"test_failure_fixes_010.py",
|
| 908 |
+
"test_fine_grid_fallback_010.py",
|
| 909 |
+
"test_fixes_011.py",
|
| 910 |
+
"test_flaky_crash_013.py",
|
| 911 |
+
"test_floor_cover_consumer.py",
|
| 912 |
+
"test_floor_cover_furniture_geometry.py",
|
| 913 |
+
"test_floor_cover_taxonomy.py",
|
| 914 |
+
"test_floorplan_auto_scale_021.py",
|
| 915 |
+
"test_floorplan_image.py",
|
| 916 |
+
"test_floorplan_real_026.py",
|
| 917 |
+
"test_floorplan_vlm_robust_024.py",
|
| 918 |
+
"test_full_corpus_adapter.py",
|
| 919 |
+
"test_function_coverage.py",
|
| 920 |
+
"test_function_recovery.py",
|
| 921 |
+
"test_functional_search_order.py",
|
| 922 |
+
"test_furnishing_suitability.py",
|
| 923 |
+
"test_furnishing_support_precheck.py",
|
| 924 |
+
"test_generation_dependencies.py",
|
| 925 |
+
"test_geos_isolation_014.py",
|
| 926 |
+
"test_hallway_open_revision.py",
|
| 927 |
+
"test_inset_relation.py",
|
| 928 |
+
"test_installation_context_v2.py",
|
| 929 |
+
"test_installation_contracts.py",
|
| 930 |
+
"test_kitchen_completion_assets.py",
|
| 931 |
+
"test_kitchen_completion_fallback.py",
|
| 932 |
+
"test_kitchen_completion_layout.py",
|
| 933 |
+
"test_kitchen_completion_props.py",
|
| 934 |
+
"test_kitchen_native_integration.py",
|
| 935 |
+
"test_kitchen_sliding_door.py",
|
| 936 |
+
"test_kitchen_stove_correction.py",
|
| 937 |
+
"test_kitchen_stove_semantics.py",
|
| 938 |
+
"test_layout_closure_memo.py",
|
| 939 |
+
"test_layout_closure_memo_integration.py",
|
| 940 |
+
"test_layout_conventions_audit.py",
|
| 941 |
+
"test_layout_evidence_gap_scope.py",
|
| 942 |
+
"test_layout_failure_memory.py",
|
| 943 |
+
"test_layout_recovery.py",
|
| 944 |
+
"test_layout_repair_029.py",
|
| 945 |
+
"test_layout_rules.py",
|
| 946 |
+
"test_layout_rules_pass10.py",
|
| 947 |
+
"test_layout_rules_selection.py",
|
| 948 |
+
"test_living_side_relations.py",
|
| 949 |
+
"test_living_side_review.py",
|
| 950 |
+
"test_living_wall_decor_revision.py",
|
| 951 |
+
"test_marked_decoration.py",
|
| 952 |
+
"test_master_room_revision.py",
|
| 953 |
+
"test_measured_dimension_frame.py",
|
| 954 |
+
"test_mixed_scoped_needs_019.py",
|
| 955 |
+
"test_native_audit_adapters.py",
|
| 956 |
+
"test_native_persistent_digest.py",
|
| 957 |
+
"test_native_recovery_evidence.py",
|
| 958 |
+
"test_nested_runtime_binding.py",
|
| 959 |
+
"test_no_robot_scene_setup.py",
|
| 960 |
+
"test_obstacle_union_015.py",
|
| 961 |
+
"test_oss_defaults_023.py",
|
| 962 |
+
"test_outdoor_size_precheck.py",
|
| 963 |
+
"test_paper_defaults_render_003.py",
|
| 964 |
+
"test_passability.py",
|
| 965 |
+
"test_penetration_012.py",
|
| 966 |
+
"test_persistent_digest.py",
|
| 967 |
+
"test_persistent_digest_edges.py",
|
| 968 |
+
"test_persistent_digest_environment.py",
|
| 969 |
+
"test_pipeline_dependency_preflight.py",
|
| 970 |
+
"test_prepare_budget_receipt.py",
|
| 971 |
+
"test_prepare_closure_reuse_018.py",
|
| 972 |
+
"test_prepare_cpu_cache.py",
|
| 973 |
+
"test_prepare_cpu_copy.py",
|
| 974 |
+
"test_prepare_cpu_pipeline.py",
|
| 975 |
+
"test_prepare_cpu_support.py",
|
| 976 |
+
"test_prepared_artifact_cache.py",
|
| 977 |
+
"test_prewarm_cache_018.py",
|
| 978 |
+
"test_procedural_placeholder_contract.py",
|
| 979 |
+
"test_profile_validation_extra.py",
|
| 980 |
+
"test_random_scene_size_policy.py",
|
| 981 |
+
"test_ranked_assignment_prefilter.py",
|
| 982 |
+
"test_recovery_contextual.py",
|
| 983 |
+
"test_recovery_empty_domain.py",
|
| 984 |
+
"test_recovery_functional_fair.py",
|
| 985 |
+
"test_recovery_search_budget.py",
|
| 986 |
+
"test_relation_lazy_bounds_20261123.py",
|
| 987 |
+
"test_release_pointer_attach.py",
|
| 988 |
+
"test_release_records_index.py",
|
| 989 |
+
"test_relocate_paths.py",
|
| 990 |
+
"test_required_passage.py",
|
| 991 |
+
"test_residential_desk_retrieval.py",
|
| 992 |
+
"test_residential_generation_fix.py",
|
| 993 |
+
"test_residential_geometry_review.py",
|
| 994 |
+
"test_residential_group_search.py",
|
| 995 |
+
"test_residential_integration_fix.py",
|
| 996 |
+
"test_residential_measurement_scope.py",
|
| 997 |
+
"test_residential_policy.py",
|
| 998 |
+
"test_residential_profile.py",
|
| 999 |
+
"test_residential_quality.py",
|
| 1000 |
+
"test_residential_use_quality.py",
|
| 1001 |
+
"test_residential_v2_policy.py",
|
| 1002 |
+
"test_residential_window_scenery.py",
|
| 1003 |
+
"test_restore_installation_bindings.py",
|
| 1004 |
+
"test_retrieval_cache_identity.py",
|
| 1005 |
+
"test_retrieval_diversity.py",
|
| 1006 |
+
"test_revise_connections.py",
|
| 1007 |
+
"test_rhg_paths_029.py",
|
| 1008 |
+
"test_room_audit_rules.py",
|
| 1009 |
+
"test_room_main_lighting.py",
|
| 1010 |
+
"test_room_plan_render.py",
|
| 1011 |
+
"test_room_search_budget.py",
|
| 1012 |
+
"test_room_search_budget_plumbing.py",
|
| 1013 |
+
"test_rplan_front_door_006.py",
|
| 1014 |
+
"test_scene_input.py",
|
| 1015 |
+
"test_scene_workflow.py",
|
| 1016 |
+
"test_search_deadline.py",
|
| 1017 |
+
"test_selected_shell_room_inventory.py",
|
| 1018 |
+
"test_selection_pipeline.py",
|
| 1019 |
+
"test_selection_stamp_mode.py",
|
| 1020 |
+
"test_shell_geometry_reuse.py",
|
| 1021 |
+
"test_shell_geometry_reuse_plumbing.py",
|
| 1022 |
+
"test_source_qualification_cache.py",
|
| 1023 |
+
"test_source_release_provenance.py",
|
| 1024 |
+
"test_stability_controller_contracts.py",
|
| 1025 |
+
"test_starved_functional_recovery.py",
|
| 1026 |
+
"test_static_rug_domain.py",
|
| 1027 |
+
"test_storage_access.py",
|
| 1028 |
+
"test_structural_precision_022.py",
|
| 1029 |
+
"test_structural_surface_resolution.py",
|
| 1030 |
+
"test_style_candidate_pools.py",
|
| 1031 |
+
"test_style_combination.py",
|
| 1032 |
+
"test_style_policy.py",
|
| 1033 |
+
"test_supplemental_scene_decor.py",
|
| 1034 |
+
"test_support_collision_omission.py",
|
| 1035 |
+
"test_support_contact_recovery.py",
|
| 1036 |
+
"test_support_precheck_level_probe.py",
|
| 1037 |
+
"test_support_selection_integration.py",
|
| 1038 |
+
"test_surface_role_precheck.py",
|
| 1039 |
+
"test_tables_direction_policy.py",
|
| 1040 |
+
"test_text_kitchen_support_028.py",
|
| 1041 |
+
"test_timeouts_020.py",
|
| 1042 |
+
"test_tools_have_no_machine_paths.py",
|
| 1043 |
+
"test_unbounded_furnishing.py",
|
| 1044 |
+
"test_wall_decomposition_20261123.py",
|
| 1045 |
+
"test_wall_paint_revision.py",
|
| 1046 |
+
"test_wardrobe_wall_run.py",
|
| 1047 |
+
"test_window_audit.py",
|
| 1048 |
+
"test_window_backdrop_export_005.py",
|
| 1049 |
+
"test_window_generation.py",
|
| 1050 |
+
"test_window_infill_geometry.py",
|
| 1051 |
+
"test_window_rules.py",
|
| 1052 |
+
"test_window_scenery_privacy.py",
|
| 1053 |
+
"test_window_sheer_revision.py",
|
| 1054 |
+
"tools/asset_curation/build_v5.py",
|
| 1055 |
+
"tools/asset_curation/build_v6.py",
|
| 1056 |
+
"tools/asset_curation/build_v7.py",
|
| 1057 |
+
"tools/asset_curation/build_v9.py",
|
| 1058 |
+
"tools/asset_curation/cand.py",
|
| 1059 |
+
"tools/asset_curation/category.py",
|
| 1060 |
+
"tools/asset_curation/category2.py",
|
| 1061 |
+
"tools/asset_curation/curation_paths.py",
|
| 1062 |
+
"tools/asset_curation/decide.py",
|
| 1063 |
+
"tools/asset_curation/dims2.py",
|
| 1064 |
+
"tools/asset_curation/glbpts.py",
|
| 1065 |
+
"tools/asset_curation/match.py",
|
| 1066 |
+
"tools/asset_curation/patch_authored_consumer.py",
|
| 1067 |
+
"tools/asset_curation/pcdump.py",
|
| 1068 |
+
"tools/asset_curation/poll9.py",
|
| 1069 |
+
"tools/asset_curation/posefix_release.py",
|
| 1070 |
+
"tools/asset_curation/pub9_art.py",
|
| 1071 |
+
"tools/asset_curation/pub9_pose.py",
|
| 1072 |
+
"tools/asset_curation/pub9_vlm.py",
|
| 1073 |
+
"tools/asset_curation/publish_art.py",
|
| 1074 |
+
"tools/asset_curation/publish_vlm.py",
|
| 1075 |
+
"tools/asset_curation/remeasure.py",
|
| 1076 |
+
"tools/asset_curation/render6.py",
|
| 1077 |
+
"tools/asset_curation/run_regression_unittest_wrapper.py",
|
| 1078 |
+
"tools/asset_curation/scene_pose.py",
|
| 1079 |
+
"tools/asset_curation/scene_pose2.py",
|
| 1080 |
+
"tools/asset_curation/transfer.py",
|
| 1081 |
+
"tools/asset_curation/urdfinherit.py",
|
| 1082 |
+
"tools/asset_curation/urdfunion.py",
|
| 1083 |
+
"tools/asset_curation/verify9.py",
|
| 1084 |
+
"tools/asset_curation/verify_pose.py",
|
| 1085 |
+
"tools/asset_curation/verify_v5.py",
|
| 1086 |
+
"tools/asset_curation/verify_v7.py",
|
| 1087 |
+
"tools/collection/collect_one.py",
|
| 1088 |
+
"tools/collection/collection_queue.py",
|
| 1089 |
+
"tools/collection/package_scene.py",
|
| 1090 |
+
"tools/collection/prewarm_cache.py",
|
| 1091 |
+
"tools/collection/select_scene_manifest.py",
|
| 1092 |
+
"tools/floorplan/render_sample_floorplan.py",
|
| 1093 |
+
"tools/measure_residential_case.py",
|
| 1094 |
+
"tools/release/check_source_integrity.py",
|
| 1095 |
+
"tools/release/scan_hardcoded_paths.py",
|
| 1096 |
+
"tools/relocate_paths.py",
|
| 1097 |
+
"tools/rplan/collect_results.py",
|
| 1098 |
+
"tools/rplan/comfort.py",
|
| 1099 |
+
"tools/rplan/compare_windows.py",
|
| 1100 |
+
"tools/rplan/convert_rplan.py",
|
| 1101 |
+
"tools/rplan/draw_plans.py",
|
| 1102 |
+
"tools/rplan/filter_conventional.py",
|
| 1103 |
+
"tools/rplan/filter_library.py",
|
| 1104 |
+
"tools/rplan/pick_batch.py",
|
| 1105 |
+
"tools/rplan/pick_trials.py",
|
| 1106 |
+
"tools/rplan/proportions.py",
|
| 1107 |
+
"tools/rplan/sample_with_topology.py",
|
| 1108 |
+
"tools/rplan/screen_library.py",
|
| 1109 |
+
"tools/rplan/shell_check.py",
|
| 1110 |
+
"tools/rplan/test_convert_rplan.py",
|
| 1111 |
+
"tools/rplan/test_proportions.py",
|
| 1112 |
+
"tools/rplan/test_screen_library.py",
|
| 1113 |
+
"tools/rplan/why_failed.py",
|
| 1114 |
+
"tools/rplan_library/convert_rplan.py",
|
| 1115 |
+
"tools/rplan_library/filter_conventional.py",
|
| 1116 |
+
"tools/rplan_library/filter_library.py",
|
| 1117 |
+
"tools/rplan_library/patch_extra_bedroom_windows.py",
|
| 1118 |
+
"tools/rplan_library/proportions.py",
|
| 1119 |
+
"tools/rplan_library/rplan_doors.py",
|
| 1120 |
+
"tools/rplan_library/screen_library.py",
|
| 1121 |
+
"tools/rplan_library/test_build_scripts.py",
|
| 1122 |
+
"tools/rplan_library/test_convert_rplan.py",
|
| 1123 |
+
"tools/rplan_library/test_extra_bedroom_windows.py",
|
| 1124 |
+
"tools/rplan_library/test_proportions.py",
|
| 1125 |
+
"tools/rplan_library/test_rplan_doors.py",
|
| 1126 |
+
"tools/rplan_library/test_screen_library.py",
|
| 1127 |
+
"tools/rplan_library/test_usable_walls.py",
|
| 1128 |
+
"tools/rplan_library/usable_walls.py",
|
| 1129 |
+
"tools/run_residential.py",
|
| 1130 |
+
"tools/verify_window_scenery_blender.py",
|
| 1131 |
+
"verify_balcony_window_blender.py",
|
| 1132 |
+
"verify_bathroom_layout.py",
|
| 1133 |
+
"verify_connection_revision.py",
|
| 1134 |
+
"verify_home_revision_blender.py",
|
| 1135 |
+
"verify_kitchen_completion_fallback_blender.py",
|
| 1136 |
+
"verify_kitchen_layout.py",
|
| 1137 |
+
"verify_living_wall_decor_blender.py",
|
| 1138 |
+
"verify_master_room_blender.py",
|
| 1139 |
+
"verify_style_discovery.py",
|
| 1140 |
+
"verify_supplemental_scene.py",
|
| 1141 |
+
"verify_window_infill_blender.py",
|
| 1142 |
+
"verify_window_sheer_blender.py",
|
| 1143 |
+
"wall_paint_revision.py",
|
| 1144 |
+
"window_sheer_revision.py"
|
| 1145 |
+
],
|
| 1146 |
+
"required_small_archives": [
|
| 1147 |
+
"fixtures/r7_residential_search.json.gz",
|
| 1148 |
+
"tests/fixtures/support_pair_completed_success.json.gz",
|
| 1149 |
+
"tools/release/paths_029_restoration.patch.gz"
|
| 1150 |
+
],
|
| 1151 |
+
"excluded_source_modules": [],
|
| 1152 |
+
"checks": [
|
| 1153 |
+
"All project Python modules retained, including apply/deploy/probe and native patch helpers.",
|
| 1154 |
+
"157 dynamically referenced generation dependencies checked independently.",
|
| 1155 |
+
"Small gzip fixtures and restoration evidence retained despite archive suffix.",
|
| 1156 |
+
"Engine source signatures verified before applying portable release metadata."
|
| 1157 |
+
]
|
| 1158 |
+
}
|
code/robohome/docs/workflows.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Workflows
|
| 2 |
+
|
| 3 |
+
## Text and Image Inputs
|
| 4 |
+
|
| 5 |
+
`build-shell` selects a floorplan matching explicit room requirements. `prepare`
|
| 6 |
+
reuses that input and rejects requirements absent from the saved shell.
|
| 7 |
+
A seed is reproducible within the same input library and configuration; record
|
| 8 |
+
source versions and input hashes with results.
|
| 9 |
+
|
| 10 |
+
For image input, configure the local model and use an inference-capable Python:
|
| 11 |
+
|
| 12 |
+
```bash
|
| 13 |
+
python scene_workflow.py build-shell --case "$PWD/work/image-case" \
|
| 14 |
+
--floorplan-image "$PWD/src/examples/floorplan/rplan_45966.jpg"
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
Insufficient scale evidence produces a draft. Inspect it and supply
|
| 18 |
+
`--floorplan-scale-m-per-pixel` with a confirmed scale before generation.
|
| 19 |
+
Image interpretation does not replace topology or geometry validation.
|
| 20 |
+
|
| 21 |
+
## Generate, Audit and Render
|
| 22 |
+
|
| 23 |
+
The normal order is `build-shell`, `prepare`, `execute`, `audit`, then `render`.
|
| 24 |
+
Every stage accepts `--help`. Rendering reads the final saved scene:
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
python scene_workflow.py render --case "$PWD/work/case-001" \
|
| 28 |
+
--device GPU --gpu-backend CUDA --samples 32 \
|
| 29 |
+
--views diagnostic_top,diagnostic_living_human_view
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
After recovery, use the final output in `execution_summary.json`; the first
|
| 33 |
+
`execution/` result may remain a failed attempt. Geometry, rendering, physics and
|
| 34 |
+
robot-task acceptance are separate results.
|
| 35 |
+
|
| 36 |
+
## Collect a Dataset
|
| 37 |
+
|
| 38 |
+
`src/tools/collection/collect_one.py` runs the public workflow, selects the final
|
| 39 |
+
scene after recovery, packages it and renders it. `collection_queue.py` schedules
|
| 40 |
+
jobs and saves queue state. Inspect commands first with single-job `--dry-run`.
|
| 41 |
+
|
| 42 |
+
Slot syntax is `name:cpus:gpu:case`; empty GPU and case fields select CPU execution
|
| 43 |
+
and a new case. CPU affinity must be valid for the host.
|
| 44 |
+
|
| 45 |
+
Packages are grouped by actual generated room area. The conversion target remains
|
| 46 |
+
metadata and is used as a labelled fallback for older manifests without usable
|
| 47 |
+
room areas. `rp1_scene_info.json` records the area basis and floorplan evidence.
|
| 48 |
+
|
| 49 |
+
Per-case logs contain return codes, `worker_meta.json`, `SUCCESS.json` or failure
|
| 50 |
+
markers. `audit_render` enables audit rendering; `audit_sample_rate` selects stable
|
| 51 |
+
sampled audits; `presentation_views` selects presentation images. A skipped audit
|
| 52 |
+
does not count as a passed audit.
|
| 53 |
+
|
| 54 |
+
`min_free_gb` defaults to 30 GiB. Low space pauses queue launches or fails a worker
|
| 55 |
+
preflight before generation. Repeated fast failures trigger launch cooldown.
|
| 56 |
+
|
| 57 |
+
| `run_dir_retention` | Successful run | Failed run |
|
| 58 |
+
| --- | --- | --- |
|
| 59 |
+
| `compress` | Archive intermediate run | Archive intermediate run |
|
| 60 |
+
| `keep` | Keep run | Keep run |
|
| 61 |
+
| `delete_on_success` | Delete after packaging and rendering | Archive run |
|
| 62 |
+
|
| 63 |
+
Compression uses system `tar` and `zstd`. Failed compression or missing `zstd`
|
| 64 |
+
keeps the source run. Dataset packages remain separate from intermediate runs.
|
| 65 |
+
|
| 66 |
+
## Other Modules
|
| 67 |
+
|
| 68 |
+
- `src/tools/rplan/`, `src/tools/rplan_library/`: floorplan conversion and screening.
|
| 69 |
+
- `src/tools/collection/prewarm_cache.py`: prepared-asset cache warmup.
|
| 70 |
+
- `src/engine/real_test/`: saved-scene geometry, rendering and integration tools.
|
| 71 |
+
- `src/paper_eval/`: evaluation with separately configured inputs.
|
| 72 |
+
- `complete-kitchen`, `revise-connections`, `place-dining`, `decorate-scene`,
|
| 73 |
+
`revise-home`: explicit saved-scene editing stages of the public CLI.
|
| 74 |
+
|
| 75 |
+
Patch snapshots in `src/engine/native_patches/` and `src/engine/parent_revisions/`
|
| 76 |
+
belong to the source inventory; they are not disposable run output.
|
code/robohome/requirements-test.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-r requirements.txt
|
| 2 |
+
pytest>=7,<9
|
code/robohome/requirements.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Host-side generation and geometry dependencies for Python 3.10.
|
| 2 |
+
numpy==2.2.6
|
| 3 |
+
scipy==1.15.3
|
| 4 |
+
shapely==2.1.2
|
| 5 |
+
manifold3d==3.5.4
|
| 6 |
+
trimesh==4.8.3
|
| 7 |
+
Rtree==1.4.1
|
| 8 |
+
Pillow>=10
|
| 9 |
+
PyYAML>=6,<7
|
code/robohome/source-manifest.json
CHANGED
|
@@ -1,18 +1,48 @@
|
|
| 1 |
{
|
| 2 |
"project": "robohome",
|
| 3 |
-
"source_label": "
|
| 4 |
"scope": "Source-only export; paths normalized; binary dependencies excluded.",
|
| 5 |
"files": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
{
|
| 7 |
"path": "README.md",
|
| 8 |
-
"bytes":
|
| 9 |
-
"sha256": "
|
| 10 |
},
|
| 11 |
{
|
| 12 |
"path": "config/collection.example.json",
|
| 13 |
"bytes": 2348,
|
| 14 |
"sha256": "9c314ac33a80994e253b0cf79d4640df60461fa382f74e35b688ab554fdbe32c"
|
| 15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
{
|
| 17 |
"path": "scene_workflow.py",
|
| 18 |
"bytes": 295,
|
|
@@ -30,8 +60,8 @@
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"path": "src/THIRD_PARTY_NOTICES.md",
|
| 33 |
-
"bytes":
|
| 34 |
-
"sha256": "
|
| 35 |
},
|
| 36 |
{
|
| 37 |
"path": "src/acceptance_doors.py",
|
|
@@ -55,8 +85,8 @@
|
|
| 55 |
},
|
| 56 |
{
|
| 57 |
"path": "src/adaptive_shell.py",
|
| 58 |
-
"bytes":
|
| 59 |
-
"sha256": "
|
| 60 |
},
|
| 61 |
{
|
| 62 |
"path": "src/appearance_matching.py",
|
|
@@ -280,8 +310,8 @@
|
|
| 280 |
},
|
| 281 |
{
|
| 282 |
"path": "src/build_native_shell_case.py",
|
| 283 |
-
"bytes":
|
| 284 |
-
"sha256": "
|
| 285 |
},
|
| 286 |
{
|
| 287 |
"path": "src/children_room_assets.json",
|
|
@@ -313,6 +343,11 @@
|
|
| 313 |
"bytes": 19454,
|
| 314 |
"sha256": "06c2ad4e738ad310e651fcd6011c12fbab594b4e5da931cb5229e017adf64926"
|
| 315 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
{
|
| 317 |
"path": "src/decorate_saved_scene.py",
|
| 318 |
"bytes": 11389,
|
|
@@ -436,7 +471,7 @@
|
|
| 436 |
{
|
| 437 |
"path": "src/engine/BASE_SHA256SUMS",
|
| 438 |
"bytes": 60493,
|
| 439 |
-
"sha256": "
|
| 440 |
},
|
| 441 |
{
|
| 442 |
"path": "src/engine/BATHROOM_LAYOUT_REVISION.json",
|
|
@@ -475,8 +510,8 @@
|
|
| 475 |
},
|
| 476 |
{
|
| 477 |
"path": "src/engine/REPAIR_V2_REVISION.json",
|
| 478 |
-
"bytes":
|
| 479 |
-
"sha256": "
|
| 480 |
},
|
| 481 |
{
|
| 482 |
"path": "src/engine/RESIDENTIAL_ADAPTIVE_SOURCE_DERIVATION.json",
|
|
@@ -1705,8 +1740,8 @@
|
|
| 1705 |
},
|
| 1706 |
{
|
| 1707 |
"path": "src/engine/source/packages/runtime/stack_batch.py",
|
| 1708 |
-
"bytes":
|
| 1709 |
-
"sha256": "
|
| 1710 |
},
|
| 1711 |
{
|
| 1712 |
"path": "src/engine/source/packages/scenarios/__init__.py",
|
|
@@ -2565,8 +2600,8 @@
|
|
| 2565 |
},
|
| 2566 |
{
|
| 2567 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/envelope_layout.py",
|
| 2568 |
-
"bytes":
|
| 2569 |
-
"sha256": "
|
| 2570 |
},
|
| 2571 |
{
|
| 2572 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/evidence/worktop_aperture_boundaries.json",
|
|
@@ -2635,8 +2670,8 @@
|
|
| 2635 |
},
|
| 2636 |
{
|
| 2637 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/joint_layout.py",
|
| 2638 |
-
"bytes":
|
| 2639 |
-
"sha256": "
|
| 2640 |
},
|
| 2641 |
{
|
| 2642 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/joint_runtime.py",
|
|
@@ -2655,8 +2690,8 @@
|
|
| 2655 |
},
|
| 2656 |
{
|
| 2657 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/layout_rules.yaml",
|
| 2658 |
-
"bytes":
|
| 2659 |
-
"sha256": "
|
| 2660 |
},
|
| 2661 |
{
|
| 2662 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py",
|
|
@@ -2925,8 +2960,8 @@
|
|
| 2925 |
},
|
| 2926 |
{
|
| 2927 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/structural_material_application.py",
|
| 2928 |
-
"bytes":
|
| 2929 |
-
"sha256": "
|
| 2930 |
},
|
| 2931 |
{
|
| 2932 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/structural_material_selection.py",
|
|
@@ -3480,8 +3515,8 @@
|
|
| 3480 |
},
|
| 3481 |
{
|
| 3482 |
"path": "src/engine/source/scripts/internal/scene_generation/shell_opening_geometry.py",
|
| 3483 |
-
"bytes":
|
| 3484 |
-
"sha256": "
|
| 3485 |
},
|
| 3486 |
{
|
| 3487 |
"path": "src/engine/source/scripts/internal/scene_generation/structural_surface_resolution.py",
|
|
@@ -3613,6 +3648,11 @@
|
|
| 3613 |
"bytes": 217617,
|
| 3614 |
"sha256": "29af3e22e7ae5ed704dffe07baf266337016d70675d92f968cdbb154ec7e6e29"
|
| 3615 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3616 |
{
|
| 3617 |
"path": "src/engine/tests/test_camera_preflight_016.py",
|
| 3618 |
"bytes": 7116,
|
|
@@ -3768,6 +3808,11 @@
|
|
| 3768 |
"bytes": 2142,
|
| 3769 |
"sha256": "ad94bc839997d5b3b7290cf09483b95c244a8077bef83692ef157c6abc42641d"
|
| 3770 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3771 |
{
|
| 3772 |
"path": "src/engine/tests/test_lazy_geometry_identity.py",
|
| 3773 |
"bytes": 5184,
|
|
@@ -3780,8 +3825,8 @@
|
|
| 3780 |
},
|
| 3781 |
{
|
| 3782 |
"path": "src/engine/tests/test_living_search_order.py",
|
| 3783 |
-
"bytes":
|
| 3784 |
-
"sha256": "
|
| 3785 |
},
|
| 3786 |
{
|
| 3787 |
"path": "src/engine/tests/test_locked_collision_admission_v25.py",
|
|
@@ -4018,6 +4063,11 @@
|
|
| 4018 |
"bytes": 15679,
|
| 4019 |
"sha256": "21c0446ee06ae6539472c15a27eb8c8f6344896b91b40414492582f91fcdf721"
|
| 4020 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4021 |
{
|
| 4022 |
"path": "src/engine/tests/test_task11_adapter_contracts.py",
|
| 4023 |
"bytes": 6326,
|
|
@@ -4098,6 +4148,11 @@
|
|
| 4098 |
"bytes": 8893,
|
| 4099 |
"sha256": "fab521a23588c115b9be610ce8e3b641b15277cc958749ff8f4cbba0206de29a"
|
| 4100 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4101 |
{
|
| 4102 |
"path": "src/fixtures/r8_opening_plan.json",
|
| 4103 |
"bytes": 18449,
|
|
@@ -4815,8 +4870,8 @@
|
|
| 4815 |
},
|
| 4816 |
{
|
| 4817 |
"path": "src/task_scene_setup.py",
|
| 4818 |
-
"bytes":
|
| 4819 |
-
"sha256": "
|
| 4820 |
},
|
| 4821 |
{
|
| 4822 |
"path": "src/test_acceptance_layers.py",
|
|
@@ -4878,6 +4933,11 @@
|
|
| 4878 |
"bytes": 3626,
|
| 4879 |
"sha256": "1734f8222fc2aa423e6240cc0512246f76e277f5c9d5a702fa6a1f39920e6337"
|
| 4880 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4881 |
{
|
| 4882 |
"path": "src/test_artifact_runtime.py",
|
| 4883 |
"bytes": 4360,
|
|
@@ -5020,8 +5080,8 @@
|
|
| 5020 |
},
|
| 5021 |
{
|
| 5022 |
"path": "src/test_c13.py",
|
| 5023 |
-
"bytes":
|
| 5024 |
-
"sha256": "
|
| 5025 |
},
|
| 5026 |
{
|
| 5027 |
"path": "src/test_c14.py",
|
|
@@ -5058,6 +5118,11 @@
|
|
| 5058 |
"bytes": 1019,
|
| 5059 |
"sha256": "0e87c403b5d3ca55a2635eb00ea0c79fdd3199091d3267880444da21a0021444"
|
| 5060 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5061 |
{
|
| 5062 |
"path": "src/test_collection_disk_guard_030.py",
|
| 5063 |
"bytes": 20044,
|
|
@@ -5138,6 +5203,11 @@
|
|
| 5138 |
"bytes": 5894,
|
| 5139 |
"sha256": "ff84934564f8f3e447800fe061dfb1c6bd504358439a7ed689e184c2b23c2c76"
|
| 5140 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5141 |
{
|
| 5142 |
"path": "src/test_door_leaf_fallback.py",
|
| 5143 |
"bytes": 5799,
|
|
@@ -5185,8 +5255,8 @@
|
|
| 5185 |
},
|
| 5186 |
{
|
| 5187 |
"path": "src/test_envelope_layout.py",
|
| 5188 |
-
"bytes":
|
| 5189 |
-
"sha256": "
|
| 5190 |
},
|
| 5191 |
{
|
| 5192 |
"path": "src/test_exit_policy_038.py",
|
|
@@ -5393,6 +5463,11 @@
|
|
| 5393 |
"bytes": 23738,
|
| 5394 |
"sha256": "f8ff89164a2cc5dda80b777763bb7d1f6a64297463ab686af104415ced6c18bd"
|
| 5395 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5396 |
{
|
| 5397 |
"path": "src/test_layout_rules.py",
|
| 5398 |
"bytes": 17489,
|
|
@@ -5793,6 +5868,11 @@
|
|
| 5793 |
"bytes": 5814,
|
| 5794 |
"sha256": "a521e507f100dea58d24a392faa7d667edb7710261aac6da2f4c2ce2b9f7238a"
|
| 5795 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5796 |
{
|
| 5797 |
"path": "src/test_starved_functional_recovery.py",
|
| 5798 |
"bytes": 5228,
|
|
@@ -5983,6 +6063,11 @@
|
|
| 5983 |
"bytes": 123185,
|
| 5984 |
"sha256": "8aff868672bc36f877efc342ead07e8019b86a06c508bfacdbc2df74b3017c66"
|
| 5985 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5986 |
{
|
| 5987 |
"path": "src/tools/asset_curation/build_v5.py",
|
| 5988 |
"bytes": 6308,
|
|
@@ -6175,8 +6260,8 @@
|
|
| 6175 |
},
|
| 6176 |
{
|
| 6177 |
"path": "src/tools/collection/package_scene.py",
|
| 6178 |
-
"bytes":
|
| 6179 |
-
"sha256": "
|
| 6180 |
},
|
| 6181 |
{
|
| 6182 |
"path": "src/tools/collection/prewarm_cache.py",
|
|
@@ -6208,6 +6293,11 @@
|
|
| 6208 |
"bytes": 3738,
|
| 6209 |
"sha256": "f9769f74e7078da26275d21758a342b9de21c673333e5a1e27bca71609c4ac52"
|
| 6210 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6211 |
{
|
| 6212 |
"path": "src/tools/release/paths_029_restoration_updates.json",
|
| 6213 |
"bytes": 1307,
|
|
@@ -6365,8 +6455,8 @@
|
|
| 6365 |
},
|
| 6366 |
{
|
| 6367 |
"path": "src/tools/rplan_library/screen_library.py",
|
| 6368 |
-
"bytes":
|
| 6369 |
-
"sha256": "
|
| 6370 |
},
|
| 6371 |
{
|
| 6372 |
"path": "src/tools/rplan_library/test_build_scripts.py",
|
|
@@ -6492,6 +6582,11 @@
|
|
| 6492 |
"path": "src/window_sheer_revision.py",
|
| 6493 |
"bytes": 13728,
|
| 6494 |
"sha256": "efb0414f66e32b30e88d232cd69d055bec6a7c895284b457a8aca34e797033a7"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6495 |
}
|
| 6496 |
]
|
| 6497 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"project": "robohome",
|
| 3 |
+
"source_label": "robohome_final_034",
|
| 4 |
"scope": "Source-only export; paths normalized; binary dependencies excluded.",
|
| 5 |
"files": [
|
| 6 |
+
{
|
| 7 |
+
"path": ".gitignore",
|
| 8 |
+
"bytes": 145,
|
| 9 |
+
"sha256": "6dc94ad9bbf4d02d89da293c2ed83a77d19db40de95ade55f786709acf0987ff"
|
| 10 |
+
},
|
| 11 |
{
|
| 12 |
"path": "README.md",
|
| 13 |
+
"bytes": 7982,
|
| 14 |
+
"sha256": "58c73068588447f4e3998793211124765f748aee2cddfed5cd6ce1aeb2938ad3"
|
| 15 |
},
|
| 16 |
{
|
| 17 |
"path": "config/collection.example.json",
|
| 18 |
"bytes": 2348,
|
| 19 |
"sha256": "9c314ac33a80994e253b0cf79d4640df60461fa382f74e35b688ab554fdbe32c"
|
| 20 |
},
|
| 21 |
+
{
|
| 22 |
+
"path": "docs/configuration.md",
|
| 23 |
+
"bytes": 3435,
|
| 24 |
+
"sha256": "79bb474a3f19b5231922496d91c98f462682b0ad9aff60a4855a4059c2bfe2b0"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"path": "docs/source-completeness.json",
|
| 28 |
+
"bytes": 65365,
|
| 29 |
+
"sha256": "a6df4a44065859f9e2051e98db69b37677d7c27d512fb99187de56288799995e"
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"path": "docs/workflows.md",
|
| 33 |
+
"bytes": 3462,
|
| 34 |
+
"sha256": "445d429d58b0db9d4974383de45d5c057bf9daec6479ec0b261322752962ef75"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"path": "requirements-test.txt",
|
| 38 |
+
"bytes": 33,
|
| 39 |
+
"sha256": "7506a87e3996f427dbef2f1d9770401515b0d3344cc68358b9e03a6f07e9b226"
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"path": "requirements.txt",
|
| 43 |
+
"bytes": 178,
|
| 44 |
+
"sha256": "a3f63d5a04acb3a03ea25887d7010d5892af2adbe6fac4b71cad1f3f4ca229e1"
|
| 45 |
+
},
|
| 46 |
{
|
| 47 |
"path": "scene_workflow.py",
|
| 48 |
"bytes": 295,
|
|
|
|
| 60 |
},
|
| 61 |
{
|
| 62 |
"path": "src/THIRD_PARTY_NOTICES.md",
|
| 63 |
+
"bytes": 1169,
|
| 64 |
+
"sha256": "6b4e0cd70d68534220b6dd385c043cfd0647ddcdb5e790a248ba95967486faac"
|
| 65 |
},
|
| 66 |
{
|
| 67 |
"path": "src/acceptance_doors.py",
|
|
|
|
| 85 |
},
|
| 86 |
{
|
| 87 |
"path": "src/adaptive_shell.py",
|
| 88 |
+
"bytes": 27967,
|
| 89 |
+
"sha256": "8365f1d0f2499df36cb050c55c3168d8cf59ace66da8790f93b6410dde9373c8"
|
| 90 |
},
|
| 91 |
{
|
| 92 |
"path": "src/appearance_matching.py",
|
|
|
|
| 310 |
},
|
| 311 |
{
|
| 312 |
"path": "src/build_native_shell_case.py",
|
| 313 |
+
"bytes": 22069,
|
| 314 |
+
"sha256": "103b3aab7bdc004da9f27ed90e2bb27db949d6164e42d17fef4c6445cdec32c3"
|
| 315 |
},
|
| 316 |
{
|
| 317 |
"path": "src/children_room_assets.json",
|
|
|
|
| 343 |
"bytes": 19454,
|
| 344 |
"sha256": "06c2ad4e738ad310e651fcd6011c12fbab594b4e5da931cb5229e017adf64926"
|
| 345 |
},
|
| 346 |
+
{
|
| 347 |
+
"path": "src/conftest.py",
|
| 348 |
+
"bytes": 574,
|
| 349 |
+
"sha256": "6e12c9a19311b0c66629d078b9d31b6794c1860508384d3b1af6254b28e890b1"
|
| 350 |
+
},
|
| 351 |
{
|
| 352 |
"path": "src/decorate_saved_scene.py",
|
| 353 |
"bytes": 11389,
|
|
|
|
| 471 |
{
|
| 472 |
"path": "src/engine/BASE_SHA256SUMS",
|
| 473 |
"bytes": 60493,
|
| 474 |
+
"sha256": "8d8f5ad25e00076bf73a647911720dd120c5183ec1556c29b071a6e84794ffcd"
|
| 475 |
},
|
| 476 |
{
|
| 477 |
"path": "src/engine/BATHROOM_LAYOUT_REVISION.json",
|
|
|
|
| 510 |
},
|
| 511 |
{
|
| 512 |
"path": "src/engine/REPAIR_V2_REVISION.json",
|
| 513 |
+
"bytes": 107931,
|
| 514 |
+
"sha256": "75397bbc8243ff02b12ca7f09e7ceefe0424f5f39ec4a19547ceb6db3359e40c"
|
| 515 |
},
|
| 516 |
{
|
| 517 |
"path": "src/engine/RESIDENTIAL_ADAPTIVE_SOURCE_DERIVATION.json",
|
|
|
|
| 1740 |
},
|
| 1741 |
{
|
| 1742 |
"path": "src/engine/source/packages/runtime/stack_batch.py",
|
| 1743 |
+
"bytes": 3351,
|
| 1744 |
+
"sha256": "acd14715f1a854be26baeede228ca2aa7fb8a25f4c3e45bc991425516080c672"
|
| 1745 |
},
|
| 1746 |
{
|
| 1747 |
"path": "src/engine/source/packages/scenarios/__init__.py",
|
|
|
|
| 2600 |
},
|
| 2601 |
{
|
| 2602 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/envelope_layout.py",
|
| 2603 |
+
"bytes": 69843,
|
| 2604 |
+
"sha256": "f3d6d8fa79874a59b526f1c16cd993c3f5d29658000dddb71f89bae02598b65a"
|
| 2605 |
},
|
| 2606 |
{
|
| 2607 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/evidence/worktop_aperture_boundaries.json",
|
|
|
|
| 2670 |
},
|
| 2671 |
{
|
| 2672 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/joint_layout.py",
|
| 2673 |
+
"bytes": 164339,
|
| 2674 |
+
"sha256": "2316c1ddb1b605a4d8708c416c07c3b386ad25d4c8111eb7f3e2d6c4f2fb824b"
|
| 2675 |
},
|
| 2676 |
{
|
| 2677 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/joint_runtime.py",
|
|
|
|
| 2690 |
},
|
| 2691 |
{
|
| 2692 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/layout_rules.yaml",
|
| 2693 |
+
"bytes": 14849,
|
| 2694 |
+
"sha256": "520aa9009a2fceea7bcad3b4fc1ebded32d2a64f7b70797c5ede2487999a26f6"
|
| 2695 |
},
|
| 2696 |
{
|
| 2697 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py",
|
|
|
|
| 2960 |
},
|
| 2961 |
{
|
| 2962 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/structural_material_application.py",
|
| 2963 |
+
"bytes": 31660,
|
| 2964 |
+
"sha256": "d3bb29b5f9c7ebc20e58026dee7c52f2a8ed64723ef17db09b3cfef2adb4c13f"
|
| 2965 |
},
|
| 2966 |
{
|
| 2967 |
"path": "src/engine/source/scripts/internal/scene_generation/real_assets/structural_material_selection.py",
|
|
|
|
| 3515 |
},
|
| 3516 |
{
|
| 3517 |
"path": "src/engine/source/scripts/internal/scene_generation/shell_opening_geometry.py",
|
| 3518 |
+
"bytes": 16842,
|
| 3519 |
+
"sha256": "85855f9685341f5de52eb7de0e57d9d65b42003d1c6972fb3775f7fd2fb2c60c"
|
| 3520 |
},
|
| 3521 |
{
|
| 3522 |
"path": "src/engine/source/scripts/internal/scene_generation/structural_surface_resolution.py",
|
|
|
|
| 3648 |
"bytes": 217617,
|
| 3649 |
"sha256": "29af3e22e7ae5ed704dffe07baf266337016d70675d92f968cdbb154ec7e6e29"
|
| 3650 |
},
|
| 3651 |
+
{
|
| 3652 |
+
"path": "src/engine/tests/task028_structural_false_positives_blender.py",
|
| 3653 |
+
"bytes": 2455,
|
| 3654 |
+
"sha256": "6e1e9910d3507dd2e224aaba0ff3874759f908ba57d95ad1b8cc65c5b6fc8381"
|
| 3655 |
+
},
|
| 3656 |
{
|
| 3657 |
"path": "src/engine/tests/test_camera_preflight_016.py",
|
| 3658 |
"bytes": 7116,
|
|
|
|
| 3808 |
"bytes": 2142,
|
| 3809 |
"sha256": "ad94bc839997d5b3b7290cf09483b95c244a8077bef83692ef157c6abc42641d"
|
| 3810 |
},
|
| 3811 |
+
{
|
| 3812 |
+
"path": "src/engine/tests/test_layout_search_order_025.py",
|
| 3813 |
+
"bytes": 4751,
|
| 3814 |
+
"sha256": "eea55c24d60581fbe6f5d3542b134dc816ef6f35c5a4f4ad605adb05b4bd7741"
|
| 3815 |
+
},
|
| 3816 |
{
|
| 3817 |
"path": "src/engine/tests/test_lazy_geometry_identity.py",
|
| 3818 |
"bytes": 5184,
|
|
|
|
| 3825 |
},
|
| 3826 |
{
|
| 3827 |
"path": "src/engine/tests/test_living_search_order.py",
|
| 3828 |
+
"bytes": 10492,
|
| 3829 |
+
"sha256": "7a9a3a5b6ae48754a62aadeba2462575f924877aaf026a4110ae6b3ebe330210"
|
| 3830 |
},
|
| 3831 |
{
|
| 3832 |
"path": "src/engine/tests/test_locked_collision_admission_v25.py",
|
|
|
|
| 4063 |
"bytes": 15679,
|
| 4064 |
"sha256": "21c0446ee06ae6539472c15a27eb8c8f6344896b91b40414492582f91fcdf721"
|
| 4065 |
},
|
| 4066 |
+
{
|
| 4067 |
+
"path": "src/engine/tests/test_task028_structural_false_positives.py",
|
| 4068 |
+
"bytes": 6831,
|
| 4069 |
+
"sha256": "409a3c6cc1c67da47f5c2489494b9029cb9aa4736808732c8b252b664b9fcad7"
|
| 4070 |
+
},
|
| 4071 |
{
|
| 4072 |
"path": "src/engine/tests/test_task11_adapter_contracts.py",
|
| 4073 |
"bytes": 6326,
|
|
|
|
| 4148 |
"bytes": 8893,
|
| 4149 |
"sha256": "fab521a23588c115b9be610ce8e3b641b15277cc958749ff8f4cbba0206de29a"
|
| 4150 |
},
|
| 4151 |
+
{
|
| 4152 |
+
"path": "src/fixtures/r7_residential_search.json.gz",
|
| 4153 |
+
"bytes": 539988,
|
| 4154 |
+
"sha256": "38c538a6ac21703d9befe3e0126b8800094a28cda9dcf06a3ddd1034ac8fd7cb"
|
| 4155 |
+
},
|
| 4156 |
{
|
| 4157 |
"path": "src/fixtures/r8_opening_plan.json",
|
| 4158 |
"bytes": 18449,
|
|
|
|
| 4870 |
},
|
| 4871 |
{
|
| 4872 |
"path": "src/task_scene_setup.py",
|
| 4873 |
+
"bytes": 17849,
|
| 4874 |
+
"sha256": "69c83bfcbfe472f789920bf76878c055b4e523017ccd926a81cb533ddfdf55a6"
|
| 4875 |
},
|
| 4876 |
{
|
| 4877 |
"path": "src/test_acceptance_layers.py",
|
|
|
|
| 4933 |
"bytes": 3626,
|
| 4934 |
"sha256": "1734f8222fc2aa423e6240cc0512246f76e277f5c9d5a702fa6a1f39920e6337"
|
| 4935 |
},
|
| 4936 |
+
{
|
| 4937 |
+
"path": "src/test_area_bin_033.py",
|
| 4938 |
+
"bytes": 1064,
|
| 4939 |
+
"sha256": "54aed10d56ceab4c86258aec373ce8051cfc4a618e1420face200cead0439e57"
|
| 4940 |
+
},
|
| 4941 |
{
|
| 4942 |
"path": "src/test_artifact_runtime.py",
|
| 4943 |
"bytes": 4360,
|
|
|
|
| 5080 |
},
|
| 5081 |
{
|
| 5082 |
"path": "src/test_c13.py",
|
| 5083 |
+
"bytes": 3980,
|
| 5084 |
+
"sha256": "586fa3225597ccfa49b639b5740dd0064e3528c813b966e90b40451adb06200e"
|
| 5085 |
},
|
| 5086 |
{
|
| 5087 |
"path": "src/test_c14.py",
|
|
|
|
| 5118 |
"bytes": 1019,
|
| 5119 |
"sha256": "0e87c403b5d3ca55a2635eb00ea0c79fdd3199091d3267880444da21a0021444"
|
| 5120 |
},
|
| 5121 |
+
{
|
| 5122 |
+
"path": "src/test_coffee_sofa_clearance_032.py",
|
| 5123 |
+
"bytes": 2720,
|
| 5124 |
+
"sha256": "feb9edb3e64db95e22be6dc03678955dcf3c4fbf3870f4060701b4b8fea1ebcf"
|
| 5125 |
+
},
|
| 5126 |
{
|
| 5127 |
"path": "src/test_collection_disk_guard_030.py",
|
| 5128 |
"bytes": 20044,
|
|
|
|
| 5203 |
"bytes": 5894,
|
| 5204 |
"sha256": "ff84934564f8f3e447800fe061dfb1c6bd504358439a7ed689e184c2b23c2c76"
|
| 5205 |
},
|
| 5206 |
+
{
|
| 5207 |
+
"path": "src/test_door_jambs_032.py",
|
| 5208 |
+
"bytes": 3485,
|
| 5209 |
+
"sha256": "8cd9e8acf50aa4510ca1011d2ebc257db18779b61fa3369dff6f8acff228bf77"
|
| 5210 |
+
},
|
| 5211 |
{
|
| 5212 |
"path": "src/test_door_leaf_fallback.py",
|
| 5213 |
"bytes": 5799,
|
|
|
|
| 5255 |
},
|
| 5256 |
{
|
| 5257 |
"path": "src/test_envelope_layout.py",
|
| 5258 |
+
"bytes": 26322,
|
| 5259 |
+
"sha256": "63ee99361b422cd7ea6eddf478e52b0c56d9db445581b6670c34f0cab01f61e3"
|
| 5260 |
},
|
| 5261 |
{
|
| 5262 |
"path": "src/test_exit_policy_038.py",
|
|
|
|
| 5463 |
"bytes": 23738,
|
| 5464 |
"sha256": "f8ff89164a2cc5dda80b777763bb7d1f6a64297463ab686af104415ced6c18bd"
|
| 5465 |
},
|
| 5466 |
+
{
|
| 5467 |
+
"path": "src/test_layout_repair_029.py",
|
| 5468 |
+
"bytes": 6655,
|
| 5469 |
+
"sha256": "bd418928159e74797ba8a2b48c4fdcb023a33f5c8c5e8154937bfd90e8189bd3"
|
| 5470 |
+
},
|
| 5471 |
{
|
| 5472 |
"path": "src/test_layout_rules.py",
|
| 5473 |
"bytes": 17489,
|
|
|
|
| 5868 |
"bytes": 5814,
|
| 5869 |
"sha256": "a521e507f100dea58d24a392faa7d667edb7710261aac6da2f4c2ce2b9f7238a"
|
| 5870 |
},
|
| 5871 |
+
{
|
| 5872 |
+
"path": "src/test_stack_batch_compatibility.py",
|
| 5873 |
+
"bytes": 1213,
|
| 5874 |
+
"sha256": "a0ea8fb847cdedfee7d942307e8377c79d4f2e87f51c2531d584cd95a1785724"
|
| 5875 |
+
},
|
| 5876 |
{
|
| 5877 |
"path": "src/test_starved_functional_recovery.py",
|
| 5878 |
"bytes": 5228,
|
|
|
|
| 6063 |
"bytes": 123185,
|
| 6064 |
"sha256": "8aff868672bc36f877efc342ead07e8019b86a06c508bfacdbc2df74b3017c66"
|
| 6065 |
},
|
| 6066 |
+
{
|
| 6067 |
+
"path": "src/tests/fixtures/support_pair_completed_success.json.gz",
|
| 6068 |
+
"bytes": 45256,
|
| 6069 |
+
"sha256": "3b78fa3ad002f18f2968f7cb65d2518c0a07542b5eace70a09e5458a9647d299"
|
| 6070 |
+
},
|
| 6071 |
{
|
| 6072 |
"path": "src/tools/asset_curation/build_v5.py",
|
| 6073 |
"bytes": 6308,
|
|
|
|
| 6260 |
},
|
| 6261 |
{
|
| 6262 |
"path": "src/tools/collection/package_scene.py",
|
| 6263 |
+
"bytes": 13223,
|
| 6264 |
+
"sha256": "c7ba8c5d8f8a8506a5653db716254196076cd459a3894130c66a96a55a1e67fb"
|
| 6265 |
},
|
| 6266 |
{
|
| 6267 |
"path": "src/tools/collection/prewarm_cache.py",
|
|
|
|
| 6293 |
"bytes": 3738,
|
| 6294 |
"sha256": "f9769f74e7078da26275d21758a342b9de21c673333e5a1e27bca71609c4ac52"
|
| 6295 |
},
|
| 6296 |
+
{
|
| 6297 |
+
"path": "src/tools/release/paths_029_restoration.patch.gz",
|
| 6298 |
+
"bytes": 1596,
|
| 6299 |
+
"sha256": "6c315e6deeb181aba28401eac1a2187bbdf55b76763159c736adb491a9019420"
|
| 6300 |
+
},
|
| 6301 |
{
|
| 6302 |
"path": "src/tools/release/paths_029_restoration_updates.json",
|
| 6303 |
"bytes": 1307,
|
|
|
|
| 6455 |
},
|
| 6456 |
{
|
| 6457 |
"path": "src/tools/rplan_library/screen_library.py",
|
| 6458 |
+
"bytes": 17016,
|
| 6459 |
+
"sha256": "40ecc955ff8b427c35657c24379f3878059a7b17d0be3b8b5276002d63791bb4"
|
| 6460 |
},
|
| 6461 |
{
|
| 6462 |
"path": "src/tools/rplan_library/test_build_scripts.py",
|
|
|
|
| 6582 |
"path": "src/window_sheer_revision.py",
|
| 6583 |
"bytes": 13728,
|
| 6584 |
"sha256": "efb0414f66e32b30e88d232cd69d055bec6a7c895284b457a8aca34e797033a7"
|
| 6585 |
+
},
|
| 6586 |
+
{
|
| 6587 |
+
"path": "tools/verify_source.py",
|
| 6588 |
+
"bytes": 3503,
|
| 6589 |
+
"sha256": "ee3713cf4bf0c623673b04808f738ffbff57b70c4ed2d3ceedf272a6f6c4eb67"
|
| 6590 |
}
|
| 6591 |
]
|
| 6592 |
}
|
code/robohome/src/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
# Third-party components
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
| Package | Version | License |
|
| 8 |
|---|---|---|
|
|
@@ -18,4 +20,4 @@ in the package directories (`*.dist-info`, `*.libs`).
|
|
| 18 |
Blender is not included; the scripts that import `bpy` run inside a Blender installation configured with `RHG_BLENDER`. Datasets and asset
|
| 19 |
libraries (RPLAN, HSSD and others) are not included and keep their own terms.
|
| 20 |
|
| 21 |
-
|
|
|
|
| 1 |
# Third-party components
|
| 2 |
|
| 3 |
+
The engine's binary environment is distributed separately from this source tree.
|
| 4 |
+
Install host dependencies using the root `requirements.txt`. Each dependency's
|
| 5 |
+
installed metadata includes its license; native libraries may carry additional
|
| 6 |
+
notices in `*.dist-info` and `*.libs` directories. The following versions were
|
| 7 |
+
recorded with the engine environment; they do not imply the binaries are included.
|
| 8 |
|
| 9 |
| Package | Version | License |
|
| 10 |
|---|---|---|
|
|
|
|
| 20 |
Blender is not included; the scripts that import `bpy` run inside a Blender installation configured with `RHG_BLENDER`. Datasets and asset
|
| 21 |
libraries (RPLAN, HSSD and others) are not included and keep their own terms.
|
| 22 |
|
| 23 |
+
A project-wide source license has not been declared in this snapshot.
|
code/robohome/src/adaptive_shell.py
CHANGED
|
@@ -161,6 +161,58 @@ def _relocate_doors(plan, report):
|
|
| 161 |
if changed:break
|
| 162 |
|
| 163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
def _exterior_spans(plan, room, window, corner_margin_m=.2):
|
| 165 |
from engine.source.scripts.internal.scene_generation.window_rules import MIN_OPENING_GAP_M
|
| 166 |
|
|
|
|
| 161 |
if changed:break
|
| 162 |
|
| 163 |
|
| 164 |
+
DOOR_MIN_JAMB_M = .05 # solid wall kept between a door and the face of the perpendicular wall at its segment end
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
def ensure_door_jambs(plan, min_jamb_m=DOOR_MIN_JAMB_M):
|
| 168 |
+
"""Keep every non-fixed interior door clear of the perpendicular walls at the ends of its shared wall.
|
| 169 |
+
|
| 170 |
+
A door whose edge lies within half a wall thickness (plus a jamb) of a room corner leaves a wall stub only a
|
| 171 |
+
centimetre long; the meshed shell then has a notch beside the frame and the saved-opening check fails. The door is
|
| 172 |
+
slid inward along the same wall. Its width is never changed: ordinary openings are contracted to their declared
|
| 173 |
+
width downstream. A shared wall too short for the door plus both jambs is left unchanged and reported.
|
| 174 |
+
Returns a new plan."""
|
| 175 |
+
result = copy.deepcopy(plan)
|
| 176 |
+
rooms = {r['room_id']: r for r in result.get('rooms', [])}
|
| 177 |
+
margin = float(result.get('wall_thickness_m', .2)) / 2 + float(min_jamb_m)
|
| 178 |
+
changes = []
|
| 179 |
+
for door in result.get('doors', []):
|
| 180 |
+
ids = door.get('room_ids') or []
|
| 181 |
+
interval = _finite_interval(door.get('door_interval_m'))
|
| 182 |
+
if (_fixed(door) or len(ids) != 2 or not all(r in rooms for r in ids) or interval is None
|
| 183 |
+
or door.get('exterior') or 'exterior' in (door.get('room_types') or [])
|
| 184 |
+
or door.get('wall_orientation') not in ('H', 'V')):
|
| 185 |
+
continue
|
| 186 |
+
tangent = 1 if door['wall_orientation'] == 'V' else 0
|
| 187 |
+
a, b = (rooms[r]['bounds_m'] for r in ids)
|
| 188 |
+
seg_lo, seg_hi = max(a[tangent], b[tangent]), min(a[tangent + 2], b[tangent + 2])
|
| 189 |
+
lo, hi = interval
|
| 190 |
+
if lo - seg_lo >= margin - 1e-6 and seg_hi - hi >= margin - 1e-6:
|
| 191 |
+
continue
|
| 192 |
+
width = new_width = hi - lo
|
| 193 |
+
record = dict(door_id=door.get('door_id'), before_interval_m=[lo, hi], shared_wall_m=[seg_lo, seg_hi],
|
| 194 |
+
required_margin_m=round(margin, 4))
|
| 195 |
+
if seg_hi - seg_lo - 2 * margin < width - 1e-6:
|
| 196 |
+
changes.append(dict(record, status='unchanged_shared_wall_too_short'))
|
| 197 |
+
continue
|
| 198 |
+
center = min(max((lo + hi) / 2, seg_lo + margin + new_width / 2), seg_hi - margin - new_width / 2)
|
| 199 |
+
new = [round(center - new_width / 2, 4), round(center + new_width / 2, 4)]
|
| 200 |
+
clash = any(other is not door and _same_wall(door, other) and other.get('door_interval_m')
|
| 201 |
+
and min(new[1], other['door_interval_m'][1]) - max(new[0], other['door_interval_m'][0]) > -.10
|
| 202 |
+
for other in result.get('doors', []))
|
| 203 |
+
if clash:
|
| 204 |
+
changes.append(dict(record, status='unchanged_neighbour_door'))
|
| 205 |
+
continue
|
| 206 |
+
door['door_interval_m'] = new
|
| 207 |
+
for adjacency in result.get('topology_adjacencies', []):
|
| 208 |
+
if adjacency.get('door_id') and adjacency.get('door_id') == door.get('door_id'):
|
| 209 |
+
adjacency['door_interval_m'] = list(new)
|
| 210 |
+
changes.append(dict(record, status='adjusted', after_interval_m=new))
|
| 211 |
+
if changes:
|
| 212 |
+
result.setdefault('adaptive_shell_door_jambs', []).extend(changes)
|
| 213 |
+
return result
|
| 214 |
+
|
| 215 |
+
|
| 216 |
def _exterior_spans(plan, room, window, corner_margin_m=.2):
|
| 217 |
from engine.source.scripts.internal.scene_generation.window_rules import MIN_OPENING_GAP_M
|
| 218 |
|
code/robohome/src/build_native_shell_case.py
CHANGED
|
@@ -254,6 +254,8 @@ def prepare(args):
|
|
| 254 |
plan = restore_authored_openings(plan, authored_openings)
|
| 255 |
from engine.source.scripts.internal.scene_generation import window_rules
|
| 256 |
window_rules.annotate_plan(plan)
|
|
|
|
|
|
|
| 257 |
metric = native.build_metric_layout_contract_v14(plan)
|
| 258 |
try:
|
| 259 |
connectivity = validate_connectivity(plan, metric)
|
|
@@ -269,6 +271,7 @@ def prepare(args):
|
|
| 269 |
if any(remaining.values()):
|
| 270 |
plan = restore_authored_openings(plan, remaining)
|
| 271 |
window_rules.annotate_plan(plan)
|
|
|
|
| 272 |
metric = native.build_metric_layout_contract_v14(plan)
|
| 273 |
connectivity = validate_connectivity(plan, metric)
|
| 274 |
task = dict(task_kind='scene_generation', natural_language_task=text,
|
|
|
|
| 254 |
plan = restore_authored_openings(plan, authored_openings)
|
| 255 |
from engine.source.scripts.internal.scene_generation import window_rules
|
| 256 |
window_rules.annotate_plan(plan)
|
| 257 |
+
from adaptive_shell import ensure_door_jambs
|
| 258 |
+
plan = ensure_door_jambs(plan)
|
| 259 |
metric = native.build_metric_layout_contract_v14(plan)
|
| 260 |
try:
|
| 261 |
connectivity = validate_connectivity(plan, metric)
|
|
|
|
| 271 |
if any(remaining.values()):
|
| 272 |
plan = restore_authored_openings(plan, remaining)
|
| 273 |
window_rules.annotate_plan(plan)
|
| 274 |
+
plan = ensure_door_jambs(plan)
|
| 275 |
metric = native.build_metric_layout_contract_v14(plan)
|
| 276 |
connectivity = validate_connectivity(plan, metric)
|
| 277 |
task = dict(task_kind='scene_generation', natural_language_task=text,
|
code/robohome/src/conftest.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Import the same sibling modules used by the standalone engine workers."""
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
import os
|
| 4 |
+
import sys
|
| 5 |
+
|
| 6 |
+
root = Path(__file__).resolve().parent
|
| 7 |
+
native = root / 'engine/source/scripts/internal/scene_generation'
|
| 8 |
+
sys.path[:0] = [str(root), str(native / 'real_assets'), str(native),
|
| 9 |
+
str(root / 'engine'), str(root / 'engine/source')]
|
| 10 |
+
paths = [str(root), str(native / 'real_assets'), str(native),
|
| 11 |
+
str(root / 'engine'), str(root / 'engine/source')]
|
| 12 |
+
os.environ['PYTHONPATH'] = os.pathsep.join(paths + [os.environ.get('PYTHONPATH', '')])
|
code/robohome/src/engine/BASE_SHA256SUMS
CHANGED
|
@@ -108,7 +108,7 @@ f4b5758269d82de61302de1e68f90262be3aafa2eaf9c207fb576fddd9e41115 source/package
|
|
| 108 |
0e49c4c2f28d143919019830d92815434e1314b204c0773b0673bf596399e5ca source/packages/runtime/scenesmith_parallel.py
|
| 109 |
b2d4ed382c8410ed7bbd1a3410c015966297e35256dde6f8ead99c663cb6915e source/packages/runtime/scenesmith_process_bootstrap.py
|
| 110 |
18944adbe7dd4dac59bd972a964699e063beae2b0417986b539faa0fb4ee1eb1 source/packages/runtime/scenesmith_skill_policy.py
|
| 111 |
-
|
| 112 |
47242c36621a389a2cbada2f9fe9921f23303783d30daf8c18fb51effbe9afc5 source/packages/scenarios/__init__.py
|
| 113 |
a16c2b06cfdd40be7ec1837338ce59e564a972f54a1d83bfdba349188af0c8d6 source/packages/scenarios/router.py
|
| 114 |
90577bfab3efabb69dba76fa1c3f4d2d7549880456d72e6b057fe224422b6389 source/packages/scenarios/stair_room.py
|
|
@@ -280,7 +280,7 @@ d24e22a56d8cea283cd56c65fb8e85dd4263b0f3e8a3fcd4951a0423086705e4 source/scripts
|
|
| 280 |
c485ae689a8d5eaaced3895db857e47f2cd02c7220eb67b3d52542809ceccb04 source/scripts/internal/scene_generation/real_assets/door_motion_envelope.py
|
| 281 |
d3ec73279ee6c9a56529874196e14818102503a41550e04f2ceba333faba653d source/scripts/internal/scene_generation/real_assets/doorway_projection.py
|
| 282 |
f24b23c00bea9980115eea6178fe88136c2875fd7ae7f7df10fba209d5733ad3 source/scripts/internal/scene_generation/real_assets/eligible_candidate_request.py
|
| 283 |
-
|
| 284 |
afe5e769808c663b0de039553407df95cec9a91941e4c0c90375fe8df9f1b292 source/scripts/internal/scene_generation/real_assets/evidence/worktop_aperture_boundaries.json
|
| 285 |
bc87ce63f064e65bb1f556d24f635ec22c66e90fed94426752d8e3dbbc8c14fd source/scripts/internal/scene_generation/real_assets/export_door_physics.py
|
| 286 |
399fe698e5ea6cfd489106c445f47843da284d250946e3e5e1327ec612e26bf3 source/scripts/internal/scene_generation/real_assets/floor_body_geometry.py
|
|
@@ -294,7 +294,7 @@ bd18149957057333890f9e55628efea2b8afcd7a8c9bdcfe27716aff4491b4e4 source/scripts
|
|
| 294 |
ca743a5ae2f64a6de54a3fcba62eb831c139487eb02912b2fe5b5257ef199215 source/scripts/internal/scene_generation/real_assets/generation_task_plan.py
|
| 295 |
4188eb1932059bbe27ccc5e7327ad5425e6e5adf1e8ab5e2d162a0276913288d source/scripts/internal/scene_generation/real_assets/interior_material_evidence.py
|
| 296 |
37e4d705f3911141f2b68d0f1c6b06109010a88f919f6f09a91e2781a1b36e7c source/scripts/internal/scene_generation/real_assets/job_identity.py
|
| 297 |
-
|
| 298 |
e85af9ab9f4cde5823387c1ddf616f62d53b8ecb5713269eda5a0baa11a8ec39 source/scripts/internal/scene_generation/real_assets/joint_runtime.py
|
| 299 |
68478af6db81ee31c32e242b41a46dda560233bea43c306ca8a1bebe06415c58 source/scripts/internal/scene_generation/real_assets/kitchen_relations.py
|
| 300 |
60035a35c48e49c630f0ef983fa8c8a060a4a2ccb87c800c7cc1ea851340f949 source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py
|
|
@@ -347,7 +347,7 @@ e1b9b78b42402abed3fd3bfb39d3660eb8f3649889dc1a3814268bd2337d56f2 source/scripts
|
|
| 347 |
ef4ba27ea6edb622c9528b013699b5fbe6d438486012d31d6725ec2630698e40 source/scripts/internal/scene_generation/real_assets/stage_checkpoint.py
|
| 348 |
98ad15d3d8a8ab74c4664af2061e7807fd3ee7fbdebdaebfa83c0535c8aa4e60 source/scripts/internal/scene_generation/real_assets/storage_access.py
|
| 349 |
2dec290788810ae5aeb9601dfc6e60cf874666495f716b4bebd5d89d29e4eebc source/scripts/internal/scene_generation/real_assets/structural_finish_correction.py
|
| 350 |
-
|
| 351 |
2e962a707101c0fdc9f7a41a6eff845c5248e350a437aead98a8f671a41983b4 source/scripts/internal/scene_generation/real_assets/structural_material_selection.py
|
| 352 |
b2baca734a97744790cf829ce451251d9d99329d2609da717196b76a8fa0e27f source/scripts/internal/scene_generation/real_assets/style_attribute_consumer.py
|
| 353 |
c5eab42338767f0632360b89f757ec4be587a47abbe17ffac42e3c26892971b0 source/scripts/internal/scene_generation/real_assets/support_blueprint.py
|
|
@@ -450,7 +450,7 @@ bd1c8d151520945eadbf095cb553119fc07b8e10fbad4ad7b8807c0959c67f54 source/scripts
|
|
| 450 |
b66e2b1293c97cdf23bdd9fdce2605eb0e1dac53942efd847d53cb710c4953e3 source/scripts/internal/scene_generation/run_rhg_v16_21p_procedural_pure_scene_generation.py
|
| 451 |
6b6a3fbe0578d27b56e535b243d54c232201d6687353196e3d2689d9d2802d3a source/scripts/internal/scene_generation/run_rhg_v16_4_scene_generation_only.py
|
| 452 |
ac4d1c06a87ec7a561033619f3edac30b51d3471b2a50e9e42643614329411dd source/scripts/internal/scene_generation/shared_wall_geometry.py
|
| 453 |
-
|
| 454 |
7510f27cbc8689988fc98809f9188618a6cc0573e6c4223048a90bba61561730 source/scripts/internal/scene_generation/structural_surface_resolution.py
|
| 455 |
4a206768b25266587ee484702d73e6c830aaef37d4de8e949f41c60505313a87 source/scripts/internal/scene_generation/window_rules.py
|
| 456 |
0e56ba9bbd8a3a334f650eb2df30652db2c4d4fd5100f74c175ca3494ceaeb50 source/scripts/isaac_compile_native_scene.py
|
|
|
|
| 108 |
0e49c4c2f28d143919019830d92815434e1314b204c0773b0673bf596399e5ca source/packages/runtime/scenesmith_parallel.py
|
| 109 |
b2d4ed382c8410ed7bbd1a3410c015966297e35256dde6f8ead99c663cb6915e source/packages/runtime/scenesmith_process_bootstrap.py
|
| 110 |
18944adbe7dd4dac59bd972a964699e063beae2b0417986b539faa0fb4ee1eb1 source/packages/runtime/scenesmith_skill_policy.py
|
| 111 |
+
acd14715f1a854be26baeede228ca2aa7fb8a25f4c3e45bc991425516080c672 source/packages/runtime/stack_batch.py
|
| 112 |
47242c36621a389a2cbada2f9fe9921f23303783d30daf8c18fb51effbe9afc5 source/packages/scenarios/__init__.py
|
| 113 |
a16c2b06cfdd40be7ec1837338ce59e564a972f54a1d83bfdba349188af0c8d6 source/packages/scenarios/router.py
|
| 114 |
90577bfab3efabb69dba76fa1c3f4d2d7549880456d72e6b057fe224422b6389 source/packages/scenarios/stair_room.py
|
|
|
|
| 280 |
c485ae689a8d5eaaced3895db857e47f2cd02c7220eb67b3d52542809ceccb04 source/scripts/internal/scene_generation/real_assets/door_motion_envelope.py
|
| 281 |
d3ec73279ee6c9a56529874196e14818102503a41550e04f2ceba333faba653d source/scripts/internal/scene_generation/real_assets/doorway_projection.py
|
| 282 |
f24b23c00bea9980115eea6178fe88136c2875fd7ae7f7df10fba209d5733ad3 source/scripts/internal/scene_generation/real_assets/eligible_candidate_request.py
|
| 283 |
+
f3d6d8fa79874a59b526f1c16cd993c3f5d29658000dddb71f89bae02598b65a source/scripts/internal/scene_generation/real_assets/envelope_layout.py
|
| 284 |
afe5e769808c663b0de039553407df95cec9a91941e4c0c90375fe8df9f1b292 source/scripts/internal/scene_generation/real_assets/evidence/worktop_aperture_boundaries.json
|
| 285 |
bc87ce63f064e65bb1f556d24f635ec22c66e90fed94426752d8e3dbbc8c14fd source/scripts/internal/scene_generation/real_assets/export_door_physics.py
|
| 286 |
399fe698e5ea6cfd489106c445f47843da284d250946e3e5e1327ec612e26bf3 source/scripts/internal/scene_generation/real_assets/floor_body_geometry.py
|
|
|
|
| 294 |
ca743a5ae2f64a6de54a3fcba62eb831c139487eb02912b2fe5b5257ef199215 source/scripts/internal/scene_generation/real_assets/generation_task_plan.py
|
| 295 |
4188eb1932059bbe27ccc5e7327ad5425e6e5adf1e8ab5e2d162a0276913288d source/scripts/internal/scene_generation/real_assets/interior_material_evidence.py
|
| 296 |
37e4d705f3911141f2b68d0f1c6b06109010a88f919f6f09a91e2781a1b36e7c source/scripts/internal/scene_generation/real_assets/job_identity.py
|
| 297 |
+
2316c1ddb1b605a4d8708c416c07c3b386ad25d4c8111eb7f3e2d6c4f2fb824b source/scripts/internal/scene_generation/real_assets/joint_layout.py
|
| 298 |
e85af9ab9f4cde5823387c1ddf616f62d53b8ecb5713269eda5a0baa11a8ec39 source/scripts/internal/scene_generation/real_assets/joint_runtime.py
|
| 299 |
68478af6db81ee31c32e242b41a46dda560233bea43c306ca8a1bebe06415c58 source/scripts/internal/scene_generation/real_assets/kitchen_relations.py
|
| 300 |
60035a35c48e49c630f0ef983fa8c8a060a4a2ccb87c800c7cc1ea851340f949 source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py
|
|
|
|
| 347 |
ef4ba27ea6edb622c9528b013699b5fbe6d438486012d31d6725ec2630698e40 source/scripts/internal/scene_generation/real_assets/stage_checkpoint.py
|
| 348 |
98ad15d3d8a8ab74c4664af2061e7807fd3ee7fbdebdaebfa83c0535c8aa4e60 source/scripts/internal/scene_generation/real_assets/storage_access.py
|
| 349 |
2dec290788810ae5aeb9601dfc6e60cf874666495f716b4bebd5d89d29e4eebc source/scripts/internal/scene_generation/real_assets/structural_finish_correction.py
|
| 350 |
+
d3bb29b5f9c7ebc20e58026dee7c52f2a8ed64723ef17db09b3cfef2adb4c13f source/scripts/internal/scene_generation/real_assets/structural_material_application.py
|
| 351 |
2e962a707101c0fdc9f7a41a6eff845c5248e350a437aead98a8f671a41983b4 source/scripts/internal/scene_generation/real_assets/structural_material_selection.py
|
| 352 |
b2baca734a97744790cf829ce451251d9d99329d2609da717196b76a8fa0e27f source/scripts/internal/scene_generation/real_assets/style_attribute_consumer.py
|
| 353 |
c5eab42338767f0632360b89f757ec4be587a47abbe17ffac42e3c26892971b0 source/scripts/internal/scene_generation/real_assets/support_blueprint.py
|
|
|
|
| 450 |
b66e2b1293c97cdf23bdd9fdce2605eb0e1dac53942efd847d53cb710c4953e3 source/scripts/internal/scene_generation/run_rhg_v16_21p_procedural_pure_scene_generation.py
|
| 451 |
6b6a3fbe0578d27b56e535b243d54c232201d6687353196e3d2689d9d2802d3a source/scripts/internal/scene_generation/run_rhg_v16_4_scene_generation_only.py
|
| 452 |
ac4d1c06a87ec7a561033619f3edac30b51d3471b2a50e9e42643614329411dd source/scripts/internal/scene_generation/shared_wall_geometry.py
|
| 453 |
+
85855f9685341f5de52eb7de0e57d9d65b42003d1c6972fb3775f7fd2fb2c60c source/scripts/internal/scene_generation/shell_opening_geometry.py
|
| 454 |
7510f27cbc8689988fc98809f9188618a6cc0573e6c4223048a90bba61561730 source/scripts/internal/scene_generation/structural_surface_resolution.py
|
| 455 |
4a206768b25266587ee484702d73e6c830aaef37d4de8e949f41c60505313a87 source/scripts/internal/scene_generation/window_rules.py
|
| 456 |
0e56ba9bbd8a3a334f650eb2df30652db2c4d4fd5100f74c175ca3494ceaeb50 source/scripts/isaac_compile_native_scene.py
|
code/robohome/src/engine/REPAIR_V2_REVISION.json
CHANGED
|
@@ -157,7 +157,7 @@
|
|
| 157 |
"source/packages/runtime/scenesmith_parallel.py": "0e49c4c2f28d143919019830d92815434e1314b204c0773b0673bf596399e5ca",
|
| 158 |
"source/packages/runtime/scenesmith_process_bootstrap.py": "b2d4ed382c8410ed7bbd1a3410c015966297e35256dde6f8ead99c663cb6915e",
|
| 159 |
"source/packages/runtime/scenesmith_skill_policy.py": "18944adbe7dd4dac59bd972a964699e063beae2b0417986b539faa0fb4ee1eb1",
|
| 160 |
-
"source/packages/runtime/stack_batch.py": "
|
| 161 |
"source/packages/scenarios/__init__.py": "47242c36621a389a2cbada2f9fe9921f23303783d30daf8c18fb51effbe9afc5",
|
| 162 |
"source/packages/scenarios/router.py": "a16c2b06cfdd40be7ec1837338ce59e564a972f54a1d83bfdba349188af0c8d6",
|
| 163 |
"source/packages/scenarios/stair_room.py": "90577bfab3efabb69dba76fa1c3f4d2d7549880456d72e6b057fe224422b6389",
|
|
@@ -332,7 +332,7 @@
|
|
| 332 |
"source/scripts/internal/scene_generation/real_assets/generation_task_plan.py": "ca743a5ae2f64a6de54a3fcba62eb831c139487eb02912b2fe5b5257ef199215",
|
| 333 |
"source/scripts/internal/scene_generation/real_assets/interior_material_evidence.py": "4188eb1932059bbe27ccc5e7327ad5425e6e5adf1e8ab5e2d162a0276913288d",
|
| 334 |
"source/scripts/internal/scene_generation/real_assets/job_identity.py": "37e4d705f3911141f2b68d0f1c6b06109010a88f919f6f09a91e2781a1b36e7c",
|
| 335 |
-
"source/scripts/internal/scene_generation/real_assets/joint_layout.py": "
|
| 336 |
"source/scripts/internal/scene_generation/real_assets/joint_runtime.py": "e85af9ab9f4cde5823387c1ddf616f62d53b8ecb5713269eda5a0baa11a8ec39",
|
| 337 |
"source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py": "60035a35c48e49c630f0ef983fa8c8a060a4a2ccb87c800c7cc1ea851340f949",
|
| 338 |
"source/scripts/internal/scene_generation/real_assets/mdl_sdk_worker.py": "ec5a12d68ec5cf36a2ef1ba099dddf2ad259a9c7644528066e0786999a1b2149",
|
|
@@ -380,7 +380,7 @@
|
|
| 380 |
"source/scripts/internal/scene_generation/real_assets/stable_pipeline.py": "76bf8741ffe86f024d65f94f22d9f4ea8aa720b477b54947a30832c8b3097f34",
|
| 381 |
"source/scripts/internal/scene_generation/real_assets/stage_checkpoint.py": "ef4ba27ea6edb622c9528b013699b5fbe6d438486012d31d6725ec2630698e40",
|
| 382 |
"source/scripts/internal/scene_generation/real_assets/structural_finish_correction.py": "2dec290788810ae5aeb9601dfc6e60cf874666495f716b4bebd5d89d29e4eebc",
|
| 383 |
-
"source/scripts/internal/scene_generation/real_assets/structural_material_application.py": "
|
| 384 |
"source/scripts/internal/scene_generation/real_assets/structural_material_selection.py": "2e962a707101c0fdc9f7a41a6eff845c5248e350a437aead98a8f671a41983b4",
|
| 385 |
"source/scripts/internal/scene_generation/real_assets/style_attribute_consumer.py": "b2baca734a97744790cf829ce451251d9d99329d2609da717196b76a8fa0e27f",
|
| 386 |
"source/scripts/internal/scene_generation/real_assets/support_blueprint.py": "c5eab42338767f0632360b89f757ec4be587a47abbe17ffac42e3c26892971b0",
|
|
@@ -478,7 +478,7 @@
|
|
| 478 |
"source/scripts/internal/scene_generation/run_rhg_v16_21p_procedural_pure_scene_generation.py": "b66e2b1293c97cdf23bdd9fdce2605eb0e1dac53942efd847d53cb710c4953e3",
|
| 479 |
"source/scripts/internal/scene_generation/run_rhg_v16_4_scene_generation_only.py": "6b6a3fbe0578d27b56e535b243d54c232201d6687353196e3d2689d9d2802d3a",
|
| 480 |
"source/scripts/internal/scene_generation/shared_wall_geometry.py": "ac4d1c06a87ec7a561033619f3edac30b51d3471b2a50e9e42643614329411dd",
|
| 481 |
-
"source/scripts/internal/scene_generation/shell_opening_geometry.py": "
|
| 482 |
"source/scripts/isaac_compile_native_scene.py": "0e56ba9bbd8a3a334f650eb2df30652db2c4d4fd5100f74c175ca3494ceaeb50",
|
| 483 |
"source/scripts/isaac_validate_house_doors.py": "1a57dca01e7869c2ae16cd1b57238e1e3f6e0c7126b6a133bf9000af2decab37",
|
| 484 |
"source/scripts/isaac_validate_native_articulations.py": "6b688bac661fc88261dc1a67108156beabb64ee76fd0213a2af81e9eafa7623b",
|
|
@@ -579,7 +579,7 @@
|
|
| 579 |
"source/scripts/internal/scene_generation/real_assets/door_leaf_fallback.py": "53596d1d3d59041f5083331e89375bfa8c60ce721aa00121facd181c00898afb",
|
| 580 |
"source/scripts/internal/scene_generation/real_assets/required_passage.py": "0ef8b227e648f1bb63bfd9950803c52a0fe7e6631b6ad551331e30088b143cfb",
|
| 581 |
"source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py": "5edb5b8e56d2acccffa5788d505427aa998f3f7fe0566c7a857ea70d717d0a32",
|
| 582 |
-
"source/scripts/internal/scene_generation/real_assets/envelope_layout.py": "
|
| 583 |
"source/scripts/internal/scene_generation/real_assets/adaptive_relations.py": "521a1eed6258bca1ae1f942f5f19321bc79bce1bf91f7b15e37d2c1e0797f4cd",
|
| 584 |
"source/scripts/internal/scene_generation/real_assets/children_room_policy.py": "494fa3898a411b6054cda0de7f9a0b2631776594684eeec7d1a838519739c3a4",
|
| 585 |
"source/scripts/internal/scene_generation/real_assets/bedroom_relations.py": "14cd302bc033b690c348b79982b725e3e55eaf7e49488adfd39228b68b75d94c",
|
|
@@ -590,8 +590,8 @@
|
|
| 590 |
"source/scripts/internal/scene_generation/window_rules.py": "4a206768b25266587ee484702d73e6c830aaef37d4de8e949f41c60505313a87",
|
| 591 |
"source/scripts/internal/scene_generation/structural_surface_resolution.py": "7510f27cbc8689988fc98809f9188618a6cc0573e6c4223048a90bba61561730"
|
| 592 |
},
|
| 593 |
-
"inventory_sha256": "
|
| 594 |
-
"parent": "/path/to/external-data",
|
| 595 |
"parent_inventory_sha256": "a4c33512c0a59f37e4b65c923c82ef80eb74f90475612c9e28837a9906cc9c6c",
|
| 596 |
"qualification_claimed": false,
|
| 597 |
"removed_files": [],
|
|
@@ -887,6 +887,29 @@
|
|
| 887 |
"before": "35ebea1bbd4c605c32f0e9f630138cf4dea1618fceade1560a21903f6bcad3c9",
|
| 888 |
"after": "25de15d86384029b838bb2d83c5660e4ae519fd33ae38c36db63c82a8d6983f1",
|
| 889 |
"scope": "Double precision world-face center summation; unchanged 1e-5 metre geometric gate; real partition vertex error 0, surface vertex error 2.4e-7m; original float32 center error 1.34e-5m."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 890 |
}
|
| 891 |
},
|
| 892 |
"version": "residential-home-revision-20261113",
|
|
|
|
| 157 |
"source/packages/runtime/scenesmith_parallel.py": "0e49c4c2f28d143919019830d92815434e1314b204c0773b0673bf596399e5ca",
|
| 158 |
"source/packages/runtime/scenesmith_process_bootstrap.py": "b2d4ed382c8410ed7bbd1a3410c015966297e35256dde6f8ead99c663cb6915e",
|
| 159 |
"source/packages/runtime/scenesmith_skill_policy.py": "18944adbe7dd4dac59bd972a964699e063beae2b0417986b539faa0fb4ee1eb1",
|
| 160 |
+
"source/packages/runtime/stack_batch.py": "acd14715f1a854be26baeede228ca2aa7fb8a25f4c3e45bc991425516080c672",
|
| 161 |
"source/packages/scenarios/__init__.py": "47242c36621a389a2cbada2f9fe9921f23303783d30daf8c18fb51effbe9afc5",
|
| 162 |
"source/packages/scenarios/router.py": "a16c2b06cfdd40be7ec1837338ce59e564a972f54a1d83bfdba349188af0c8d6",
|
| 163 |
"source/packages/scenarios/stair_room.py": "90577bfab3efabb69dba76fa1c3f4d2d7549880456d72e6b057fe224422b6389",
|
|
|
|
| 332 |
"source/scripts/internal/scene_generation/real_assets/generation_task_plan.py": "ca743a5ae2f64a6de54a3fcba62eb831c139487eb02912b2fe5b5257ef199215",
|
| 333 |
"source/scripts/internal/scene_generation/real_assets/interior_material_evidence.py": "4188eb1932059bbe27ccc5e7327ad5425e6e5adf1e8ab5e2d162a0276913288d",
|
| 334 |
"source/scripts/internal/scene_generation/real_assets/job_identity.py": "37e4d705f3911141f2b68d0f1c6b06109010a88f919f6f09a91e2781a1b36e7c",
|
| 335 |
+
"source/scripts/internal/scene_generation/real_assets/joint_layout.py": "2316c1ddb1b605a4d8708c416c07c3b386ad25d4c8111eb7f3e2d6c4f2fb824b",
|
| 336 |
"source/scripts/internal/scene_generation/real_assets/joint_runtime.py": "e85af9ab9f4cde5823387c1ddf616f62d53b8ecb5713269eda5a0baa11a8ec39",
|
| 337 |
"source/scripts/internal/scene_generation/real_assets/layout_surface_feedback.py": "60035a35c48e49c630f0ef983fa8c8a060a4a2ccb87c800c7cc1ea851340f949",
|
| 338 |
"source/scripts/internal/scene_generation/real_assets/mdl_sdk_worker.py": "ec5a12d68ec5cf36a2ef1ba099dddf2ad259a9c7644528066e0786999a1b2149",
|
|
|
|
| 380 |
"source/scripts/internal/scene_generation/real_assets/stable_pipeline.py": "76bf8741ffe86f024d65f94f22d9f4ea8aa720b477b54947a30832c8b3097f34",
|
| 381 |
"source/scripts/internal/scene_generation/real_assets/stage_checkpoint.py": "ef4ba27ea6edb622c9528b013699b5fbe6d438486012d31d6725ec2630698e40",
|
| 382 |
"source/scripts/internal/scene_generation/real_assets/structural_finish_correction.py": "2dec290788810ae5aeb9601dfc6e60cf874666495f716b4bebd5d89d29e4eebc",
|
| 383 |
+
"source/scripts/internal/scene_generation/real_assets/structural_material_application.py": "d3bb29b5f9c7ebc20e58026dee7c52f2a8ed64723ef17db09b3cfef2adb4c13f",
|
| 384 |
"source/scripts/internal/scene_generation/real_assets/structural_material_selection.py": "2e962a707101c0fdc9f7a41a6eff845c5248e350a437aead98a8f671a41983b4",
|
| 385 |
"source/scripts/internal/scene_generation/real_assets/style_attribute_consumer.py": "b2baca734a97744790cf829ce451251d9d99329d2609da717196b76a8fa0e27f",
|
| 386 |
"source/scripts/internal/scene_generation/real_assets/support_blueprint.py": "c5eab42338767f0632360b89f757ec4be587a47abbe17ffac42e3c26892971b0",
|
|
|
|
| 478 |
"source/scripts/internal/scene_generation/run_rhg_v16_21p_procedural_pure_scene_generation.py": "b66e2b1293c97cdf23bdd9fdce2605eb0e1dac53942efd847d53cb710c4953e3",
|
| 479 |
"source/scripts/internal/scene_generation/run_rhg_v16_4_scene_generation_only.py": "6b6a3fbe0578d27b56e535b243d54c232201d6687353196e3d2689d9d2802d3a",
|
| 480 |
"source/scripts/internal/scene_generation/shared_wall_geometry.py": "ac4d1c06a87ec7a561033619f3edac30b51d3471b2a50e9e42643614329411dd",
|
| 481 |
+
"source/scripts/internal/scene_generation/shell_opening_geometry.py": "85855f9685341f5de52eb7de0e57d9d65b42003d1c6972fb3775f7fd2fb2c60c",
|
| 482 |
"source/scripts/isaac_compile_native_scene.py": "0e56ba9bbd8a3a334f650eb2df30652db2c4d4fd5100f74c175ca3494ceaeb50",
|
| 483 |
"source/scripts/isaac_validate_house_doors.py": "1a57dca01e7869c2ae16cd1b57238e1e3f6e0c7126b6a133bf9000af2decab37",
|
| 484 |
"source/scripts/isaac_validate_native_articulations.py": "6b688bac661fc88261dc1a67108156beabb64ee76fd0213a2af81e9eafa7623b",
|
|
|
|
| 579 |
"source/scripts/internal/scene_generation/real_assets/door_leaf_fallback.py": "53596d1d3d59041f5083331e89375bfa8c60ce721aa00121facd181c00898afb",
|
| 580 |
"source/scripts/internal/scene_generation/real_assets/required_passage.py": "0ef8b227e648f1bb63bfd9950803c52a0fe7e6631b6ad551331e30088b143cfb",
|
| 581 |
"source/scripts/internal/scene_generation/real_assets/residential_soft_layout.py": "5edb5b8e56d2acccffa5788d505427aa998f3f7fe0566c7a857ea70d717d0a32",
|
| 582 |
+
"source/scripts/internal/scene_generation/real_assets/envelope_layout.py": "f3d6d8fa79874a59b526f1c16cd993c3f5d29658000dddb71f89bae02598b65a",
|
| 583 |
"source/scripts/internal/scene_generation/real_assets/adaptive_relations.py": "521a1eed6258bca1ae1f942f5f19321bc79bce1bf91f7b15e37d2c1e0797f4cd",
|
| 584 |
"source/scripts/internal/scene_generation/real_assets/children_room_policy.py": "494fa3898a411b6054cda0de7f9a0b2631776594684eeec7d1a838519739c3a4",
|
| 585 |
"source/scripts/internal/scene_generation/real_assets/bedroom_relations.py": "14cd302bc033b690c348b79982b725e3e55eaf7e49488adfd39228b68b75d94c",
|
|
|
|
| 590 |
"source/scripts/internal/scene_generation/window_rules.py": "4a206768b25266587ee484702d73e6c830aaef37d4de8e949f41c60505313a87",
|
| 591 |
"source/scripts/internal/scene_generation/structural_surface_resolution.py": "7510f27cbc8689988fc98809f9188618a6cc0573e6c4223048a90bba61561730"
|
| 592 |
},
|
| 593 |
+
"inventory_sha256": "8d8f5ad25e00076bf73a647911720dd120c5183ec1556c29b071a6e84794ffcd",
|
| 594 |
+
"parent": "/path/to/external-data/data/tutu/robohomegen/generic_20261101/function_coverage_repair_20261102/engine",
|
| 595 |
"parent_inventory_sha256": "a4c33512c0a59f37e4b65c923c82ef80eb74f90475612c9e28837a9906cc9c6c",
|
| 596 |
"qualification_claimed": false,
|
| 597 |
"removed_files": [],
|
|
|
|
| 887 |
"before": "35ebea1bbd4c605c32f0e9f630138cf4dea1618fceade1560a21903f6bcad3c9",
|
| 888 |
"after": "25de15d86384029b838bb2d83c5660e4ae519fd33ae38c36db63c82a8d6983f1",
|
| 889 |
"scope": "Double precision world-face center summation; unchanged 1e-5 metre geometric gate; real partition vertex error 0, surface vertex error 2.4e-7m; original float32 center error 1.34e-5m."
|
| 890 |
+
},
|
| 891 |
+
"task_031_layout_and_structural_merge": {
|
| 892 |
+
"source_changes": {
|
| 893 |
+
"source/scripts/internal/scene_generation/real_assets/envelope_layout.py": {
|
| 894 |
+
"before": "e3826c6f4fcaffe03038aa4323540aad5fadd6372806485733552055e1a1b946",
|
| 895 |
+
"after": "f3d6d8fa79874a59b526f1c16cd993c3f5d29658000dddb71f89bae02598b65a"
|
| 896 |
+
},
|
| 897 |
+
"source/scripts/internal/scene_generation/real_assets/joint_layout.py": {
|
| 898 |
+
"before": "ec101afe49c96bc0a8c317de46360f5d484c0cdd6defdbf771753527e1888149",
|
| 899 |
+
"after": "2316c1ddb1b605a4d8708c416c07c3b386ad25d4c8111eb7f3e2d6c4f2fb824b"
|
| 900 |
+
},
|
| 901 |
+
"source/scripts/internal/scene_generation/real_assets/structural_material_application.py": {
|
| 902 |
+
"before": "16a5e1de26cacc13df60a2b6c4aed705e5d1b622edba774a38996091d1efed31",
|
| 903 |
+
"after": "d3bb29b5f9c7ebc20e58026dee7c52f2a8ed64723ef17db09b3cfef2adb4c13f"
|
| 904 |
+
},
|
| 905 |
+
"source/scripts/internal/scene_generation/shell_opening_geometry.py": {
|
| 906 |
+
"before": "d20e9a166c1bef2e0614341c49aab65f01b37cb578a4546ad364c8b9bcdd58f8",
|
| 907 |
+
"after": "85855f9685341f5de52eb7de0e57d9d65b42003d1c6972fb3775f7fd2fb2c60c"
|
| 908 |
+
}
|
| 909 |
+
},
|
| 910 |
+
"scope": "Merge of 025 (kitchen/bath/living search order + memoized coffee-table forward check keyed by all assignments), 028 (exact surface distance; closed-mesh opening rays by double-precision crossing pairing, legacy path for open meshes) and 029 (envelope node budget 40000, native-size envelope retry, 0.60 m tall-furniture window keep-out from the inner wall face). 032: deep-sofa coffee-table legroom (0.25-0.60 m to the sofa outline) and door jamb margin in adaptive_shell. 033: joint_layout no longer imports PyYAML at module load (Blender saved-geometry audit). 034: compact-kitchen runtime hint set after the frozen-plan fingerprint (layout recovery window readback); dataset bins by actual room area.",
|
| 911 |
+
"physical_acceptance_changed": false,
|
| 912 |
+
"qualification_claimed": false
|
| 913 |
}
|
| 914 |
},
|
| 915 |
"version": "residential-home-revision-20261113",
|
code/robohome/src/engine/source/packages/runtime/stack_batch.py
CHANGED
|
@@ -3,6 +3,9 @@ from __future__ import annotations
|
|
| 3 |
import time
|
| 4 |
from collections.abc import Callable
|
| 5 |
from dataclasses import dataclass
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
@dataclass(frozen=True, slots=True)
|
|
@@ -13,8 +16,8 @@ class StackJob:
|
|
| 13 |
bbox_max_xy: tuple[float, float]
|
| 14 |
|
| 15 |
|
| 16 |
-
@dataclass(frozen=True
|
| 17 |
-
class StackBatchResult[T]:
|
| 18 |
values: dict[str, T]
|
| 19 |
batches: list[dict[str, object]]
|
| 20 |
|
|
@@ -43,7 +46,7 @@ def group_stack_jobs(jobs: list[StackJob], margin_m: float = 0.05) -> list[list[
|
|
| 43 |
return sorted(groups, key=lambda group: group[0].stack_id)
|
| 44 |
|
| 45 |
|
| 46 |
-
def run_stack_batches
|
| 47 |
groups: list[list[StackJob]],
|
| 48 |
run_batch: Callable[[list[StackJob]], dict[str, T]],
|
| 49 |
) -> StackBatchResult[T]:
|
|
|
|
| 3 |
import time
|
| 4 |
from collections.abc import Callable
|
| 5 |
from dataclasses import dataclass
|
| 6 |
+
from typing import Generic, TypeVar
|
| 7 |
+
|
| 8 |
+
T = TypeVar('T')
|
| 9 |
|
| 10 |
|
| 11 |
@dataclass(frozen=True, slots=True)
|
|
|
|
| 16 |
bbox_max_xy: tuple[float, float]
|
| 17 |
|
| 18 |
|
| 19 |
+
@dataclass(frozen=True)
|
| 20 |
+
class StackBatchResult(Generic[T]):
|
| 21 |
values: dict[str, T]
|
| 22 |
batches: list[dict[str, object]]
|
| 23 |
|
|
|
|
| 46 |
return sorted(groups, key=lambda group: group[0].stack_id)
|
| 47 |
|
| 48 |
|
| 49 |
+
def run_stack_batches(
|
| 50 |
groups: list[list[StackJob]],
|
| 51 |
run_batch: Callable[[list[StackJob]], dict[str, T]],
|
| 52 |
) -> StackBatchResult[T]:
|
code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/envelope_layout.py
CHANGED
|
@@ -31,6 +31,7 @@ ROBOT_RADIUS_M = RULES.c('ROBOT_RADIUS_M') # G1 body: a passage must be at
|
|
| 31 |
CARRY_RADIUS_M = RULES.c('CARRY_RADIUS_M') # carrying a 0.55 m wide load; tried first, the body radius is the fallback
|
| 32 |
WALK_TOP_M = RULES.c('WALK_TOP_M') # furniture below this height blocks walking
|
| 33 |
DOOR_PROBE_M = RULES.c('DOOR_PROBE_M') # a door counts as reached by the cell this far inside the room
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
def up(value, step=STEP):
|
|
@@ -241,7 +242,7 @@ def corner_poses(grid, w, d):
|
|
| 241 |
|
| 242 |
class Solver:
|
| 243 |
def __init__(self, room, plan, entities, node_budget=40000, step=STEP, relations=None, pool_sizes=None, radius=ROBOT_RADIUS_M,
|
| 244 |
-
rules=None, access_width=None):
|
| 245 |
self.rules = rules or RULES
|
| 246 |
self.specs = self.rules.specs
|
| 247 |
self.room, self.plan = room, plan
|
|
@@ -261,6 +262,7 @@ class Solver:
|
|
| 261 |
for e in entities for s in [self.semantic_by_id[e['entity_id']]] if s in self.specs}
|
| 262 |
self.relations = relations or {}
|
| 263 |
self.pool_sizes = pool_sizes or {}
|
|
|
|
| 264 |
self.check_passage = True
|
| 265 |
self.radius = radius
|
| 266 |
self.access_width = access_width # GEN-07/GEN-08 path width of the access check (None: no check, profile current)
|
|
@@ -309,6 +311,7 @@ class Solver:
|
|
| 309 |
box = (lo, g.y0, 0., hi, g.y0 + width, top) if low else (lo, g.y1 - width, 0., hi, g.y1, top)
|
| 310 |
g.reserve(box, 'door')
|
| 311 |
depth, margin = self.rules.c('WINDOW_ZONE_DEPTH_M'), self.rules.c('WINDOW_SILL_MARGIN_M')
|
|
|
|
| 312 |
for win in self.plan.get('windows', []):
|
| 313 |
if win.get('room_id') != rid:
|
| 314 |
continue
|
|
@@ -317,16 +320,23 @@ class Solver:
|
|
| 317 |
line = win['wall_line_m']
|
| 318 |
if win.get('wall_orientation') == 'V':
|
| 319 |
low = abs(line - x0) < abs(line - x1)
|
| 320 |
-
box = (g.x0, lo, sill, g.x0 +
|
| 321 |
else:
|
| 322 |
low = abs(line - y0) < abs(line - y1)
|
| 323 |
-
box = (lo, g.y0, sill, hi, g.y0 +
|
| 324 |
g.reserve(box, 'window')
|
| 325 |
|
| 326 |
-
def size_options(self, spec, semantic):
|
| 327 |
"""Preferred sizes in order. With a candidate pool, keep only the sizes some pooled asset can fill, so the envelope is never emptier
|
| 328 |
than min_fill. A pooled asset larger than every prior (up to 1.3x) adds an envelope of its own size as a last option: the piece can
|
| 329 |
still be placed when the room has the space, and a room that cannot host it fails here, before any search on real assets."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
pool = self.pool_sizes.get(semantic)
|
| 331 |
if not pool:
|
| 332 |
return spec['sizes']
|
|
@@ -551,7 +561,7 @@ class Solver:
|
|
| 551 |
# ---- candidate poses of one piece
|
| 552 |
def candidates(self, spec, eid, semantic):
|
| 553 |
g = self.grid
|
| 554 |
-
for size in self.size_options(spec, semantic):
|
| 555 |
w, d, h = (up(size[0]), up(size[1]), size[2])
|
| 556 |
mount = spec['mount']
|
| 557 |
if mount == 'ceiling':
|
|
@@ -712,6 +722,27 @@ class Solver:
|
|
| 712 |
boxes.append((x0, y0 - depth, 0., x1, y0, top))
|
| 713 |
return boxes
|
| 714 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 715 |
def side_access(self, spec, e):
|
| 716 |
"""A bed keeps one long side open along its foot (the head end is left to the bedside table)."""
|
| 717 |
need = spec.get('side_access')
|
|
@@ -759,6 +790,8 @@ class Solver:
|
|
| 759 |
self.failure = 'node_budget_exhausted'
|
| 760 |
return False
|
| 761 |
ignore = ('window',) if semantic == 'shower' else () # a shower cabin may stand under a high bathroom window (sill 1.5 m)
|
|
|
|
|
|
|
| 762 |
if spec['mount'] == 'inset':
|
| 763 |
ignore = ('window',) # an inset is part of the counter top, which may run under a window
|
| 764 |
if spec.get('around'):
|
|
@@ -1000,14 +1033,15 @@ def attempts(room, rules):
|
|
| 1000 |
return [(radii[0], w_main), (radii[1], w_min)] # preferred (soft), then the audit's fail threshold (hard)
|
| 1001 |
|
| 1002 |
|
| 1003 |
-
def layout_room(room, plan, entities, node_budget=40000, relations=None, pool_sizes=None, rules=None
|
|
|
|
| 1004 |
rules = rules or RULES
|
| 1005 |
order = plan_order(entities, rules)
|
| 1006 |
start = time.monotonic()
|
| 1007 |
# Leave room for a 0.55 m wide load between the doors when the room allows it; otherwise settle for a body (0.35 m).
|
| 1008 |
for radius, width in attempts(room, rules):
|
| 1009 |
solver = Solver(room, plan, entities, node_budget, relations=relations, pool_sizes=pool_sizes, radius=radius, rules=rules,
|
| 1010 |
-
access_width=width)
|
| 1011 |
ok = solver.solve(order)
|
| 1012 |
if ok:
|
| 1013 |
break
|
|
@@ -1147,9 +1181,10 @@ def apply_to_entities(entities, plan, relations=None, candidates_by_entity=None,
|
|
| 1147 |
Only center, contract yaw and wall anchor change: the chain's own joint search still runs on real assets and treats these as ordering
|
| 1148 |
preferences. A room is left untouched when any of its entities is frozen, or when the envelopes do not all fit. `profile` selects the
|
| 1149 |
rule table profile (layout_rules.yaml; default current). An inset (sink or cooktop in a counter) only gets its centre and yaw: the
|
| 1150 |
-
support search places it on the counter, so it gets no size contract (_envelope_m). When
|
| 1151 |
-
|
| 1152 |
-
|
|
|
|
| 1153 |
rules = layout_rules.load(profile or 'current')
|
| 1154 |
frozen = set(frozen or ())
|
| 1155 |
rel = {r['subject']: (r['object'], r.get('minimum_m', r.get('min')), r.get('maximum_m', r.get('max')))
|
|
@@ -1174,6 +1209,28 @@ def apply_to_entities(entities, plan, relations=None, candidates_by_entity=None,
|
|
| 1174 |
if boxes:
|
| 1175 |
pools.setdefault(sem, []).extend(boxes)
|
| 1176 |
result = layout_room(room, plan, members, node_budget, rel, pools, rules=rules)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1177 |
status = 'placed' if not result['unplaced'] else 'incomplete'
|
| 1178 |
report['rooms'][rid] = dict(status=status, nodes=result['nodes'], elapsed_s=result['elapsed_s'], failure=result['failure'],
|
| 1179 |
unplaced=result['unplaced'])
|
|
@@ -1189,14 +1246,15 @@ def apply_to_entities(entities, plan, relations=None, candidates_by_entity=None,
|
|
| 1189 |
continue
|
| 1190 |
if env.mount != 'inset' and candidates_by_entity is not None:
|
| 1191 |
selected = candidates_by_entity.get(eid, [])
|
|
|
|
| 1192 |
incompatible = [c for c in selected if not fits_envelope(c, (env.w, env.d, env.h))]
|
| 1193 |
-
if not selected or
|
| 1194 |
report.setdefault('envelope_size_skipped', []).append(dict(
|
| 1195 |
entity_id=eid, envelope_m=[env.w, env.d, env.h],
|
| 1196 |
reason='selected_native_size_exceeds_envelope' if incompatible else 'candidate_size_unknown',
|
| 1197 |
incompatible_candidates=[dict(asset_id=c.get('asset_id'), native_box_m=list(_asset_box(c)))
|
| 1198 |
for c in incompatible],
|
| 1199 |
-
action='
|
| 1200 |
report['untouched'].append(eid)
|
| 1201 |
continue
|
| 1202 |
entity['center_xy_m'] = [round(env.center[0], 5), round(env.center[1], 5)]
|
|
|
|
| 31 |
CARRY_RADIUS_M = RULES.c('CARRY_RADIUS_M') # carrying a 0.55 m wide load; tried first, the body radius is the fallback
|
| 32 |
WALK_TOP_M = RULES.c('WALK_TOP_M') # furniture below this height blocks walking
|
| 33 |
DOOR_PROBE_M = RULES.c('DOOR_PROBE_M') # a door counts as reached by the cell this far inside the room
|
| 34 |
+
WINDOW_TALL_KEEPOUT_M = RULES.c('WINDOW_TALL_KEEPOUT_M')
|
| 35 |
|
| 36 |
|
| 37 |
def up(value, step=STEP):
|
|
|
|
| 242 |
|
| 243 |
class Solver:
|
| 244 |
def __init__(self, room, plan, entities, node_budget=40000, step=STEP, relations=None, pool_sizes=None, radius=ROBOT_RADIUS_M,
|
| 245 |
+
rules=None, access_width=None, native_size_overrides=None):
|
| 246 |
self.rules = rules or RULES
|
| 247 |
self.specs = self.rules.specs
|
| 248 |
self.room, self.plan = room, plan
|
|
|
|
| 262 |
for e in entities for s in [self.semantic_by_id[e['entity_id']]] if s in self.specs}
|
| 263 |
self.relations = relations or {}
|
| 264 |
self.pool_sizes = pool_sizes or {}
|
| 265 |
+
self.native_size_overrides = native_size_overrides or {}
|
| 266 |
self.check_passage = True
|
| 267 |
self.radius = radius
|
| 268 |
self.access_width = access_width # GEN-07/GEN-08 path width of the access check (None: no check, profile current)
|
|
|
|
| 311 |
box = (lo, g.y0, 0., hi, g.y0 + width, top) if low else (lo, g.y1 - width, 0., hi, g.y1, top)
|
| 312 |
g.reserve(box, 'door')
|
| 313 |
depth, margin = self.rules.c('WINDOW_ZONE_DEPTH_M'), self.rules.c('WINDOW_SILL_MARGIN_M')
|
| 314 |
+
tall_depth = max(depth, self.rules.c('WINDOW_TALL_KEEPOUT_M'))
|
| 315 |
for win in self.plan.get('windows', []):
|
| 316 |
if win.get('room_id') != rid:
|
| 317 |
continue
|
|
|
|
| 320 |
line = win['wall_line_m']
|
| 321 |
if win.get('wall_orientation') == 'V':
|
| 322 |
low = abs(line - x0) < abs(line - x1)
|
| 323 |
+
box = (g.x0, lo, sill, g.x0 + tall_depth, hi, head) if low else (g.x1 - tall_depth, lo, sill, g.x1, hi, head)
|
| 324 |
else:
|
| 325 |
low = abs(line - y0) < abs(line - y1)
|
| 326 |
+
box = (lo, g.y0, sill, hi, g.y0 + tall_depth, head) if low else (lo, g.y1 - tall_depth, sill, hi, g.y1, head)
|
| 327 |
g.reserve(box, 'window')
|
| 328 |
|
| 329 |
+
def size_options(self, spec, semantic, eid=None):
|
| 330 |
"""Preferred sizes in order. With a candidate pool, keep only the sizes some pooled asset can fill, so the envelope is never emptier
|
| 331 |
than min_fill. A pooled asset larger than every prior (up to 1.3x) adds an envelope of its own size as a last option: the piece can
|
| 332 |
still be placed when the room has the space, and a room that cannot host it fails here, before any search on real assets."""
|
| 333 |
+
forced = self.native_size_overrides.get(eid) if eid is not None else None
|
| 334 |
+
if forced is not None:
|
| 335 |
+
return list(dict.fromkeys(
|
| 336 |
+
(round(up(float(size[0]) + 0.02), 4),
|
| 337 |
+
round(up(float(size[1]) + 0.02), 4),
|
| 338 |
+
round(float(size[2]) + 0.02, 4))
|
| 339 |
+
for size in forced))
|
| 340 |
pool = self.pool_sizes.get(semantic)
|
| 341 |
if not pool:
|
| 342 |
return spec['sizes']
|
|
|
|
| 561 |
# ---- candidate poses of one piece
|
| 562 |
def candidates(self, spec, eid, semantic):
|
| 563 |
g = self.grid
|
| 564 |
+
for size in self.size_options(spec, semantic, eid):
|
| 565 |
w, d, h = (up(size[0]), up(size[1]), size[2])
|
| 566 |
mount = spec['mount']
|
| 567 |
if mount == 'ceiling':
|
|
|
|
| 722 |
boxes.append((x0, y0 - depth, 0., x1, y0, top))
|
| 723 |
return boxes
|
| 724 |
|
| 725 |
+
def compact_fridge_window_exception(self, semantic, env):
|
| 726 |
+
"""Keep the compact-kitchen refrigerator exception aligned with the native search."""
|
| 727 |
+
config = self.plan.get('_compact_kitchen') or {}
|
| 728 |
+
if semantic != 'refrigerator' or not isinstance(config, dict) or config.get('level') != 3:
|
| 729 |
+
return False
|
| 730 |
+
if self.room['room_id'] not in (config.get('room_ids') or []):
|
| 731 |
+
return False
|
| 732 |
+
box = env.rect()
|
| 733 |
+
for window in self.plan.get('windows', []):
|
| 734 |
+
if window.get('room_id') != self.room['room_id']:
|
| 735 |
+
continue
|
| 736 |
+
axis = 0 if window.get('wall_orientation') == 'H' else 1
|
| 737 |
+
lo, hi = window.get('window_interval_m', (0., 0.))
|
| 738 |
+
overlap = min(hi, box[axis + 2]) - max(lo, box[axis])
|
| 739 |
+
if overlap <= .001:
|
| 740 |
+
continue
|
| 741 |
+
visible = max(float(hi) - float(lo), 1e-9)
|
| 742 |
+
if overlap <= visible / 3. + 1e-9:
|
| 743 |
+
return True
|
| 744 |
+
return False
|
| 745 |
+
|
| 746 |
def side_access(self, spec, e):
|
| 747 |
"""A bed keeps one long side open along its foot (the head end is left to the bedside table)."""
|
| 748 |
need = spec.get('side_access')
|
|
|
|
| 790 |
self.failure = 'node_budget_exhausted'
|
| 791 |
return False
|
| 792 |
ignore = ('window',) if semantic == 'shower' else () # a shower cabin may stand under a high bathroom window (sill 1.5 m)
|
| 793 |
+
if self.compact_fridge_window_exception(semantic, env):
|
| 794 |
+
ignore = ignore + ('window',)
|
| 795 |
if spec['mount'] == 'inset':
|
| 796 |
ignore = ('window',) # an inset is part of the counter top, which may run under a window
|
| 797 |
if spec.get('around'):
|
|
|
|
| 1033 |
return [(radii[0], w_main), (radii[1], w_min)] # preferred (soft), then the audit's fail threshold (hard)
|
| 1034 |
|
| 1035 |
|
| 1036 |
+
def layout_room(room, plan, entities, node_budget=40000, relations=None, pool_sizes=None, rules=None,
|
| 1037 |
+
native_size_overrides=None):
|
| 1038 |
rules = rules or RULES
|
| 1039 |
order = plan_order(entities, rules)
|
| 1040 |
start = time.monotonic()
|
| 1041 |
# Leave room for a 0.55 m wide load between the doors when the room allows it; otherwise settle for a body (0.35 m).
|
| 1042 |
for radius, width in attempts(room, rules):
|
| 1043 |
solver = Solver(room, plan, entities, node_budget, relations=relations, pool_sizes=pool_sizes, radius=radius, rules=rules,
|
| 1044 |
+
access_width=width, native_size_overrides=native_size_overrides)
|
| 1045 |
ok = solver.solve(order)
|
| 1046 |
if ok:
|
| 1047 |
break
|
|
|
|
| 1181 |
Only center, contract yaw and wall anchor change: the chain's own joint search still runs on real assets and treats these as ordering
|
| 1182 |
preferences. A room is left untouched when any of its entities is frozen, or when the envelopes do not all fit. `profile` selects the
|
| 1183 |
rule table profile (layout_rules.yaml; default current). An inset (sink or cooktop in a counter) only gets its centre and yaw: the
|
| 1184 |
+
support search places it on the counter, so it gets no size contract (_envelope_m). When a selected native asset is larger than its
|
| 1185 |
+
first envelope, the room is retried with that asset's measured box as the envelope. If that retry cannot place the room, a candidate
|
| 1186 |
+
that fits the original envelope is allowed to keep the procedural pose; only an entity with no fitting candidate is left untouched and
|
| 1187 |
+
reported. The joint search and saved-geometry acceptance remain authoritative. Returns a report."""
|
| 1188 |
rules = layout_rules.load(profile or 'current')
|
| 1189 |
frozen = set(frozen or ())
|
| 1190 |
rel = {r['subject']: (r['object'], r.get('minimum_m', r.get('min')), r.get('maximum_m', r.get('max')))
|
|
|
|
| 1209 |
if boxes:
|
| 1210 |
pools.setdefault(sem, []).extend(boxes)
|
| 1211 |
result = layout_room(room, plan, members, node_budget, rel, pools, rules=rules)
|
| 1212 |
+
native_retry = {}
|
| 1213 |
+
fitting_by_entity = {}
|
| 1214 |
+
if not result['unplaced'] and candidates_by_entity is not None:
|
| 1215 |
+
for eid, env in result['envelopes'].items():
|
| 1216 |
+
if env.mount == 'inset':
|
| 1217 |
+
continue
|
| 1218 |
+
candidates = candidates_by_entity.get(eid, [])
|
| 1219 |
+
fitting = [c for c in candidates if fits_envelope(c, (env.w, env.d, env.h))]
|
| 1220 |
+
fitting_by_entity[eid] = fitting
|
| 1221 |
+
oversized = [c for c in candidates if c.get('dimensions_m') and not fits_envelope(c, (env.w, env.d, env.h))]
|
| 1222 |
+
if oversized:
|
| 1223 |
+
native_retry[eid] = [_asset_box(c) for c in oversized]
|
| 1224 |
+
if native_retry:
|
| 1225 |
+
retried = layout_room(room, plan, members, node_budget, rel, pools, rules=rules,
|
| 1226 |
+
native_size_overrides=native_retry)
|
| 1227 |
+
if not retried['unplaced']:
|
| 1228 |
+
result = retried
|
| 1229 |
+
report.setdefault('native_size_retries', []).append(dict(room_id=rid, entities=sorted(native_retry), status='placed',
|
| 1230 |
+
nodes=retried['nodes'], elapsed_s=retried['elapsed_s']))
|
| 1231 |
+
else:
|
| 1232 |
+
report.setdefault('native_size_retries', []).append(dict(room_id=rid, entities=sorted(native_retry), status='infeasible',
|
| 1233 |
+
nodes=retried['nodes'], elapsed_s=retried['elapsed_s'], failure=retried['failure']))
|
| 1234 |
status = 'placed' if not result['unplaced'] else 'incomplete'
|
| 1235 |
report['rooms'][rid] = dict(status=status, nodes=result['nodes'], elapsed_s=result['elapsed_s'], failure=result['failure'],
|
| 1236 |
unplaced=result['unplaced'])
|
|
|
|
| 1246 |
continue
|
| 1247 |
if env.mount != 'inset' and candidates_by_entity is not None:
|
| 1248 |
selected = candidates_by_entity.get(eid, [])
|
| 1249 |
+
fitting = [c for c in selected if fits_envelope(c, (env.w, env.d, env.h))]
|
| 1250 |
incompatible = [c for c in selected if not fits_envelope(c, (env.w, env.d, env.h))]
|
| 1251 |
+
if not selected or not fitting:
|
| 1252 |
report.setdefault('envelope_size_skipped', []).append(dict(
|
| 1253 |
entity_id=eid, envelope_m=[env.w, env.d, env.h],
|
| 1254 |
reason='selected_native_size_exceeds_envelope' if incompatible else 'candidate_size_unknown',
|
| 1255 |
incompatible_candidates=[dict(asset_id=c.get('asset_id'), native_box_m=list(_asset_box(c)))
|
| 1256 |
for c in incompatible],
|
| 1257 |
+
action='retain_original_entity_preferences_after_native_size_retry'))
|
| 1258 |
report['untouched'].append(eid)
|
| 1259 |
continue
|
| 1260 |
entity['center_xy_m'] = [round(env.center[0], 5), round(env.center[1], 5)]
|
code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/joint_layout.py
CHANGED
|
@@ -24,6 +24,9 @@ from semantic_eligibility import candidate_suitability, source_semantic_evidence
|
|
| 24 |
from repair_constraints import RepairConstraints, restore_authored_support, floor_cover_inputs
|
| 25 |
|
| 26 |
_SUPPORT_CONTACT_PRIORITIES={}
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
def _search_grid_step(search, key='grid_step_m', *, allow_zero=False, default=.4):
|
|
@@ -196,6 +199,56 @@ def _footprint_bounds(points, entity):
|
|
| 196 |
return [min(p[i] for p in world) for i in (0,1)]+[max(p[i] for p in world) for i in (0,1)]
|
| 197 |
|
| 198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
# Search tests the same footprint at the same pose many times (assigned furniture is
|
| 200 |
# re-measured for every candidate pose). The key holds every value _footprint_bounds
|
| 201 |
# reads, by content, so a hit returns the result of the identical computation.
|
|
@@ -324,7 +377,9 @@ def load_request(path):
|
|
| 324 |
'critical_boundary_poses':True,'chair_tangent_offsets_m':[0,-.1,.1,-.2,.2,-.3,.3],
|
| 325 |
'rug_center_offsets_m':[0,-.1,.1,-.2,.2,-.3,.3],
|
| 326 |
'living_wall_pair_ordering':True,'living_tv_pair_ordering':True,
|
| 327 |
-
'living_tv_pose_memo':True
|
|
|
|
|
|
|
| 328 |
search.setdefault(key,value)
|
| 329 |
_search_grid_step(search)
|
| 330 |
_search_grid_step(search,'fine_grid_step_m',allow_zero=True,default=.2)
|
|
@@ -397,10 +452,20 @@ def relation_errors(poses, relations):
|
|
| 397 |
forward = -dx*f[0]-dy*f[1]
|
| 398 |
lateral = abs(dx*f[1]-dy*f[0])
|
| 399 |
ok = forward > 0 and lateral <= relation.get('lateral_tolerance_m',.6)
|
|
|
|
|
|
|
|
|
|
| 400 |
elif kind == 'near':
|
| 401 |
ok = distance <= relation['maximum_m']
|
| 402 |
elif kind == 'distance':
|
| 403 |
ok = relation['minimum_m'] <= distance <= relation['maximum_m']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 404 |
else:
|
| 405 |
raise ValueError('Unsupported relation '+kind)
|
| 406 |
if not ok:
|
|
@@ -569,6 +634,110 @@ def _living_search_enabled(request, key):
|
|
| 569 |
return bool(search.get(key,True))
|
| 570 |
|
| 571 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 572 |
def _living_wall_side(entity):
|
| 573 |
role=str(entity.get('role',''))
|
| 574 |
category=str(entity.get('category',''))
|
|
@@ -1432,7 +1601,18 @@ def placement_errors(pose, assigned, plan, relations, relation_cache=None, floor
|
|
| 1432 |
base=pose.get('base_z_m',0)
|
| 1433 |
from functional_layout import window_overlap_allowance, compact_kitchen_level
|
| 1434 |
tall=min(base+pose['dimensions_m'][2]-window_overlap_allowance(pose),visible_top)-max(base,visible_bottom)>.001
|
| 1435 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1436 |
compact_fridge=(pose.get('role')=='refrigerator' and compact_kitchen_level(pose,compact_kitchen)>=3
|
| 1437 |
and overlap_width<=(visible_hi-visible_lo)/3.+1e-9)
|
| 1438 |
if (full_overlap and same_wall and pose.get('role')=='bed') or (overlaps and near and tall and not compact_fridge):
|
|
@@ -1555,6 +1735,9 @@ def solve(manifest,candidates,request,output,attribute_reader=None,committed_cou
|
|
| 1555 |
if constraints.enabled and request.get('floor_cover_policy')=='measured_support':
|
| 1556 |
restore_authored_support(entities)
|
| 1557 |
original_plan_sha256=fingerprint(plan)
|
|
|
|
|
|
|
|
|
|
| 1558 |
from floor_body_geometry import load as load_floor_bodies,attach as attach_floor_body
|
| 1559 |
floor_bodies=load_floor_bodies(request.get('floor_body_geometry_index'))
|
| 1560 |
plan['_floor_body_required']=bool(request.get('floor_body_geometry_index'))
|
|
@@ -1622,7 +1805,7 @@ def solve(manifest,candidates,request,output,attribute_reader=None,committed_cou
|
|
| 1622 |
'distinct_assets_guaranteed':False}
|
| 1623 |
from layout_surface_feedback import load as load_surfaces,attach as attach_surface
|
| 1624 |
surfaces=load_surfaces(request)
|
| 1625 |
-
domains={};counter=Counter();chosen={};assignments={};contact_cache={};static_dead={};living_tv_dead={}
|
| 1626 |
floor_contact_cache=(None if os.environ.get('RHG_FLOOR_CONTACT_CACHE')=='off' else
|
| 1627 |
dict(items={},hits=0,misses=0,verified=0,verify=os.environ.get('RHG_FLOOR_CONTACT_CACHE_VERIFY')=='1'))
|
| 1628 |
static_dead_frames=Counter();static_alive=set() # [claude C14] per (entity, asset)
|
|
@@ -1864,6 +2047,47 @@ def solve(manifest,candidates,request,output,attribute_reader=None,committed_cou
|
|
| 1864 |
stats['budget_reason']=reason
|
| 1865 |
stats['assignment_at_budget']={k:{f:v.get(f) for f in ('asset_id','center_xy_m','dimensions_m','yaw_deg','base_z_m','wall_anchor','binding_semantic_key')} for k,v in assignments.items() if v['room_id']==room['room_id']}
|
| 1866 |
return False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1867 |
def search(pending):
|
| 1868 |
if stats.get('abort_dead_pair'):return False
|
| 1869 |
if soft_stopped():return False
|
|
@@ -1920,11 +2144,19 @@ def solve(manifest,candidates,request,output,attribute_reader=None,committed_cou
|
|
| 1920 |
from functional_layout import dependency_ready,order_priority
|
| 1921 |
available=[e for e in pending if dependency_ready(e,assignments)]
|
| 1922 |
if not available:raise JointLayoutFailure('Support cycle or cross-room parent')
|
|
|
|
|
|
|
| 1923 |
def priority(e):
|
| 1924 |
living=living_context.get(e.get('room_id'))
|
| 1925 |
living_priority=_living_priority_override(e,assignments,living,request)
|
| 1926 |
if living_priority is not None:
|
| 1927 |
return living_priority
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1928 |
if soft_enabled(soft_config) and soft_config.get('kitchen') is not None:
|
| 1929 |
from kitchen_relations import active as kitchen_active, semantic as kitchen_semantic
|
| 1930 |
if kitchen_active(plan,e['room_id'],soft_config['kitchen']):
|
|
@@ -2061,6 +2293,18 @@ def solve(manifest,candidates,request,output,attribute_reader=None,committed_cou
|
|
| 2061 |
sofa_pose=assignments[living['sofa']['entity_id']]
|
| 2062 |
pose_domain=sorted(pose_domain,key=lambda p: _living_console_pose_key(
|
| 2063 |
p,sofa_pose,room,plan,living['television_candidates']))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2064 |
if soft_stopped():return False
|
| 2065 |
if deadline.expired(time.monotonic()):return exhausted('max_seconds_total')
|
| 2066 |
if improvement is not None and time.monotonic()-room_start>=seconds:return exhausted('max_seconds_per_room')
|
|
|
|
| 24 |
from repair_constraints import RepairConstraints, restore_authored_support, floor_cover_inputs
|
| 25 |
|
| 26 |
_SUPPORT_CONTACT_PRIORITIES={}
|
| 27 |
+
# Mirrors layout_rules.yaml WINDOW_TALL_KEEPOUT_M (GEN-12). Not loaded from the yaml here: this module is also
|
| 28 |
+
# imported inside Blender's Python (saved-geometry audit), which has no PyYAML. test_layout_repair_029 checks parity.
|
| 29 |
+
WINDOW_TALL_KEEPOUT_M = 0.60
|
| 30 |
|
| 31 |
|
| 32 |
def _search_grid_step(search, key='grid_step_m', *, allow_zero=False, default=.4):
|
|
|
|
| 199 |
return [min(p[i] for p in world) for i in (0,1)]+[max(p[i] for p in world) for i in (0,1)]
|
| 200 |
|
| 201 |
|
| 202 |
+
COFFEE_SOFA_MIN_CLEARANCE_M=.25 # legroom between a coffee table and the sofa's actual outline (functional_layout PAIR_GAP_M)
|
| 203 |
+
COFFEE_SOFA_MAX_CLEARANCE_M=.60
|
| 204 |
+
DEEP_SOFA_DEPTH_M=1.2 # deeper than a straight sofa: L-shaped / chaise sectional
|
| 205 |
+
|
| 206 |
+
|
| 207 |
+
def _point_rect_distance(point, box):
|
| 208 |
+
dx=max(box[0]-point[0],0.,point[0]-box[2]);dy=max(box[1]-point[1],0.,point[1]-box[3])
|
| 209 |
+
return math.hypot(dx,dy)
|
| 210 |
+
|
| 211 |
+
|
| 212 |
+
def _segment_point_distance(point, first, second):
|
| 213 |
+
ex,ey=second[0]-first[0],second[1]-first[1];length=ex*ex+ey*ey
|
| 214 |
+
if length<=1e-18:return math.dist(point,first)
|
| 215 |
+
t=max(0.,min(1.,((point[0]-first[0])*ex+(point[1]-first[1])*ey)/length))
|
| 216 |
+
return math.dist(point,(first[0]+t*ex,first[1]+t*ey))
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
def _segment_hits_rect(first, second, box):
|
| 220 |
+
"""Liang-Barsky clip: does the segment touch the closed axis-aligned box?"""
|
| 221 |
+
t0,t1=0.,1.;dx,dy=second[0]-first[0],second[1]-first[1]
|
| 222 |
+
for p,q in ((-dx,first[0]-box[0]),(dx,box[2]-first[0]),(-dy,first[1]-box[1]),(dy,box[3]-first[1])):
|
| 223 |
+
if abs(p)<1e-15:
|
| 224 |
+
if q<0:return False
|
| 225 |
+
continue
|
| 226 |
+
r=q/p
|
| 227 |
+
if p<0:t0=max(t0,r)
|
| 228 |
+
else:t1=min(t1,r)
|
| 229 |
+
if t0>t1:return False
|
| 230 |
+
return True
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
def footprint_rect_clearance(entity, box):
|
| 234 |
+
"""Distance from an axis-aligned box to an entity's actual footprint (visual polygon when known, else its rectangle)."""
|
| 235 |
+
points=entity.get('source_visual_footprint_polygon_xy_m')
|
| 236 |
+
polygon=transform_polygon(points,entity) if points else None
|
| 237 |
+
if not polygon:
|
| 238 |
+
b=rectangular_bounds(entity);polygon=[(b[0],b[1]),(b[2],b[1]),(b[2],b[3]),(b[0],b[3])]
|
| 239 |
+
polygon=[tuple(map(float,p[:2])) for p in polygon]
|
| 240 |
+
edges=list(zip(polygon,polygon[1:]+polygon[:1]))
|
| 241 |
+
if any(_segment_hits_rect(a,b,box) for a,b in edges):return 0.
|
| 242 |
+
corners=[(box[0],box[1]),(box[2],box[1]),(box[2],box[3]),(box[0],box[3])]
|
| 243 |
+
# A box wholly inside the polygon has no edge contact; treat it as overlapping.
|
| 244 |
+
x,y=corners[0];inside=False
|
| 245 |
+
for (x1,y1),(x2,y2) in edges:
|
| 246 |
+
if (y1>y)!=(y2>y) and x<x1+(y-y1)*(x2-x1)/(y2-y1):inside=not inside
|
| 247 |
+
if inside:return 0.
|
| 248 |
+
return min(min(_point_rect_distance(p,box) for p in polygon),
|
| 249 |
+
min(_segment_point_distance(c,a,b) for c in corners for a,b in edges))
|
| 250 |
+
|
| 251 |
+
|
| 252 |
# Search tests the same footprint at the same pose many times (assigned furniture is
|
| 253 |
# re-measured for every candidate pose). The key holds every value _footprint_bounds
|
| 254 |
# reads, by content, so a hit returns the result of the identical computation.
|
|
|
|
| 377 |
'critical_boundary_poses':True,'chair_tangent_offsets_m':[0,-.1,.1,-.2,.2,-.3,.3],
|
| 378 |
'rug_center_offsets_m':[0,-.1,.1,-.2,.2,-.3,.3],
|
| 379 |
'living_wall_pair_ordering':True,'living_tv_pair_ordering':True,
|
| 380 |
+
'living_tv_pose_memo':True,
|
| 381 |
+
'kitchen_fridge_first':False,'kitchen_counter_reserve':True,
|
| 382 |
+
'bathroom_shower_reserve':True,'living_pair_decor_pruning':True}.items():
|
| 383 |
search.setdefault(key,value)
|
| 384 |
_search_grid_step(search)
|
| 385 |
_search_grid_step(search,'fine_grid_step_m',allow_zero=True,default=.2)
|
|
|
|
| 452 |
forward = -dx*f[0]-dy*f[1]
|
| 453 |
lateral = abs(dx*f[1]-dy*f[0])
|
| 454 |
ok = forward > 0 and lateral <= relation.get('lateral_tolerance_m',.6)
|
| 455 |
+
if ok and a.get('role')=='coffee_table' and b.get('role')=='sofa':
|
| 456 |
+
# Centre distance alone lets a table touch an L-sofa's chaise; keep legroom to the sofa's real outline.
|
| 457 |
+
ok = footprint_rect_clearance(b,bounds(a)) >= COFFEE_SOFA_MIN_CLEARANCE_M-1e-6
|
| 458 |
elif kind == 'near':
|
| 459 |
ok = distance <= relation['maximum_m']
|
| 460 |
elif kind == 'distance':
|
| 461 |
ok = relation['minimum_m'] <= distance <= relation['maximum_m']
|
| 462 |
+
if not ok and {a.get('role'),b.get('role')}=={'coffee_table','sofa'}:
|
| 463 |
+
# The fixed centre band assumes a ~1 m deep sofa. A deep (L/chaise) sofa's centre sits inside the chaise,
|
| 464 |
+
# so measure the same intent as legroom from the table to the sofa's actual outline instead.
|
| 465 |
+
sofa,table=(a,b) if a.get('role')=='sofa' else (b,a)
|
| 466 |
+
if float(sofa.get('dimensions_m',[0,0])[1])>DEEP_SOFA_DEPTH_M:
|
| 467 |
+
clearance=footprint_rect_clearance(sofa,bounds(table))
|
| 468 |
+
ok = COFFEE_SOFA_MIN_CLEARANCE_M-1e-6 <= clearance <= COFFEE_SOFA_MAX_CLEARANCE_M+1e-6
|
| 469 |
else:
|
| 470 |
raise ValueError('Unsupported relation '+kind)
|
| 471 |
if not ok:
|
|
|
|
| 634 |
return bool(search.get(key,True))
|
| 635 |
|
| 636 |
|
| 637 |
+
def _search_switch(request, key, default=True):
|
| 638 |
+
"""Read a task-scoped ordering switch; omitted switches are enabled."""
|
| 639 |
+
return bool(request.get('search',{}).get(key,default))
|
| 640 |
+
|
| 641 |
+
|
| 642 |
+
def _room_has_type(plan, room_id, room_types):
|
| 643 |
+
return any(r.get('room_id')==room_id and r.get('room_type') in room_types
|
| 644 |
+
for r in plan.get('rooms',[]))
|
| 645 |
+
|
| 646 |
+
|
| 647 |
+
def _kitchen_priority_override(entity, assigned, plan, request):
|
| 648 |
+
if not _search_switch(request,'kitchen_fridge_first',False):
|
| 649 |
+
return None
|
| 650 |
+
if not _room_has_type(plan,entity.get('room_id'),{'kitchen'}):
|
| 651 |
+
return None
|
| 652 |
+
from kitchen_relations import semantic as kitchen_semantic
|
| 653 |
+
kind=kitchen_semantic(entity)
|
| 654 |
+
return {'fridge':-.65,'counter':-.55,'sink':-.45,'stove':-.35}.get(kind)
|
| 655 |
+
|
| 656 |
+
|
| 657 |
+
def _bathroom_priority_override(entity, assigned, plan, request):
|
| 658 |
+
if not _search_switch(request,'bathroom_shower_reserve'):
|
| 659 |
+
return None
|
| 660 |
+
if not _room_has_type(plan,entity.get('room_id'),{'bathroom','bath','washroom','toilet','wc'}):
|
| 661 |
+
return None
|
| 662 |
+
from bathroom_relations import semantic as bathroom_semantic
|
| 663 |
+
kind=bathroom_semantic(entity)
|
| 664 |
+
return {'shower':-.65,'bathtub':-.60,'sink':-.20,'toilet':-.10}.get(kind)
|
| 665 |
+
|
| 666 |
+
|
| 667 |
+
def _pose_wall_sides(pose, room, tolerance=1e-6):
|
| 668 |
+
x0,y0,x1,y1=[float(v) for v in room['bounds_m']]
|
| 669 |
+
box=bounds(pose)
|
| 670 |
+
gaps={'W':abs(box[0]-x0),'E':abs(x1-box[2]),'S':abs(box[1]-y0),'N':abs(y1-box[3])}
|
| 671 |
+
return tuple(side for side,gap in gaps.items() if gap<=tolerance)
|
| 672 |
+
|
| 673 |
+
|
| 674 |
+
def _remaining_wall_runs(pose, room, plan):
|
| 675 |
+
runs=[]
|
| 676 |
+
box=bounds(pose)
|
| 677 |
+
sides=_pose_wall_sides(pose,room)
|
| 678 |
+
for side,segments in _living_wall_segments(plan,room).items():
|
| 679 |
+
axis=0 if side in {'N','S'} else 1
|
| 680 |
+
occupied=(box[axis],box[axis+2]) if side in sides else None
|
| 681 |
+
for lo,hi in segments:
|
| 682 |
+
pieces=[(float(lo),float(hi))]
|
| 683 |
+
if occupied:
|
| 684 |
+
a,b=occupied;next_pieces=[]
|
| 685 |
+
for start,end in pieces:
|
| 686 |
+
if b<=start or a>=end:
|
| 687 |
+
next_pieces.append((start,end));continue
|
| 688 |
+
if start<a:next_pieces.append((start,min(a,end)))
|
| 689 |
+
if b<end:next_pieces.append((max(b,start),end))
|
| 690 |
+
pieces=next_pieces
|
| 691 |
+
runs.extend((side,max(0.,end-start)) for start,end in pieces if end-start>1e-6)
|
| 692 |
+
return runs
|
| 693 |
+
|
| 694 |
+
|
| 695 |
+
def _kitchen_counter_reserve_key(pose, room, plan):
|
| 696 |
+
"""Rank counter poses by whether a native fridge still has a wall run."""
|
| 697 |
+
runs=_remaining_wall_runs(pose,room,plan)
|
| 698 |
+
room_bounds=room['bounds_m'];width=room_bounds[2]-room_bounds[0];depth=room_bounds[3]-room_bounds[1]
|
| 699 |
+
required_span=.90 # .75m fridge body plus the minimum stove separation margin.
|
| 700 |
+
required_depth=.75+.60 # body depth plus its functional access strip.
|
| 701 |
+
max_run=max((length for _,length in runs),default=0.)
|
| 702 |
+
total=sum(length for _,length in runs)
|
| 703 |
+
feasible=max_run+1e-6>=required_span and total+1e-6>=required_span and max(width,depth)+1e-6>=required_depth
|
| 704 |
+
return (0 if feasible else 1, round(-max_run,6), round(-total,6), pose.get('_cost',0.),
|
| 705 |
+
tuple(round(v,6) for v in pose.get('center_xy_m',())))
|
| 706 |
+
|
| 707 |
+
|
| 708 |
+
def _bathroom_shower_reserve_key(pose, room, plan):
|
| 709 |
+
"""Rank showers by corner placement and remaining fixture wall capacity."""
|
| 710 |
+
runs=_remaining_wall_runs(pose,room,plan)
|
| 711 |
+
max_run=max((length for _,length in runs),default=0.)
|
| 712 |
+
total=sum(length for _,length in runs)
|
| 713 |
+
fixture_span=1.35 # sink + toilet footprints with a compact separating gap.
|
| 714 |
+
feasible=max_run+1e-6>=.60 and total+1e-6>=fixture_span
|
| 715 |
+
corner=1 if len(_pose_wall_sides(pose,room))<2 else 0
|
| 716 |
+
return (corner, 0 if feasible else 1, round(-max_run,6), round(-total,6),
|
| 717 |
+
pose.get('_cost',0.),tuple(round(v,6) for v in pose.get('center_xy_m',())))
|
| 718 |
+
|
| 719 |
+
|
| 720 |
+
def _living_decor_key(assigned):
|
| 721 |
+
rows=[]
|
| 722 |
+
for eid,pose in sorted(assigned.items()):
|
| 723 |
+
rows.append((eid,pose.get('asset_id'),
|
| 724 |
+
tuple(round(float(v),4) for v in pose.get('center_xy_m',())),
|
| 725 |
+
round(float(pose.get('yaw_deg',0.))%360,3),
|
| 726 |
+
tuple(round(float(v),4) for v in pose.get('dimensions_m',())),
|
| 727 |
+
round(float(pose.get('base_z_m',0.)),4)))
|
| 728 |
+
return tuple(rows)
|
| 729 |
+
|
| 730 |
+
|
| 731 |
+
def _living_decor_cache_key(room_id, assignments):
|
| 732 |
+
"""Key the decor forward check by every currently visible assignment.
|
| 733 |
+
|
| 734 |
+
The probe calls placement and relation checks with the full assignment map,
|
| 735 |
+
so a sofa/TV-only key could reuse a dead result after another furniture item
|
| 736 |
+
changed the available coffee-table space.
|
| 737 |
+
"""
|
| 738 |
+
return (room_id, _living_decor_key(assignments))
|
| 739 |
+
|
| 740 |
+
|
| 741 |
def _living_wall_side(entity):
|
| 742 |
role=str(entity.get('role',''))
|
| 743 |
category=str(entity.get('category',''))
|
|
|
|
| 1601 |
base=pose.get('base_z_m',0)
|
| 1602 |
from functional_layout import window_overlap_allowance, compact_kitchen_level
|
| 1603 |
tall=min(base+pose['dimensions_m'][2]-window_overlap_allowance(pose),visible_top)-max(base,visible_bottom)>.001
|
| 1604 |
+
side=window.get('side')
|
| 1605 |
+
if side == 'W':
|
| 1606 |
+
wall_distance=box[0]-inner[0]
|
| 1607 |
+
elif side == 'E':
|
| 1608 |
+
wall_distance=inner[2]-box[2]
|
| 1609 |
+
elif side == 'S':
|
| 1610 |
+
wall_distance=box[1]-inner[1]
|
| 1611 |
+
elif side == 'N':
|
| 1612 |
+
wall_distance=inner[3]-box[3]
|
| 1613 |
+
else:
|
| 1614 |
+
wall_distance=float('inf')
|
| 1615 |
+
near=wall_distance < WINDOW_TALL_KEEPOUT_M
|
| 1616 |
compact_fridge=(pose.get('role')=='refrigerator' and compact_kitchen_level(pose,compact_kitchen)>=3
|
| 1617 |
and overlap_width<=(visible_hi-visible_lo)/3.+1e-9)
|
| 1618 |
if (full_overlap and same_wall and pose.get('role')=='bed') or (overlaps and near and tall and not compact_fridge):
|
|
|
|
| 1735 |
if constraints.enabled and request.get('floor_cover_policy')=='measured_support':
|
| 1736 |
restore_authored_support(entities)
|
| 1737 |
original_plan_sha256=fingerprint(plan)
|
| 1738 |
+
if compact_kitchen is not None:
|
| 1739 |
+
# Runtime hint for the envelope solver; set after the frozen-plan fingerprint so the shell readback still binds.
|
| 1740 |
+
plan['_compact_kitchen']=copy.deepcopy(compact_kitchen)
|
| 1741 |
from floor_body_geometry import load as load_floor_bodies,attach as attach_floor_body
|
| 1742 |
floor_bodies=load_floor_bodies(request.get('floor_body_geometry_index'))
|
| 1743 |
plan['_floor_body_required']=bool(request.get('floor_body_geometry_index'))
|
|
|
|
| 1805 |
'distinct_assets_guaranteed':False}
|
| 1806 |
from layout_surface_feedback import load as load_surfaces,attach as attach_surface
|
| 1807 |
surfaces=load_surfaces(request)
|
| 1808 |
+
domains={};counter=Counter();chosen={};assignments={};contact_cache={};static_dead={};living_tv_dead={};living_decor_dead={}
|
| 1809 |
floor_contact_cache=(None if os.environ.get('RHG_FLOOR_CONTACT_CACHE')=='off' else
|
| 1810 |
dict(items={},hits=0,misses=0,verified=0,verify=os.environ.get('RHG_FLOOR_CONTACT_CACHE_VERIFY')=='1'))
|
| 1811 |
static_dead_frames=Counter();static_alive=set() # [claude C14] per (entity, asset)
|
|
|
|
| 2047 |
stats['budget_reason']=reason
|
| 2048 |
stats['assignment_at_budget']={k:{f:v.get(f) for f in ('asset_id','center_xy_m','dimensions_m','yaw_deg','base_z_m','wall_anchor','binding_semantic_key')} for k,v in assignments.items() if v['room_id']==room['room_id']}
|
| 2049 |
return False
|
| 2050 |
+
def living_decor_dead_for(pending):
|
| 2051 |
+
if not _search_switch(request,'living_pair_decor_pruning'):
|
| 2052 |
+
return False
|
| 2053 |
+
living=living_context.get(room['room_id'])
|
| 2054 |
+
if not living:
|
| 2055 |
+
return False
|
| 2056 |
+
required=[living['sofa']['entity_id'],*living['console_ids'],*living['television_ids']]
|
| 2057 |
+
if any(eid not in assignments for eid in required):
|
| 2058 |
+
return False
|
| 2059 |
+
target=next((e for e in pending if e.get('role')=='coffee_table'),None)
|
| 2060 |
+
if target is None:
|
| 2061 |
+
return False
|
| 2062 |
+
key=_living_decor_cache_key(room['room_id'],assignments)
|
| 2063 |
+
if key in living_decor_dead:
|
| 2064 |
+
return living_decor_dead[key]
|
| 2065 |
+
viable=False
|
| 2066 |
+
target_id=target['entity_id']
|
| 2067 |
+
relation_cache=FrameRelationErrors(target_id,assignments,relations)
|
| 2068 |
+
for _,_,candidate,evidence in domains[target_id]:
|
| 2069 |
+
pose_domain=positions(target,candidate,room,plan,assignments,request,
|
| 2070 |
+
constraints=constraints)
|
| 2071 |
+
for probe in pose_domain:
|
| 2072 |
+
probe=dict(probe,asset_id=candidate['asset_id'],
|
| 2073 |
+
binding_semantic_key=semantic_key(target))
|
| 2074 |
+
errors=placement_errors(probe,assignments,plan,relations,relation_cache,
|
| 2075 |
+
floor_contact_cache,compact_kitchen)
|
| 2076 |
+
if errors:
|
| 2077 |
+
continue
|
| 2078 |
+
if relation_errors(dict(assignments,**{target_id:probe}),relations):
|
| 2079 |
+
continue
|
| 2080 |
+
viable=True
|
| 2081 |
+
break
|
| 2082 |
+
if viable:
|
| 2083 |
+
break
|
| 2084 |
+
living_decor_dead[key]=not viable
|
| 2085 |
+
if not viable:
|
| 2086 |
+
stats['living_decor_prefiltered']=stats.get('living_decor_prefiltered',0)+1
|
| 2087 |
+
failures['living_decor_forward_check']+=1
|
| 2088 |
+
record_conflict_evidence(stats,target_id,[{'reason':'living_decor_forward_check',
|
| 2089 |
+
'entity_ids':required}],room_entity_ids)
|
| 2090 |
+
return not viable
|
| 2091 |
def search(pending):
|
| 2092 |
if stats.get('abort_dead_pair'):return False
|
| 2093 |
if soft_stopped():return False
|
|
|
|
| 2144 |
from functional_layout import dependency_ready,order_priority
|
| 2145 |
available=[e for e in pending if dependency_ready(e,assignments)]
|
| 2146 |
if not available:raise JointLayoutFailure('Support cycle or cross-room parent')
|
| 2147 |
+
if living_decor_dead_for(pending):
|
| 2148 |
+
return False
|
| 2149 |
def priority(e):
|
| 2150 |
living=living_context.get(e.get('room_id'))
|
| 2151 |
living_priority=_living_priority_override(e,assignments,living,request)
|
| 2152 |
if living_priority is not None:
|
| 2153 |
return living_priority
|
| 2154 |
+
kitchen_priority=_kitchen_priority_override(e,assignments,plan,request)
|
| 2155 |
+
if kitchen_priority is not None:
|
| 2156 |
+
return kitchen_priority
|
| 2157 |
+
bathroom_priority=_bathroom_priority_override(e,assignments,plan,request)
|
| 2158 |
+
if bathroom_priority is not None:
|
| 2159 |
+
return bathroom_priority
|
| 2160 |
if soft_enabled(soft_config) and soft_config.get('kitchen') is not None:
|
| 2161 |
from kitchen_relations import active as kitchen_active, semantic as kitchen_semantic
|
| 2162 |
if kitchen_active(plan,e['room_id'],soft_config['kitchen']):
|
|
|
|
| 2293 |
sofa_pose=assignments[living['sofa']['entity_id']]
|
| 2294 |
pose_domain=sorted(pose_domain,key=lambda p: _living_console_pose_key(
|
| 2295 |
p,sofa_pose,room,plan,living['television_candidates']))
|
| 2296 |
+
if pose_domain and _search_switch(request,'kitchen_counter_reserve'):
|
| 2297 |
+
from kitchen_relations import semantic as kitchen_semantic
|
| 2298 |
+
if (kitchen_semantic(entity)=='counter' and
|
| 2299 |
+
_room_has_type(plan,entity.get('room_id'),{'kitchen'})):
|
| 2300 |
+
pose_domain=sorted(pose_domain,key=lambda p:
|
| 2301 |
+
_kitchen_counter_reserve_key(p,room,plan))
|
| 2302 |
+
if pose_domain and _search_switch(request,'bathroom_shower_reserve'):
|
| 2303 |
+
from bathroom_relations import semantic as bathroom_semantic
|
| 2304 |
+
if (bathroom_semantic(entity)=='shower' and
|
| 2305 |
+
_room_has_type(plan,entity.get('room_id'),{'bathroom','bath','washroom','toilet','wc'})):
|
| 2306 |
+
pose_domain=sorted(pose_domain,key=lambda p:
|
| 2307 |
+
_bathroom_shower_reserve_key(p,room,plan))
|
| 2308 |
if soft_stopped():return False
|
| 2309 |
if deadline.expired(time.monotonic()):return exhausted('max_seconds_total')
|
| 2310 |
if improvement is not None and time.monotonic()-room_start>=seconds:return exhausted('max_seconds_per_room')
|
code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/layout_rules.yaml
CHANGED
|
@@ -29,6 +29,7 @@ constants:
|
|
| 29 |
DOOR_PROBE_M: 0.45 # a door counts as reached by the cell this far inside the room
|
| 30 |
DOOR_ZONE_TOP_M: 2.1 # top of the door and open-connection keep-out volumes
|
| 31 |
WINDOW_ZONE_DEPTH_M: 0.15 # GEN-05: window zone depth
|
|
|
|
| 32 |
WINDOW_SILL_MARGIN_M: 0.10 # GEN-05: window zone starts this far above the sill
|
| 33 |
CLEARANCE_TOP_M: 1.0 # top of the use strip kept in front of a floor piece
|
| 34 |
BED_ACCESS_TOP_M: 0.5 # top of the bed side-access strip
|
|
|
|
| 29 |
DOOR_PROBE_M: 0.45 # a door counts as reached by the cell this far inside the room
|
| 30 |
DOOR_ZONE_TOP_M: 2.1 # top of the door and open-connection keep-out volumes
|
| 31 |
WINDOW_ZONE_DEPTH_M: 0.15 # GEN-05: window zone depth
|
| 32 |
+
WINDOW_TALL_KEEPOUT_M: 0.60 # GEN-12: tall furniture keep-out from the inner wall face
|
| 33 |
WINDOW_SILL_MARGIN_M: 0.10 # GEN-05: window zone starts this far above the sill
|
| 34 |
CLEARANCE_TOP_M: 1.0 # top of the use strip kept in front of a floor piece
|
| 35 |
BED_ACCESS_TOP_M: 0.5 # top of the bed side-access strip
|
code/robohome/src/engine/source/scripts/internal/scene_generation/real_assets/structural_material_application.py
CHANGED
|
@@ -238,6 +238,44 @@ def _projected_point_in_polygon(point, polygon, normal, tolerance):
|
|
| 238 |
return inside
|
| 239 |
|
| 240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
def partition_face_correspondence(vertices, normal, original_faces, *, face_index=None):
|
| 242 |
"""Match a subdivided face to its source without nearest-surface ambiguity.
|
| 243 |
|
|
@@ -306,10 +344,9 @@ def partition_precision_diagnostic(object_name,points,before,after,*,vertex_disp
|
|
| 306 |
tol=precision_tolerance(points)
|
| 307 |
metrics=dict(vertex_displacement=vertex_displacement,surface_distance=surface_distance,
|
| 308 |
face_distance=face_distance,normal_error=normal_error)
|
| 309 |
-
#
|
| 310 |
-
#
|
| 311 |
-
#
|
| 312 |
-
# their independent, stricter gates.
|
| 313 |
metric_thresholds=dict(vertex_displacement=tol,surface_distance=PRECISION_CAP_M,
|
| 314 |
face_distance=PRECISION_CAP_M,normal_error=1e-5)
|
| 315 |
thresholds=dict(volume_m3=tol*max(1.,before['volume']),
|
|
@@ -343,7 +380,6 @@ def partition_room_wall_slots(obj,manifest,diagnostic_dir=None):
|
|
| 343 |
if not manifest.get('room_wall_roles'):return {}
|
| 344 |
import bmesh
|
| 345 |
from mathutils import Vector
|
| 346 |
-
from mathutils.bvhtree import BVHTree
|
| 347 |
from mathutils.kdtree import KDTree
|
| 348 |
from structural_surface_resolution import StructuralPrecisionError,write_precision_diagnostic
|
| 349 |
bounds=manifest.get('room_wall_bounds',{})
|
|
@@ -359,7 +395,6 @@ def partition_room_wall_slots(obj,manifest,diagnostic_dir=None):
|
|
| 359 |
mesh=bmesh.new();mesh.from_mesh(obj.data)
|
| 360 |
mesh.verts.ensure_lookup_table()
|
| 361 |
original_vertices=[obj.matrix_world @ vertex.co for vertex in mesh.verts]
|
| 362 |
-
original_surface=BVHTree.FromPolygons(original_vertices,[[v.index for v in face.verts] for face in mesh.faces])
|
| 363 |
normal_matrix=obj.matrix_world.to_3x3().inverted().transposed()
|
| 364 |
determinant=abs(obj.matrix_world.to_3x3().determinant())
|
| 365 |
def measurements():
|
|
@@ -375,6 +410,7 @@ def partition_room_wall_slots(obj,manifest,diagnostic_dir=None):
|
|
| 375 |
original_normal=(normal_matrix @ face.normal).normalized()
|
| 376 |
original_faces.append(dict(face_index=face.index,points=original_points,
|
| 377 |
normal=tuple(original_normal)))
|
|
|
|
| 378 |
before=measurements()
|
| 379 |
inverse=obj.matrix_world.inverted()
|
| 380 |
for axis,value in sorted({(axis,b[index]) for b in relevant.values() for axis,index in ((0,0),(0,2),(1,1),(1,3))}):
|
|
@@ -389,7 +425,6 @@ def partition_room_wall_slots(obj,manifest,diagnostic_dir=None):
|
|
| 389 |
for index,vertex in enumerate(mesh.verts):kd.insert(obj.matrix_world @ vertex.co,index)
|
| 390 |
kd.balance()
|
| 391 |
vertex_displacement=max(kd.find(co)[2] for co in original_vertices)
|
| 392 |
-
surface_distance=max(original_surface.find_nearest(obj.matrix_world @ vertex.co)[3] for vertex in mesh.verts)
|
| 393 |
mesh.faces.index_update()
|
| 394 |
face_measurements=[]
|
| 395 |
skipped_degenerate_faces=0
|
|
@@ -404,17 +439,23 @@ def partition_room_wall_slots(obj,manifest,diagnostic_dir=None):
|
|
| 404 |
continue
|
| 405 |
if match.get('original_face_index') is None:
|
| 406 |
unmatched_faces+=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 407 |
match['area_m2']=face.calc_area()*determinant*(normal_matrix @ face.normal).length
|
| 408 |
face_measurements.append(match)
|
| 409 |
if face_measurements:
|
| 410 |
face_distance_details=max(face_measurements,key=lambda record:record['distance_m'])
|
| 411 |
face_distance=max(record['distance_m'] for record in face_measurements)
|
|
|
|
| 412 |
normal_error=max(record['normal_error'] for record in face_measurements)
|
| 413 |
else:
|
| 414 |
face_distance_details=dict(face_index=None,distance_m=math.inf,area_m2=0.,
|
| 415 |
longest_edge_m=0.,point_type='vertex_plane',
|
| 416 |
match_method='no_nondegenerate_faces')
|
| 417 |
-
face_distance=normal_error=math.inf
|
| 418 |
face_match_summary=dict(matched_face_count=len(face_measurements),
|
| 419 |
skipped_degenerate_face_count=skipped_degenerate_faces,
|
| 420 |
unmatched_face_count=unmatched_faces)
|
|
|
|
| 238 |
return inside
|
| 239 |
|
| 240 |
|
| 241 |
+
def _point_to_segment_distance(point, first, second):
|
| 242 |
+
"""Return the exact double-precision distance from a point to a segment."""
|
| 243 |
+
edge = _vector_sub(second, first)
|
| 244 |
+
length_squared = _vector_dot(edge, edge)
|
| 245 |
+
if length_squared <= 1e-24:
|
| 246 |
+
return math.dist(point, first)
|
| 247 |
+
offset = _vector_sub(point, first)
|
| 248 |
+
parameter = max(0.0, min(1.0, _vector_dot(offset, edge) / length_squared))
|
| 249 |
+
closest = tuple(float(first[index]) + parameter * edge[index] for index in range(3))
|
| 250 |
+
return math.dist(point, closest)
|
| 251 |
+
|
| 252 |
+
|
| 253 |
+
def _point_to_face_distance(point, source_face):
|
| 254 |
+
"""Measure point-to-polygon distance without a float32 spatial index."""
|
| 255 |
+
polygon = [tuple(map(float, value)) for value in source_face.get('points', ())]
|
| 256 |
+
normal = _vector_normalized(source_face.get('normal', ()))
|
| 257 |
+
if len(polygon) < 3 or normal is None:
|
| 258 |
+
return math.inf
|
| 259 |
+
signed_distance = _vector_dot(_vector_sub(point, polygon[0]), normal)
|
| 260 |
+
projection = tuple(float(point[index]) - signed_distance * normal[index]
|
| 261 |
+
for index in range(3))
|
| 262 |
+
if _projected_point_in_polygon(projection, polygon, normal, 1e-9):
|
| 263 |
+
return abs(signed_distance)
|
| 264 |
+
return min(_point_to_segment_distance(point, first, second)
|
| 265 |
+
for first, second in zip(polygon, polygon[1:] + polygon[:1]))
|
| 266 |
+
|
| 267 |
+
|
| 268 |
+
def exact_face_surface_distance(vertices, source_face):
|
| 269 |
+
"""Return the maximum exact distance of face vertices to their source face.
|
| 270 |
+
|
| 271 |
+
The source face is the correspondence selected by the projection/plane
|
| 272 |
+
matcher. This keeps the check tied to the original face rather than to a
|
| 273 |
+
float32 nearest-surface query that may choose another wall side.
|
| 274 |
+
"""
|
| 275 |
+
return max((_point_to_face_distance(tuple(map(float, point)), source_face)
|
| 276 |
+
for point in vertices), default=math.inf)
|
| 277 |
+
|
| 278 |
+
|
| 279 |
def partition_face_correspondence(vertices, normal, original_faces, *, face_index=None):
|
| 280 |
"""Match a subdivided face to its source without nearest-surface ambiguity.
|
| 281 |
|
|
|
|
| 344 |
tol=precision_tolerance(points)
|
| 345 |
metrics=dict(vertex_displacement=vertex_displacement,surface_distance=surface_distance,
|
| 346 |
face_distance=face_distance,normal_error=normal_error)
|
| 347 |
+
# Surface distance is measured against the matched original faces in
|
| 348 |
+
# double precision. Vertex displacement, bounds, area, volume and normals
|
| 349 |
+
# keep their independent, stricter gates.
|
|
|
|
| 350 |
metric_thresholds=dict(vertex_displacement=tol,surface_distance=PRECISION_CAP_M,
|
| 351 |
face_distance=PRECISION_CAP_M,normal_error=1e-5)
|
| 352 |
thresholds=dict(volume_m3=tol*max(1.,before['volume']),
|
|
|
|
| 380 |
if not manifest.get('room_wall_roles'):return {}
|
| 381 |
import bmesh
|
| 382 |
from mathutils import Vector
|
|
|
|
| 383 |
from mathutils.kdtree import KDTree
|
| 384 |
from structural_surface_resolution import StructuralPrecisionError,write_precision_diagnostic
|
| 385 |
bounds=manifest.get('room_wall_bounds',{})
|
|
|
|
| 395 |
mesh=bmesh.new();mesh.from_mesh(obj.data)
|
| 396 |
mesh.verts.ensure_lookup_table()
|
| 397 |
original_vertices=[obj.matrix_world @ vertex.co for vertex in mesh.verts]
|
|
|
|
| 398 |
normal_matrix=obj.matrix_world.to_3x3().inverted().transposed()
|
| 399 |
determinant=abs(obj.matrix_world.to_3x3().determinant())
|
| 400 |
def measurements():
|
|
|
|
| 410 |
original_normal=(normal_matrix @ face.normal).normalized()
|
| 411 |
original_faces.append(dict(face_index=face.index,points=original_points,
|
| 412 |
normal=tuple(original_normal)))
|
| 413 |
+
original_faces_by_index={face['face_index']:face for face in original_faces}
|
| 414 |
before=measurements()
|
| 415 |
inverse=obj.matrix_world.inverted()
|
| 416 |
for axis,value in sorted({(axis,b[index]) for b in relevant.values() for axis,index in ((0,0),(0,2),(1,1),(1,3))}):
|
|
|
|
| 425 |
for index,vertex in enumerate(mesh.verts):kd.insert(obj.matrix_world @ vertex.co,index)
|
| 426 |
kd.balance()
|
| 427 |
vertex_displacement=max(kd.find(co)[2] for co in original_vertices)
|
|
|
|
| 428 |
mesh.faces.index_update()
|
| 429 |
face_measurements=[]
|
| 430 |
skipped_degenerate_faces=0
|
|
|
|
| 439 |
continue
|
| 440 |
if match.get('original_face_index') is None:
|
| 441 |
unmatched_faces+=1
|
| 442 |
+
match['surface_distance_m']=math.inf
|
| 443 |
+
else:
|
| 444 |
+
source_face=original_faces_by_index.get(match['original_face_index'])
|
| 445 |
+
match['surface_distance_m']=(exact_face_surface_distance(face_points,source_face)
|
| 446 |
+
if source_face is not None else math.inf)
|
| 447 |
match['area_m2']=face.calc_area()*determinant*(normal_matrix @ face.normal).length
|
| 448 |
face_measurements.append(match)
|
| 449 |
if face_measurements:
|
| 450 |
face_distance_details=max(face_measurements,key=lambda record:record['distance_m'])
|
| 451 |
face_distance=max(record['distance_m'] for record in face_measurements)
|
| 452 |
+
surface_distance=max(record['surface_distance_m'] for record in face_measurements)
|
| 453 |
normal_error=max(record['normal_error'] for record in face_measurements)
|
| 454 |
else:
|
| 455 |
face_distance_details=dict(face_index=None,distance_m=math.inf,area_m2=0.,
|
| 456 |
longest_edge_m=0.,point_type='vertex_plane',
|
| 457 |
match_method='no_nondegenerate_faces')
|
| 458 |
+
face_distance=surface_distance=normal_error=math.inf
|
| 459 |
face_match_summary=dict(matched_face_count=len(face_measurements),
|
| 460 |
skipped_degenerate_face_count=skipped_degenerate_faces,
|
| 461 |
unmatched_face_count=unmatched_faces)
|
code/robohome/src/engine/source/scripts/internal/scene_generation/shell_opening_geometry.py
CHANGED
|
@@ -36,10 +36,11 @@ def stable_ray_hits(cast_hits, coordinate, *, nudge_m=2e-4, mesh_is_closed=False
|
|
| 36 |
|
| 37 |
A material-only face partition can put an opening's wall line exactly on a
|
| 38 |
shared edge. Blender's ray cast may then report one cap hit instead of the
|
| 39 |
-
two hits from the unchanged closed solid.
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
| 43 |
"""
|
| 44 |
primary = list(cast_hits(coordinate))
|
| 45 |
if len(primary) % 2 == 0:
|
|
@@ -64,6 +65,106 @@ def stable_ray_hits(cast_hits, coordinate, *, nudge_m=2e-4, mesh_is_closed=False
|
|
| 64 |
return first_hits, first_coordinate
|
| 65 |
|
| 66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
def enforce_opening_contract(openings,measure,repair=None):
|
| 68 |
result=[]
|
| 69 |
for opening in openings:
|
|
@@ -131,10 +232,30 @@ def measure_blender_opening(bpy,opening,thickness):
|
|
| 131 |
bounds=[obj.matrix_world @ Vector(point) for point in obj.bound_box]
|
| 132 |
if not min(p[2] for p in bounds) < z < max(p[2] for p in bounds):continue
|
| 133 |
object_is_closed=mesh_is_closed(obj)
|
| 134 |
-
start=min(p[axis] for p in bounds)-1
|
| 135 |
-
end=max(p[axis] for p in bounds)+1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
inverse=obj.matrix_world.inverted()
|
| 137 |
local_direction=(inverse.to_3x3() @ direction).normalized()
|
|
|
|
| 138 |
def cast_hits(perpendicular_coordinate):
|
| 139 |
origin=Vector((0,0,z))
|
| 140 |
origin[axis]=start
|
|
@@ -143,22 +264,31 @@ def measure_blender_opening(bpy,opening,thickness):
|
|
| 143 |
for _ in range(64):
|
| 144 |
local_origin=inverse @ origin
|
| 145 |
world_end=origin+direction*(end-origin[axis])
|
| 146 |
-
found,location,normal,index=obj.ray_cast(
|
| 147 |
-
|
| 148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
point=obj.matrix_world @ location
|
| 150 |
-
if not hits or abs(point[axis]-hits[-1]) > .0001:
|
|
|
|
| 151 |
origin=point+direction*.0002
|
| 152 |
-
if origin[axis] >= end:
|
|
|
|
| 153 |
else:
|
| 154 |
raise ValueError('Wall opening ray intersections exceed bounded geometry limit')
|
| 155 |
return hits
|
| 156 |
-
|
|
|
|
| 157 |
cast_hits,
|
| 158 |
opening['const']+offset,
|
| 159 |
-
mesh_is_closed=
|
| 160 |
-
error_message='Wall opening ray intersects an unclosed structural mesh: '+obj.name
|
| 161 |
-
|
|
|
|
|
|
|
| 162 |
record=measure_intervals(opening,intervals,z,'evaluated_wall_mesh_ray_intersections')
|
| 163 |
record['wall_depth_offset_m']=offset
|
| 164 |
slices.append(record)
|
|
|
|
| 36 |
|
| 37 |
A material-only face partition can put an opening's wall line exactly on a
|
| 38 |
shared edge. Blender's ray cast may then report one cap hit instead of the
|
| 39 |
+
two hits from the unchanged closed solid. Even hit sequences retain the
|
| 40 |
+
legacy pairing behavior for both closed and open meshes. Recovery is
|
| 41 |
+
deliberately narrow: only a single-hit ray on a closed mesh is retried,
|
| 42 |
+
and both neighbouring samples must return the same non-empty even hit
|
| 43 |
+
sequence.
|
| 44 |
"""
|
| 45 |
primary = list(cast_hits(coordinate))
|
| 46 |
if len(primary) % 2 == 0:
|
|
|
|
| 65 |
return first_hits, first_coordinate
|
| 66 |
|
| 67 |
|
| 68 |
+
def _cross(first, second):
|
| 69 |
+
return (first[1] * second[2] - first[2] * second[1],
|
| 70 |
+
first[2] * second[0] - first[0] * second[2],
|
| 71 |
+
first[0] * second[1] - first[1] * second[0])
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
def _dot(first, second):
|
| 75 |
+
return sum(float(a) * float(b) for a, b in zip(first, second))
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def _sub(first, second):
|
| 79 |
+
return tuple(float(a) - float(b) for a, b in zip(first, second))
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def _ray_triangle_hit(origin, direction, triangle, epsilon=1e-10):
|
| 83 |
+
"""Return (distance, face normal) for a double-precision ray hit."""
|
| 84 |
+
first, second, third = triangle
|
| 85 |
+
edge_one = _sub(second, first)
|
| 86 |
+
edge_two = _sub(third, first)
|
| 87 |
+
normal = _cross(edge_one, edge_two)
|
| 88 |
+
determinant = _dot(edge_one, _cross(direction, edge_two))
|
| 89 |
+
if abs(determinant) <= epsilon:
|
| 90 |
+
return None
|
| 91 |
+
inverse = 1.0 / determinant
|
| 92 |
+
offset = _sub(origin, first)
|
| 93 |
+
barycentric_u = inverse * _dot(offset, _cross(direction, edge_two))
|
| 94 |
+
if barycentric_u < -epsilon or barycentric_u > 1.0 + epsilon:
|
| 95 |
+
return None
|
| 96 |
+
cross_offset = _cross(offset, edge_one)
|
| 97 |
+
barycentric_v = inverse * _dot(direction, cross_offset)
|
| 98 |
+
if barycentric_v < -epsilon or barycentric_u + barycentric_v > 1.0 + epsilon:
|
| 99 |
+
return None
|
| 100 |
+
distance = inverse * _dot(edge_two, cross_offset)
|
| 101 |
+
if distance < -epsilon:
|
| 102 |
+
return None
|
| 103 |
+
return max(0.0, distance), normal
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
def _mesh_ray_hits(vertices, faces, origin, direction):
|
| 107 |
+
hits = []
|
| 108 |
+
for face_index, face in enumerate(faces):
|
| 109 |
+
indices = tuple(face)
|
| 110 |
+
if len(indices) < 3:
|
| 111 |
+
continue
|
| 112 |
+
for triangle_index in range(1, len(indices) - 1):
|
| 113 |
+
triangle = (vertices[indices[0]], vertices[indices[triangle_index]],
|
| 114 |
+
vertices[indices[triangle_index + 1]])
|
| 115 |
+
result = _ray_triangle_hit(origin, direction, triangle)
|
| 116 |
+
if result is not None:
|
| 117 |
+
distance, normal = result
|
| 118 |
+
hits.append((distance, normal, face_index))
|
| 119 |
+
return sorted(hits, key=lambda hit: hit[0])
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
def mesh_ray_intervals(vertices, faces, *, origin, direction, axis,
|
| 123 |
+
cluster_tolerance=1e-7):
|
| 124 |
+
"""Pair exact mesh crossings into solid intervals along an axis ray.
|
| 125 |
+
|
| 126 |
+
Adjacent triangles on a coplanar partition edge can report duplicate hits.
|
| 127 |
+
A narrow, double-precision clustering tolerance removes only arithmetic
|
| 128 |
+
duplicates; the outward face normal then determines whether the ray enters
|
| 129 |
+
or exits the closed solid. It deliberately does not reuse the old 0.1 mm
|
| 130 |
+
dedupe window, which could erase a real thin interval.
|
| 131 |
+
"""
|
| 132 |
+
hits = _mesh_ray_hits(vertices, faces, tuple(map(float, origin)),
|
| 133 |
+
tuple(map(float, direction)))
|
| 134 |
+
clusters = []
|
| 135 |
+
for hit in hits:
|
| 136 |
+
if not clusters or hit[0] - clusters[-1][-1][0] > cluster_tolerance:
|
| 137 |
+
clusters.append([hit])
|
| 138 |
+
else:
|
| 139 |
+
clusters[-1].append(hit)
|
| 140 |
+
events = []
|
| 141 |
+
for cluster in clusters:
|
| 142 |
+
signed = [_dot(hit[1], direction) for hit in cluster
|
| 143 |
+
if abs(_dot(hit[1], direction)) > 1e-10]
|
| 144 |
+
if not signed:
|
| 145 |
+
continue
|
| 146 |
+
entering = sum(value < 0.0 for value in signed)
|
| 147 |
+
exiting = sum(value > 0.0 for value in signed)
|
| 148 |
+
if entering == exiting:
|
| 149 |
+
continue
|
| 150 |
+
events.append((sum(hit[0] for hit in cluster) / len(cluster),
|
| 151 |
+
-1 if entering > exiting else 1))
|
| 152 |
+
intervals = []
|
| 153 |
+
start = None
|
| 154 |
+
for distance, crossing in events:
|
| 155 |
+
coordinate = float(origin[axis]) + distance * float(direction[axis])
|
| 156 |
+
if crossing < 0:
|
| 157 |
+
if start is None:
|
| 158 |
+
start = coordinate
|
| 159 |
+
elif start is not None:
|
| 160 |
+
if coordinate > start + cluster_tolerance:
|
| 161 |
+
intervals.append((start, coordinate))
|
| 162 |
+
start = None
|
| 163 |
+
if start is not None:
|
| 164 |
+
raise ValueError('Ray exits without a matching mesh crossing')
|
| 165 |
+
return intervals
|
| 166 |
+
|
| 167 |
+
|
| 168 |
def enforce_opening_contract(openings,measure,repair=None):
|
| 169 |
result=[]
|
| 170 |
for opening in openings:
|
|
|
|
| 232 |
bounds=[obj.matrix_world @ Vector(point) for point in obj.bound_box]
|
| 233 |
if not min(p[2] for p in bounds) < z < max(p[2] for p in bounds):continue
|
| 234 |
object_is_closed=mesh_is_closed(obj)
|
| 235 |
+
start=min(p[axis] for p in bounds)-1.0
|
| 236 |
+
end=max(p[axis] for p in bounds)+1.0
|
| 237 |
+
world_origin=[0.0,0.0,z]
|
| 238 |
+
world_origin[axis]=start
|
| 239 |
+
world_origin[perpendicular]=opening['const']+offset
|
| 240 |
+
world_direction=tuple(direction)
|
| 241 |
+
if object_is_closed:
|
| 242 |
+
world_vertices=[tuple(obj.matrix_world @ vertex.co) for vertex in obj.data.vertices]
|
| 243 |
+
ray_intervals=mesh_ray_intervals(
|
| 244 |
+
world_vertices,
|
| 245 |
+
[tuple(poly.vertices) for poly in obj.data.polygons],
|
| 246 |
+
origin=world_origin,
|
| 247 |
+
direction=world_direction,
|
| 248 |
+
axis=axis,
|
| 249 |
+
)
|
| 250 |
+
intervals.extend((low,high,obj.name) for low,high in ray_intervals)
|
| 251 |
+
continue
|
| 252 |
+
|
| 253 |
+
# Preserve the legacy Blender path for meshes that are not
|
| 254 |
+
# topologically closed. Even intersections remain valid; only an
|
| 255 |
+
# odd sequence is rejected by stable_ray_hits.
|
| 256 |
inverse=obj.matrix_world.inverted()
|
| 257 |
local_direction=(inverse.to_3x3() @ direction).normalized()
|
| 258 |
+
|
| 259 |
def cast_hits(perpendicular_coordinate):
|
| 260 |
origin=Vector((0,0,z))
|
| 261 |
origin[axis]=start
|
|
|
|
| 264 |
for _ in range(64):
|
| 265 |
local_origin=inverse @ origin
|
| 266 |
world_end=origin+direction*(end-origin[axis])
|
| 267 |
+
found,location,normal,index=obj.ray_cast(
|
| 268 |
+
local_origin,
|
| 269 |
+
local_direction,
|
| 270 |
+
distance=(inverse @ world_end-local_origin).length,
|
| 271 |
+
)
|
| 272 |
+
if not found:
|
| 273 |
+
break
|
| 274 |
point=obj.matrix_world @ location
|
| 275 |
+
if not hits or abs(point[axis]-hits[-1]) > .0001:
|
| 276 |
+
hits.append(float(point[axis]))
|
| 277 |
origin=point+direction*.0002
|
| 278 |
+
if origin[axis] >= end:
|
| 279 |
+
break
|
| 280 |
else:
|
| 281 |
raise ValueError('Wall opening ray intersections exceed bounded geometry limit')
|
| 282 |
return hits
|
| 283 |
+
|
| 284 |
+
hits,_=stable_ray_hits(
|
| 285 |
cast_hits,
|
| 286 |
opening['const']+offset,
|
| 287 |
+
mesh_is_closed=False,
|
| 288 |
+
error_message='Wall opening ray intersects an unclosed structural mesh: '+obj.name,
|
| 289 |
+
)
|
| 290 |
+
intervals.extend((hits[index],hits[index+1],obj.name)
|
| 291 |
+
for index in range(0,len(hits),2))
|
| 292 |
record=measure_intervals(opening,intervals,z,'evaluated_wall_mesh_ray_intersections')
|
| 293 |
record['wall_depth_offset_m']=offset
|
| 294 |
slices.append(record)
|
code/robohome/src/engine/tests/task028_structural_false_positives_blender.py
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Blender-only task 028 regression using the exported q59 wall mesh."""
|
| 2 |
+
|
| 3 |
+
import json
|
| 4 |
+
from pathlib import Path
|
| 5 |
+
import sys
|
| 6 |
+
|
| 7 |
+
import bpy
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
ROOT = Path(__file__).resolve().parents[2]
|
| 11 |
+
sys.path.insert(0, str(ROOT / "engine/source/scripts/internal/scene_generation"))
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def test_q59_exported_closed_wall_uses_exact_mesh_intervals_in_blender():
|
| 15 |
+
from shell_opening_geometry import measure_blender_opening
|
| 16 |
+
|
| 17 |
+
record = json.loads(
|
| 18 |
+
(ROOT.parent / "evidence/q59/wall_q59.json").read_text()
|
| 19 |
+
)["wall__interior__hallway__living__0"]
|
| 20 |
+
mesh = bpy.data.meshes.new("task028_q59_wall_mesh")
|
| 21 |
+
mesh.from_pydata(record["vertices"], [], record["faces"])
|
| 22 |
+
mesh.update()
|
| 23 |
+
obj = bpy.data.objects.new("wall__interior__hallway__living__0", mesh)
|
| 24 |
+
bpy.context.scene.collection.objects.link(obj)
|
| 25 |
+
obj.location = (7.582499980926514, 3.200000047683716, 1.5)
|
| 26 |
+
|
| 27 |
+
right_mesh = bpy.data.meshes.new("task028_q59_right_wall_mesh")
|
| 28 |
+
right_mesh.from_pydata(
|
| 29 |
+
[
|
| 30 |
+
(8.805000305175781, 3.1000001430511475, 0.0),
|
| 31 |
+
(9.25, 3.1000001430511475, 0.0),
|
| 32 |
+
(9.25, 3.299999952316284, 0.0),
|
| 33 |
+
(8.805000305175781, 3.299999952316284, 0.0),
|
| 34 |
+
(8.805000305175781, 3.1000001430511475, 3.0),
|
| 35 |
+
(9.25, 3.1000001430511475, 3.0),
|
| 36 |
+
(9.25, 3.299999952316284, 3.0),
|
| 37 |
+
(8.805000305175781, 3.299999952316284, 3.0),
|
| 38 |
+
],
|
| 39 |
+
[],
|
| 40 |
+
[
|
| 41 |
+
(0, 1, 2, 3),
|
| 42 |
+
(4, 7, 6, 5),
|
| 43 |
+
(0, 4, 5, 1),
|
| 44 |
+
(1, 5, 6, 2),
|
| 45 |
+
(2, 6, 7, 3),
|
| 46 |
+
(4, 0, 3, 7),
|
| 47 |
+
],
|
| 48 |
+
)
|
| 49 |
+
right_mesh.update()
|
| 50 |
+
right_obj = bpy.data.objects.new("wall__interior__hallway__living__1", right_mesh)
|
| 51 |
+
bpy.context.scene.collection.objects.link(right_obj)
|
| 52 |
+
|
| 53 |
+
try:
|
| 54 |
+
opening = {
|
| 55 |
+
"door_id": "door__hallway__living",
|
| 56 |
+
"orient": "H",
|
| 57 |
+
"const": 3.2,
|
| 58 |
+
"lo": 7.805,
|
| 59 |
+
"hi": 8.805,
|
| 60 |
+
"height": 2.4,
|
| 61 |
+
}
|
| 62 |
+
result = measure_blender_opening(bpy, opening, 0.2)
|
| 63 |
+
assert result["passed"] is True, result
|
| 64 |
+
assert abs(result["actual_clear_width_m"] - 1.0) <= 1e-6, result
|
| 65 |
+
finally:
|
| 66 |
+
bpy.data.objects.remove(obj, do_unlink=True)
|
| 67 |
+
bpy.data.meshes.remove(mesh)
|
| 68 |
+
bpy.data.objects.remove(right_obj, do_unlink=True)
|
| 69 |
+
bpy.data.meshes.remove(right_mesh)
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
if __name__ == "__main__":
|
| 73 |
+
test_q59_exported_closed_wall_uses_exact_mesh_intervals_in_blender()
|
code/robohome/src/engine/tests/test_layout_search_order_025.py
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Regression coverage for task 025 search ordering and dead-branch checks."""
|
| 2 |
+
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
import sys
|
| 5 |
+
import json
|
| 6 |
+
|
| 7 |
+
import pytest
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 11 |
+
NATIVE = ROOT / 'source/scripts/internal/scene_generation/real_assets'
|
| 12 |
+
sys.path[:0] = [str(NATIVE), str(NATIVE.parent)]
|
| 13 |
+
|
| 14 |
+
import joint_layout as joint
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def _plan(room_type, bounds=(0., 0., 4., 4.)):
|
| 18 |
+
return {
|
| 19 |
+
'rooms': [{'room_id': 'r', 'room_type': room_type, 'bounds_m': list(bounds)}],
|
| 20 |
+
'doors': [],
|
| 21 |
+
'windows': [],
|
| 22 |
+
'topology_adjacencies': [],
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def _pose(eid, role, center, dims, *, wall='S', front='+Y'):
|
| 27 |
+
return {
|
| 28 |
+
'entity_id': eid,
|
| 29 |
+
'room_id': 'r',
|
| 30 |
+
'role': role,
|
| 31 |
+
'category': role,
|
| 32 |
+
'center_xy_m': list(center),
|
| 33 |
+
'dimensions_m': list(dims),
|
| 34 |
+
'yaw_deg': 0.,
|
| 35 |
+
'canonical_front_axis': front,
|
| 36 |
+
'wall_anchor': wall,
|
| 37 |
+
'base_z_m': 0.,
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
def test_task_025_switches_are_enabled_by_default():
|
| 42 |
+
assert joint._search_switch({}, 'kitchen_fridge_first', False) is False
|
| 43 |
+
assert joint._search_switch({}, 'kitchen_counter_reserve') is True
|
| 44 |
+
assert joint._search_switch({}, 'bathroom_shower_reserve') is True
|
| 45 |
+
assert joint._search_switch({}, 'living_pair_decor_pruning') is True
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def test_load_request_persists_task_025_defaults(tmp_path):
|
| 49 |
+
path = tmp_path / 'request.json'
|
| 50 |
+
path.write_text(json.dumps({
|
| 51 |
+
'schema': 'rhg.scene_request.v1', 'mode': 'pool', 'task_text': 'task',
|
| 52 |
+
'furniture': [{'entity_id': 'x', 'candidate_asset_ids': ['a']}],
|
| 53 |
+
}))
|
| 54 |
+
request = joint.load_request(path)
|
| 55 |
+
assert request['search']['kitchen_fridge_first'] is False
|
| 56 |
+
assert all(request['search'][key] is True for key in (
|
| 57 |
+
'kitchen_counter_reserve', 'bathroom_shower_reserve',
|
| 58 |
+
'living_pair_decor_pruning'))
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def test_kitchen_fridge_first_override_precedes_counter_without_soft_config():
|
| 62 |
+
plan = _plan('kitchen')
|
| 63 |
+
fridge = _pose('f', 'refrigerator', [1., .4], [.8, .8, 1.8])
|
| 64 |
+
counter = _pose('c', 'kitchen_counter', [2., .4], [1.6, .6, .9])
|
| 65 |
+
request = {'search': {'kitchen_fridge_first': True}}
|
| 66 |
+
assert joint._kitchen_priority_override(fridge, {}, plan, request) < 0
|
| 67 |
+
assert joint._kitchen_priority_override(fridge, {}, plan, request) < joint._kitchen_priority_override(counter, {}, plan, request)
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
def test_counter_reserve_key_prefers_pose_leaving_a_fridge_wall_run():
|
| 71 |
+
plan = _plan('kitchen', (0., 0., 4., 3.))
|
| 72 |
+
blocked = _pose('c', 'kitchen_counter', [2., .3], [3.6, .6, .9], wall='S')
|
| 73 |
+
open_run = _pose('c', 'kitchen_counter', [.5, 2.7], [.8, .6, .9], wall='N', front='-Y')
|
| 74 |
+
assert joint._kitchen_counter_reserve_key(blocked, plan['rooms'][0], plan) > joint._kitchen_counter_reserve_key(open_run, plan['rooms'][0], plan)
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def test_shower_reserve_key_prefers_corner_pose_with_two_fixture_wall_space():
|
| 78 |
+
plan = _plan('bathroom', (0., 0., 2.4, 3.2))
|
| 79 |
+
center = _pose('sh', 'shower', [1.2, 1.6], [.9, .9, 2.1], wall='S')
|
| 80 |
+
corner = _pose('sh', 'shower', [2., 2.8], [.8, .8, 2.1], wall='E', front='-X')
|
| 81 |
+
assert joint._bathroom_shower_reserve_key(center, plan['rooms'][0], plan) > joint._bathroom_shower_reserve_key(corner, plan['rooms'][0], plan)
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def test_living_decor_key_changes_when_tv_pair_changes():
|
| 85 |
+
sofa = _pose('sofa', 'sofa', [2., 1.], [1.6, .8, .8], wall='N')
|
| 86 |
+
console = _pose('console', 'media_console', [2., 3.6], [1.2, .4, .7], wall='S', front='-Y')
|
| 87 |
+
tv = _pose('tv', 'television', [2., 3.6], [.8, .2, .5], wall='S', front='-Y')
|
| 88 |
+
first = joint._living_decor_key({'sofa': sofa, 'console': console, 'tv': tv})
|
| 89 |
+
second = joint._living_decor_key({'sofa': sofa, 'console': console, 'tv': dict(tv, center_xy_m=[1.5, 3.6])})
|
| 90 |
+
assert first != second
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def test_living_decor_cache_separates_blocked_dead_state_from_open_live_state():
|
| 94 |
+
sofa = _pose('sofa', 'sofa', [2., 1.], [1.6, .8, .8], wall='N')
|
| 95 |
+
console = _pose('console', 'media_console', [2., 3.6], [1.2, .4, .7], wall='S', front='-Y')
|
| 96 |
+
tv = _pose('tv', 'television', [2., 3.6], [.8, .2, .5], wall='S', front='-Y')
|
| 97 |
+
blocker = _pose('blocker', 'bookcase', [2., 2.], [3.8, 1.8, 1.8])
|
| 98 |
+
|
| 99 |
+
# State A is the dead branch: the extra furniture blocks every coffee-table pose.
|
| 100 |
+
# State B has the same sofa/TV pair but remains live because the blocker is absent.
|
| 101 |
+
dead_state = {'sofa': sofa, 'console': console, 'tv': tv, 'blocker': blocker}
|
| 102 |
+
live_state = {'sofa': sofa, 'console': console, 'tv': tv}
|
| 103 |
+
|
| 104 |
+
assert joint._living_decor_cache_key('r', dead_state) != joint._living_decor_cache_key('r', live_state)
|
| 105 |
+
assert joint._living_decor_cache_key('r', {
|
| 106 |
+
**dead_state,
|
| 107 |
+
'blocker': dict(blocker, base_z_m=.15),
|
| 108 |
+
}) != joint._living_decor_cache_key('r', dead_state)
|
| 109 |
+
|
code/robohome/src/engine/tests/test_living_search_order.py
CHANGED
|
@@ -165,7 +165,8 @@ def test_synthetic_living_search_enters_tv_pair_before_decor():
|
|
| 165 |
if entity['entity_id']=='television':
|
| 166 |
return [dict(base, center_xy_m=[1.2, 5.5], yaw_deg=180., base_z_m=.7)]
|
| 167 |
if entity['entity_id']=='coffee_table':
|
| 168 |
-
|
|
|
|
| 169 |
return [dict(base, center_xy_m=[1., 1.], yaw_deg=0.)]
|
| 170 |
|
| 171 |
class Passage:
|
|
|
|
| 165 |
if entity['entity_id']=='television':
|
| 166 |
return [dict(base, center_xy_m=[1.2, 5.5], yaw_deg=180., base_z_m=.7)]
|
| 167 |
if entity['entity_id']=='coffee_table':
|
| 168 |
+
# 0.55 m legroom in front of the sofa (032: a table may not overlap the sofa outline).
|
| 169 |
+
return [dict(base, center_xy_m=[1.2, 1.95], yaw_deg=0.)]
|
| 170 |
return [dict(base, center_xy_m=[1., 1.], yaw_deg=0.)]
|
| 171 |
|
| 172 |
class Passage:
|
code/robohome/src/engine/tests/test_task028_structural_false_positives.py
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Pure-Python regressions for task 028 structural false positives."""
|
| 2 |
+
|
| 3 |
+
import json
|
| 4 |
+
import os
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
import sys
|
| 7 |
+
|
| 8 |
+
import pytest
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
ROOT = Path(__file__).resolve().parents[2]
|
| 12 |
+
SCENE_GENERATION = ROOT / "engine/source/scripts/internal/scene_generation"
|
| 13 |
+
REAL_ASSETS = SCENE_GENERATION / "real_assets"
|
| 14 |
+
sys.path.insert(0, str(SCENE_GENERATION))
|
| 15 |
+
sys.path.insert(0, str(REAL_ASSETS))
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def _evidence_path(relative):
|
| 19 |
+
root = Path(os.environ.get('RHG_TEST_EVIDENCE_ROOT', ROOT / 'tests/fixtures/structural'))
|
| 20 |
+
path = root / relative
|
| 21 |
+
if not path.is_file():
|
| 22 |
+
pytest.skip('External saved-scene evidence unavailable; configure RHG_TEST_EVIDENCE_ROOT')
|
| 23 |
+
return path
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def _q29_record():
|
| 27 |
+
data = json.loads(
|
| 28 |
+
_evidence_path('q29/structural_precision_022.json').read_text()
|
| 29 |
+
)
|
| 30 |
+
return next(
|
| 31 |
+
row
|
| 32 |
+
for row in data["records"]
|
| 33 |
+
if row["object_name"] == "wall__exterior__V_10.79_0.00_8.87_0"
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
def _q59_wall():
|
| 38 |
+
data = json.loads(_evidence_path('q59/wall_q59.json').read_text())
|
| 39 |
+
return data["wall__interior__hallway__living__0"]
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def _world_vertices(record):
|
| 43 |
+
matrix = record["matrix_world"]
|
| 44 |
+
return [
|
| 45 |
+
tuple(
|
| 46 |
+
sum(matrix[row][column] * point[column] for column in range(3))
|
| 47 |
+
+ matrix[row][3]
|
| 48 |
+
for row in range(3)
|
| 49 |
+
)
|
| 50 |
+
for point in record["vertices"]
|
| 51 |
+
]
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def test_q29_surface_distance_uses_exact_source_face_geometry():
|
| 55 |
+
from structural_material_application import (
|
| 56 |
+
exact_face_surface_distance,
|
| 57 |
+
partition_precision_diagnostic,
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
diagnostic = _q29_record()
|
| 61 |
+
# The evidence gives the unchanged world bounds and zero face-plane error.
|
| 62 |
+
# Construct one source wall face and a subdivided face on that same plane.
|
| 63 |
+
source_face = {
|
| 64 |
+
"points": [
|
| 65 |
+
(10.79, 0.0, 0.0),
|
| 66 |
+
(10.79, 8.87, 0.0),
|
| 67 |
+
(10.79, 8.87, 3.0),
|
| 68 |
+
(10.79, 0.0, 3.0),
|
| 69 |
+
],
|
| 70 |
+
"normal": (1.0, 0.0, 0.0),
|
| 71 |
+
}
|
| 72 |
+
partition_face = [
|
| 73 |
+
(10.79, 0.0, 0.0),
|
| 74 |
+
(10.79, 4.57, 0.0),
|
| 75 |
+
(10.79, 4.57, 3.0),
|
| 76 |
+
(10.79, 0.0, 3.0),
|
| 77 |
+
]
|
| 78 |
+
|
| 79 |
+
assert exact_face_surface_distance(partition_face, source_face) == pytest.approx(0.0)
|
| 80 |
+
before_fix = partition_precision_diagnostic(
|
| 81 |
+
diagnostic["object_name"],
|
| 82 |
+
[(10.79, 0.0, 0.0), (10.79, 8.87, 3.0)],
|
| 83 |
+
diagnostic["before"],
|
| 84 |
+
diagnostic["after"],
|
| 85 |
+
vertex_displacement=diagnostic["metrics"]["vertex_displacement"],
|
| 86 |
+
surface_distance=diagnostic["metrics"]["surface_distance"],
|
| 87 |
+
face_distance=diagnostic["metrics"]["face_distance"],
|
| 88 |
+
normal_error=diagnostic["metrics"]["normal_error"],
|
| 89 |
+
)
|
| 90 |
+
assert before_fix["passed"] is False
|
| 91 |
+
assert before_fix["failures"] == ["surface_distance"]
|
| 92 |
+
result = partition_precision_diagnostic(
|
| 93 |
+
diagnostic["object_name"],
|
| 94 |
+
[(10.79, 0.0, 0.0), (10.79, 8.87, 3.0)],
|
| 95 |
+
diagnostic["before"],
|
| 96 |
+
diagnostic["after"],
|
| 97 |
+
vertex_displacement=diagnostic["metrics"]["vertex_displacement"],
|
| 98 |
+
surface_distance=0.0,
|
| 99 |
+
face_distance=diagnostic["metrics"]["face_distance"],
|
| 100 |
+
normal_error=diagnostic["metrics"]["normal_error"],
|
| 101 |
+
)
|
| 102 |
+
assert result["passed"] is True
|
| 103 |
+
assert result["failures"] == []
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
def test_q29_exact_source_face_distance_still_rejects_real_displacement():
|
| 107 |
+
from structural_material_application import exact_face_surface_distance
|
| 108 |
+
|
| 109 |
+
source_face = {
|
| 110 |
+
"points": [
|
| 111 |
+
(10.79, 0.0, 0.0),
|
| 112 |
+
(10.79, 8.87, 0.0),
|
| 113 |
+
(10.79, 8.87, 3.0),
|
| 114 |
+
(10.79, 0.0, 3.0),
|
| 115 |
+
],
|
| 116 |
+
"normal": (1.0, 0.0, 0.0),
|
| 117 |
+
}
|
| 118 |
+
displaced = [(10.7902, 0.0, 0.0), (10.7902, 1.0, 0.0), (10.7902, 0.0, 1.0)]
|
| 119 |
+
assert exact_face_surface_distance(displaced, source_face) == pytest.approx(2e-4)
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
def test_q59_closed_wall_mesh_ray_is_paired_into_the_declared_door_interval():
|
| 123 |
+
from shell_opening_geometry import measure_intervals, mesh_ray_intervals
|
| 124 |
+
|
| 125 |
+
wall = _q59_wall()
|
| 126 |
+
intervals = mesh_ray_intervals(
|
| 127 |
+
_world_vertices(wall),
|
| 128 |
+
wall["faces"],
|
| 129 |
+
origin=(6.360000133514404, 3.2, 1.0),
|
| 130 |
+
direction=(1.0, 0.0, 0.0),
|
| 131 |
+
axis=0,
|
| 132 |
+
)
|
| 133 |
+
assert intervals == pytest.approx([(7.360000133514404, 7.804999828338623)])
|
| 134 |
+
# The companion right wall segment is recorded in shell_geometry_input.json;
|
| 135 |
+
# combining both mesh intervals must recover the one-metre floor-plan door.
|
| 136 |
+
evidence = measure_intervals(
|
| 137 |
+
{
|
| 138 |
+
"door_id": "door__hallway__living",
|
| 139 |
+
"orient": "H",
|
| 140 |
+
"const": 3.2,
|
| 141 |
+
"lo": 7.805,
|
| 142 |
+
"hi": 8.805,
|
| 143 |
+
},
|
| 144 |
+
[
|
| 145 |
+
(intervals[0][0], intervals[0][1], "wall__interior__hallway__living__0"),
|
| 146 |
+
(8.805000305175781, 9.25, "wall__interior__hallway__living__1"),
|
| 147 |
+
],
|
| 148 |
+
1.0,
|
| 149 |
+
"q59_wall_mesh_exact_intervals",
|
| 150 |
+
)
|
| 151 |
+
assert evidence["actual_clear_width_m"] == pytest.approx(1.0, abs=1e-6)
|
| 152 |
+
assert evidence["passed"] is True
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
def test_q59_legacy_edge_hit_sequence_is_rejected_but_mesh_pairing_passes():
|
| 156 |
+
from shell_opening_geometry import stable_ray_hits
|
| 157 |
+
|
| 158 |
+
wall_low = 7.360000133514404
|
| 159 |
+
wall_mid = 7.559999942780304
|
| 160 |
+
wall_high = 7.804999828338623
|
| 161 |
+
|
| 162 |
+
def blender_edge_cast(y):
|
| 163 |
+
if abs(y - 3.2) < 1e-12:
|
| 164 |
+
return [wall_low]
|
| 165 |
+
if y < 3.2:
|
| 166 |
+
return [wall_low, wall_high]
|
| 167 |
+
return [wall_mid, wall_high]
|
| 168 |
+
|
| 169 |
+
with pytest.raises(ValueError, match="unclosed structural mesh"):
|
| 170 |
+
stable_ray_hits(blender_edge_cast, 3.2, nudge_m=2e-4, mesh_is_closed=True)
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
def test_unclosed_mesh_with_even_ray_hits_keeps_legacy_interval_pairing():
|
| 174 |
+
from shell_opening_geometry import stable_ray_hits
|
| 175 |
+
|
| 176 |
+
hits, selected = stable_ray_hits(
|
| 177 |
+
lambda _coordinate: [7.36, 7.805],
|
| 178 |
+
3.2,
|
| 179 |
+
nudge_m=2e-4,
|
| 180 |
+
mesh_is_closed=False,
|
| 181 |
+
)
|
| 182 |
+
|
| 183 |
+
assert selected == 3.2
|
| 184 |
+
assert [(hits[index], hits[index + 1]) for index in range(0, len(hits), 2)] == [
|
| 185 |
+
(7.36, 7.805),
|
| 186 |
+
]
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
def test_unclosed_mesh_with_odd_ray_hits_remains_a_hard_error():
|
| 190 |
+
from shell_opening_geometry import stable_ray_hits
|
| 191 |
+
|
| 192 |
+
with pytest.raises(ValueError, match="unclosed structural mesh"):
|
| 193 |
+
stable_ray_hits(
|
| 194 |
+
lambda _coordinate: [7.36],
|
| 195 |
+
3.2,
|
| 196 |
+
nudge_m=2e-4,
|
| 197 |
+
mesh_is_closed=False,
|
| 198 |
+
)
|
| 199 |
+
|
| 200 |
+
|
| 201 |
+
def test_q59_mesh_with_exit_cap_removed_cannot_form_a_closed_interval():
|
| 202 |
+
from shell_opening_geometry import mesh_ray_intervals
|
| 203 |
+
|
| 204 |
+
wall = _q59_wall()
|
| 205 |
+
with pytest.raises(ValueError, match="matching mesh crossing"):
|
| 206 |
+
mesh_ray_intervals(
|
| 207 |
+
_world_vertices(wall),
|
| 208 |
+
[face for index, face in enumerate(wall["faces"]) if index != 153],
|
| 209 |
+
origin=(6.360000133514404, 3.2, 1.0),
|
| 210 |
+
direction=(1.0, 0.0, 0.0),
|
| 211 |
+
axis=0,
|
| 212 |
+
)
|
code/robohome/src/fixtures/r7_residential_search.json.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38c538a6ac21703d9befe3e0126b8800094a28cda9dcf06a3ddd1034ac8fd7cb
|
| 3 |
+
size 539988
|
code/robohome/src/task_scene_setup.py
CHANGED
|
@@ -159,7 +159,7 @@ def native_request(request):
|
|
| 159 |
envelope_layout=os.environ.get('RHG_ENVELOPE_LAYOUT')=='1',
|
| 160 |
max_seconds_per_room=3600, max_seconds_total=1800, functional_children_first=True,
|
| 161 |
# [claude C13] envelope cap (placed rooms used <= 489 nodes), partner-bound order, fewer 13 MB snapshots
|
| 162 |
-
envelope_node_budget=
|
| 163 |
relation_prefilter=True, static_pose_memo=True, bedside_after_bed=True,
|
| 164 |
dead_pair_limit=20, static_dead_frames=5) # [claude C14]
|
| 165 |
# An explicit smaller caller budget is a constraint, not a default to replace.
|
|
|
|
| 159 |
envelope_layout=os.environ.get('RHG_ENVELOPE_LAYOUT')=='1',
|
| 160 |
max_seconds_per_room=3600, max_seconds_total=1800, functional_children_first=True,
|
| 161 |
# [claude C13] envelope cap (placed rooms used <= 489 nodes), partner-bound order, fewer 13 MB snapshots
|
| 162 |
+
envelope_node_budget=40000, partner_bound_after_partners=True, progress_snapshot_nodes=20000,
|
| 163 |
relation_prefilter=True, static_pose_memo=True, bedside_after_bed=True,
|
| 164 |
dead_pair_limit=20, static_dead_frames=5) # [claude C14]
|
| 165 |
# An explicit smaller caller budget is a constraint, not a default to replace.
|
code/robohome/src/test_area_bin_033.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""033: dataset bins use the scene's actual area (sum of room areas), not the RPLAN conversion target."""
|
| 2 |
+
import pytest
|
| 3 |
+
|
| 4 |
+
from tools.collection.package_scene import actual_area_m2, area_bin_name, conversion_target_area_m2
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def test_actual_area_sums_room_bounds():
|
| 8 |
+
plan = dict(rooms=[dict(bounds_m=[0, 0, 4, 5]), dict(bounds_m=[4, 0, 7, 3.5])],
|
| 9 |
+
rplan_conversion=dict(target_area_m2=105.0))
|
| 10 |
+
assert actual_area_m2(plan) == pytest.approx(30.5)
|
| 11 |
+
assert conversion_target_area_m2(plan) == 105.0
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def test_explicit_room_area_wins_over_bounds():
|
| 15 |
+
assert actual_area_m2(dict(rooms=[dict(area_m2=12.5, bounds_m=[0, 0, 1, 1])])) == 12.5
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
@pytest.mark.parametrize('area,name', [(90.8, '090-099m2'), (99.999, '090-099m2'), (100.0, '100-109m2'), (138.6, '130-139m2')])
|
| 19 |
+
def test_bin_names(area, name):
|
| 20 |
+
assert area_bin_name(area) == name
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
@pytest.mark.parametrize('plan', [dict(rooms=[]), dict(), dict(rooms=[dict(bounds_m=[0, 0, -1, 1])])])
|
| 24 |
+
def test_invalid_plans_raise(plan):
|
| 25 |
+
with pytest.raises(ValueError):
|
| 26 |
+
actual_area_m2(plan)
|
code/robohome/src/test_c13.py
CHANGED
|
@@ -56,7 +56,7 @@ class C13(unittest.TestCase):
|
|
| 56 |
def test_search_defaults(self):
|
| 57 |
import task_scene_setup
|
| 58 |
src = inspect.getsource(task_scene_setup)
|
| 59 |
-
for key in ('envelope_node_budget=
|
| 60 |
self.assertIn(key, src)
|
| 61 |
|
| 62 |
|
|
|
|
| 56 |
def test_search_defaults(self):
|
| 57 |
import task_scene_setup
|
| 58 |
src = inspect.getsource(task_scene_setup)
|
| 59 |
+
for key in ('envelope_node_budget=40000', 'partner_bound_after_partners=True', 'progress_snapshot_nodes=20000', 'relation_prefilter=True'):
|
| 60 |
self.assertIn(key, src)
|
| 61 |
|
| 62 |
|
code/robohome/src/test_coffee_sofa_clearance_032.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""032: a coffee table keeps legroom to the sofa's actual outline, not only a centre distance (production queue_000106)."""
|
| 2 |
+
import joint_layout as joint
|
| 3 |
+
|
| 4 |
+
L_SOFA = dict(entity_id='sofa', room_id='living', role='sofa', category='sofa', center_xy_m=[2.81035, 12.63054], yaw_deg=0.0,
|
| 5 |
+
uniform_scale=1.0, dimensions_m=[2.8737, 2.0042, 0.9353], canonical_front_axis='-Y',
|
| 6 |
+
source_visual_footprint_polygon_xy_m=[
|
| 7 |
+
[-1.29905, -0.16793], [-1.23303, -1.09841], [-1.20404, -1.12972], [-0.28212, -1.12972],
|
| 8 |
+
[-0.26762, -1.12553], [1.55884, -0.19531], [1.57465, -0.16793], [1.57465, 0.83232],
|
| 9 |
+
[1.54304, 0.86393], [-1.26744, 0.86393], [-1.29905, 0.83232]])
|
| 10 |
+
TABLE_POLYGON = [[-0.8, -0.4], [0.8, -0.4], [0.8, 0.4], [-0.8, 0.4]]
|
| 11 |
+
RELATIONS = [dict(kind='distance', subject='coffee_table', object='sofa', minimum_m=1.4, maximum_m=1.6),
|
| 12 |
+
dict(kind='in_front_of', subject='coffee_table', object='sofa', source='living_function')]
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def _table(center, **extra):
|
| 16 |
+
table = dict(entity_id='coffee_table', room_id='living', role='coffee_table', category='coffee_table',
|
| 17 |
+
center_xy_m=list(center), yaw_deg=0.0, dimensions_m=[1.6, 0.8, 0.46], canonical_front_axis='+Y',
|
| 18 |
+
source_visual_footprint_polygon_xy_m=TABLE_POLYGON)
|
| 19 |
+
table.update(extra)
|
| 20 |
+
return table
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def _errors(sofa, table):
|
| 24 |
+
return joint.relation_errors({'sofa': sofa, 'coffee_table': table}, RELATIONS)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def test_q106_table_against_the_chaise_is_rejected():
|
| 28 |
+
# Production pose: centre distance 1.60 m passes, but the table is 0.07 m from the chaise.
|
| 29 |
+
table = _table([2.81035, 11.03054])
|
| 30 |
+
assert joint.footprint_rect_clearance(L_SOFA, joint.bounds(table)) < 0.10
|
| 31 |
+
assert any(e['relation']['kind'] == 'in_front_of' for e in _errors(L_SOFA, table))
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def test_table_with_legroom_in_front_of_the_main_seat_is_accepted():
|
| 35 |
+
table = _table([3.38, 10.68]) # deep sofa: legroom band to the outline replaces the 1.4-1.6 m centre band
|
| 36 |
+
assert joint.footprint_rect_clearance(L_SOFA, joint.bounds(table)) >= joint.COFFEE_SOFA_MIN_CLEARANCE_M
|
| 37 |
+
assert _errors(L_SOFA, table) == []
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
def test_straight_sofa_layout_is_unchanged():
|
| 41 |
+
sofa = dict(entity_id='sofa', room_id='living', role='sofa', category='sofa', center_xy_m=[2.0, 4.0], yaw_deg=0.0,
|
| 42 |
+
dimensions_m=[2.2, 0.9, 0.85], canonical_front_axis='-Y')
|
| 43 |
+
table = _table([2.0, 2.5], source_visual_footprint_polygon_xy_m=None)
|
| 44 |
+
assert _errors(sofa, table) == [] # 1.5 m centre distance -> about 0.65 m legroom
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
def test_overlap_reports_zero_clearance():
|
| 48 |
+
table = _table([2.81035, 12.3])
|
| 49 |
+
assert joint.footprint_rect_clearance(L_SOFA, joint.bounds(table)) == 0.
|
code/robohome/src/test_door_jambs_032.py
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""032: doors must keep a solid jamb clear of the perpendicular walls at the ends of their shared wall.
|
| 2 |
+
|
| 3 |
+
Production cases queue_000900 / queue_000857 had a 1.0 m door on a 1.22 m shared wall (0.11 m to each corner);
|
| 4 |
+
the shell then had a notch beside the frame and the saved-opening ray check failed in build-shell.
|
| 5 |
+
"""
|
| 6 |
+
import copy
|
| 7 |
+
|
| 8 |
+
from adaptive_shell import ensure_door_jambs
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def _plan(door_interval, *, hallway=(3.95, 5.7, 8.28, 6.92), guest=(8.28, 5.7, 12.54, 10.56), fixed=False, extra_doors=()):
|
| 12 |
+
door = dict(door_id='door__hallway__guest', room_ids=['hallway', 'guest'], room_types=['hallway', 'guest_bedroom'],
|
| 13 |
+
wall_orientation='V', wall_line_m=8.28, door_interval_m=list(door_interval),
|
| 14 |
+
door_width_m=round(door_interval[1] - door_interval[0], 4), source='circulation_graph_selected_v8')
|
| 15 |
+
if fixed:
|
| 16 |
+
door['fixed'] = True
|
| 17 |
+
return dict(wall_thickness_m=0.2,
|
| 18 |
+
rooms=[dict(room_id='hallway', room_type='hallway', bounds_m=list(hallway)),
|
| 19 |
+
dict(room_id='guest', room_type='guest_bedroom', bounds_m=list(guest))],
|
| 20 |
+
doors=[door, *extra_doors],
|
| 21 |
+
topology_adjacencies=[dict(room_ids=['hallway', 'guest'], door_id='door__hallway__guest',
|
| 22 |
+
door_interval_m=list(door_interval))])
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def test_q900_short_wall_keeps_its_one_metre_door():
|
| 26 |
+
# 1.22 m shared wall cannot hold a 1.0 m door plus two 0.15 m jambs; width is contractual, so nothing moves.
|
| 27 |
+
out = ensure_door_jambs(_plan([5.81, 6.81]))
|
| 28 |
+
assert out['doors'][0]['door_interval_m'] == [5.81, 6.81]
|
| 29 |
+
assert out['adaptive_shell_door_jambs'][0]['status'] == 'unchanged_shared_wall_too_short'
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def test_door_near_corner_of_longer_wall_slides_and_updates_adjacency():
|
| 33 |
+
out = ensure_door_jambs(_plan([5.75, 6.75], hallway=(3.95, 5.7, 8.28, 7.5)))
|
| 34 |
+
assert out['doors'][0]['door_interval_m'] == [5.85, 6.85]
|
| 35 |
+
assert out['topology_adjacencies'][0]['door_interval_m'] == [5.85, 6.85]
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def test_door_on_long_wall_slides_without_narrowing():
|
| 39 |
+
out = ensure_door_jambs(_plan([5.75, 6.75], hallway=(3.95, 5.7, 8.28, 8.5)))
|
| 40 |
+
lo, hi = out['doors'][0]['door_interval_m']
|
| 41 |
+
assert abs((hi - lo) - 1.0) < 1e-9 and abs(lo - 5.85) < 1e-9
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def test_compliant_door_is_untouched():
|
| 45 |
+
plan = _plan([6.0, 6.8], hallway=(3.95, 5.7, 8.28, 7.2))
|
| 46 |
+
assert ensure_door_jambs(plan) == plan
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def test_fixed_door_is_never_moved():
|
| 50 |
+
plan = _plan([5.81, 6.81], fixed=True)
|
| 51 |
+
assert ensure_door_jambs(plan) == plan
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def test_too_short_wall_is_reported_and_left_alone():
|
| 55 |
+
out = ensure_door_jambs(_plan([5.75, 6.55], hallway=(3.95, 5.7, 8.28, 6.6))) # 0.9 m wall, needs >= 1.2 m
|
| 56 |
+
assert out['doors'][0]['door_interval_m'] == [5.75, 6.55]
|
| 57 |
+
assert out['adaptive_shell_door_jambs'][0]['status'] == 'unchanged_shared_wall_too_short'
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def test_neighbour_door_on_same_wall_blocks_the_move():
|
| 61 |
+
other = dict(door_id='door__x__guest', room_ids=['x', 'guest'], wall_orientation='V', wall_line_m=8.28,
|
| 62 |
+
door_interval_m=[6.8, 7.7])
|
| 63 |
+
plan = _plan([5.75, 6.75], hallway=(3.95, 5.7, 8.28, 7.5), extra_doors=[other])
|
| 64 |
+
out = ensure_door_jambs(plan)
|
| 65 |
+
assert out['doors'][0]['door_interval_m'] == [5.75, 6.75]
|
| 66 |
+
assert out['adaptive_shell_door_jambs'][0]['status'] == 'unchanged_neighbour_door'
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def test_input_plan_is_not_mutated():
|
| 70 |
+
plan = _plan([5.81, 6.81])
|
| 71 |
+
before = copy.deepcopy(plan)
|
| 72 |
+
ensure_door_jambs(plan)
|
| 73 |
+
assert plan == before
|
code/robohome/src/test_envelope_layout.py
CHANGED
|
@@ -483,10 +483,14 @@ class NativeEnvelopeBridgeTest(unittest.TestCase):
|
|
| 483 |
self.assertTrue(el.fits_envelope(candidate,entity['_envelope_m']))
|
| 484 |
self.assertNotIn('envelope_size_skipped',report)
|
| 485 |
|
| 486 |
-
def
|
| 487 |
-
entity
|
| 488 |
-
|
| 489 |
-
self.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 490 |
|
| 491 |
def test_orientation_only_mismatch_is_not_a_hard_native_size_rejection(self):
|
| 492 |
entity,original,_,report=self.apply([2.,1.35,.01],envelope=(1.4,2.1,.02),mount='cover')
|
|
|
|
| 483 |
self.assertTrue(el.fits_envelope(candidate,entity['_envelope_m']))
|
| 484 |
self.assertNotIn('envelope_size_skipped',report)
|
| 485 |
|
| 486 |
+
def test_oversized_candidate_triggers_native_size_retry(self):
|
| 487 |
+
# 029: an oversized pooled candidate no longer drops the whole entity; the room is retried with the
|
| 488 |
+
# native box, and when a fitting candidate exists the entity keeps envelope guidance.
|
| 489 |
+
entity,original,candidate,report=self.apply([2.,.9,.9],extra_candidates=[asset('sofa',[3.,1.5,.9])])
|
| 490 |
+
self.assertEqual(report['native_size_retries'][0]['entities'],['sofa'])
|
| 491 |
+
self.assertNotIn('envelope_size_skipped',report)
|
| 492 |
+
self.assertNotEqual(entity['center_xy_m'],original['center_xy_m'])
|
| 493 |
+
self.assertTrue(el.fits_envelope(candidate,entity['_envelope_m']))
|
| 494 |
|
| 495 |
def test_orientation_only_mismatch_is_not_a_hard_native_size_rejection(self):
|
| 496 |
entity,original,_,report=self.apply([2.,1.35,.01],envelope=(1.4,2.1,.02),mount='cover')
|
code/robohome/src/test_layout_repair_029.py
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import inspect
|
| 2 |
+
import unittest
|
| 3 |
+
|
| 4 |
+
import envelope_layout as el
|
| 5 |
+
import functional_layout as functional
|
| 6 |
+
import joint_layout as joint
|
| 7 |
+
import task_scene_setup
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def _plan(*, windows=()):
|
| 11 |
+
return {
|
| 12 |
+
'wall_thickness_m': 0.2,
|
| 13 |
+
'wall_height_m': 2.8,
|
| 14 |
+
'rooms': [{'room_id': 'r', 'bounds_m': [0.0, 0.0, 5.09, 5.93]}],
|
| 15 |
+
'doors': [],
|
| 16 |
+
'windows': list(windows),
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def _entity(entity_id, role, **extra):
|
| 21 |
+
result = dict(entity_id=entity_id, room_id='r', category=role, role=role,
|
| 22 |
+
center_xy_m=[2.0, 2.0], yaw_deg=0.0, dimensions_m=[1.0, 1.0, 1.0])
|
| 23 |
+
result.update(extra)
|
| 24 |
+
return result
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def _candidate(role, dims, axis='+Y', asset_id='asset'):
|
| 28 |
+
return dict(asset_id=asset_id, normalized_category=role, category=role,
|
| 29 |
+
dimensions_m=list(dims), canonical_front_axis=axis)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
class EnvelopeNativeSizeRetry029Test(unittest.TestCase):
|
| 33 |
+
def test_oversized_selected_asset_gets_a_native_envelope_retry(self):
|
| 34 |
+
entity = _entity('sofa', 'sofa')
|
| 35 |
+
candidate = _candidate('sofa', [2.8737, 2.0042, 0.9353], axis='-Y')
|
| 36 |
+
report = el.apply_to_entities(
|
| 37 |
+
[entity], _plan(), candidates_by_entity={'sofa': [candidate]})
|
| 38 |
+
|
| 39 |
+
self.assertIn('sofa', report['applied'])
|
| 40 |
+
self.assertGreaterEqual(entity['_envelope_m'][0], 2.8737)
|
| 41 |
+
self.assertGreaterEqual(entity['_envelope_m'][1], 2.0042)
|
| 42 |
+
self.assertNotIn('envelope_size_skipped', report)
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class EnvelopeBudget029Test(unittest.TestCase):
|
| 46 |
+
def test_scene_setup_uses_the_joint_default_envelope_budget(self):
|
| 47 |
+
source = inspect.getsource(task_scene_setup)
|
| 48 |
+
self.assertIn('envelope_node_budget=40000', source)
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
class WindowKeepout029Test(unittest.TestCase):
|
| 52 |
+
def test_tall_bookcase_within_inner_wall_keepout_is_rejected(self):
|
| 53 |
+
window = dict(window_id='w', room_id='r', wall_orientation='V', wall_line_m=0.0,
|
| 54 |
+
side='W', window_interval_m=[1.0, 4.0],
|
| 55 |
+
sill_height_m=0.9, head_height_m=2.4)
|
| 56 |
+
pose = _entity('bookcase', 'cabinet', center_xy_m=[0.699, 2.2],
|
| 57 |
+
yaw_deg=90.0, wall_anchor='W',
|
| 58 |
+
dimensions_m=[1.6, 0.4238, 2.0],
|
| 59 |
+
_inner=[0.105, 0.105, 4.985, 5.825],
|
| 60 |
+
_access=None, base_z_m=0.0,
|
| 61 |
+
layout_relation='window_sill_overlap_m=0.1')
|
| 62 |
+
|
| 63 |
+
errors = joint.placement_errors(pose, {}, _plan(windows=[window]), [])
|
| 64 |
+
|
| 65 |
+
self.assertIn('retained_window', {error['reason'] for error in errors})
|
| 66 |
+
|
| 67 |
+
def test_low_counter_at_the_same_window_remains_legal(self):
|
| 68 |
+
window = dict(window_id='w', room_id='r', wall_orientation='V', wall_line_m=0.0,
|
| 69 |
+
side='W', window_interval_m=[1.0, 4.0],
|
| 70 |
+
sill_height_m=0.9, head_height_m=2.4)
|
| 71 |
+
pose = _entity('counter', 'cabinet', center_xy_m=[0.3, 2.2],
|
| 72 |
+
yaw_deg=90.0, wall_anchor='W',
|
| 73 |
+
dimensions_m=[0.65, 0.6, 0.95],
|
| 74 |
+
_inner=[0.105, 0.105, 4.985, 5.825],
|
| 75 |
+
_access=None, base_z_m=0.0,
|
| 76 |
+
layout_relation='window_sill_overlap_m=0.1')
|
| 77 |
+
|
| 78 |
+
errors = joint.placement_errors(pose, {}, _plan(windows=[window]), [])
|
| 79 |
+
|
| 80 |
+
self.assertNotIn('retained_window', {error['reason'] for error in errors})
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
class PairGap029Test(unittest.TestCase):
|
| 84 |
+
@unittest.skip('029 item 4 (visual-footprint pair gap) deferred to the next round')
|
| 85 |
+
def test_coffee_table_gap_uses_sofa_visual_footprint(self):
|
| 86 |
+
sofa = _entity(
|
| 87 |
+
'sofa', 'sofa', center_xy_m=[0.0, 0.0], yaw_deg=0.0,
|
| 88 |
+
dimensions_m=[2.8737, 2.0042, 0.9353],
|
| 89 |
+
source_visual_footprint_polygon_xy_m=[
|
| 90 |
+
[-1.44, -1.00], [1.44, -1.00], [1.44, 0.90], [-1.44, 0.90]
|
| 91 |
+
], canonical_front_axis='-Y')
|
| 92 |
+
coffee = _entity(
|
| 93 |
+
'coffee_table', 'coffee_table', center_xy_m=[0.0, -1.75], yaw_deg=0.0,
|
| 94 |
+
dimensions_m=[1.6, 0.8, 0.46], canonical_front_axis='+Y')
|
| 95 |
+
relation = {'kind': 'in_front_of', 'subject': 'coffee_table', 'object': 'sofa'}
|
| 96 |
+
|
| 97 |
+
self.assertTrue(functional.relation_failure(
|
| 98 |
+
relation, coffee, sofa, {'sofa': sofa, 'coffee_table': coffee},
|
| 99 |
+
joint.bounds, joint.front_vector))
|
| 100 |
+
|
| 101 |
+
def test_straight_sofa_with_a_quarter_metre_gap_remains_legal(self):
|
| 102 |
+
sofa = _entity(
|
| 103 |
+
'sofa', 'sofa', center_xy_m=[0.0, 0.0], yaw_deg=0.0,
|
| 104 |
+
dimensions_m=[2.0, 1.0, 0.9],
|
| 105 |
+
source_visual_footprint_polygon_xy_m=[
|
| 106 |
+
[-1.0, -0.5], [1.0, -0.5], [1.0, 0.5], [-1.0, 0.5]
|
| 107 |
+
], canonical_front_axis='-Y')
|
| 108 |
+
coffee = _entity(
|
| 109 |
+
'coffee_table', 'coffee_table', center_xy_m=[0.0, -1.35], yaw_deg=0.0,
|
| 110 |
+
dimensions_m=[1.0, 0.6, 0.46], canonical_front_axis='+Y')
|
| 111 |
+
relation = {'kind': 'in_front_of', 'subject': 'coffee_table', 'object': 'sofa'}
|
| 112 |
+
|
| 113 |
+
self.assertFalse(functional.relation_failure(
|
| 114 |
+
relation, coffee, sofa, {'sofa': sofa, 'coffee_table': coffee},
|
| 115 |
+
joint.bounds, joint.front_vector))
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
if __name__ == '__main__':
|
| 119 |
+
unittest.main()
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
class BlenderImportSafety032Test(unittest.TestCase):
|
| 123 |
+
def test_window_keepout_constant_matches_rules_yaml(self):
|
| 124 |
+
import layout_rules
|
| 125 |
+
self.assertAlmostEqual(joint.WINDOW_TALL_KEEPOUT_M, layout_rules.load('current').c('WINDOW_TALL_KEEPOUT_M'))
|
| 126 |
+
|
| 127 |
+
def test_joint_layout_imports_without_yaml(self):
|
| 128 |
+
# Blender's Python has no PyYAML; joint_layout is imported by the saved-geometry audit there.
|
| 129 |
+
import subprocess, sys, os, textwrap
|
| 130 |
+
code = textwrap.dedent('''
|
| 131 |
+
import sys, builtins
|
| 132 |
+
real = builtins.__import__
|
| 133 |
+
def guard(name, *a, **k):
|
| 134 |
+
if name == 'yaml' or name.startswith('yaml.'):
|
| 135 |
+
raise ModuleNotFoundError("No module named 'yaml'")
|
| 136 |
+
return real(name, *a, **k)
|
| 137 |
+
builtins.__import__ = guard
|
| 138 |
+
import joint_layout
|
| 139 |
+
print('ok')
|
| 140 |
+
''')
|
| 141 |
+
out = subprocess.run([sys.executable, '-c', code], capture_output=True, text=True, env=os.environ)
|
| 142 |
+
self.assertEqual(out.returncode, 0, out.stderr[-2000:])
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
class CompactKitchenPlanIdentity034Test(unittest.TestCase):
|
| 146 |
+
def test_compact_kitchen_hint_is_set_after_plan_fingerprint(self):
|
| 147 |
+
# A recovery attempt with compact_kitchen must not change the frozen-plan fingerprint the window readback binds to.
|
| 148 |
+
import inspect
|
| 149 |
+
source = inspect.getsource(joint.solve)
|
| 150 |
+
self.assertLess(source.index('original_plan_sha256=fingerprint(plan)'), source.index("plan['_compact_kitchen']"))
|
code/robohome/src/test_stack_batch_compatibility.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Stack batching preserves results and fallback with Python 3.10 generics."""
|
| 2 |
+
import unittest
|
| 3 |
+
|
| 4 |
+
from engine.source.packages.runtime.stack_batch import StackJob, StackBatchResult, run_stack_batches
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class StackBatchCompatibilityTests(unittest.TestCase):
|
| 8 |
+
def test_typed_result_is_available(self):
|
| 9 |
+
result = StackBatchResult[int](values={'a': 1}, batches=[])
|
| 10 |
+
self.assertEqual(result.values, {'a': 1})
|
| 11 |
+
|
| 12 |
+
def test_failed_group_is_bisected_and_single_stack_results_retained(self):
|
| 13 |
+
jobs = [StackJob(name, 'table', (0, 0), (1, 1)) for name in ('a', 'b')]
|
| 14 |
+
|
| 15 |
+
def simulate(group):
|
| 16 |
+
if len(group) > 1:
|
| 17 |
+
raise RuntimeError('world capacity')
|
| 18 |
+
return {group[0].stack_id: 42}
|
| 19 |
+
|
| 20 |
+
result = run_stack_batches([jobs], simulate)
|
| 21 |
+
self.assertEqual(result.values, {'a': 42, 'b': 42})
|
| 22 |
+
self.assertEqual([row['status'] for row in result.batches],
|
| 23 |
+
['fallback', 'complete', 'complete'])
|
| 24 |
+
|
| 25 |
+
def test_single_stack_failure_is_reported(self):
|
| 26 |
+
job = StackJob('a', 'table', (0, 0), (1, 1))
|
| 27 |
+
with self.assertRaisesRegex(ValueError, 'incomplete batch'):
|
| 28 |
+
run_stack_batches([[job]], lambda group: {})
|
code/robohome/src/tests/fixtures/support_pair_completed_success.json.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b78fa3ad002f18f2968f7cb65d2518c0a07542b5eace70a09e5458a9647d299
|
| 3 |
+
size 45256
|
code/robohome/src/tools/collection/package_scene.py
CHANGED
|
@@ -2,11 +2,50 @@
|
|
| 2 |
import argparse
|
| 3 |
import hashlib
|
| 4 |
import json
|
|
|
|
| 5 |
import re
|
| 6 |
import shutil
|
| 7 |
import time
|
| 8 |
from pathlib import Path
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
def sha(p):
|
|
@@ -182,6 +221,8 @@ def find_scene(case, manifest=None):
|
|
| 182 |
|
| 183 |
|
| 184 |
def plan_png(manifest, out):
|
|
|
|
|
|
|
| 185 |
rooms = manifest.get("floor_plan", {}).get("rooms", [])
|
| 186 |
bounds = [r.get("bounds_m") for r in rooms if isinstance(r.get("bounds_m"), list) and len(r["bounds_m"]) == 4]
|
| 187 |
if not bounds:
|
|
@@ -220,12 +261,14 @@ def main():
|
|
| 220 |
scene_dir, mp, blend, selected_by = find_scene(case, manifest=args.manifest)
|
| 221 |
manifest = json.loads(mp.read_text())
|
| 222 |
fp = manifest.get("floor_plan", {})
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
|
|
|
|
|
|
| 229 |
plan_id = fp.get("plan_id") or "plan_unknown"
|
| 230 |
sid = f"{plan_id}__{case.name}"
|
| 231 |
dest = (args.dataset / area_bin / sid).resolve()
|
|
@@ -246,6 +289,8 @@ def main():
|
|
| 246 |
"scene_id": sid,
|
| 247 |
"area_m2": area,
|
| 248 |
"area_bin": area_bin,
|
|
|
|
|
|
|
| 249 |
"source_plan_id": fp.get("plan_id"),
|
| 250 |
"source_rplan_id": fp.get("rplan_source_id"),
|
| 251 |
"scene_dir": str(scene_dir),
|
|
@@ -265,8 +310,8 @@ def main():
|
|
| 265 |
"worker": meta,
|
| 266 |
"created_at": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
|
| 267 |
}
|
| 268 |
-
(dest / "rp1_scene_info.json").write_text(json.dumps(info, ensure_ascii=False, indent=2) + "\n")
|
| 269 |
(dest / "source_manifest.json").write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n")
|
|
|
|
| 270 |
print(json.dumps({"ok": True, "scene_id": sid, "area_m2": area, "area_bin": area_bin,
|
| 271 |
"dest": str(dest), "scene_dir": str(scene_dir), "selected_by": selected_by}, ensure_ascii=False), flush=True)
|
| 272 |
|
|
|
|
| 2 |
import argparse
|
| 3 |
import hashlib
|
| 4 |
import json
|
| 5 |
+
import math
|
| 6 |
import re
|
| 7 |
import shutil
|
| 8 |
import time
|
| 9 |
from pathlib import Path
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def actual_area_m2(floor_plan) -> float:
|
| 13 |
+
"""Sum generated room areas, using rectangular bounds only when absent."""
|
| 14 |
+
rooms = floor_plan.get("rooms")
|
| 15 |
+
if not isinstance(rooms, list) or not rooms:
|
| 16 |
+
raise ValueError("floor_plan.rooms must be a nonempty list")
|
| 17 |
+
areas = []
|
| 18 |
+
for index, room in enumerate(rooms):
|
| 19 |
+
try:
|
| 20 |
+
area = room.get("area_m2")
|
| 21 |
+
if area is None:
|
| 22 |
+
x0, y0, x1, y1 = map(float, room["bounds_m"])
|
| 23 |
+
if not all(math.isfinite(v) for v in (x0, y0, x1, y1)) or x1 < x0 or y1 < y0:
|
| 24 |
+
raise ValueError("invalid bounds_m")
|
| 25 |
+
area = (x1 - x0) * (y1 - y0)
|
| 26 |
+
area = float(area)
|
| 27 |
+
if not math.isfinite(area) or area < 0:
|
| 28 |
+
raise ValueError("area must be nonnegative and finite")
|
| 29 |
+
except (AttributeError, KeyError, TypeError, ValueError, OverflowError) as exc:
|
| 30 |
+
raise ValueError(f"invalid area for floor_plan.rooms[{index}]: {exc}") from exc
|
| 31 |
+
areas.append(area)
|
| 32 |
+
try:
|
| 33 |
+
return math.fsum(areas)
|
| 34 |
+
except OverflowError as exc:
|
| 35 |
+
raise ValueError("sum of room areas is not finite") from exc
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def area_bin_name(area: float) -> str:
|
| 39 |
+
lo = int(area // 10) * 10
|
| 40 |
+
return f"{lo:03d}-{lo + 9:03d}m2"
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def conversion_target_area_m2(floor_plan):
|
| 44 |
+
conversion = floor_plan.get("rplan_conversion") or {}
|
| 45 |
+
target = conversion.get("target_area_m2_before_clamp")
|
| 46 |
+
if target is None:
|
| 47 |
+
target = conversion.get("target_area_m2")
|
| 48 |
+
return float(target) if target is not None else None
|
| 49 |
|
| 50 |
|
| 51 |
def sha(p):
|
|
|
|
| 221 |
|
| 222 |
|
| 223 |
def plan_png(manifest, out):
|
| 224 |
+
from PIL import Image, ImageDraw
|
| 225 |
+
|
| 226 |
rooms = manifest.get("floor_plan", {}).get("rooms", [])
|
| 227 |
bounds = [r.get("bounds_m") for r in rooms if isinstance(r.get("bounds_m"), list) and len(r["bounds_m"]) == 4]
|
| 228 |
if not bounds:
|
|
|
|
| 261 |
scene_dir, mp, blend, selected_by = find_scene(case, manifest=args.manifest)
|
| 262 |
manifest = json.loads(mp.read_text())
|
| 263 |
fp = manifest.get("floor_plan", {})
|
| 264 |
+
try:
|
| 265 |
+
area, area_basis = actual_area_m2(fp), "sum_of_room_areas_m2"
|
| 266 |
+
except ValueError:
|
| 267 |
+
# Older/minimal manifests without a room list: fall back to the RPLAN conversion target and say so.
|
| 268 |
+
area, area_basis = conversion_target_area_m2(fp), "rplan_conversion_target_fallback"
|
| 269 |
+
if area is None:
|
| 270 |
+
raise ValueError("manifest has neither floor_plan.rooms nor a conversion target area")
|
| 271 |
+
area_bin = area_bin_name(area)
|
| 272 |
plan_id = fp.get("plan_id") or "plan_unknown"
|
| 273 |
sid = f"{plan_id}__{case.name}"
|
| 274 |
dest = (args.dataset / area_bin / sid).resolve()
|
|
|
|
| 289 |
"scene_id": sid,
|
| 290 |
"area_m2": area,
|
| 291 |
"area_bin": area_bin,
|
| 292 |
+
"area_basis": area_basis,
|
| 293 |
+
"conversion_target_area_m2": conversion_target_area_m2(fp),
|
| 294 |
"source_plan_id": fp.get("plan_id"),
|
| 295 |
"source_rplan_id": fp.get("rplan_source_id"),
|
| 296 |
"scene_dir": str(scene_dir),
|
|
|
|
| 310 |
"worker": meta,
|
| 311 |
"created_at": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
|
| 312 |
}
|
|
|
|
| 313 |
(dest / "source_manifest.json").write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n")
|
| 314 |
+
(dest / "rp1_scene_info.json").write_text(json.dumps(info, ensure_ascii=False, indent=2) + "\n")
|
| 315 |
print(json.dumps({"ok": True, "scene_id": sid, "area_m2": area, "area_bin": area_bin,
|
| 316 |
"dest": str(dest), "scene_dir": str(scene_dir), "selected_by": selected_by}, ensure_ascii=False), flush=True)
|
| 317 |
|
code/robohome/src/tools/release/paths_029_restoration.patch.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c315e6deeb181aba28401eac1a2187bbdf55b76763159c736adb491a9019420
|
| 3 |
+
size 1596
|
code/robohome/src/tools/rplan_library/screen_library.py
CHANGED
|
@@ -29,6 +29,7 @@ import tempfile
|
|
| 29 |
from collections import Counter
|
| 30 |
from pathlib import Path
|
| 31 |
|
|
|
|
| 32 |
from usable_walls import check_usable_walls
|
| 33 |
|
| 34 |
NATIVE = None
|
|
|
|
| 29 |
from collections import Counter
|
| 30 |
from pathlib import Path
|
| 31 |
|
| 32 |
+
sys.path.insert(0, str(Path(__file__).resolve().parent)) # importable from any working directory
|
| 33 |
from usable_walls import check_usable_walls
|
| 34 |
|
| 35 |
NATIVE = None
|
code/robohome/tools/verify_source.py
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Check source completeness, signatures and optional host dependencies."""
|
| 3 |
+
import argparse
|
| 4 |
+
import hashlib
|
| 5 |
+
import importlib
|
| 6 |
+
import json
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
import re
|
| 9 |
+
import sys
|
| 10 |
+
|
| 11 |
+
sys.dont_write_bytecode = True
|
| 12 |
+
|
| 13 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 14 |
+
SOURCE = ROOT / 'src'
|
| 15 |
+
sys.path.insert(0, str(SOURCE))
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def check(dependencies=False):
|
| 19 |
+
failures = []
|
| 20 |
+
manifest = json.loads((ROOT / 'source-manifest.json').read_text())
|
| 21 |
+
for row in manifest['files']:
|
| 22 |
+
path = ROOT / row['path']
|
| 23 |
+
if not path.is_file() or hashlib.sha256(path.read_bytes()).hexdigest() != row['sha256']:
|
| 24 |
+
failures.append('Missing or changed source: ' + row['path'])
|
| 25 |
+
evidence = json.loads((ROOT / 'docs/source-completeness.json').read_text())
|
| 26 |
+
for relative in evidence['source_modules'] + evidence['required_small_archives']:
|
| 27 |
+
if not (SOURCE / relative).is_file():
|
| 28 |
+
failures.append('Required source or fixture missing: ' + relative)
|
| 29 |
+
modules = list(SOURCE.rglob('*.py'))
|
| 30 |
+
for path in modules:
|
| 31 |
+
try:
|
| 32 |
+
compile(path.read_bytes(), str(path.relative_to(ROOT)), 'exec')
|
| 33 |
+
except (SyntaxError, UnicodeError) as exc:
|
| 34 |
+
failures.append(str(exc))
|
| 35 |
+
for path in [ROOT / 'README.md', *sorted((ROOT / 'docs').glob('*.md'))]:
|
| 36 |
+
text = path.read_text()
|
| 37 |
+
if re.search(r'/(?:mnt|data|home|Users)/', text):
|
| 38 |
+
failures.append('Machine path in public documentation: ' + str(path.relative_to(ROOT)))
|
| 39 |
+
for link in re.findall(r'\]\(([^)]+)\)', text):
|
| 40 |
+
target = link.split('#', 1)[0]
|
| 41 |
+
if target and '://' not in target and not (path.parent / target).exists():
|
| 42 |
+
failures.append('Broken documentation link: ' + link)
|
| 43 |
+
from generation_dependencies import validate_generation_dependencies
|
| 44 |
+
try:
|
| 45 |
+
package = validate_generation_dependencies(SOURCE / 'engine')
|
| 46 |
+
except (ValueError, FileNotFoundError) as exc:
|
| 47 |
+
failures.append(str(exc))
|
| 48 |
+
package = {}
|
| 49 |
+
sys.path.insert(0, str(SOURCE / 'tools/release'))
|
| 50 |
+
from check_source_integrity import check as check_engine
|
| 51 |
+
engine = check_engine(SOURCE)
|
| 52 |
+
failures.extend('Engine signature mismatch: ' + row.get('path', row.get('reason', 'unknown'))
|
| 53 |
+
for row in engine['mismatches'])
|
| 54 |
+
missing_packages = []
|
| 55 |
+
if dependencies:
|
| 56 |
+
for name in ('numpy', 'scipy', 'shapely', 'manifold3d', 'PIL', 'trimesh', 'rtree', 'yaml'):
|
| 57 |
+
try:
|
| 58 |
+
importlib.import_module(name)
|
| 59 |
+
except ImportError:
|
| 60 |
+
missing_packages.append(name)
|
| 61 |
+
if missing_packages:
|
| 62 |
+
failures.append('Install requirements.txt; missing packages: ' + ', '.join(missing_packages))
|
| 63 |
+
return {'passed': not failures, 'manifest_files': len(manifest['files']),
|
| 64 |
+
'python_modules': len(modules),
|
| 65 |
+
'upstream_modules_present': len(evidence['source_modules']),
|
| 66 |
+
'dynamic_dependencies': package.get('checked_count', 0),
|
| 67 |
+
'engine_inventory': engine['inventory_files'],
|
| 68 |
+
'engine_implementations': engine['revision_files'],
|
| 69 |
+
'failures': failures}
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
if __name__ == '__main__':
|
| 73 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 74 |
+
parser.add_argument('--dependencies', action='store_true', help='also import host dependencies')
|
| 75 |
+
args = parser.parse_args()
|
| 76 |
+
result = check(args.dependencies)
|
| 77 |
+
print(json.dumps(result, indent=2))
|
| 78 |
+
raise SystemExit(0 if result['passed'] else 1)
|