Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial Deviant mutator/mutations suppport #17

Merged
merged 12 commits into from
Jan 24, 2024
Merged
121 changes: 121 additions & 0 deletions vscode/generated/src/modality-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ export interface paths {
*/
get: operations["get_events_summary_for_timeline"];
};
"/v2/mutations": {
/**
* List mutations
* @description List mutations
*/
get: operations["list_mutations"];
};
"/v2/mutators": {
/**
* List mutators
* @description List mutators
*/
get: operations["list_mutators"];
};
"/v2/specs": {
/**
* List all specs
Expand Down Expand Up @@ -319,6 +333,43 @@ export interface components {
MaybeAttrVal: OneOf<["None", {
Some: components["schemas"]["AttrVal"];
}]>;
Mutation: {
experiment_name?: string | null;
mutation_id: components["schemas"]["MutationId"];
mutator_attributes: {
[key: string]: components["schemas"]["AttrVal"] | undefined;
};
mutator_id: components["schemas"]["MutatorId"];
params: {
[key: string]: components["schemas"]["AttrVal"] | undefined;
};
};
/** Format: uuid */
MutationId: string;
/** @description Mutations operation errors */
MutationsError: OneOf<["InvalidMutatorId", {
/** @description Internal Server Error */
Internal: string;
}]>;
Mutator: {
mutator_attributes: {
[key: string]: components["schemas"]["AttrVal"] | undefined;
};
mutator_id: components["schemas"]["MutatorId"];
mutator_state: components["schemas"]["MutatorState"];
};
/** Format: uuid */
MutatorId: string;
/** @enum {string} */
MutatorState: "Available" | "Retired" | "TimedOut" | "Disconnected";
/** @description Mutator operation errors */
MutatorsError: OneOf<[{
/** @description Invalid mutator filter expression */
InvalidMutatorFilter: string;
}, {
/** @description Internal Server Error */
Internal: string;
}]>;
Nanoseconds: number;
SegmentCoverage: {
coverage_aggregates: components["schemas"]["CoverageAggregates"];
Expand Down Expand Up @@ -497,6 +548,76 @@ export interface operations {
};
};
};
/**
* List mutations
* @description List mutations
*/
list_mutations: {
parameters: {
query: {
/** @description Mutator ID */
mutator_id?: string | null;
/** @description Experiment name */
experiment?: string | null;
};
};
responses: {
/** @description List mutations successfully */
200: {
content: {
"application/json": (components["schemas"]["Mutation"])[];
};
};
/** @description Invalid mutator_id */
400: {
content: {
"application/json": components["schemas"]["MutationsError"];
};
};
/** @description Operation not authorized */
403: never;
/** @description Internal Server Error */
500: {
content: {
"application/json": components["schemas"]["MutationsError"];
};
};
};
};
/**
* List mutators
* @description List mutators
*/
list_mutators: {
parameters: {
query: {
/** @description Mutator filter expression */
mutator_filter?: string | null;
};
};
responses: {
/** @description List mutators successfully */
200: {
content: {
"application/json": (components["schemas"]["Mutator"])[];
};
};
/** @description Invalid mutator_filter */
400: {
content: {
"application/json": components["schemas"]["MutatorsError"];
};
};
/** @description Operation not authorized */
403: never;
/** @description Internal Server Error */
500: {
content: {
"application/json": components["schemas"]["MutatorsError"];
};
};
};
};
/**
* List all specs
* @description List all specs
Expand Down
48 changes: 48 additions & 0 deletions vscode/images/Conform_symbol-whitesquare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions vscode/images/Deviant_symbol-whitesquare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions vscode/images/Modality_symbol-whitesquare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions vscode/package-lock.json

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

Loading