Repository navigation
test: use fictional Maya persona in tests and docs - #289
itsskofficial merged 3 commits into
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
Thanks @shivanagendrakore, this is exactly what #285 asked for, and |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
d396173 to
2aebad7
Compare
|
CLA signed and the CLA check is green now. Note: I force-pushed once to fix the commit author email (was an unlinked local address, which the CLA bot couldn't map) — no code changes. CI will need a fresh approval run on the new commit. |
# Conflicts: # tests/evolution/test_evolution.py
itsskofficial
left a comment
There was a problem hiding this comment.
Approved: tests and docs only, and the full suite passes.
|
Merged, thanks @shivanagendrakore! Main had moved since you opened this, so I merged it into your branch. That meant one conflict in |
What changed and why
Tests and docs used the maintainer's real first name ("Sarthak") as the demo/test user. This switches that persona to the fictional Maya (Maya Rao from
desktop/scripts/seed-*.py) everywhere the issue scopes it, keeping each test's meaning the same and updating expectations that assert on the name inside generated text together with the inputs.Closes #285
Scope of the change
Sarthak→Maya,sarthak→maya(including possessives likeMaya's, lower-case fact subjects like{"maya"}, and[email protected]) across 32 files intests/anddocs/."sk"→"maya"and the expected labelMaya (@maya).sentient/anddesktop/srcalready had no occurrences). The maintainer credit inREADME.mdis intentionally untouched — it is outside the issue's done-when scope (tests sentient desktop/src docs).Other test data (e.g. Pune, Riya) is left as-is: those strings also appear as generic test data independent of the user persona, so renaming them would change unrelated test meaning.
Verification
git grep -i sarthak -- tests sentient desktop/src docs→ no matches..venv/bin/ruff check sentient tests→ all checks passed..[dev,voice]):tests/memory tests/channels tests/evolution tests/proactivity→ 336 passed, 1 skipped.tests/tasks tests/integrations tests/migrate+ touched root test files → 373 passed.tests/test_hardware_context.py::test_detect_never_fails_when_every_probe_does, detectsApple M5 Proon this Mac) also fails identically on the untouched base commit, so it is a pre-existing environment-specific failure unrelated to this change.No new tests were added: this is a persona rename, and the existing assertions that embed the name were updated in place, which is the coverage for the new behaviour.
Summary by CodeRabbit