Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomized Transaction Data Using FakerJS #89

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jaechow
Copy link

@jaechow jaechow commented Jan 14, 2025

Summary

This PR integrates [FakerJS](https://fakerjs.dev/) to replace static, hard-coded transaction values with dynamically generated data. The updated approach introduces realistic and unique transaction details, enhancing the Decision Manager experience by better emulating real-world scenarios.

Changes

  1. Integration of FakerJS:
    • Added FakerJS to generate random values for transaction attributes like names, addresses, payment details, and transaction amounts.
  2. Dynamic Transaction Data:
    • Replaced static data with realistic, randomized values to ensure variability in testing.
  3. Improved Testing Scenarios:
    • Enhanced test cases with diverse, randomized data for more robust and realistic evaluation.

Benefits

  • Enhanced Realism: Transactions now reflect real-world behavior with unique and varied data.
  • Improved Decision Manager Accuracy: Increased data variability supports better experience and reduces false-positives.
  • Reduced Risk of Stale Data: Eliminates reliance on outdated hard-coded values (Eg. expiration date).

…ransaction values (improving the Decision Manager experience with volume that more closely emulates distinct order data). Refactored processGet() in Samples/Authentication/SampleCodes/StandAloneJWT.js to dynamically calculate start/end times so the report more consistently returns results.
…ulting in a more accurate reflection of unique data over time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant