@crvouga/atlas 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -1
- package/dist/reports/src/review-collection-store.d.ts +47 -0
- package/dist/reports/src/review-collection-store.js +214 -0
- package/dist/reports/src/review-collection.d.ts +88 -0
- package/dist/reports/src/review-collection.js +144 -0
- package/dist/reports/src/test-catalog.d.ts +2 -0
- package/dist/reports/src/test-catalog.js +1 -1
- package/dist/schema/src/api.d.ts +574 -0
- package/dist/schema/src/api.js +152 -1
- package/dist/server/src/app.js +4 -1
- package/dist/server/src/openapi.js +46 -1
- package/dist/server/src/review-collections.d.ts +39 -0
- package/dist/server/src/review-collections.js +179 -0
- package/docs/extending.md +1 -1
- package/docs/reference/http-api.md +122 -0
- package/docs/reference/reports.md +294 -0
- package/docs/reference/schema.md +131 -0
- package/docs/reference/server.md +44 -0
- package/docs/rich-evidence.md +38 -0
- package/docs/server.md +41 -0
- package/docs/ui.md +67 -1
- package/llms-full.txt +269 -2
- package/package.json +1 -1
- package/packages/schema/schemas/review-collection.schema.json +398 -0
- package/packages/schema/schemas/review-manifest.schema.json +475 -0
- package/packages/server/openapi.json +6729 -4084
- package/packages/visualizer/src/app/router.tsx +6 -1
- package/packages/visualizer/src/evidence/applicability-view.tsx +233 -0
- package/packages/visualizer/src/evidence/applicability.test.ts +131 -0
- package/packages/visualizer/src/evidence/applicability.ts +241 -0
- package/packages/visualizer/src/evidence/artifact-tags.tsx +3 -2
- package/packages/visualizer/src/evidence/behavior-panel.tsx +11 -1
- package/packages/visualizer/src/evidence/feature-page.tsx +25 -4
- package/packages/visualizer/src/explorer/ArtifactsView.tsx +26 -2
- package/packages/visualizer/src/explorer/Explorer.tsx +7 -2
- package/packages/visualizer/src/explorer/RecordingTextSearch.tsx +355 -0
- package/packages/visualizer/src/explorer/RunsView.tsx +11 -1
- package/packages/visualizer/src/explorer/collection-model.test.ts +31 -0
- package/packages/visualizer/src/explorer/collection-model.ts +45 -0
- package/packages/visualizer/src/explorer/collections.tsx +513 -0
- package/packages/visualizer/src/explorer/playlist-entries.test.ts +51 -0
- package/packages/visualizer/src/explorer/playlist-entries.ts +163 -0
- package/packages/visualizer/src/explorer/playlist.tsx +500 -0
- package/packages/visualizer/src/explorer/recording-text.test.ts +149 -0
- package/packages/visualizer/src/explorer/recording-text.ts +490 -0
- package/packages/visualizer/src/explorer/search.ts +10 -2
|
@@ -63,7 +63,10 @@ export const ExplorerSearchFields = {
|
|
|
63
63
|
inRun: text,
|
|
64
64
|
group: z.enum(TEST_GROUPS).optional().catch(undefined),
|
|
65
65
|
sort: z.enum(EXPLORER_SORTS).optional().catch(undefined),
|
|
66
|
-
tab: z.enum(['runs', 'artifacts']).optional().catch(undefined),
|
|
66
|
+
tab: z.enum(['runs', 'artifacts', 'collections']).optional().catch(undefined),
|
|
67
|
+
/** The review collection opened in the Collections tab (its stable id), and the revision of it (default: the newest). */
|
|
68
|
+
collection: text,
|
|
69
|
+
rev: z.coerce.number().int().positive().optional().catch(undefined),
|
|
67
70
|
/** The run opened in the Runs tab. */
|
|
68
71
|
openRun: text,
|
|
69
72
|
/** Pins the open test's detail to one exact layer (a run's record of it), instead of the latest combined evidence. With `openRun` and `artifact` it names the layer the file is in. */
|
|
@@ -84,6 +87,8 @@ export const ExplorerSearchFields = {
|
|
|
84
87
|
relRevision: z.enum(['any']).optional().catch(undefined),
|
|
85
88
|
/** The reliability's independent executions (its denominator) are open. */
|
|
86
89
|
relOpen: z.preprocess((value) => (value === 'true' ? true : value), z.literal(true)).optional().catch(undefined),
|
|
90
|
+
/** Words to find inside the recordings of the Artifacts tab (what was said or shown, from the text producers supplied). Not a filter of the list. */
|
|
91
|
+
inside: text,
|
|
87
92
|
/** Only the runs, and the results of an opened run, that have a playable video recording. */
|
|
88
93
|
video: z.preprocess((value) => (value === 'true' ? true : value), z.literal(true)).optional().catch(undefined)
|
|
89
94
|
};
|
|
@@ -110,7 +115,9 @@ export type ExplorerSearch = {
|
|
|
110
115
|
readonly inRun?: string;
|
|
111
116
|
readonly group?: TestGroup;
|
|
112
117
|
readonly sort?: ExplorerSort;
|
|
113
|
-
readonly tab?: 'runs' | 'artifacts';
|
|
118
|
+
readonly tab?: 'runs' | 'artifacts' | 'collections';
|
|
119
|
+
readonly collection?: string;
|
|
120
|
+
readonly rev?: number;
|
|
114
121
|
readonly openRun?: string;
|
|
115
122
|
readonly layer?: string;
|
|
116
123
|
readonly source?: string;
|
|
@@ -123,6 +130,7 @@ export type ExplorerSearch = {
|
|
|
123
130
|
readonly relUntil?: string;
|
|
124
131
|
readonly relRevision?: 'any';
|
|
125
132
|
readonly relOpen?: true;
|
|
133
|
+
readonly inside?: string;
|
|
126
134
|
readonly video?: true;
|
|
127
135
|
};
|
|
128
136
|
|