doppel check · doppel-demo

Describe has_password in the API schema

Doppel ran this app's code from before and after the pull request side by side, compared every response, and had NVIDIA Nemotron judge each difference against what the pull request says it does.

Your tests test mode · no setup

  • 44 tests sent 117 requests
  • command python -m pytest -p no:logging (from tox.ini)
  • noise ignored: access_token, first_seen, last_seen, refresh_token, timestamp
  • left out: 1 test compared on pass or fail only (their requests differ from run to run)
  • every difference re-checked by rerunning 25 tests

Invented users the guided twin

Off (this repo has no doppel.toml). Run doppel init to add one, and invented users will explore what no test calls.

Basethe code before the PR
Base againthe same code, run again
Headthe code with the PR

Base vs base again: whatever differs between two runs of the same code is noise, and is ignored.

Base vs head: every other difference is a behavior change. It is re-checked by running it again, then judged by Nemotron against the PR description.

Regressions the PR doesn't mention

1

Responses now include password_hash

GET /api/users, GET /api/me, GET /api/users/{id}/followers, GET /api/posts and 10 more · 38 requests from 25 tests

Regression

The PR description only mentions backing has_password with the actual column for OpenAPI docs, but the diff adds password_hash as a dump_only field exposing password hashes in user list endpoints.

Base before the PR

data[0].password_hash: not in the response

Head with the PR

data[0].password_hash: "scrypt:32768:8:1$[hidden on the site]"
All 38 requests behind this change
Found byWhoRequestWhat changed
your teststest_auth.py::test_get_tokenGET /api/userschanged: data.*.password_hash (added)
your teststest_auth.py::test_oauthGET /api/mechanged: password_hash (added)
your teststest_auth.py::test_oauthGET /api/mechanged: password_hash (added)
your teststest_auth.py::test_refresh_revoke_allGET /api/userschanged: data.*.password_hash (added)
your teststest_auth.py::test_refresh_tokenGET /api/userschanged: data.*.password_hash (added)
your teststest_auth.py::test_revokeGET /api/userschanged: data.*.password_hash (added)
your teststest_pagination.py::test_pagination_after_ascGET /api/users/1/followers?after=gchanged: data.*.password_hash (added) x19
your teststest_pagination.py::test_pagination_custom_limitGET /api/posts?offset=16&limit=5changed: data.*.author.password_hash (added) x5
your teststest_pagination.py::test_pagination_defaultGET /api/postschanged: data.*.author.password_hash (added) x25
your teststest_pagination.py::test_pagination_large_per_pageGET /api/posts?offset=37&limit=50changed: data.*.author.password_hash (added) x25
your teststest_pagination.py::test_pagination_lastGET /api/posts?offset=99changed: data.*.author.password_hash (added) x6
your teststest_pagination.py::test_pagination_pageGET /api/posts?offset=30&limit=10changed: data.*.author.password_hash (added) x10
your teststest_posts.py::test_delete_postPOST /api/postschanged: author.password_hash (added)
your teststest_posts.py::test_edit_postPOST /api/postschanged: author.password_hash (added)
your teststest_posts.py::test_edit_postPUT /api/posts/1changed: author.password_hash (added)
your teststest_posts.py::test_edit_postGET /api/posts/1changed: author.password_hash (added)
your teststest_posts.py::test_new_postPOST /api/postschanged: author.password_hash (added)
your teststest_posts.py::test_new_postGET /api/posts/1changed: author.password_hash (added)
your teststest_posts.py::test_new_postGET /api/postschanged: data.*.author.password_hash (added)
your teststest_posts.py::test_new_postGET /api/users/1/postschanged: data.*.author.password_hash (added)
your teststest_posts.py::test_permissionsGET /api/posts/1changed: author.password_hash (added)
your teststest_posts.py::test_post_feedGET /api/feedchanged: data.*.author.password_hash (added) x3
your teststest_user_model.py::test_get_usersPOST /api/userschanged: password_hash (added)
your teststest_user_model.py::test_get_usersGET /api/userschanged: data.*.password_hash (added) x2
your teststest_users.py::test_create_userPOST /api/userschanged: password_hash (added)
your teststest_users.py::test_create_userGET /api/users/2changed: password_hash (added)
your teststest_users.py::test_edit_mePUT /api/mechanged: password_hash (added)
your teststest_users.py::test_edit_passwordPUT /api/mechanged: password_hash (added)
your teststest_users.py::test_edit_user_no_changesGET /api/mechanged: password_hash (added)
your teststest_users.py::test_edit_user_no_changesPUT /api/mechanged: password_hash (added)
your teststest_users.py::test_follow_unfollowPOST /api/userschanged: password_hash (added)
your teststest_users.py::test_follow_unfollowGET /api/me/followingchanged: data.*.password_hash (added)
your teststest_users.py::test_follow_unfollowGET /api/me/followingchanged: data.*.password_hash (added)
your teststest_users.py::test_follow_unfollowGET /api/users/2/followerschanged: data.*.password_hash (added)
your teststest_users.py::test_get_meGET /api/mechanged: password_hash (added)
your teststest_users.py::test_get_userGET /api/users/1changed: password_hash (added)
your teststest_users.py::test_get_userGET /api/users/testchanged: password_hash (added)
your teststest_users.py::test_get_usersGET /api/userschanged: data.*.password_hash (added)