toMatchArray([ 'laneId' => 'fast-feedback', 'wallClockSeconds' => 176.73623, 'targetImprovementPercent' => 10, 'maxRegressionPercent' => 5, ]) ->and($confidence)->toMatchArray([ 'laneId' => 'confidence', 'wallClockSeconds' => 394.383441, 'targetImprovementPercent' => 10, 'maxRegressionPercent' => 5, ]); }); it('classifies lane-impact comparison status against the recorded fixture slimming baseline', function (): void { $improved = TestLaneReport::buildReport( laneId: 'fast-feedback', wallClockSeconds: 150.0, slowestEntries: [], durationsByFile: [], comparisonProfile: 'shared-test-fixture-slimming', ); $stable = TestLaneReport::buildReport( laneId: 'fast-feedback', wallClockSeconds: 180.0, slowestEntries: [], durationsByFile: [], comparisonProfile: 'shared-test-fixture-slimming', ); $regressed = TestLaneReport::buildReport( laneId: 'fast-feedback', wallClockSeconds: 190.0, slowestEntries: [], durationsByFile: [], comparisonProfile: 'shared-test-fixture-slimming', ); expect(data_get($improved, 'sharedFixtureSlimmingComparison.status'))->toBe('improved') ->and(data_get($stable, 'sharedFixtureSlimmingComparison.status'))->toBe('stable') ->and(data_get($regressed, 'sharedFixtureSlimmingComparison.status'))->toBe('regressed'); });