Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ func (e *ExptMangerImpl) LogRetryItemsRun(ctx context.Context, exptID int64, mod
}

if rl == nil {
return 0, false, errorx.Wrapf(err, "target runlog %v not found, expt_id: %v", runID, exptID)
return 0, false, errorx.New("target runlog %v not found, expt_id: %v", runID, exptID)
}

if err := rl.AppendItemIDs(itemIDs); err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct CreateExperimentRequest {
41: optional bool enable_weighted_score (api.body = 'enable_weighted_score', go.tag='json:"enable_weighted_score"')
42: optional map<i64, double> evaluator_score_weights (api.body = 'evaluator_score_weights', go.tag='json:"evaluator_score_weights"')
43: optional i64 expt_template_id (api.body='expt_template_id',api.js_conv='true', go.tag='json:"expt_template_id"')
45: optional i32 item_retry_num (api.boy = 'item_retry_num')
45: optional i32 item_retry_num (api.body = 'item_retry_num')

200: optional common.Session session

Expand Down Expand Up @@ -75,7 +75,7 @@ struct SubmitExperimentRequest {
// 是否启用评估器得分加权汇总,以及各评估器的权重配置(key 为 evaluator_version_id,value 为权重)
41: optional bool enable_weighted_score (api.body = 'enable_weighted_score', go.tag='json:"enable_weighted_score"')
42: optional i64 expt_template_id (api.body='expt_template_id',api.js_conv='true', go.tag='json:"expt_template_id"')
45: optional i32 item_retry_num (api.boy = 'item_retry_num')
45: optional i32 item_retry_num (api.body = 'item_retry_num')

100: optional map<string, string> ext (api.body = 'ext')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ struct SubmitExperimentOApiRequest {
20: optional i32 item_concur_num (api.body = 'item_concur_num')
22: optional common.RuntimeParam target_runtime_param (api.body = 'target_runtime_param')

45: optional i32 item_retry_num (api.boy = 'item_retry_num')
45: optional i32 item_retry_num (api.body = 'item_retry_num')

255: optional base.Base Base
}
Expand Down
Loading