-
-
Notifications
You must be signed in to change notification settings - Fork 379
[GSK-1476] introducing debug_description in test decorator #1290
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
ba85f09
introduced debug_description in test decorator and on the backend side
rabah-khalek 793a570
improved to_json
rabah-khalek 1dd4a40
updated changelog
rabah-khalek 6a1129c
Merge branch 'main' into GSK-1476-debug-description
rabah-khalek 77e3132
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki aeca408
Fix persistence to jakarta
Inokinoki c399322
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki d164cf8
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki a8a0d6d
Add `debugDescription` in WebSocket DTOs
Inokinoki ee11648
Fix frontend-related DTO serialization
Inokinoki 9cc2bae
Provide a default value for debug description
Inokinoki 6c61040
Migrate test suite execution related DTO to api-v2
Inokinoki e068a3f
Simply display debug description
Inokinoki 97320b3
Revert "Migrate test suite execution related DTO to api-v2"
Inokinoki 7271e9f
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki 4dcc52e
Manually add debug desc to avoid large migration
Inokinoki a92520c
Order migration with date
Inokinoki aca57c2
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki f215ada
Polish wording and UI/UX for debug description
Inokinoki 9b5d42a
Fix icon in debug description popup
Inokinoki abfb599
Override update for `TestFunction` to update debug description
Inokinoki 05808a4
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki 023509e
Use "push" for model insights instead of "debug"
Inokinoki 8c89f5a
adjusted default message
rabah-khalek a80d34f
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki 6d01477
Merge branch 'main' into GSK-1476-debug-description
rabah-khalek abea382
[GSK-1715] Filling per-test debug descriptions (#1412)
rabah-khalek 05e9ba8
solving [GSK-1768]
rabah-khalek 5c64a68
silenced sonar
rabah-khalek cc84579
silenced sonar
rabah-khalek a08e57d
Merge branch 'main' into GSK-1476-debug-description
andreybavt 54fd0cd
Merge branch 'main' into GSK-1476-debug-description
rabah-khalek e908c80
Merge branch 'main' into GSK-1476-debug-description
rabah-khalek 2489d7a
Merge branch 'main' of https://github.com/Giskard-AI/giskard into GSK…
Inokinoki b685bcd
Merge branch 'main' into GSK-1476-debug-description
rabah-khalek 60f5246
Merge branch 'main' into GSK-1476-debug-description
rabah-khalek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
backend/src/main/java/ai/giskard/ml/dto/MLWorkerWSFunctionMetaBaseDTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| package ai.giskard.ml.dto; | ||
|
|
||
| import lombok.Getter; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| @Getter | ||
| public class MLWorkerWSFunctionMetaBaseDTO implements MLWorkerWSBaseDTO { | ||
| private String uuid; | ||
|
|
||
| private String name; | ||
|
|
||
| private String displayName; | ||
|
|
||
| private Integer version; | ||
|
|
||
| private String module; | ||
|
|
||
| private String doc; | ||
|
|
||
| private String moduleDoc; | ||
|
|
||
| private List<MLWorkerWSTestFunctionArgumentDTO> args; | ||
|
|
||
| private List<String> tags; | ||
|
|
||
| private String code; | ||
|
|
||
| private String type; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
backend/src/main/java/ai/giskard/web/dto/TestFunctionDTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,18 @@ | ||
| package ai.giskard.web.dto; | ||
|
|
||
| import com.dataiku.j2ts.annotations.UIModel; | ||
| import com.fasterxml.jackson.annotation.JsonAlias; | ||
| import lombok.AllArgsConstructor; | ||
| import lombok.Data; | ||
| import lombok.EqualsAndHashCode; | ||
| import lombok.NoArgsConstructor; | ||
|
|
||
| @Data | ||
| @EqualsAndHashCode(callSuper = true) | ||
| @AllArgsConstructor | ||
| @NoArgsConstructor | ||
| @UIModel | ||
| public class TestFunctionDTO extends CallableDTO { | ||
| @JsonAlias("debug_description") | ||
| private String debugDescription; | ||
| } |
8 changes: 8 additions & 0 deletions
8
backend/src/main/resources/config/liquibase/changelog/20230803161938_changelog.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?xml version="1.1" encoding="UTF-8" standalone="no"?> | ||
| <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> | ||
| <changeSet author="rak (generated)" id="1691072393152-5"> | ||
| <addColumn tableName="callable_functions"> | ||
| <column name="debug_description" type="varchar(255)"/> | ||
| </addColumn> | ||
| </changeSet> | ||
| </databaseChangeLog> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| debug_prefix = "Debug: " | ||
| debug_description_prefix = "This debugging session opens one by one all the examples " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.