Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
309ac24
[feat][evaluation] evaluate experiment run success (#138)
alanyf Sep 1, 2025
d8b53b2
[feat] [frontend] add tag-pages package and complete i18n text in tag…
Mrsosann Sep 4, 2025
03bb315
[feat][evaluation] replace evaluate i18n text (#156)
alanyf Sep 5, 2025
cf6070f
[feat][trace] add observation components (#158)
Maidang1 Sep 5, 2025
473b4ff
[feat] [frontend] migrate basic components, toolkits, etc (#159)
mocayo Sep 5, 2025
27ad60a
[chore][frontend] correct i18n text in experiment module (#160)
wec4dre96-w Sep 5, 2025
8fff189
[feat][evaluation] update evaluate i18n text (#157)
alanyf Sep 8, 2025
180672d
[fix] [frontend] ts ref and wrong i18n types (#162)
mocayo Sep 9, 2025
43ae61b
[feat] [frontend] update i18n text in tag modules (#163)
Mrsosann Sep 9, 2025
ad6ef79
[chore][frontend]update evaluation i18n text (#164)
wec4dre96-w Sep 9, 2025
c78fbb4
feat(cozeloop): update idl
mocayo Sep 9, 2025
9bfb330
[chore] [frontend] rush update-i18n-types cmd and license header (#166)
mocayo Sep 9, 2025
ca28ae2
[fix][backend] evaluation feature bug (#170)
lsy357 Sep 10, 2025
3d1ede7
fix(evaluation): runtimeparam check
lsy357 Sep 11, 2025
a85cb14
[fix][trace]: remove feedback && extend timepicker time range (#172)
Maidang1 Sep 11, 2025
a29fcea
fix(evaluation): GetExptResultExportRecord resp body key
lsy357 Sep 11, 2025
6de9b8a
[chore][evaluation] hidden experiment detail filter (#173)
alanyf Sep 11, 2025
7cc2ad3
fix(infra): docker nginx_data volume
lsy357 Sep 11, 2025
107d216
[fix] [prompt] integration (#174)
yiyou-byte Sep 12, 2025
a0bbb62
[fix][prompt] fix some err msg (#176)
kasarolzzw Sep 12, 2025
d9c9ed6
fix(evaluation): ut fmt
lsy357 Sep 12, 2025
a755d2c
fix: lic header
mocayo Sep 12, 2025
97d0901
fix(evaluate): remote experiment text
mocayo Sep 12, 2025
ecc7f98
fix(evaluation): ut
lsy357 Sep 12, 2025
adf371c
fix(evaluation): ut fmt
lsy357 Sep 12, 2025
203662f
[fix][evaluation]: fix experiment annotation select options sort erro…
alanyf Sep 12, 2025
5343818
[fix][evaluation]: fix experiment annotation select options sort erro…
alanyf Sep 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/.licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ header:
- 'backend/modules/observability/domain/trace/entity/collector/**/*.go'
- 'backend/modules/observability/domain/trace/service/collector/processor/queueprocessor/queue_processor.go'
- 'frontend/packages/cozeloop/api-schema/src/api/idl'
- 'frontend/packages/cozeloop/api-schema/src/base.ts'

comment: on-failure

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/semantic-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
evaluation
trace
model
tag
dataset
foundation
# The pull request's title should be fulfilled the following pattern:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ image%:
compose%:
@case "$*" in \
-up) \
docker volume rm $${COZE_LOOP_NGINX_DATA_VOLUME_NAME} 2>/dev/null || true; \
docker compose \
-f $(DOCKER_COMPOSE_DIR)/docker-compose.yml \
--env-file $(DOCKER_COMPOSE_DIR)/.env \
Expand All @@ -75,6 +76,7 @@ compose%:
--profile "*" \
down -v ;; \
-up-dev) \
docker volume rm $${COZE_LOOP_NGINX_DATA_VOLUME_NAME} 2>/dev/null || true; \
docker compose \
-f $(DOCKER_COMPOSE_DIR)/docker-compose.yml \
-f $(DOCKER_COMPOSE_DIR)/docker-compose-dev.yml \
Expand Down Expand Up @@ -104,6 +106,7 @@ compose%:
--profile "*" \
down -v ;; \
-up-debug) \
docker volume rm $${COZE_LOOP_NGINX_DATA_VOLUME_NAME} 2>/dev/null || true; \
docker compose \
-f $(DOCKER_COMPOSE_DIR)/docker-compose.yml \
-f $(DOCKER_COMPOSE_DIR)/docker-compose-debug.yml \
Expand Down Expand Up @@ -286,4 +289,4 @@ minikube%:
echo " - 'minikube-tunnel' will bind service external IPs to localhost for LoadBalancer/Ingress access."; \
echo " - 'minikube-tunnel' may require admin privileges (sudo) depending on your OS/network setup."; \
exit 1 ;; \
esac
esac
84 changes: 7 additions & 77 deletions backend/api/handler/coze/loop/apis/experiment_service.go

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

23 changes: 12 additions & 11 deletions backend/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,18 @@ func newComponent(ctx context.Context) (*component, error) {
}

db, err := db.NewDBFromConfig(&db.Config{
DBHostname: getMysqlDomain(),
DBPort: getMysqlPort(),
User: getMysqlUser(),
Password: getMysqlPassword(),
DBName: getMysqlDatabase(),
Loc: "Local",
DBCharset: "utf8mb4",
Timeout: time.Minute,
ReadTimeout: time.Minute,
WriteTimeout: time.Minute,
DSNParams: url.Values{"clientFoundRows": []string{"true"}},
DBHostname: getMysqlDomain(),
DBPort: getMysqlPort(),
User: getMysqlUser(),
Password: getMysqlPassword(),
DBName: getMysqlDatabase(),
Loc: "Local",
DBCharset: "utf8mb4",
Timeout: time.Minute,
ReadTimeout: time.Minute,
WriteTimeout: time.Minute,
DSNParams: url.Values{"clientFoundRows": []string{"true"}},
WithReturning: true,
})
if err != nil {
return nil, err
Expand Down
4 changes: 0 additions & 4 deletions backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,8 @@ github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3Ee
github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coze-dev/cozeloop-go v0.1.10-0.20250901062520-61d3699b1e83 h1:7Jh4flr9XqvissJtafWhTcs1vcErUcsjNkkniH/szxY=
github.com/coze-dev/cozeloop-go v0.1.10-0.20250901062520-61d3699b1e83/go.mod h1:RMH0F6ZMwZm4ZL92IHLjTf4lmr8QHxYJVPCdz60ZbbI=
github.com/coze-dev/cozeloop-go v0.1.10-0.20250908135219-177e3684e3b0 h1:RUeArwrJ2KN9Ts0CowFjRxmdQ1lYOjBObqZa6eWc0Pk=
github.com/coze-dev/cozeloop-go v0.1.10-0.20250908135219-177e3684e3b0/go.mod h1:HItWiKBuKWwFJEcQ8ysjLjH1s8DBSEZJ4bL9H7OLI2c=
github.com/coze-dev/cozeloop-go/spec v0.1.4-0.20250829072213-3812ddbfb735 h1:qxAwjHy0SLQazDO3oGJ8D24vOeM2Oz2+n27bNPegBls=
github.com/coze-dev/cozeloop-go/spec v0.1.4-0.20250829072213-3812ddbfb735/go.mod h1:/f3BrWehffwXIpd4b5rYIqktLd/v5dlLBw0h9F/LQIU=
github.com/coze-dev/cozeloop-go/spec v0.1.4-0.20250901062520-61d3699b1e83 h1:6eGUPoX88L56+5qlNuEcHuBijwcZKganDjx91d/AfH4=
github.com/coze-dev/cozeloop-go/spec v0.1.4-0.20250901062520-61d3699b1e83/go.mod h1:/f3BrWehffwXIpd4b5rYIqktLd/v5dlLBw0h9F/LQIU=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 h1:iwZdTE0PVqJCos1vaoKsclOGD3ADKpshg3SRtYBbwso=
Expand Down

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

34 changes: 14 additions & 20 deletions backend/modules/evaluation/application/convertor/experiment/expt.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ func (e *EvalConfConvert) ConvertToEntity(cer *expt.CreateExperimentRequest) (*e
ec := &entity.EvaluationConfiguration{
ItemConcurNum: ptr.ConvIntPtr[int32, int](cer.ItemConcurNum),
}
if cer.GetTargetFieldMapping() != nil && cer.GetTargetFieldMapping().GetFromEvalSet() != nil {
ec.ConnectorConf.TargetConf = &entity.TargetConf{
TargetVersionID: cer.GetTargetVersionID(),
IngressConf: toTargetFieldMappingDO(cer.GetTargetFieldMapping(), cer.GetTargetRuntimeParam()),
}
ec.ConnectorConf.TargetConf = &entity.TargetConf{
TargetVersionID: cer.GetTargetVersionID(),
IngressConf: toTargetFieldMappingDO(cer.GetTargetFieldMapping(), cer.GetTargetRuntimeParam()),
}
if cer.GetEvaluatorFieldMapping() != nil {
ec.ConnectorConf.EvaluatorsConf = &entity.EvaluatorsConf{
Expand All @@ -47,22 +45,18 @@ func (e *EvalConfConvert) ConvertToEntity(cer *expt.CreateExperimentRequest) (*e
}

func toTargetFieldMappingDO(mapping *domain_expt.TargetFieldMapping, rtp *common.RuntimeParam) *entity.TargetIngressConf {
if mapping == nil {
return nil
}
tic := &entity.TargetIngressConf{EvalSetAdapter: &entity.FieldAdapter{}}

fc := make([]*entity.FieldConf, 0, len(mapping.GetFromEvalSet()))
for _, fm := range mapping.GetFromEvalSet() {
fc = append(fc, &entity.FieldConf{
FieldName: fm.GetFieldName(),
FromField: fm.GetFromFieldName(),
Value: fm.GetConstValue(),
})
}
tic := &entity.TargetIngressConf{
EvalSetAdapter: &entity.FieldAdapter{
FieldConfs: fc,
},
if mapping != nil {
fc := make([]*entity.FieldConf, 0, len(mapping.GetFromEvalSet()))
for _, fm := range mapping.GetFromEvalSet() {
fc = append(fc, &entity.FieldConf{
FieldName: fm.GetFieldName(),
FromField: fm.GetFromFieldName(),
Value: fm.GetConstValue(),
})
}
tic.EvalSetAdapter.FieldConfs = fc
}

if rtp != nil && len(rtp.GetJSONValue()) > 0 {
Expand Down
Loading
Loading