Files
NexQuant/rdagent/core/scenario.py
T
Linlang 276b462f40 Fix ruff error1 (#81)
* fix_ruff_error1

* fix_ruff_error

* fix ruff error

* fix ruff error

* pass model.py

* rename exception class

* rename exception class

* rename func name generate_feedback

* remove prepare args

* optimize code

* optimize code

* fix code error
2024-07-18 22:36:04 +08:00

33 lines
729 B
Python

from abc import ABC, abstractmethod
class Scenario(ABC):
@property
@abstractmethod
def background(self) -> str:
"""Background information"""
@property
@abstractmethod
def source_data(self) -> str:
"""Source data description"""
@property
@abstractmethod
def interface(self) -> str:
"""Interface description about how to run the code"""
@property
@abstractmethod
def output_format(self) -> str:
"""Output format description"""
@property
@abstractmethod
def simulator(self) -> str:
"""Simulator description"""
@abstractmethod
def get_scenario_all_desc(self) -> str:
"""Combine all the description together"""