Skip to content

Add variable/vector support to range - #1784

Open
rfbgo wants to merge 3 commits into
Ramble-Project:developfrom
rfbgo:range
Open

rfbgo wants to merge 3 commits into
Ramble-Project:developfrom
rfbgo:range

Conversation

@rfbgo

@rfbgo rfbgo commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Adds support for dynamic vector generation through range, eg:

    variables:
      foo: [1, 2, 4]
      bar: range(1, {foo})

Also adds pow2_range

(this PR is very test heavy [85%], so is not as crazy as the +900 makes it look)

Signed-off-by: Bob <robertbird@google.com>
Signed-off-by: Bob <robertbird@google.com>
@rfbgo rfbgo changed the title Add vector support to range Add variable/vector support to range Sep 14, 2026
@ramble-project-pr-bot

ramble-project-pr-bot Bot commented Sep 14, 2026

Copy link
Copy Markdown

Ramble Performance Test Metrics

Results produced with commit: ad623bf

Test Name Outcome Duration (s) Most Recent Run (s) Last 5 Avg (s)
test_analyze_large_file passed 1.0378 1.0761 (893e6bf) 1.0855
test_large_template_expansion passed 1.1937 1.1868 (893e6bf) 1.1757
test_many_experiments passed 26.0635 23.4889 (893e6bf) 23.2700
test_many_objects_defaults passed 13.2382 13.3383 (893e6bf) 12.2945
test_matrix_filter_perf passed 1.0681 1.0997 (893e6bf) 1.0671

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.41270% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/ramble/ramble/renderer.py 88.88% 4 Missing ⚠️
...uiltin/base_classes/application-base/base_class.py 93.75% 3 Missing ⚠️
lib/ramble/ramble/expander.py 92.30% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Signed-off-by: Bob <robertbird@google.com>
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