Skip to content
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

Fix relative log paths in FOM and success criteria definitions #815

Merged

Conversation

douglasjacobsen
Copy link
Collaborator

This merge fixes an issue where FOM and success criteria definitions could refer to log files that were relative to the invocation location of Ramble. This causes them to never be able to extract the correct data. This merge changes this to inject the experiment run directory as a prefix if the log file is not given as an absolute path.

Testing is also added for this.

This commit adds a test (that fails) to ensure log files in figures of
merit and success criteria that are not absolute are fixed to contain
the full path.
This commit ensures that all log file paths in FOM and Success Criteria
are absolute paths instead of allowing relative paths.
@douglasjacobsen douglasjacobsen added the bug Something isn't working label Jan 8, 2025
@douglasjacobsen douglasjacobsen requested a review from rfbgo January 8, 2025 19:22
@rfbgo rfbgo merged commit befe0e1 into GoogleCloudPlatform:develop Jan 8, 2025
12 checks passed
@douglasjacobsen douglasjacobsen deleted the fix-relative-log-path branch January 9, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants