Files
NexQuant/rdagent/core/scenario.py
T
Xu Yang 1d9b4cd2ec Align factor coder into new framework (#47)
* use CoSTEER as component name

* rename factorimplementation to avoid confusion

* rename modelimplementation

* align benchmark and evolving evaluators

* add scenario to evaluator init function

* rename all factorimplementationknowledge in CoSTEER

* remove all scenario related information in component

* remove useless code

---------

Co-authored-by: xuyang1 <xuyang1@microsoft.com>
2024-07-05 17:42:00 +08:00

33 lines
694 B
Python

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