-
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
[Obs AI Assistant] Evaluation framework #173010
[Obs AI Assistant] Evaluation framework #173010
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
…ieselaar/kibana into obs-ai-assistant-evaluation-framework
…ieselaar/kibana into obs-ai-assistant-evaluation-framework
@elasticmachine merge upstream |
…ieselaar/kibana into obs-ai-assistant-evaluation-framework
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
], | ||
}; | ||
|
||
const sortedEvaluationFunctions = sortBy(evaluationFunctions, 'fileName', 'name'); |
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.
I'm a little bit hesitant to sort the test within the file, why not keep them in their order of declaration?
I haven't seen any other test framework sort test cases
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.
We use exports so no order is guaranteed. Ideally we have something similar to describe and it where the order of the statements decides order of execution, but need to figure out how we can use something like Mocha for this.
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.
Right, then it makes a lot of sense to sort them until then
|
||
async function getKibanaUrl({ kibana, log }: { kibana: string; log: ToolingLog }) { | ||
try { | ||
const isCI = process.env.CI?.toLowerCase() === 'true'; |
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.
Thought this wouldn't run on CI?
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.
Copy pasta 😁
Adds an evaluation framework for the Observability AI Assistant. For more details, [see the README](https://github.com/dgieselaar/kibana/blob/obs-ai-assistant-evaluation-framework/x-pack/plugins/observability_ai_assistant/scripts/evaluation/README.md). --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit c36410f)
💚 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`: - [[Obs AI Assistant] Evaluation framework (#173010)](#173010) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-13T14:43:59Z","message":"[Obs AI Assistant] Evaluation framework (#173010)\n\nAdds an evaluation framework for the Observability AI Assistant. For\r\nmore details, [see the\r\nREADME](https://github.com/dgieselaar/kibana/blob/obs-ai-assistant-evaluation-framework/x-pack/plugins/observability_ai_assistant/scripts/evaluation/README.md).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"c36410f78ee0103cb9c6dd056b1921c1eeec1e58","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.12.1","v8.13.0"],"number":173010,"url":"https://github.com/elastic/kibana/pull/173010","mergeCommit":{"message":"[Obs AI Assistant] Evaluation framework (#173010)\n\nAdds an evaluation framework for the Observability AI Assistant. For\r\nmore details, [see the\r\nREADME](https://github.com/dgieselaar/kibana/blob/obs-ai-assistant-evaluation-framework/x-pack/plugins/observability_ai_assistant/scripts/evaluation/README.md).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"c36410f78ee0103cb9c6dd056b1921c1eeec1e58"}},"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/173010","number":173010,"mergeCommit":{"message":"[Obs AI Assistant] Evaluation framework (#173010)\n\nAdds an evaluation framework for the Observability AI Assistant. For\r\nmore details, [see the\r\nREADME](https://github.com/dgieselaar/kibana/blob/obs-ai-assistant-evaluation-framework/x-pack/plugins/observability_ai_assistant/scripts/evaluation/README.md).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"c36410f78ee0103cb9c6dd056b1921c1eeec1e58"}}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <[email protected]>
Adds an evaluation framework for the Observability AI Assistant. For more details, see the README.