Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
acd2ec2
fix
dsf86 Sep 9, 2025
c6569cf
fix
dsf86 Sep 9, 2025
8eb3cd7
fix
dsf86 Sep 9, 2025
2aa0e89
fix
dsf86 Sep 9, 2025
dfb66c1
fix
dsf86 Sep 9, 2025
ffd5ad4
fix
dsf86 Sep 15, 2025
8f4dc69
fi
dsf86 Sep 15, 2025
e82d2a4
fix: [Coda] complete CustomPSM DO to DTO conversion in eval_target.go
dsf86 Sep 15, 2025
08cb7ff
fix
dsf86 Sep 15, 2025
a5efcb7
fix
dsf86 Sep 15, 2025
fba5db4
delete
dsf86 Sep 15, 2025
736f955
fix
dsf86 Sep 16, 2025
9f68949
fix
dsf86 Sep 16, 2025
825ee03
fix
dsf86 Sep 16, 2025
8c05e7e
fix
dsf86 Sep 16, 2025
2a7295d
merge main
dsf86 Sep 16, 2025
8fe20ab
fix
dsf86 Sep 16, 2025
45911cc
fix
dsf86 Sep 16, 2025
7678e26
fix
dsf86 Sep 16, 2025
3e3ef0c
fix
dsf86 Sep 16, 2025
2a70267
fix
dsf86 Sep 16, 2025
d88504b
fix
dsf86 Sep 16, 2025
4d9848a
fix
dsf86 Sep 16, 2025
2f21375
fix
dsf86 Sep 16, 2025
9e6c8bb
fix
dsf86 Sep 17, 2025
f9b066d
fix
dsf86 Sep 17, 2025
0abfc85
fi
dsf86 Sep 17, 2025
26606e6
fix
dsf86 Sep 17, 2025
a5cbe56
fix
dsf86 Sep 17, 2025
7a90ca4
fix(evaluation): PassbackEvalTargetInvokeResult openapi
lsy357 Sep 15, 2025
e67bca0
fix
dsf86 Sep 18, 2025
3a64f69
fix
dsf86 Sep 18, 2025
b271cf6
feat(evaluation): spi service code gen
lsy357 Sep 18, 2025
18c8c5c
fix
dsf86 Sep 19, 2025
f14a5ed
fix(evaluation): scheduler item zombie time
lsy357 Sep 19, 2025
b64aa31
fix(evaluation): spi kitex gen
lsy357 Sep 19, 2025
fd77e47
fix
dsf86 Sep 19, 2025
56ce3ae
fix
dsf86 Sep 19, 2025
563f2a4
feat(evaluation): evaltarget debug content
lsy357 Sep 19, 2025
143ee71
feat(evaluation): evaltarget debug method
lsy357 Sep 19, 2025
014427e
feat(evaluation): evaltarget asyncdebug method
lsy357 Sep 19, 2025
c5c3e2e
fix
dsf86 Sep 19, 2025
4b25d7c
feat(evaluation): target service with async execute
lsy357 Sep 22, 2025
4ffed22
fix(evaluation): debug target auth
lsy357 Sep 22, 2025
5557d19
fix
dsf86 Sep 22, 2025
10730c2
fix(evaluation): panic
lsy357 Sep 22, 2025
308a5ee
fix(evaluation): target exec err
lsy357 Sep 22, 2025
2143153
fix(evaluation): target debug
lsy357 Sep 22, 2025
0a4c367
fix(evaluation): debug target
lsy357 Sep 22, 2025
0e3defe
fix(evaluation): target asyncdebug abort err
lsy357 Sep 23, 2025
c2c3aec
fix
dsf86 Sep 23, 2025
31414ed
fix(evaluation): proxy path
lsy357 Sep 23, 2025
5117afa
fix(evaluation): evalasyncrepo
lsy357 Sep 23, 2025
078303c
fix(evaluation): debug trace
lsy357 Sep 23, 2025
26efc07
fix(evaluation): target debug param
lsy357 Sep 23, 2025
5dbbca2
fix(evaluation): target debug param
lsy357 Sep 23, 2025
e2c5f01
fix(evaluation): report status
lsy357 Sep 23, 2025
51e289c
fix(evaluation): async call
lsy357 Sep 23, 2025
bd98de6
fix(evaluation): expt async exec
lsy357 Sep 23, 2025
0b4aa2e
fix(evaluation): expt async exec
lsy357 Sep 23, 2025
85d42fc
fix(evaluation): async return invoke_id
lsy357 Sep 23, 2025
d8a3875
fix(evaluation): async abort
lsy357 Sep 23, 2025
cf9e4df
fix(evaluation): async reentry
lsy357 Sep 23, 2025
36dafce
dev: commit
lsy357 Sep 23, 2025
d52f78d
fix(evaluation): target async callee
lsy357 Sep 24, 2025
368b10d
fix(evaluation): AsyncExecuteEvalTargetResponse with callee
lsy357 Sep 24, 2025
6cca2e9
feat(evaluation): ReportEvalTargetInvokeResult with callee
lsy357 Sep 24, 2025
6a6f44d
fix(evaluation): ReportEvalTargetInvokeResult check
lsy357 Sep 24, 2025
0563ec8
fix(evaluation): log
lsy357 Sep 24, 2025
615196d
fix(evaluation): calltarget inputfields
lsy357 Sep 25, 2025
06e0b06
feat(evaluation): ExecuteEvalTargetRequest
lsy357 Sep 25, 2025
ace44ad
fix(evaluation): AsyncDebugTarget with callee
lsy357 Sep 25, 2025
db6ab8e
fix(evaluation): panic
lsy357 Sep 25, 2025
d9f2074
fix(evaluation): EvalTargetVersionDTO2DO panic
lsy357 Sep 25, 2025
3812a83
fix(evaluation): record nil
lsy357 Sep 25, 2025
c1eac39
fix(evaluation): target service createrecord
lsy357 Sep 25, 2025
eb73f9f
fix(evaluation): asyncevalctx
lsy357 Sep 25, 2025
3b27fd1
fix(evaluation): target async debug record
lsy357 Oct 10, 2025
e15df7d
fix(evaluation): target async debug record
lsy357 Oct 10, 2025
f845c9c
merge main
dsf86 Oct 10, 2025
31cac6e
add test
dsf86 Oct 10, 2025
98ac15f
fix
dsf86 Oct 10, 2025
0d7bc0e
fix
dsf86 Oct 10, 2025
d784688
fix
dsf86 Oct 10, 2025
9f85e6f
fix(evaluation): spi exec err
lsy357 Oct 11, 2025
727ee9b
fix
dsf86 Oct 13, 2025
43704fc
Merge branch 'feat/custom_eval_target' of github.com:coze-dev/coze-lo…
dsf86 Oct 13, 2025
7276563
fix(evaluation): EvalTarget span error
lsy357 Oct 13, 2025
9d35c7b
fix(evaluation): ut
lsy357 Oct 13, 2025
2d4ffca
fix(evaluation): ut panic
lsy357 Oct 13, 2025
36d401c
fix(evaluation): ut
lsy357 Oct 16, 2025
2c1e88d
fix
dsf86 Oct 17, 2025
e83adf9
test: [Coda] add eval target async debug tests
lsy357 Oct 19, 2025
0bdbc86
test: [Coda] add eval target service unit tests
lsy357 Oct 19, 2025
7b2a5ec
fix
dsf86 Oct 20, 2025
99331f8
test: [Coda] add eval openapi invoke result tests
lsy357 Oct 20, 2025
dd4b308
test: [Coda] add eval target app and convertor coverage
lsy357 Oct 20, 2025
67e9837
test: [Coda] enhance evaluation module unit tests
lsy357 Oct 20, 2025
a2d0ee5
fix
dsf86 Oct 20, 2025
e2929ec
fix
dsf86 Oct 20, 2025
3f32d54
fix
dsf86 Oct 20, 2025
1e2fc7c
fix(evaluation): golangci-lint err
lsy357 Oct 20, 2025
8d8c21c
fix
dsf86 Oct 21, 2025
3ef3558
fix(evaluation): ut
lsy357 Oct 21, 2025
90621d4
fix(evaluation): ut
lsy357 Oct 21, 2025
83b2efe
fix(evaluation): ut
lsy357 Oct 21, 2025
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
1 change: 1 addition & 0 deletions .github/.codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ ignore:
- "**/repo/mysql/**"
- "**/repo/**/mysql/**"
- "**/repo/redis/**"
- "**/repo/**/redis/**"
- "backend/api/router/coze/loop/apis/*.go"

