Skip to content

docs: fix typo in per-turn user simulator quality prompt#6305

Closed
anxkhn wants to merge 4 commits into
google:mainfrom
anxkhn:docs/simulator-prompt-typo
Closed

docs: fix typo in per-turn user simulator quality prompt#6305
anxkhn wants to merge 4 commits into
google:mainfrom
anxkhn:docs/simulator-prompt-typo

Conversation

@anxkhn

@anxkhn anxkhn commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Please ensure you have read the contribution guide before creating a pull request.

Link to Issue or Description of Change

2. Or, if no issue exists, describe the change:

Problem:
The with-persona evaluator prompt template in
src/google/adk/evaluation/simulation/per_turn_user_simulator_quality_prompts.py
misspells "existing" as "exsisting" in its "Definition of Conversation History"
section. This text is part of the prompt sent to the model at evaluation time,
so it is model-facing rather than an internal comment. The sibling non-persona
template in the same file already uses the correct spelling in the identical
sentence, so the two templates are inconsistent.

Solution:
Correct the single word exsisting -> existing on that line. This makes the
two templates consistent and fixes the model-facing text. No code path changes.

Testing Plan

This is a small typo fix in a prompt string, so no behavioral tests are added.
The existing module test suite still passes and linting is clean:

  • pre-commit run --files src/google/adk/evaluation/simulation/per_turn_user_simulator_quality_prompts.py -> all Passed/Skipped.
  • pytest tests/unittests/evaluation/simulation/test_per_turn_user_simulation_quality_prompts.py -q -> 6 passed.

Unit Tests:

  • I have added or updated unit tests for my change. (N/A: typo-only fix in a prompt string literal; the module's tests mock the templates and do not snapshot the prompt text.)
  • All unit tests pass locally.

Checklist

  • I have read the CONTRIBUTING.md document.
  • I have performed a self-review of my own code.
  • New and existing unit tests pass locally with my changes.

Correct 'exsisting' to 'existing' in the Conversation History section of the with-persona evaluator prompt template. The sibling non-persona template already uses the correct spelling. This text is sent to the model at evaluation time.
@rohityan rohityan self-assigned this Jul 6, 2026
@rohityan rohityan added the documentation [Component] This issue is related to documentation, it will be transferred to adk-docs label Jul 6, 2026
@wyf7107 wyf7107 self-assigned this Jul 6, 2026
@wyf7107 wyf7107 added the ready to pull [Status] This PR is ready to be imported back to Google label Jul 6, 2026
copybara-service Bot pushed a commit that referenced this pull request Jul 6, 2026
Merge #6305

**Please ensure you have read the [contribution guide](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) before creating a pull request.**

### Link to Issue or Description of Change

**2. Or, if no issue exists, describe the change:**

**Problem:**
The with-persona evaluator prompt template in
`src/google/adk/evaluation/simulation/per_turn_user_simulator_quality_prompts.py`
misspells "existing" as "exsisting" in its "Definition of Conversation History"
section. This text is part of the prompt sent to the model at evaluation time,
so it is model-facing rather than an internal comment. The sibling non-persona
template in the same file already uses the correct spelling in the identical
sentence, so the two templates are inconsistent.

**Solution:**
Correct the single word `exsisting` -> `existing` on that line. This makes the
two templates consistent and fixes the model-facing text. No code path changes.

### Testing Plan

This is a small typo fix in a prompt string, so no behavioral tests are added.
The existing module test suite still passes and linting is clean:

- `pre-commit run --files src/google/adk/evaluation/simulation/per_turn_user_simulator_quality_prompts.py` -> all Passed/Skipped.
- `pytest tests/unittests/evaluation/simulation/test_per_turn_user_simulation_quality_prompts.py -q` -> 6 passed.

**Unit Tests:**

- [ ] I have added or updated unit tests for my change. (N/A: typo-only fix in a prompt string literal; the module's tests mock the templates and do not snapshot the prompt text.)
- [x] All unit tests pass locally.

### Checklist

- [x] I have read the [CONTRIBUTING.md](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) document.
- [x] I have performed a self-review of my own code.
- [x] New and existing unit tests pass locally with my changes.

COPYBARA_INTEGRATE_REVIEW=#6305 from anxkhn:docs/simulator-prompt-typo 34dc49f
PiperOrigin-RevId: 943534249
@adk-bot

adk-bot commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Thank you @anxkhn for your contribution! 🎉

Your changes have been successfully imported and merged via Copybara in commit 9a79fa1.

Closing this PR as the changes are now in the main branch.

@adk-bot adk-bot added the merged [Status] This PR is merged label Jul 6, 2026
@adk-bot adk-bot closed this Jul 6, 2026
@rohityan rohityan removed their assignment Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation [Component] This issue is related to documentation, it will be transferred to adk-docs merged [Status] This PR is merged ready to pull [Status] This PR is ready to be imported back to Google

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants