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

Numeracy scenario update #1978

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Numeracy scenario update #1978

wants to merge 2 commits into from

Conversation

friedeggs
Copy link
Contributor

Use adapter code instead of importing Adapter from adaptation

@@ -557,6 +559,82 @@ def get_numeracy_adapter_spec(
) # enable override


class NumeracyAdapter:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think code structure wise, this should appear in its own file in the src/helm/benchmark/adaptation/adapters/ directory, and inherit from Adapter.

Also, I believe the style is to make Scenario and Adapter peers (example) such that the Scenario outputs Instance objects which the Adapter can take in to make ScenarioState.

@teetone teetone removed their request for review January 24, 2024 00:01
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