Repository navigation
feat(analytics): overall company conversion funnel, interview cycle timing, dual monthly volume, and referral impact - #100
Merged
Merged
Conversation
…plication detail page
…torical interview tracking
… dual-series monthly volume
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR delivers a comprehensive upgrade to the Analytics module across frontend and backend tiers:
Detailed Changes
1. Overall Company Conversion Funnel & Historical Tracking (
cf54323)applications.service.js):applicationHistoryRepo.findLatestDatesByAppIdsintogetAnalyticsMetricsto capturehistoricalInterviewAppIdsfor applications that transitioned through interview stages even if subsequently rejected or archived.analyticsCalculations.js):calculateCompanyFunnelMetrics(applications, interviews, historicalInterviewAppIds).STATUSorSTAGE.interviewstable (application_idand normalized company match).historicalInterviewAppIdsfrom audit logs.AnalyticsPage.jsx,App.css):2. Interview Cycle & Dual-Series Monthly Volume (
3b8c0c7)applications.service.js):HR to TechnicalandTechnical to Finalmetrics with:interviewCycle: Average calendar days from application date to resolution (offer/rejection) exclusively for interviewed applications.longestInterviewCycle: Maximum interview cycle duration, tracking the company name, role, outcome, and total elapsed days.analyticsCalculations.js,AnalyticsPage.jsx):calculateMonthlyVolumegrouping applications and unique company interview events across the last 8 months.3. Referral Impact Analysis (
4d114ff)analyticsCalculations.js):calculateReferralMetrics(applications, interviews, historicalInterviewAppIds)evaluated at the application level:AnalyticsPage.jsx,App.css):With ReferralvsDirect / No Referralwith progress bars, outcome statistics, and application tags formatted as${Company} • ${Role}.Verification & Testing
src/utils/__tests__/analyticsCalculations.test.js(Funnel, Monthly, Referral)src/pages/__tests__/AnalyticsPage.test.jsx(Rendering, toggles, cohorts)npm run lint(ESLint)backend/tests/**(Unit & Integration)Commits Included
cf54323feat(analytics): add overall company conversion funnel metric and historical interview tracking3b8c0c7feat(analytics): redesign timing metrics with interview cycle and add dual-series monthly volume4d114fffeat(analytics): add referral impact metrics under job fit insightsRelated issues
Resolves #67
Resolves #72
Resolves #73
Resolves #75