Skip to content

Conversation

@OpenMindUA
Copy link
Owner

Added support for generating random pseudonyms when no seed is provided. Updated the README with usage examples and enhanced test coverage to validate the new functionality.

Added support for generating random pseudonyms when no seed is provided. Updated the README with usage examples and enhanced test coverage to validate the new functionality.
@OpenMindUA OpenMindUA linked an issue Apr 18, 2025 that may be closed by this pull request
@OpenMindUA OpenMindUA requested a review from Copilot April 18, 2025 07:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds random pseudonym generation functionality when no seed is provided. The key changes include:

  • Modifying the pseudonym function to accept a None or empty seed and generate a random seed.
  • Enhancing test coverage with new tests for random pseudonym generation.
  • Updating the README with examples of using the random pseudonym feature.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/test_pseudomatic.py Added tests to ensure pseudonym() behaves correctly when no seed is provided and is random.
pseudomatic/init.py Updated pseudonym() to generate a random seed when input is None or empty.
README.md Revised documentation to include examples for generating random pseudonyms.

@OpenMindUA OpenMindUA merged commit d75624d into main Apr 18, 2025
3 checks passed
@OpenMindUA OpenMindUA deleted the 1-generating-а-random-names branch April 18, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generating а random names

2 participants