Skip to content

Helpers for ACCESS workflow - run-config and post-summary#25

Merged
minghangli-uni merged 11 commits into
mainfrom
23-profiling-workflow-api
Feb 18, 2026
Merged

Helpers for ACCESS workflow - run-config and post-summary#25
minghangli-uni merged 11 commits into
mainfrom
23-profiling-workflow-api

Conversation

@minghangli-uni
Copy link
Copy Markdown
Collaborator

closes #23

@minghangli-uni minghangli-uni marked this pull request as ready for review February 18, 2026 13:15
@minghangli-uni minghangli-uni self-assigned this Feb 18, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces helper classes to programmatically generate esmf-trace configuration dictionaries for ACCESS workflow profiling experiments, addressing issue #23. Instead of manually writing YAML configuration files, users can now use builder classes to create run and post-summary configurations from parameters they already have in their notebooks or scripts (branch names, node counts, PET layouts, archive paths, etc.).

Changes:

  • Added ACCESSRunConfigBuilder class to generate run configuration dicts
  • Added ACCESSPostSummaryConfigBuilder class to generate post-summary configuration dicts
  • Fixed a minor bug in postprocess.py where defaults.post_base_path wasn't wrapped in Path()
  • Added formatting improvements to config.py (blank lines between overloads)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 11 comments.

File Description
src/access/esmf_trace/library.py Added two new builder classes (ACCESSRunConfigBuilder and ACCESSPostSummaryConfigBuilder) with methods to generate configuration dicts programmatically
src/access/esmf_trace/postprocess.py Fixed missing Path() wrapper for defaults.post_base_path
src/access/esmf_trace/config.py Added blank lines between @overload declarations for better readability
src/access/esmf_trace/init.py Exported ACCESSRunConfigBuilder to the public API

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/access/esmf_trace/library.py
Comment thread src/access/esmf_trace/library.py
Comment thread src/access/esmf_trace/library.py Outdated
Comment thread src/access/esmf_trace/library.py Outdated
Comment thread src/access/esmf_trace/library.py Outdated
Comment thread src/access/esmf_trace/library.py Outdated
Comment thread src/access/esmf_trace/__init__.py
Comment thread src/access/esmf_trace/library.py Outdated
Comment thread src/access/esmf_trace/library.py Outdated
Comment thread src/access/esmf_trace/library.py
@minghangli-uni minghangli-uni force-pushed the 23-profiling-workflow-api branch from 4af49de to 16d64e0 Compare February 18, 2026 13:44
@minghangli-uni minghangli-uni merged commit c283d41 into main Feb 18, 2026
6 checks passed
@minghangli-uni minghangli-uni deleted the 23-profiling-workflow-api branch February 18, 2026 13:45
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.

Helper to generate esmf-trace input configuration files or dicts programmatically

2 participants