Skip to content

Add more type checking to Ramble - #1777

Draft
linsword13 wants to merge 1 commit into
Ramble-Project:developfrom
linsword13:more-type-checks
Draft

linsword13 wants to merge 1 commit into
Ramble-Project:developfrom
linsword13:more-type-checks

Conversation

@linsword13

Copy link
Copy Markdown
Collaborator

No description provided.

@ramble-project-pr-bot

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

Copy link
Copy Markdown

Ramble Performance Test Metrics

Results produced with commit: c6aa06f

Test Name Outcome Duration (s) Most Recent Run (s) Last 5 Avg (s)
test_analyze_large_file passed 1.0498 1.0375 (55d6cce) 1.0513
test_large_template_expansion passed 1.1880 1.1896 (55d6cce) 1.1768
test_many_experiments passed 23.2895 22.8940 (55d6cce) 23.4708
test_many_objects_defaults passed 12.2369 11.9218 (55d6cce) 12.4919
test_matrix_filter_perf passed 1.0757 1.0331 (55d6cce) 1.0775

@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Signed-off-by: Lin Guo <linsword13@gmail.com>
@linsword13
linsword13 marked this pull request as ready for review September 11, 2026 00:40
if os.path.exists(candidate):
config_name = config
config_file = candidate
break

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this early exit definitely desirable? I'm having a hard time thinking through it but it feels like it could change the precedence ?

def draw(self, perf_measure, scale_var, series, pdf_report, y_label=None):
def draw(self, perf_measure, scale_var, series, *args, **kwargs):
pdf_report = args[0] if len(args) > 0 else kwargs.get("pdf_report")
y_label = args[1] if len(args) > 1 else kwargs.get("y_label", None)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line gives me pause. Is it definitely the right to fix it? I don't have a concrete suggestion, but it makes me think like we have the wrong interface? I almost prefer this function is renamed if we aren't able to meet the parents api "contract" (over hiding the arg changes). What do you think ?

@linsword13
linsword13 marked this pull request as draft September 11, 2026 18:19
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.

2 participants