A window frame can still be visible in a staged photo and appear in a different place. It can also disappear from the comparison altogether. Those outcomes leave different evidence, even though both contribute to a reading of structural change. In the StagingBench benchmark of AI virtual staging tools, 116 completed runs have both line measurements. Looking at them as a pair shows which kind of change accounts for the larger fraction in each comparison.
Follow the original line
A displaced line has a counterpart in the staged image whose position differs from the original. Think of a visible window edge that appears farther along the wall. A missing line has no detected counterpart in the staged comparison. The edge may have disappeared from the image, become obscured, or become hard to detect. The missing fraction records the outcome of that comparison. The number alone gives no way to choose among those visual explanations.
Room 06 gives a concrete example. For T04, the displaced fraction was 0.1221 and the missing fraction was 0.0116. For T13 in the same room, the displaced fraction was 0.0084 and the missing fraction was 0.1347. The larger value describes a different outcome in each run. Those pairs give a reader different features to look for when inspecting the staged photos. In one case the question is where an edge moved. In the other it is whether an edge can still be found.
Compare the fractions within each run
Each tuple carries the tool ID, the room ID, and the two fractions in that order. Room IDs stay as strings to keep their leading zero. The literal contains every run with both measurements. There were 129 completed runs overall. The 13 runs without the pair were all from room 09. A recorded zero stays in the calculation because it reports a measured value.
The script computes the mean and median separately for each fraction. It then compares the two values within each run. That preserves the pairing between measurements taken from the same staged image. The final calculation uses the absolute gap, so either kind of line change can produce a gap greater than 0.05. On a fraction scale that threshold is five percentage points. Rounding the gap to the recorded precision keeps the threshold comparison on the same scale as the inputs.
from collections import Counter from statistics import mean, median rows = [ ('T01', '01', 0.1018, 0.0865), ('T01', '02', 0.2019, 0.2197), ('T01', '03', 0.0231, 0.0014), ('T01', '04', 0.1972, 0.3503), ('T01', '05', 0.077, 0.0294), ('T01', '06', 0.3119, 0.2751), ('T01', '07', 0.2549, 0.2776), ('T01', '08', 0.0515, 0.102), ('T01', '10', 0.0776, 0.1223), ('T02', '01', 0.0261, 0.0531), ('T02', '02', 0.1228, 0.1181), ('T02', '03', 0.1222, 0.0532), ('T02', '04', 0.6486, 0.1259), ('T02', '05', 0.1452, 0.0042), ('T02', '06', 0.1663, 0.0673), ('T02', '07', 0.3087, 0.0892), ('T02', '08', 0.0778, 0.0099), ('T02', '10', 0.1381, 0.1187), ('T03', '01', 0.3261, 0.0034), ('T03', '02', 0.175, 0.1212), ('T03', '03', 0.1484, 0.0843), ('T03', '04', 0.1108, 0.1667), ('T03', '05', 0.0304, 0.0004), ('T03', '06', 0.0534, 0.1276), ('T03', '07', 0.105, 0.0029), ('T03', '08', 0.0533, 0.0253), ('T03', '10', 0.1085, 0.0), ('T04', '01', 0.2565, 0.0658), ('T04', '02', 0.1166, 0.053), ('T04', '03', 0.1863, 0.099), ('T04', '04', 0.1247, 0.0977), ('T04', '05', 0.0824, 0.0861), ('T04', '06', 0.1221, 0.0116), ('T04', '07', 0.1272, 0.0374), ('T04', '08', 0.15, 0.0433), ('T04', '10', 0.1605, 0.0221), ('T05', '01', 0.1565, 0.2711), ('T05', '02', 0.0069, 0.0158), ('T05', '03', 0.1233, 0.1815), ('T05', '04', 0.2414, 0.6204), ('T05', '05', 0.185, 0.2833), ('T05', '06', 0.2969, 0.4953), ('T05', '07', 0.2437, 0.1289), ('T05', '08', 0.1881, 0.0374), ('T05', '10', 0.0786, 0.0948), ('T06', '01', 0.0711, 0.1136), ('T06', '02', 0.1269, 0.0941), ('T06', '03', 0.0175, 0.0021), ('T06', '04', 0.0674, 0.3778), ('T06', '05', 0.0573, 0.0015), ('T06', '06', 0.1046, 0.0853), ('T06', '07', 0.2219, 0.1687), ('T06', '08', 0.0568, 0.2717), ('T06', '10', 0.1457, 0.0594), ('T07', '01', 0.1576, 0.1995), ('T07', '02', 0.1891, 0.2454), ('T07', '03', 0.1111, 0.0278), ('T07', '04', 0.2253, 0.3944), ('T07', '05', 0.1629, 0.2839), ('T07', '06', 0.2535, 0.1862), ('T07', '07', 0.3319, 0.1638), ('T07', '08', 0.2125, 0.2012), ('T07', '10', 0.157, 0.0906), ('T08', '01', 0.0696, 0.0736), ('T08', '02', 0.1632, 0.2672), ('T08', '03', 0.1137, 0.1919), ('T08', '04', 0.0818, 0.0504), ('T08', '05', 0.1613, 0.3004), ('T08', '06', 0.0805, 0.0997), ('T08', '07', 0.1881, 0.045), ('T08', '08', 0.0378, 0.0607), ('T08', '10', 0.1375, 0.1543), ('T09', '01', 0.069, 0.1137), ('T09', '02', 0.0996, 0.0316), ('T09', '03', 0.1356, 0.0985), ('T09', '04', 0.0636, 0.0269), ('T09', '05', 0.0964, 0.0847), ('T09', '06', 0.1788, 0.0648), ('T09', '07', 0.0935, 0.0336), ('T09', '08', 0.0598, 0.0418), ('T09', '10', 0.1556, 0.1317), ('T10', '01', 0.0189, 0.1458), ('T10', '02', 0.1871, 0.2249), ('T10', '03', 0.0134, 0.0361), ('T10', '04', 0.0436, 0.0044), ('T10', '05', 0.0696, 0.0199), ('T10', '06', 0.0394, 0.103), ('T10', '07', 0.084, 0.001), ('T10', '08', 0.0262, 0.0932), ('T10', '10', 0.1389, 0.0614), ('T11', '01', 0.3344, 0.4698), ('T11', '02', 0.2586, 0.0535), ('T11', '03', 0.2294, 0.6243), ('T11', '04', 0.3288, 0.0146), ('T11', '05', 0.0139, 0.018), ('T11', '06', 0.0136, 0.0), ('T11', '07', 0.0028, 0.0), ('T11', '08', 0.1988, 0.1882), ('T11', '10', 0.1766, 0.1059), ('T12', '01', 0.0983, 0.198), ('T12', '02', 0.1128, 0.2395), ('T12', '03', 0.1377, 0.0886), ('T12', '04', 0.0558, 0.1234), ('T12', '05', 0.0499, 0.0046), ('T12', '06', 0.0296, 0.1301), ('T12', '07', 0.2874, 0.2691), ('T12', '10', 0.1212, 0.0162), ('T13', '01', 0.0356, 0.1527), ('T13', '02', 0.0273, 0.2187), ('T13', '03', 0.0188, 0.0), ('T13', '04', 0.2299, 0.5096), ('T13', '05', 0.1658, 0.0546), ('T13', '06', 0.0084, 0.1347), ('T13', '07', 0.0309, 0.033), ('T13', '08', 0.1229, 0.3706), ('T13', '10', 0.1949, 0.7014), ] displaced = [row[2] for row in rows] missing = [row[3] for row in rows] comparisons = Counter( (disp > miss) - (disp < miss) for _, _, disp, miss in rows ) # Compare at the precision of the recorded fractions. over_threshold = sum( round(abs(disp - miss), 4) > 0.05 for _, _, disp, miss in rows ) print(f"Rows: {len(rows)}") print(f"Displaced mean: {mean(displaced):.5f}") print(f"Displaced median: {median(displaced):.5f}") print(f"Missing mean: {mean(missing):.5f}") print(f"Missing median: {median(missing):.5f}") print(f"Displaced larger: {comparisons[1]}") print(f"Missing larger: {comparisons[-1]}") print(f"Ties: {comparisons[0]}") print(f"Share with absolute gap > 0.05: {over_threshold / len(rows):.5f}") What the script prints
This is the actual output from running the script.
Rows: 116 Displaced mean: 0.13423 Displaced median: 0.12250 Missing mean: 0.13385 Missing median: 0.09445 Displaced larger: 66 Missing larger: 50 Ties: 0 Share with absolute gap > 0.05: 0.60345 Read the averages alongside the pairs
The two means are close. At the level of individual comparisons, displacement was larger in 66 runs and missing lines were larger in 50. There were no ties. The gap exceeded five percentage points in 70 runs. An average describes the overall level of each fraction. The paired counts show how frequently one fraction was larger, and the gap count adds a sense of how often the difference cleared a specific threshold.
The medians describe the middle of the two distributions separately. Subtracting them would give a difference between two summary values. For a question about what happened inside the same image, start with the paired values instead. A run with a small gap can have small fractions for both measurements or large fractions for both. The gap gives the amount of separation. The original pair supplies the levels.
Both fractions are measured within the top 65 percent of the photo only. The mask boundary can cut across a feature that runs down the image. A missing edge in that upper region tells you about the visible structure the benchmark evaluated. The floor and any lower portion of the feature sit outside the scope of the measurement. When a particular line matters, keep the fractions attached to their room and use the image to see which part of that line lies within the scoring region.

