datafaker icon indicating copy to clipboard operation
datafaker copied to clipboard

Adjective faker based on existing YML file. Generated by Grok Fast 1.

Open bodiam opened this issue 1 month ago • 4 comments

bodiam avatar Dec 09 '25 13:12 bodiam

PR Summary

  • New functionality for word generation A new feature has been introduced in the program that allows it to generate random adjectives. Adjectives could be of any type: negative, positive or any other category. This has been achieved by adding a new class in the system called Adjective.

  • Enhanced existing module The existing system component, BaseProviders, has been enhanced with an additional function. This new method, referred to as adjective(), provides the ability to get instances for the new Adjective class.

  • Updated system resource The changes to the system include an update to the system's file list. In EnFile, an entry for a new file adjective.yml has been added.

  • Tested the new feature For ensuring reliability and accuracy of the new feature, a series of unit tests have been created under AdjectiveTest. These tests confirm that the newly added methods in the Adjective class: positive(), negative(), and any() work as expected by returning not null and non-empty results.

what-the-diff[bot] avatar Dec 09 '25 13:12 what-the-diff[bot]

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 92.33%. Comparing base (c174d5a) to head (db07c7e). :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1730   +/-   ##
=========================================
  Coverage     92.32%   92.33%           
- Complexity     3434     3439    +5     
=========================================
  Files           337      338    +1     
  Lines          6779     6785    +6     
  Branches        670      670           
=========================================
+ Hits           6259     6265    +6     
  Misses          354      354           
  Partials        166      166           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov-commenter avatar Dec 09 '25 13:12 codecov-commenter

Ha! I didn't bother to check, good catch.

kingthorin avatar Dec 09 '25 23:12 kingthorin

We don't have a faker class for all YML files. There's a small gap. I knew we had a adjective, but I couldn't find it, so there might be overlap.

I'll investigate which one we need.

erikpragt-connectid avatar Dec 10 '25 01:12 erikpragt-connectid