parsers:
Expand Down
34 changes: 34 additions & 0 deletions backend/api/handler/coze/loop/apis/eval_open_apiservice.go

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

56 changes: 21 additions & 35 deletions backend/api/handler/coze/loop/apis/eval_target_service.go

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

6 changes: 6 additions & 0 deletions backend/api/handler/coze/loop/apis/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/evaluation/eval_target"
"github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/evaluation/evaluator"
"github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/evaluation/expt"
evalopen "github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/evaluation/openapi"
"github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/foundation/auth"
"github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/foundation/authn"
"github.com/coze-dev/coze-loop/backend/kitex_gen/coze/loop/foundation/file"
Expand All @@ -48,6 +49,7 @@ import (
"github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/evaluation/loeval_target"
"github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/evaluation/loevaluator"
"github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/evaluation/loexpt"
loevalopen "github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/evaluation/loopenapi"
"github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/foundation/loauthn"
foundationlofile "github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/foundation/lofile"
foundationloopenapi "github.com/coze-dev/coze-loop/backend/loop_gen/coze/loop/foundation/loopenapi"
Expand Down Expand Up @@ -85,6 +87,7 @@ type EvaluationHandler struct {
evaluation.EvaluatorService
evaluation.EvaluationSetService
evaluation.EvalTargetService
evaluation.EvalOpenAPIService
}

type FoundationHandler struct {
Expand Down Expand Up @@ -125,17 +128,20 @@ func NewEvaluationHandler(
evaluatorApp evaluation.EvaluatorService,
evaluationSetApp evaluation.EvaluationSetService,
evalTargetService evaluation.EvalTargetService,
evalOpenAPIApp evaluation.EvalOpenAPIService,
) *EvaluationHandler {
h := &EvaluationHandler{
EvaluatorService: evaluatorApp,
IExperimentApplication: exptApp,
EvaluationSetService: evaluationSetApp,
EvalTargetService: evalTargetService,
EvalOpenAPIService: evalOpenAPIApp,
}
bindLocalCallClient(expt.ExperimentService(h), &localExptSvc, loexpt.NewLocalExperimentService)
bindLocalCallClient(evaluator.EvaluatorService(h), &localEvaluatorSvc, loevaluator.NewLocalEvaluatorService)
bindLocalCallClient(eval_set.EvaluationSetService(h), &localEvalSetSvc, loeval_set.NewLocalEvaluationSetService)
bindLocalCallClient(eval_target.EvalTargetService(h), &localEvalTargetSvc, loeval_target.NewLocalEvalTargetService)
bindLocalCallClient(evalopen.EvaluationOpenAPIService(h), &localEvalOpenAPIClient, loevalopen.NewLocalEvaluationOpenAPIService)
return h
}

Expand Down
1 change: 1 addition & 0 deletions backend/api/handler/coze/loop/apis/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ var (
evaluationapp.InitEvaluatorApplication,
evaluationapp.InitEvaluationSetApplication,
evaluationapp.InitEvalTargetApplication,
evaluationapp.InitEvalOpenAPIApplication,
)
dataSet = wire.NewSet(
NewDataHandler,
Expand Down
9 changes: 7 additions & 2 deletions backend/api/handler/coze/loop/apis/wire_gen.go

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

7 changes: 7 additions & 0 deletions backend/api/router/coze/loop/apis/coze.loop.apis.go

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

28 changes: 28 additions & 0 deletions backend/api/router/coze/loop/apis/middleware.go

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

1 change: 1 addition & 0 deletions backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAx
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/s2a-go v0.1.8 h1:zZDs9gcbt9ZPLV0ndSyQk6Kacx2g/X+SKYovpnz3SMM=
github.com/google/s2a-go v0.1.8/go.mod h1:6iNWHTpQ+nfNRN5E00MSdfDwVesa8hhS32PhPO8deJA=
github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN9oE=
github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand Down
2 changes: 2 additions & 0 deletions backend/infra/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ type RequestParam struct {
Response interface{}

Timeout time.Duration
Cluster *string
WithSD *bool
}
Loading
Loading