feat: Restruccturing Simulation eval and Scenario docs according to the latest code#630
Conversation
…t, Eval, and Summary APIs - Added validation alignment plan for Column Management APIs, addressing security gaps and backend validation inconsistencies. - Created new MCP tools for Run Prompt APIs, enhancing validation and organization filtering. - Established shared validation utilities for Eval APIs, fixing organization filtering issues and ensuring consistent validation across layers. - Implemented organization filtering and bug fixes in Summary APIs to prevent cross-org data leaks and improve error handling. - Introduced centralized API base URL configuration for frontend integration.
There was a problem hiding this comment.
The PR title, desc and the diff don't seem to match..
Have added few comments and also getcallexecutions.mdx, updatetestcomponents.mdx, addemptyrowstodataset.mdx are 0-byte in the diff but the underlying endpoints (GET /simulate/run-tests/{id}/call-executions/, PATCH /simulate/run-tests/{id}/components/, POST /model-hub/develops/{id}/add_empty_rows/) still seem live on prod.
So, were these meant to be deleted, or left as empty placeholders?
Also - there seem to be merge conflicts with the other PR that was merged. Could you pls resolve them?
| </ParamField> | ||
| <ParamField name="404" type="Not Found"> | ||
| No test run found with the specified `run_test_id`. | ||
| ```json |
There was a problem hiding this comment.
Tested the newly added error blocks against Prod - with bogus inputs: a non-matching UUID returns HTTP 500 (not 404) with {"result": "Unable to fetch evaluation summary. Please try again"}, and 401 comes back as {"detail": "..."}.
There was a problem hiding this comment.
Its correct, it shows 404 when invalid uuid is sent. it will show 500, when uuid format is correct, but the id is not to be found.
So this is expected and correct
148a286 to
a440927
Compare
|
@sarthakFuture whats the status on this? relevant ? |
|
sir isko aaj kl mein close krdunga....my bad aaj hi krdeta....ek do sanity changes krne the |
…t, Eval, and Summary APIs
Pull Request
Description
Describe the changes in this pull request:
Checklist
Linear
Fixes TH-4913
Related Issues
Closes #<issue_number>