Dan Alexandru Hintea/ February 25, 2020/ Reporting/ 0 comments

This piece of code is part of a user onboarding module.

So, when a new user creates an account, we have a step-by-step wizard to teach the user the basics of the app.

The user can skip some steps, pause and resume the wizard until it’s 100% complete.

Now, as the owner of the app, I want insights on the onboarding performance, which means:

  • Iterating the onboarding wizards for the given accounts and do the necessary processing on the data … or… crunching the onboarding data.
  • Mapping, combining, aggregating, projecting the data to generate the desired, readable, workable reports … or … annealing the data.

public class OnboardingAnalyticsReportManager : ImAnOnboardingAnalyticsReportManager
{
    [...]
    
    public OnboardingCompanyReport CrunchOnboardingReportFor(Guid companyID)
    {
        [...]
        
        int fulfillnessPercent 
            = new OnboardingSnapshotAnalyzer(omegaAudit, adminUserResource)
            .AnnealFulfillnessPercent()
            ;
        
        [...]
    }
    
    [...]
}
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*