Practical example of post_randomize

Could someone please provide a practical application of real scenario where you have may have used post_randomize function? Most examples online show shuffling of an array or perform some data validity/ECC check, or some display functions, more from a theory standpoint.

It will be helpful to see a practical example.

In reply to UVM_learner6:

As you know, the post randomize is a function called after the randomized.
1800’2017 provides examples where it is used for logging of data (e. H. $dis9), or for assignment to variables. It can be used as a secondary level of constraints to modify the results of the randomize based on whatever criteria you choose. I can think of
Cases where you may want to force an error.
It’s a flexibility offered by SV. That option does need to be taken.
Ben systemverilog.us