-
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] Increase Test Coverage 8.12.0 #168458
Comments
peteharverson
assigned walterra, darnautov, alvarezmelissa87, peteharverson, jgowdyelastic and qn895
Oct 10, 2023
Pinging @elastic/ml-ui (:ml) |
jgowdyelastic
added a commit
that referenced
this issue
Dec 11, 2023
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
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this issue
Dec 11, 2023
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)
kibanamachine
referenced
this issue
Dec 11, 2023
# 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":"jgowdy@elastic.co"},"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 <jgowdy@elastic.co>
11 tasks
Closing issue as all items planned for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow up to #164562
Meta issue to summarize improvements to test coverage for
8.12.0
.Jest unit tests
API integration tests
GET /internal/ml/anomaly_detectors/:jobId/results/categories/:categoryId
(JG) [ML] Category job results API test #172840POST /internal/ml/jobs/top_categories
(JG) [ML] Category job results API test #172840GET /internal/transform/transforms/:transformId/_stats
(WR) [ML] Transforms: Refactor routes into individual files #171201Serverless tests
Functional tests
The text was updated successfully, but these errors were encountered: