Skip to content

Fixes for maximum stage complexity calculation #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vmiura
Copy link
Contributor

@vmiura vmiura commented Aug 5, 2025

This change helps to address an issue with scoring when tests reach the maximum complexity that a story supports. Currently this only applies to the "Multiply" test among the mainline tests.

For the following screenshots, I've artificially limited the "Multiply" test's totalRows to 10 (for a maximum stage complexity of 135) highlight this issue.

When a test reaches the maximum stage complexity, the controller can try to test a much higher complexity than the stage supports, since the code estimating the maximum complexity isn't aware of the stage's limit. This is particularly an issue for the Slope Profile, which has a harder time calculating the score when all samples are basically in a flat line.

Before

Slope Profile

max_complexity_slope_before

After

Slope Profile

max_complexity_slope_after

Note: the Slope score being less than 135 in the "After" picture isn't because of this change. The Slope regression is hit & miss either way, but is generally more predictable after this change. The Mean ramp score is pretty noisy with the Slope function as we can see.

Windowed Strict Profile

max_complexity_windowed_strict_after

For the Windowed Strict profile, the score is generally more accurate with or without this change.

Copy link

netlify bot commented Aug 5, 2025

Deploy Preview for webkit-motionmark-preview ready!

Name Link
🔨 Latest commit 7057bc1
🔍 Latest deploy log https://app.netlify.com/projects/webkit-motionmark-preview/deploys/689296cf9be4060008d3d539
😎 Deploy Preview https://deploy-preview-90--webkit-motionmark-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant