Files
NexQuant/rdagent/scenarios/data_science/share.yaml
T
2025-02-19 22:03:39 +08:00

63 lines
2.5 KiB
YAML

describe: # some template to describe some object
# exp is a template used fo
exp: |-
## {{ heading | default('Best solution of previous exploration of the scenario') }}
{% if exp %}
### Code
Here is the complete code of the solution.
{{ exp.experiment_workspace.all_codes }}
{% if exp.hypothesis is not none %}
### Hypothesis for the experiment
the experiment is designed based on hypothesis: {{exp.hypothesis}}
{% endif %}
### Results
{% if exp.result is none %}
There are no according evaluation results
{% else %}
Evaluated results on validation are:
{{ exp.result }}
{% if exp.format_check_result is not none %}
Submission format check result is:
{{ exp.format_check_result }}
{% endif %}
{% endif %}
{% else %}
No previous complete experiment available.
{% endif %}
feedback: |-
{% if exp_and_feedback and exp_and_feedback|length > 1 %}
## {{heading | default('Previous trial and feedback')}}
Before current trial, a previous recent trial is listed below.
{% if exp_and_feedback[0].hypothesis %}
the experiment is designed based on hypothesis: {{ exp_and_feedback[0].hypothesis }}
{% endif %}
### Task of previous trial
{{ exp_and_feedback[0].pending_tasks_list[0][0].get_task_information() }}
feedback decision: {{ exp_and_feedback[1].decision }}
reason: {{ exp_and_feedback[1].reason }}
{% endif %}
trace: |-
{% if exp_and_feedback_list|length == 0 %}
No previous {% if success %}successful{% else %}failed{% endif %} trial available.
{% else %}
{% if success %}
## {{ heading | default('Trace of the successful trial') }}
{% else %}
## {{ heading | default('Trace of the failed trial') }}
{% endif %}
Before current trial, several {% if success %}successful{% else %}failed{% endif %} trials are listed below. {% if success %}The current SOTA method is the combination of the best solutions of these trials.{% endif %} The trace order is from the earliest to the latest please focus more on the later trials.
{% for exp_and_feedback in exp_and_feedback_list %}
### Experiment index: {{ loop.index }}
The experiment is designed based on hypothesis: {{ exp_and_feedback[0].hypothesis }}
### Task of experiment
{{ exp_and_feedback[0].pending_tasks_list[0][0].get_task_information() }}
Experiment feedback decision: {{ exp_and_feedback[1].decision }}
Reason: {{ exp_and_feedback[1].reason }}
{% endfor %}
{% endif %}