-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathtaxonomy.yaml
More file actions
818 lines (756 loc) · 39.3 KB
/
Copy pathtaxonomy.yaml
File metadata and controls
818 lines (756 loc) · 39.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
# Opik QA capability taxonomy
#
# This file defines "100%". Coverage % of an area = capabilities with >=1 recent
# passing test / total capabilities in that area. Adding a capability here lowers
# coverage until a test covers it — that is the point: it makes a known gap
# visible instead of silently absent.
#
# It is a REVIEWED file. Changes to the denominator are a QA-owned decision, not
# an implementation detail. See ../TESTING-TAGS.md for the tag grammar and the
# process for adding areas and capabilities.
#
# Enforced by coverage/tag_lint.py, which runs on every PR touching
# tests_end_to_end/ (.github/workflows/tag_lint.yml).
#
# SCOPE: tests_end_to_end/ only — e2e (Playwright) + visual-tests. Nothing else.
#
# Verified against main @ c54a6a99d7 (2026-07-29):
# 24 e2e specs across 13 dirs, 3 visual specs.
#
# ---------------------------------------------------------------------------
# TAG GRAMMAR (two orthogonal dimensions — see PHASE-1-FINDINGS.md Q2')
#
# tier exactly one of @t1-smoke | @t2-cuj | @t3-nightly -> drives coverage %
# suites zero or more of @t1-stsaas | @provider-sanity -> drives WHERE it runs
# | @release-gate | @release-gate:<version>
# area exactly one @area:<area> -> from `areas:` keys below
# caps one or more @cap:<area>.<capability> -> from `capabilities:` keys
#
# Why the split: optimization-studio.spec.ts is @t2-cuj + @t1-stsaas — t2 depth,
# but included in the STSaaS sanity set (deliberate: it was unstable on client
# envs) and excluded from the 3x/day t1 prod runs because each run incurs real
# LLM cost. A flat tag enum would model t1-stsaas as a fifth tier and mis-report
# this spec. Confirmed: `test:t1` greps @t1-smoke only.
#
# Allure note: Allure strips the leading `@`. `@cap:prompts.create-text` arrives
# as tag `cap:prompts.create-text` and is queryable via AQL `tag = "..."`.
# No allure.label() calls needed — verified live against project 1.
# ---------------------------------------------------------------------------
version: 1
product: opik
# ---------------------------------------------------------------------------
# DIMENSIONS — coverage is not one number
#
# A capability can be covered functionally, visually, and under load. These are
# independent questions ("does it work?" / "does it look right?" / "does it hold
# up?"), so each capability carries a per-dimension coverage state and each area
# reports one % per dimension. Never blended into a single figure.
#
# Rationale for keeping them in ONE file rather than three: the *denominator*
# (area -> capability) is shared. Splitting the file would fork the taxonomy and
# guarantee drift. Splitting the *percentages* is the actual requirement.
#
# `applicability` is what stops the load column from being dishonest. Most UI
# capabilities are not load-bearing; counting them as "0% load covered" would
# invent a 180-capability gap that nobody intends to close. Only capabilities
# marked applicable enter that dimension's denominator.
# ---------------------------------------------------------------------------
dimensions:
functional:
label: Functional
source: tests_end_to_end/e2e
tag_prefix: "@cap:"
applicability: all # every capability should work
status: active
visual:
label: Visual
source: tests_end_to_end/visual-tests
tag_prefix: "@vcap:"
applicability: opt_in # only capabilities with `visual: {...}`
status: active
# Visual coverage is page/state-shaped, not behaviour-shaped: one screenshot
# asserts a whole page renders. So visual capabilities are coarser than
# functional ones and get their own sub-keys (see `visual:` blocks below)
# rather than being forced onto functional capability names.
states: [default, empty, loading, error]
load:
label: Load / performance
source: tests_load # NOTE: outside tests_end_to_end/ — see below
tag_prefix: "@lcap:"
applicability: opt_in # only capabilities with `load: {...}`
status: planned # long-term goal; denominator defined, not yet wired
# Load coverage is dimension-shaped, not capability-shaped. A load test
# exercises an *axis* against a capability, so a covered load capability
# declares which axes are exercised. Axes derived from the existing
# tests_load/suite/python_sdk scenarios.
axes:
ingestion-rate: "sustained writes/sec (test_many_traces_one_span_each)"
fan-out: "many children per parent (test_many_spans_per_trace)"
payload-size: "large single payloads (test_traces_with_one_megabyte_payload)"
burstiness: "spike then idle (test_burst_single_loop, test_spread_over_time)"
concurrency: "parallel writers sharing a client (test_concurrent_writers_share_one_client)"
attachments: "binary/media upload paths (test_traces_with_explicit_attachments)"
retrieval: "read-path latency under volume (test_trace_span_retrieval)"
versioning-depth: "many versions of one entity (test_dataset_insert_many_versions)"
# ---------------------------------------------------------------------------
# SCOPE NOTE ON tests_load/
#
# The agreed estate is tests_end_to_end/ only, and that remains true for the
# functional and visual dimensions — the two this task ships.
#
# `tests_load/` is a real third estate in the opik repo (5 pytest scenario files
# under suite/python_sdk, run weekly by .github/workflows/load_tests.yml, cron
# '0 4 * * 0', on ubuntu-latest-m against a docker-compose stack). It reports to
# JUnit XML, NOT to Allure, so it is invisible to the Allure-joined builder.
#
# It is declared here so the schema is ready, but the load dimension is
# `status: planned` and the v1 builder MUST skip it. Wiring it up needs a
# separate decision (does tests_load report to Allure? does it get @lcap: tags?)
# and is not in scope for OPIK-7532. Flagging rather than assuming.
# ---------------------------------------------------------------------------
# Legacy bare area tags that no longer map to exactly one area. The retro-tagging
# pass replaces each with the right @area:/@cap: pair per spec, so these are
# recorded for the lint's benefit (clear message instead of "unrecognised") and
# then removed once the pass lands.
#
# @trace-explore is the interesting one: it predates the split of the Logs surface
# into `traces` and `threads`, which are distinct nav toggles with distinct
# capabilities. The three specs carrying it divide cleanly —
# trace-explore-smoke.spec.ts -> @area:traces
# trace-spans-depth.spec.ts -> @area:traces
# thread-logging-smoke.spec.ts -> @area:threads
retired_tags:
trace-explore:
reason: "split into `traces` and `threads` — resolve per spec, not by rename"
replaced_by: [traces, threads]
# Coverage-counting rules the builder must apply.
rules:
# A capability counts as covered when a test carrying its tag passed
# within this window. Tunable; 7d matches the dashboard's pass-rate window.
recent_window_days: 7
# Specs in these dirs are infrastructure, not product coverage. Excluded from
# both numerator and denominator, and exempt from the area/cap tag lint.
exempt_dirs:
- _seed # sdk-clients.spec.ts — harness self-test
- _release-gate # ephemeral, version-stamped gate specs
# Capabilities flagged `cloud_only: true` are excluded from the self-hosted
# coverage view but counted in the cloud view. They depend on the out-of-tree
# `comet` frontend plugin (PluginsStore) and cannot run self-hosted.
cloud_only_separate_view: true
# Report one % per dimension per area. Never a blended figure.
report_per_dimension: true
# What counts as PRODUCT SURFACE when attributing a release's changed files to
# areas (consumed by the release-coverage skill in comet-ml/qa-plugin).
# Declared here rather than in tooling because both lists are scope decisions
# this file already owns.
#
# The path->area mapping ITSELF is not here: it is derived by joining the V2
# router tree (routes resolved transitively through getParentRoute) with the
# `routes:` on each area below, so it follows a page rename automatically and
# is never hand-maintained.
#
# That join is NOT literal string equality — the two spellings diverge by
# design, and the resolver normalises both sides before comparing:
# * `$param` -> `*`, so this file's `/annotation-queues/$id` matches the
# router's `.../annotation-queues/$annotationQueueId`
# * the query string is DROPPED, which is what lets one component serve two
# areas: `/logs?type=traces` and `/logs?type=threads` are one route
# (LogsPage) and two areas (traces, threads)
# * the `/opik` basepath is stripped
# * comparison is suffix-based, so a route written relative to a project
# matches the router's workspace-prefixed form
# Measured against main: all 18 areas join to at least one component, and no
# component resolves to more than two areas.
release_surface:
# Never product surface. A change confined to these is not a coverage gap;
# counting them manufactures gaps and buries the real ones.
not_surface:
- .github/
- tests_end_to_end/
- .agents/
- apps/opik-documentation/
- sdks/code_generation/
- scripts/
- version.txt
- .pre-commit-config.yaml
- CONTRIBUTING.md
- README.md
- .gitignore
- Makefile
# Real product surface this taxonomy does not enumerate AS ITS OWN AREA — it
# covers 18 UI areas. Changes here are reported by name, never mapped to a UI
# area, and never scored as zero.
#
# "Not enumerated" is not the same as "not exercised". The e2e estate drives
# the SDKs and the API heavily as fixtures — 11 specs use the SDK or the
# backend client, and five capabilities are explicitly SDK-shaped
# (datasets.create-dataset-sdk, datasets.sdk-round-trip,
# test-suites.create-suite-sdk, test-suites.run-suite-sdk,
# prompts.sdk-seeded-visible), all covered. What is untracked is each of
# these as a product surface in ITS OWN RIGHT: SDK ergonomics and options
# (num_threads, retries, error handling), REST contract details, and
# deployment behaviour. Report those as **coverage not measured here**, and
# say what the estate does exercise incidentally rather than implying zero.
untracked:
- prefix: sdks/python
label: Python SDK
- prefix: sdks/typescript
label: TypeScript SDK
- prefix: apps/opik-backend/
label: Backend (Java API / internal)
- prefix: apps/opik-python-backend/
label: Python backend
- prefix: apps/opik-guardrails-backend/
label: Guardrails backend
- prefix: apps/opik-sandbox-executor-python/
label: Sandbox executor
- prefix: deployment/
label: Deployment / Helm
# Tag-lint enforcement. All three are hard CI failures, not warnings.
enforce:
# every non-exempt e2e spec declares exactly one tier and one @area:
tier_and_area_required: true
# @area:/@cap:/@vcap: values must exist in this file
tags_must_exist_in_taxonomy: true
# every `state:` in a visual: block must be one of dimensions.visual.states
visual_state_enum: true
# ---------------------------------------------------------------------------
# AREAS
#
# Spine = the app's own v2 nav grouping (getMenuItems.ts), which is what users
# see. `nav_group` records it so the Notion dashboard can order areas the way
# the product does.
#
# `specs:` lists CURRENT covering specs (informational — the tags are the real
# source of truth once Phase 3 lands). `covered: false` capabilities are the
# gap list the radar ranks.
# ---------------------------------------------------------------------------
areas:
# ===================== OBSERVABILITY =====================
traces:
label: Traces & Spans
nav_group: Observability
routes: ["/projects/$projectId/logs?type=traces", "/logs?type=spans"]
spec_dir: trace-explore # NOTE: dir name != product vocabulary ("Logs")
specs:
- trace-explore/trace-explore-smoke.spec.ts
- trace-explore/trace-spans-depth.spec.ts
- trace-explore/trace-delete.spec.ts
- trace-explore/trace-filters.spec.ts
# ---- functional dimension ----
capabilities:
list-traces: { covered: true, tier: t1-smoke }
trace-ordering: { covered: true, tier: t1-smoke }
open-trace-panel: { covered: true, tier: t1-smoke }
span-tree-expand: { covered: true, tier: t2-cuj }
span-model-cost-tokens: { covered: true, tier: t2-cuj }
trace-tag-add-remove: { covered: true, tier: t2-cuj }
manual-feedback-score: { covered: true, tier: t2-cuj }
toggle-spans-view: { covered: false, note: "Logs has a 3rd toggle (Spans); only Traces+Threads covered" }
filter-traces: { covered: true, tier: t2-cuj }
configure-columns: { covered: false }
add-trace-to-dataset: { covered: false, note: "AddToDatasetDialog" }
add-trace-to-queue: { covered: false, note: "AddToQueueDialog — cross-links annotation-queues" }
agent-graph-tab: { covered: false }
attachments-media: { covered: false }
set-guardrail: { covered: false, note: "SetGuardrailDialog — GUARDRAILS_ENABLED flag" }
guardrail-results: { covered: false, note: "GuardrailsCell column + Guardrails tree block — GUARDRAILS_ENABLED flag" }
delete-traces: { covered: true, tier: t2-cuj }
delete-traces-api: { covered: true, tier: t2-cuj, note: "SDK/API delete reflected in the Logs table" }
export-traces: { covered: false, note: "EXPORT_ENABLED flag" }
# ---- visual dimension (opt-in; page/state-shaped) ----
visual:
logs-traces-view: { covered: true, state: default, spec: "visual-comparison.spec.ts 02" }
logs-traces-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E01" }
trace-sidebar-messages: { covered: true, state: default, spec: "trace-sidebar.spec.ts S01" }
trace-sidebar-details: { covered: true, state: default, spec: "trace-sidebar.spec.ts S02" }
trace-sidebar-feedback: { covered: true, state: default, spec: "trace-sidebar.spec.ts S03" }
trace-sidebar-prompts: { covered: true, state: default, spec: "trace-sidebar.spec.ts S04" }
logs-spans-view: { covered: true, state: default, spec: "visual-comparison.spec.ts 07" }
trace-sidebar-agent-graph: { covered: true, state: default, spec: "trace-sidebar.spec.ts S05" }
# ---- load dimension (opt-in; axis-shaped; status: planned) ----
load:
trace-span-ingestion:
covered: false
axes: [ingestion-rate, fan-out, burstiness, concurrency]
existing_scenarios:
- "tests_load/suite/python_sdk/test_ingestion_rate.py::test_many_traces_one_span_each"
- "tests_load/suite/python_sdk/test_ingestion_rate.py::test_many_spans_per_trace"
- "tests_load/suite/python_sdk/test_bursts.py::test_burst_single_loop"
note: "scenarios exist in tests_load/ but report to JUnit, not Allure — not yet joinable"
trace-heavy-payload:
covered: false
axes: [payload-size]
existing_scenarios:
- "tests_load/suite/python_sdk/test_heavy_payload.py::test_traces_with_one_megabyte_payload"
- "tests_load/suite/python_sdk/test_heavy_payload.py::test_spans_with_heavy_payload"
trace-attachments:
covered: false
axes: [attachments]
existing_scenarios:
- "tests_load/suite/python_sdk/test_attachments.py::test_traces_with_explicit_attachments"
trace-retrieval:
covered: false
axes: [retrieval]
existing_scenarios:
- "tests_load/tests/test_trace_span_retrieval.py"
threads:
label: Threads & Conversations
nav_group: Observability
routes: ["/projects/$projectId/logs?type=threads"]
spec_dir: trace-explore
specs:
- trace-explore/thread-logging-smoke.spec.ts
- trace-explore/thread-id-prefilter.spec.ts
capabilities:
list-threads: { covered: true, tier: t1-smoke }
thread-message-count: { covered: true, tier: t1-smoke }
open-thread-panel: { covered: true, tier: t1-smoke }
turn-order-io: { covered: true, tier: t1-smoke }
thread-feedback-score: { covered: false }
thread-actions-panel: { covered: false }
thread-level-metrics: { covered: false, note: "conversational metrics" }
visual:
logs-threads-view: { covered: true, state: default, spec: "visual-comparison.spec.ts 03" }
logs-threads-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E02" }
thread-panel: { covered: false, state: default }
load:
thread-ingestion:
covered: false
axes: [ingestion-rate, fan-out]
existing_scenarios: ["tests_load/tests/test_thread_ingestion.py"]
diagnostics:
label: Diagnostics
nav_group: Observability
routes: ["/projects/$projectId/diagnostics", "/diagnostics/resolved"]
cloud_only: true # requires AssistantSidebar plugin + OLLIE_ENABLED + AGENT_INSIGHTS_ENABLED
specs: []
capabilities:
list-issues: { covered: false }
issue-detail: { covered: false }
severity-badge: { covered: false }
occurrence-chart: { covered: false }
affected-traces: { covered: false }
resolve-issue: { covered: false }
view-resolved: { covered: false }
enable-diagnostics: { covered: false }
configure-settings: { covered: false }
visual:
diagnostics-list: { covered: false, state: default }
diagnostics-empty: { covered: false, state: empty }
dashboards:
label: Dashboards
nav_group: Observability
routes: ["/$workspaceName/dashboards", "/dashboards/$dashboardId", "/projects/$projectId/dashboards"]
specs:
capabilities:
list-dashboards: { covered: false }
create-dashboard: { covered: false }
open-dashboard: { covered: false }
edit-dashboard: { covered: false }
delete-dashboard: { covered: false }
add-widget: { covered: false }
configure-widget: { covered: false }
widget-filters: { covered: false }
metric-date-range: { covered: false }
# ===================== DEVELOPMENT =====================
visual:
dashboards-default: { covered: true, state: default, spec: "empty-states.spec.ts E06" }
dashboard-detail: { covered: false, state: default }
prompts:
label: Prompt library
nav_group: Development
routes: ["/projects/$projectId/prompts", "/prompts/$promptId"]
spec_dir: prompts
specs:
- prompts/prompt-library-smoke.spec.ts
capabilities:
list-prompts: { covered: true, tier: t1-smoke }
create-text-prompt-ui: { covered: true, tier: t1-smoke }
create-chat-prompt-ui: { covered: true, tier: t1-smoke }
sdk-seeded-visible: { covered: true, tier: t1-smoke }
edit-creates-version: { covered: true, tier: t1-smoke }
old-version-preserved: { covered: true, tier: t1-smoke }
version-history: { covered: true, tier: t1-smoke }
compare-versions: { covered: false }
experiments-tab: { covered: false, note: "prompt detail -> Experiments tab" }
delete-prompt: { covered: false }
visual:
prompt-library-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E07" }
prompt-library-list: { covered: false, state: default }
prompt-detail: { covered: false, state: default }
playground:
label: Prompt playground
nav_group: Development
routes: ["/projects/$projectId/playground"]
spec_dir: playground
specs:
- playground/playground-smoke.spec.ts
- playground/playground-providers.spec.ts
- prompts/prompt-playground-new-prompt.spec.ts
- prompts/prompt-playground-save.spec.ts
- prompts/prompt-playground-traces.spec.ts
- prompts/prompt-version-playground.spec.ts
capabilities:
compose-run-prompt: { covered: true, tier: t1-smoke }
select-model-provider: { covered: true, suites: [provider-sanity] }
run-against-dataset: { covered: true, tier: t1-smoke, note: "auto-creates experiment" }
save-new-prompt: { covered: true, tier: t1-smoke }
save-prompt-version: { covered: true, tier: t2-cuj }
load-prompt-version: { covered: true, tier: t2-cuj }
verify-trace-from-run: { covered: true, tier: t2-cuj }
playground-logs-sidebar: { covered: true, tier: t2-cuj }
configure-model-settings: { covered: false, note: "PromptModelSettings / providerConfigs" }
visual:
playground-default: { covered: false, state: default }
playground-empty: { covered: false, state: empty }
load:
playground-batch-run:
covered: false
axes: [concurrency, ingestion-rate]
note: "run-against-dataset fans out one LLM call per item; no load scenario yet"
agent-playground:
label: Agent playground
nav_group: Development
routes: ["/projects/$projectId/agent-playground"]
spec_dir: agent-playground
specs:
- agent-playground/agent-playground-local-runner.spec.ts
capabilities:
drive-connected-agent: { covered: true, tier: t3-nightly }
connected-state-ui: { covered: false }
agent-input-form: { covered: false }
select-prompt-to-run: { covered: false }
view-agent-result: { covered: false }
sandbox-flow-diagram: { covered: false }
visual:
agent-playground-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E08" }
agent-playground-run: { covered: false, state: default }
optimization-studio:
label: Optimization runs
nav_group: Development
routes: ["/projects/$projectId/optimizations", "/optimizations/$optimizationId"]
spec_dir: optimization-studio
specs:
- optimization-studio/optimization-studio.spec.ts
- optimization-studio/optimization-trial-logs.spec.ts
capabilities:
new-run-form-validation: { covered: true, tier: t2-cuj, suites: [t1-stsaas] }
launch-gepa-run: { covered: true, tier: t2-cuj, suites: [t1-stsaas] }
launch-hier-reflective: { covered: true, tier: t2-cuj, suites: [t1-stsaas] }
run-completes-healthy: { covered: true, tier: t2-cuj, suites: [t1-stsaas] }
studio-logs-download: { covered: true, tier: t2-cuj, suites: [t1-stsaas] }
list-optimization-runs: { covered: false }
trials-table: { covered: false }
trial-detail: { covered: true, tier: t2-cuj }
best-trial-prompt: { covered: false }
kpi-cards: { covered: false }
compare-runs: { covered: false }
delete-run: { covered: false }
other-algorithms: { covered: false, note: "MetaPrompt, Few-Shot Bayesian, Evolutionary, Parameter, Tool — 2 of 7 covered" }
# ===================== EVALUATION =====================
visual:
optimization-runs-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E09" }
optimization-runs-list: { covered: false, state: default }
optimization-detail: { covered: false, state: default }
datasets:
label: Datasets
nav_group: Evaluation
routes: ["/projects/$projectId/datasets", "/datasets/$datasetId/items"]
spec_dir: datasets
specs:
- datasets/dataset-crud-smoke.spec.ts
- datasets/dataset-items.spec.ts
- datasets/dataset-version-counters.spec.ts
capabilities:
list-datasets: { covered: true, tier: t1-smoke }
create-dataset-ui: { covered: true, tier: t1-smoke }
create-dataset-sdk: { covered: true, tier: t1-smoke }
view-items: { covered: true, tier: t1-smoke }
add-item-ui: { covered: true, tier: t1-smoke }
edit-item-versions: { covered: true, tier: t2-cuj }
bulk-delete-items: { covered: true, tier: t3-nightly }
search-items: { covered: true, tier: t3-nightly }
sdk-round-trip: { covered: true, tier: t1-smoke }
version-history-view: { covered: true, tier: t2-cuj }
export-dataset: { covered: false, note: "DATASET_EXPORT_ENABLED" }
import-huggingface: { covered: false }
visual:
datasets-page: { covered: true, state: default, spec: "visual-comparison.spec.ts 04" }
datasets-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E03" }
dataset-items: { covered: false, state: default }
load:
dataset-item-volume:
covered: false
axes: [ingestion-rate, versioning-depth]
existing_scenarios:
- "tests_load/suite/python_sdk/test_dataset_items.py::test_dataset_insert_many_versions"
test-suites:
label: Test suites
nav_group: Evaluation
routes: ["/projects/$projectId/test-suites", "/test-suites/$suiteId/items"]
spec_dir: test-suites
specs:
- test-suites/test-suites-smoke.spec.ts
capabilities:
list-suites: { covered: true, tier: t1-smoke }
create-suite-ui: { covered: true, tier: t1-smoke }
create-suite-sdk: { covered: true, tier: t1-smoke }
view-suite-items: { covered: true, tier: t1-smoke }
run-suite-sdk: { covered: true, tier: t1-smoke, note: "3/3 pass experiment" }
run-suite-playground: { covered: true, tier: t1-smoke }
pass-rate-display: { covered: true, tier: t1-smoke }
global-assertions: { covered: true, tier: t1-smoke }
delete-suite: { covered: false }
visual:
test-suites-page: { covered: true, state: default, spec: "visual-comparison.spec.ts 05" }
test-suites-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E04" }
suite-items: { covered: false, state: default }
experiments:
label: Experiments
nav_group: Evaluation
routes: ["/projects/$projectId/experiments", "/experiments/$datasetId/compare"]
spec_dir: experiments
specs:
- experiments/experiments-smoke.spec.ts
- experiments/experiments-compare.spec.ts
- experiments/experiment-logs-date-window.spec.ts
capabilities:
list-experiments: { covered: true, tier: t1-smoke }
per-item-scores: { covered: true, tier: t1-smoke }
compare-side-by-side: { covered: true, tier: t2-cuj }
compare-sort-search: { covered: true, tier: t2-cuj }
compare-feedback-tab: { covered: true, tier: t2-cuj }
compare-row-detail: { covered: true, tier: t2-cuj }
insights-tab: { covered: false }
configuration-tab: { covered: false }
logs-tab: { covered: true, tier: t1-smoke, note: "experiment traces inline; replaced the Go to logs tag" }
export-comparison: { covered: false }
delete-experiment: { covered: false }
visual:
experiments-page: { covered: true, state: default, spec: "visual-comparison.spec.ts 06" }
experiments-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E05" }
compare-view: { covered: false, state: default }
load:
experiment-item-bulk:
covered: false
axes: [ingestion-rate, payload-size]
note: "backend exposes ExperimentItemBulkUpload; no load scenario yet"
annotation-queues:
label: Annotation queues
nav_group: Evaluation
routes: ["/projects/$projectId/annotation-queues", "/annotation-queues/$id", "/$workspaceName/sme"]
spec_dir: annotation-queues
# Was the one dir<->tag mismatch (@annotation-queue singular). Normalised to
# plural @annotation-queues so dir == area == tag holds everywhere.
# opik PR #7676.
#
# BUILDER: Allure results predating that merge carry tag "annotation-queue";
# results after it carry "annotation-queues". Accept both when querying, or a
# 7-day window spanning the merge reports a false gap.
tag_aliases: [annotation-queue]
specs:
- annotation-queues/annotation-queue-scoring.spec.ts
- annotation-queues/annotation-queue-delete.spec.ts
capabilities:
score-queue-item: { covered: true, tier: t2-cuj }
score-with-reason: { covered: true, tier: t2-cuj }
skip-item: { covered: true, tier: t2-cuj }
scores-reach-traces: { covered: true, tier: t2-cuj, note: "SDK-verified" }
list-queues: { covered: false }
create-queue: { covered: false }
edit-queue: { covered: false }
# Second case in this spec is a test.fail() known failure for OPIK-7903
# (deleted-queue URL loads forever instead of showing a not-found state).
# Fixing that bug turns the run red until the annotation is removed.
delete-queue: { covered: true, tier: t2-cuj, note: "row-actions delete; sibling queue + source traces asserted to survive; deleted-queue URL known-failure OPIK-7903" }
queue-configuration-tab: { covered: false }
add-traces-to-queue: { covered: false }
sme-flow: { covered: false, note: "/sme route, dedicated layout" }
export-annotated-data: { covered: false }
# ===================== PRODUCTION =====================
visual:
annotation-queues-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E10" }
annotation-queues-list: { covered: false, state: default }
queue-detail: { covered: false, state: default }
online-evaluation:
label: Online evaluation
nav_group: Production
routes: ["/projects/$projectId/online-evaluation", "/$workspaceName/automation-logs"]
spec_dir: online-evaluation
specs:
- online-evaluation/online-evaluation-smoke.spec.ts
- online-evaluation/online-evaluation-delete-rule.spec.ts
- online-evaluation/online-evaluation-enable-disable-rule.spec.ts
- online-evaluation/online-evaluation-sampling-rate.spec.ts
capabilities:
create-llm-judge-rule: { covered: true, tier: t1-smoke }
llm-judge-scores: { covered: true, tier: t1-smoke, note: "bimodal safe/unsafe" }
create-python-rule: { covered: true, tier: t1-smoke }
python-rule-scores: { covered: true, tier: t1-smoke, note: "deterministic 3x1.0 / 2x0.0" }
scores-in-trace-panel: { covered: true, tier: t1-smoke }
list-rules: { covered: false }
rule-scope-thread-span: { covered: false, note: "span/thread scope flags" }
rule-filters: { covered: false }
sampling-rate: { covered: true, tier: t2-cuj, note: "50% rule vs 100% control over one 30-trace batch; binomial band 15-85%" }
clone-rule: { covered: false }
edit-rule: { covered: false }
enable-disable-rule: { covered: true, tier: t2-cuj, note: "edit-dialog switch; control rule proves scoring stopped, then resumed" }
delete-rule: { covered: true, tier: t2-cuj, note: "row kebab delete; control rule proves scoring stopped" }
automation-logs: { covered: false }
visual:
online-evaluation-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E11" }
online-evaluation-list: { covered: false, state: default }
load:
rule-evaluation-throughput:
covered: false
axes: [ingestion-rate, concurrency]
note: "online scoring is the known prod bottleneck (see /check-online-scoring)"
alerts:
label: Alerts
nav_group: Production
routes: ["/projects/$projectId/alerts", "/alerts/new", "/alerts/$alertId"]
specs:
capabilities:
list-alerts: { covered: false }
create-alert: { covered: false }
edit-alert: { covered: false }
event-triggers: { covered: false }
webhook-destination: { covered: false }
enable-disable: { covered: false }
delete-alert: { covered: false }
test-alert: { covered: false }
# ===================== ASSISTANT / CONNECT =====================
visual:
alerts-empty: { covered: true, state: empty, spec: "empty-states.spec.ts E12" }
alerts-list: { covered: false, state: default }
alert-editor: { covered: false, state: default }
ollie:
label: Opik Connect
nav_group: Home
routes: ["/projects/$projectId/ollie", "/pair/v1"]
spec_dir: ollie
cloud_only: true # requires AssistantSidebar plugin + OLLIE_ENABLED
specs:
- ollie/ollie-smoke.spec.ts
- ollie/ollie-agentic.spec.ts
- ollie/ollie-connect.spec.ts
- ollie/ollie-explain.spec.ts
capabilities:
surface-mounts: { covered: true, tier: t1-smoke }
sidebar-persists-nav: { covered: true, tier: t1-smoke }
basic-completion: { covered: true, tier: t2-cuj }
context-badge-count: { covered: true, tier: t2-cuj }
analyze-command: { covered: true, tier: t3-nightly }
explain-cells: { covered: true, tier: t3-nightly, note: "Errors/cost/duration cells" }
explain-continue-convo: { covered: true, tier: t3-nightly }
instrument-command: { covered: true, tier: t3-nightly, note: "local runner" }
improve-command: { covered: true, tier: t3-nightly, note: "local runner" }
pairing-approve: { covered: true, tier: t3-nightly }
daily-briefing: { covered: false, note: "project home" }
visual:
ollie-surface: { covered: false, state: default }
ollie-sidebar: { covered: false, state: default }
# ===================== PLATFORM / WORKSPACE =====================
projects:
label: Projects
nav_group: Workspace
routes: ["/$workspaceName/projects", "/projects/$projectId/home"]
spec_dir: projects
specs:
- projects/project-delete.spec.ts
- projects/projects-list-stats.spec.ts
capabilities:
list-projects: { covered: true, tier: t2-cuj }
create-project: { covered: false }
delete-project: { covered: true, tier: t2-cuj, note: "asserts the project and its traces are gone; deliberately silent on orphaned project-scoped datasets/experiments pending a product decision" }
project-selector: { covered: false }
pin-unpin-project: { covered: false }
project-home: { covered: false }
recent-activity: { covered: false }
breadcrumb-selector: { covered: false, note: "trace-explore-smoke checks the breadcrumb, but only as project context for the trace panel — not as coverage of the selector itself. A cross-area @cap: here would over-claim." }
visual:
projects-page: { covered: true, state: default, spec: "visual-comparison.spec.ts 01" }
project-home: { covered: false, state: default }
configuration:
label: Configuration
nav_group: Workspace
routes: ["/$workspaceName/configuration"]
specs: []
# A configuration.page.ts POM exists with no spec using it — half-built surface.
# Split per-tab: the page has 5 distinct tabs (CONFIGURATION_TABS), each with
# its own CRUD surface, so one capability per tab was too coarse. Capabilities
# below are read off the tab components on origin/main.
capabilities:
# -- Feedback definitions tab --
feedback-def-list: { covered: false }
feedback-def-create: { covered: false, note: "AddEditFeedbackDefinitionDialog" }
feedback-def-edit: { covered: false }
feedback-def-delete: { covered: false }
feedback-def-search: { covered: false, note: "search by name" }
# -- Environments tab --
environment-list: { covered: false }
environment-create: { covered: false, note: "AddEditEnvironmentDialog" }
environment-edit: { covered: false }
environment-delete: { covered: false }
# -- AI providers tab --
ai-provider-list: { covered: false }
ai-provider-add: { covered: false, note: "exercised indirectly by playground provider setup (configuration.page.ts), never asserted here" }
ai-provider-edit: { covered: false }
ai-provider-delete: { covered: false }
# -- Workspace preferences tab --
pref-thread-timeout: { covered: false, note: "EditThreadTimeoutDialog" }
pref-truncation-toggle: { covered: false, note: "EditTruncationToggleDialog" }
# -- Members tab (plugin-only) --
members-list: { covered: false, cloud_only: true }
members-invite: { covered: false, cloud_only: true }
members-change-role: { covered: false, cloud_only: true }
visual:
config-feedback-definitions: { covered: true, state: default }
config-feedback-def-empty: { covered: false, state: empty, note: "'No feedback definitions yet'" }
config-environments: { covered: true, state: default }
config-environments-empty: { covered: true, state: empty, note: "'No environments yet'" }
config-ai-providers: { covered: true, state: default }
config-ai-providers-empty: { covered: true, state: empty, note: "'No AI providers yet'" }
config-workspace-prefs: { covered: true, state: default }
onboarding:
label: Get started
nav_group: Onboarding
routes: ["/$workspaceName/get-started", "/$workspaceName/quickstart"]
specs: []
capabilities:
quickstart-page: { covered: false }
start-preference: { covered: false }
integration-explorer: { covered: false }
copy-snippet: { covered: false }
api-key-generate: { covered: false }
demo-project-banner: { covered: false }
welcome-wizard: { covered: false, cloud_only: true }
# ---------------------------------------------------------------------------
# VISUAL DIMENSION
#
# The 3 visual specs currently carry NO tags at all, so they are invisible to
# every tier run and to the coverage map. Phase 3 tags them. Mapping of the
# existing visual tests onto areas above:
#
# visual-comparison.spec.ts 01 Projects page -> projects
# 02 Logs/Traces view -> traces
# 03 Logs/Threads -> threads
# 04 Datasets page -> datasets
# 05 Test Suites page -> test-suites
# 06 Experiments page -> experiments
# empty-states.spec.ts E01..E12 -> traces, threads, datasets, test-suites,
# experiments, dashboards, prompts, agent-playground,
# optimization-studio, annotation-queues,
# online-evaluation, alerts
# trace-sidebar.spec.ts S01 Messages, S02 Details, S03 Feedback scores,
# S04 Prompts -> traces (tab-level)
#
# Open question for review: should visual coverage count toward the same
# capability denominator as functional coverage (current draft: yes, marked
# `tier: visual`), or be a separate percentage per area? Counting an empty-state
# screenshot as "alerts is covered" flatters the number — hence `alerts` reads
# 1/9 rather than 0/9 today.
# ---------------------------------------------------------------------------
visual:
get-started-page: { covered: false, state: default }