Skip to content

feat(studio): add email-security-analyst sample; agents list UX - #1060

Open
nv-odrulea wants to merge 5 commits into
od/studio-dataset-eval-featurefrom
od/studio-agents-sample-ux
Open

feat(studio): add email-security-analyst sample; agents list UX#1060
nv-odrulea wants to merge 5 commits into
od/studio-dataset-eval-featurefrom
od/studio-agents-sample-ux

Conversation

@nv-odrulea

Copy link
Copy Markdown
Contributor

Stacked PR — depends on #1059 (od/studio-dataset-eval-feature). Retarget to main after that merges.

Summary

  • email-security-analyst: Studio sample agent with task-driven and dataset-driven eval configs, README files, and a 40-row phishing dataset
  • email-phishing-analyzer: converts to dataset-driven eval config with <workspace>/<fileset>#dataset.jsonl placeholder; removes stale task-driven files
  • AgentsDataView: adds Run Evaluation row action; renames Test Models → Compare Models; converts to StudioDataView
  • AgentsListRoute: wires Run Evaluation into SubmitEvaluationModal
  • CreateExampleAgentModal: removes useEffect/seededRef smell; key-based remount with single seed effect
  • loadSampleAgentModelName moved to util/sampleAgents.ts (not API layer)
  • Removes stale POC tests and mock handlers for sample agents

Test plan

  • pnpm --filter nemo-studio-ui typecheck
  • pnpm --filter nemo-studio-ui test
  • Create an example agent; verify model pre-selection works on open and on example change
  • Run evaluation from agents list row action

🤖 Generated with Claude Code

nv-odrulea and others added 5 commits August 3, 2026 15:29
…ests

- CardSelect: new common component for card-style option selection used
  by the eval config picker in SubmitEvaluationModal
- StudioDataViewToolbar: adds support for row actions
- entityName.test.ts: removes stale secrets SDK assertions after the
  secrets schema dropped named regex/max exports

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
Studio can now submit and display both evaluation paradigms against a
deployed agent. Previously only task-driven (/agent-evaluate/jobs) was
reachable; this adds dataset-driven (/evaluate/jobs).

- SubmitEvaluationModal: detects eval config shape (tasks[] vs dataset+metrics)
  and routes to the correct evaluator endpoint. Fileset creation is now atomic
  (409 → user-facing collision error) with upload rollback on failure.
- EvaluationResultDetailsRoute: new route for dataset-driven results showing
  aggregate scores and per-row results panels.
- AgentEvaluationDetailRoute: Task-Driven chip on header; single cancel path.
- DatasetEvalRowResultsPanel, DatasetEvalScoresPanel, useDatasetEvalResults:
  new components for dataset eval result rendering with failure/pending states.
- eval-config-fileset.ts, evaluator-jobs.ts: unified job fetcher and hardened
  fileset helpers shared by both paradigms.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
…uation

SubmitEvaluationModal, AgentEvalTaskResultsPanel, and its test were
moved to src/components/evaluation/; delete the stale copies under
routes/agents/AgentEvaluationsRoute/components/.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
…ation

Test was renamed to submitEvaluationJob.test.ts and moved to
components/evaluation/; delete the copy at the old route path.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
…vements

- email-security-analyst: Studio sample agent with task-driven and
  dataset-driven eval configs, eval README files, and a 40-row phishing
  dataset
- email-phishing-analyzer: converts to dataset-driven eval config with
  placeholder dataset reference; removes stale task-driven files
- AgentsDataView: adds Run Evaluation row action; renames Test Models to
  Compare Models; converts to StudioDataView
- AgentsListRoute: wires Run Evaluation into SubmitEvaluationModal
- CreateExampleAgentModal: removes useEffect/seededRef smell; key-based
  remount with single seed effect
- loadSampleAgentModelName: moved to util/sampleAgents.ts (not API layer)
- Removes stale POC tests and mock handlers for sample agents

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Octavian Drulea <odrulea@nvidia.com>
@github-actions github-actions Bot added the feat label Aug 4, 2026
@nv-odrulea
nv-odrulea marked this pull request as ready for review August 4, 2026 18:34
@nv-odrulea
nv-odrulea requested review from a team as code owners August 4, 2026 18:34
@nv-odrulea
nv-odrulea force-pushed the od/studio-dataset-eval-feature branch from 89e54c2 to ba750d7 Compare August 4, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant