-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Category job results API test #172840
[ML] Category job results API test #172840
Conversation
Pinging @elastic/ml-ui (:ml) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding those extra tests. LGTM
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Creates a categorization job and tests: The response from `/internal/ml/jobs/top_categories` matches the expected top categories. The response from `/internal/ml/anomaly_detectors/${jobId}/results/categories/${categoryId}` matches the correct selected category. Part of elastic#168458 (cherry picked from commit efe8362)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.12`: - [[ML] Category job results API test (#172840)](#172840) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-11T09:04:50Z","message":"[ML] Category job results API test (#172840)\n\nCreates a categorization job and tests:\r\nThe response from `/internal/ml/jobs/top_categories` matches the\r\nexpected top categories.\r\nThe response from\r\n`/internal/ml/anomaly_detectors/${jobId}/results/categories/${categoryId}`\r\nmatches the correct selected category.\r\n\r\nPart of https://github.com/elastic/kibana/issues/168458","sha":"efe8362d23a6f82005195df41c17271c2f48e0db","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["non-issue",":ml","Feature:Anomaly Detection","release_note:skip","v8.12.0","v8.13.0"],"number":172840,"url":"https://github.com/elastic/kibana/pull/172840","mergeCommit":{"message":"[ML] Category job results API test (#172840)\n\nCreates a categorization job and tests:\r\nThe response from `/internal/ml/jobs/top_categories` matches the\r\nexpected top categories.\r\nThe response from\r\n`/internal/ml/anomaly_detectors/${jobId}/results/categories/${categoryId}`\r\nmatches the correct selected category.\r\n\r\nPart of https://github.com/elastic/kibana/issues/168458","sha":"efe8362d23a6f82005195df41c17271c2f48e0db"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172840","number":172840,"mergeCommit":{"message":"[ML] Category job results API test (#172840)\n\nCreates a categorization job and tests:\r\nThe response from `/internal/ml/jobs/top_categories` matches the\r\nexpected top categories.\r\nThe response from\r\n`/internal/ml/anomaly_detectors/${jobId}/results/categories/${categoryId}`\r\nmatches the correct selected category.\r\n\r\nPart of https://github.com/elastic/kibana/issues/168458","sha":"efe8362d23a6f82005195df41c17271c2f48e0db"}}]}] BACKPORT--> Co-authored-by: James Gowdy <[email protected]>
Creates a categorization job and tests:
The response from
/internal/ml/jobs/top_categories
matches the expected top categories.The response from
/internal/ml/anomaly_detectors/${jobId}/results/categories/${categoryId}
matches the correct selected category.Part of #168458