Connecting workload, staffing and sanction data into one model that shows where officers are overloaded and drafts a fair, defensible transfer plan.
Data integrationData modellingKPI designWorkforce analyticsConstraint-based allocationDashboard design
Context: a zone of India’s indirect-tax administration (see my experience) · My role: creator and sole project lead, working under the guidance of senior authorities · Built for: the Chief Commissioner, Principal Commissioners and establishment sections · The tool: the Manpower Deployment Analyzer, the name in the screenshots · The name:Santulan means “balance” in Hindi.
The Zone View dashboard. All screenshots on this page use anonymised sample data: names replaced, figures randomised.
527offices modelled across the zone
108workload parameters in 7 analysis levels
9data inputs connected into one model
4guardrails on every transfer suggestion
1 filefully offline, no server, zero running cost
2 yearsof actual transfer rounds carried out on its analysis
Every year, officers in a tax administration zone are re-posted in the Annual General Transfer (AGT). Those decisions were argued from impressions and precedent, because nobody could see workload precisely. Yet measured load per officer can differ several times over between offices doing the same job.
What I built
A single, offline web application that turns raw workload returns, staffing registers and sanction data into one comparable measure: workload per officer against the zonal average. It then drafts a grade-wise transfer plan that respects real-world constraints.
My role
I created the tool and was the sole project lead, working under the guidance of senior authorities. I took it from start to finish: understanding the problem, designing the data model and the scoring method, building the data-collection pipeline, writing the analysis and allocation logic, designing the dashboards, and packaging it all as a tool that non-technical officers can use.
The result
Decision-makers can see how heavily loaded the officers in any of 527 offices are, and why. They get a draft, grade-wise transfer plan with a reason behind every number. Every assumption stays visible and editable, so the discussion moves from opinions to the specific numbers people disagree with. Actual transfers were then carried out on its analysis two years in a row, leading to a better distribution of officers.
Project facts
Domain
Public-sector workforce analytics in India’s indirect-tax administration
Users
Chief Commissioner (zone-wide view), Principal Commissioners (within their own Commissionerate) and establishment sections
Scope
8 Commissionerates, 66 Divisions and 342 Range offices, plus Audit and Appeals Commissionerates and 15 formations for support-staff analysis: 527 offices in all
Data
A 2024 zonal workload study (Range level), a 2024 cadre study of sanctioned against working strength across 28 grades, geography, and policy inputs
Deliverable
One self-contained HTML file (about 1.5 MB) that runs in any browser on a computer or phone, with no installation, internet or server
Tools
JavaScript, HTML/CSS, hand-built SVG charts, SheetJS (Excel in the browser), Google Apps Script, Google Forms and Sheets, Excel, Node.js for calculation smoke tests
I ran Santulan as a project from start to finish: I proposed it, got it approved, gathered requirements from the people who decide postings and the offices that supply the data, built and tested the model, piloted it, rolled out the data templates to the offices, supported real transfer decisions with it, and handed it over to my successor.
Initiate2024 · proposal and approval
→
Plan2024 · requirements, inputs, rules
→
Build and test2024 · model, templates, views
→
Pilot2024 · first offices, fixes
→
Roll out and traintemplates to every office
→
Use and monitortwo annual transfer rounds
→
Closehandover to my successor
The full life cycle, owned end to end, under the guidance of senior authorities.
Owner
Creator and sole project lead: the idea, the method, the build, the rollout to the offices and the results.
Sponsor and approval
Senior authorities approved the project and used its analysis for the annual transfers; I worked under their guidance throughout.
Users and stakeholders
The Chief Commissioner and Principal Commissioners who decide postings, the establishment sections who prepare them, and the offices that supply the workload data.
Decisions I owned
What to measure and how to weigh it, the data templates and checks, the guardrails on every transfer suggestion, and the rollout to the offices.
Phase
What I did
Output
Initiate
Saw that transfer decisions were argued from impressions; proposed measuring workload per officer against the zonal average; obtained approval
Approved proposal
Plan
Talked to the decision-makers and the establishment sections about what a fair plan needs; defined the nine inputs, the workload parameters and the guardrails
Agreed scope and method
Build and test
Built the model, the generated Excel templates with a How to fill sheet, the validation and the planning views, and tested them with real returns
A working tool
Pilot
Ran it first with a limited set of offices and data and fixed what confused people before the full rollout
Refined templates and model
Roll out and train
Sent the templates to the offices, explained how to fill them, and walked the decision-makers through the planning views
Data from every office, decision-makers on board
Monitor and control
Checked incoming data for errors before loading it, reported to senior authorities, and supported the transfer rounds
Actual transfers on its analysis, two years in a row
Close and hand over
Handed the tool, its templates and its routine over to the next officer
A running tool with a new owner
The problem: important decisions, no shared numbers
A tax zone is a hierarchy, with separate Audit (Circles, Groups) and Appeals formations beside it. Each level does different work, including registrations, return scrutiny, refunds, adjudication, audits and appeals. Each year, officers have to be distributed across all of them.
Zonethe whole picture
→
Commissionerates8 executive units
→
Divisions66 offices
→
Ranges342 field offices
The executive hierarchy. Audit and Appeals Commissionerates sit beside it with their own levels, and every level measures different work.
The questions decision-makers could not answer with data:
Who is overloaded?
Which offices are overloaded, and by how much? Is a Range officer’s load comparable with that of an officer at headquarters?
Who should move?
How many Superintendents and Inspectors should move, and from where to where? Would a move breach sanctioned strength, or overload the office giving officers?
Is it fair?
Is support (ministerial) staff spread fairly across formations? Which Commissionerates have an unusual balance of work across their own levels?
Why it was hard
Silos
Workload returns sat with each office, staffing in registers, sanctioned strength in a separate cadre file, and geography nowhere at all
Different units
Each level measures different work, so 100 points at a Range office and 100 points at headquarters are not the same thing
Messy staffing
Many officers hold additional charge of two or three offices, so headcount alone misstates capacity
Inconsistent keys
The same office was spelled differently in different files (a city’s full name in one, its short form in another), and column order varied from file to file
Low-tech setting
Offices work in Excel. There was no server, no budget and no IT project, and the data was sensitive and had to stay on the user’s machine
Trust
A black-box score would never be accepted for postings. Every number had to explain itself
Weighted workload index.Score(office) = Σ (value × weight) across 108 parameters in 7 levels, grouped into areas such as taxpayers, registration, refunds, scrutiny, adjudication, audit and enforcement. Each weight reflects how much work one unit means.
Capacity in officer-equivalents.Strength(office) = Σ (officers × grade weight). Grade weights run from 25 for a Commissioner to 4 for an Inspector. An officer holding additional charge of N offices counts as 1/N in each, so capacity reflects reality, not headcount.
Load per officer against the zone.Load = Score ÷ Strength, shown as a percentage of the zonal average (total score ÷ total strength). Every office is shown against 100%: below means lighter than average, above means heavier.
Making levels comparable.R(level) = (share of level × department workload) ÷ level score. Each level scores in its own points. One visible policy input, the Level Shares (for example Ranges 50%, Divisions 20%, HQ 30%), converts them into one unit, with the Ranges anchoring the scale at R = 1.
Requirement and gap.Required = workload ÷ zonal average load. The gap between required and actual strength is converted into whole Superintendents and Inspectors, using each office’s own grade mix.
Constraint-based allocation. Four guardrails apply to every suggestion: an office giving officers is never pushed above the zonal average; a receiving office is never filled beyond sanctioned strength, checked grade by grade; no office gives officers it does not actually have; and moves are in whole officers, by grade, paired giver → receiver.
Outlier detection: a peer mix check. Each Commissionerate’s split of work across its own levels is compared with the peer average, and deviations of ±30% or more are flagged for a closer look. Because it compares like with like, the check doesn’t depend on the policy shares.
Support-staff fairness. Ministerial staff (executive assistants, tax assistants, clerks and multi-tasking staff) are compared with each formation’s fair share, in proportion to the officers they serve. The tool shows staff per 100 officers, surplus and deficit, and a grade-wise movement plan.
Data collection and quality: a pipeline offices can actually use
Each level’s Excel template is generated from its current parameter list: one column per parameter, officer columns, office names pre-filled and a “How to fill” sheet. Add a parameter and the next template carries it automatically.
Google Forms, automated
A Google Apps Script embedded in the tool turns any template into a cascading form: an office picks its Commissionerate, then sees only that Commissionerate’s Divisions, then only that Division’s Ranges. Every figure is required and validated, and the help text explains the 1/N rule with examples. A second function removes duplicates (the latest reply per office wins), produces an upload-ready file in the exact format, and lists the offices that have not replied.
Validation before anything loads
Columns are matched by normalised heading, so column order, curly quotes, dashes and extra spaces don’t matter. Missing columns, duplicate rows, negative values and text in number cells are listed in plain words, and nothing is applied until the file is clean.
Governed parameters
All levels’ parameters and weights can be exported to one sheet, edited and re-imported. The import is validated and only applied after a confirmation summary. A renamed parameter is treated as new, so old figures are never silently relabelled.
Filling gaps responsibly
Levels without real returns were seeded by proportional extrapolation from the Range study, with headquarters staff split between Division offices and HQ without double counting. Every such dataset is labelled until real data replaces it. Embedded data is versioned: upgrades refresh demo levels and never touch uploaded ones.
The same story, told to decision-makers: a slide from the built-in briefing deck.
From the zone view to the transfer sheet. Every chart supports drill-down by click and hover details, and two audiences get their own views: the Chief Commissioner sees moves between Commissionerates, and each Principal Commissioner sees re-balancing within their own.
AGT transfer sheet: who needs officers and who can give them, grade-wise, with sanction caps and each office’s load per officer before → after the move (100% = zonal average).
Average load per officer: Commissionerates against the zonal average line, with drill-down to Divisions.
Level Shares: the one policy input, explained in plain language, with the share measured from today’s staffing beside it.
Support-staff fair share: surplus and deficit against each formation’s fair share, shown as diverging bars.
About 5,000 lines of HTML, CSS and JavaScript, with no frameworks and no build step. It can be emailed as a single attachment.
Charts from scratch
Custom SVG chart components (bar, donut, stacked, diverging and map), all drawn by hand.
Excel and Google, automated
SheetJS reads uploads and writes templates in the browser; Google Apps Script automates Forms and Sheets for data collection.
Local persistence
Data is kept in browser storage, with schema versioning and automatic migration of older saves.
Zone-agnostic and testable
Every Commissionerate, Division, grade and parameter comes from the data, so a reorganisation or another zone needs only a fresh upload. Core calculations are exposed for automated smoke tests in Node.js.
Privacy by design
No network calls at all: the data never leaves the computer.
Storytelling: an 8-slide briefing deck, a one-page handbook, a ▶ Present mode for projectors and print-to-PDF for every page. The analysis travels into the meeting room without anyone re-making slides, and every figure on the slides is computed from the loaded data, so the story updates with each upload.
Used for real decisions: actual transfers were carried out on its analysis two years in a row, leading to a better distribution of officers across offices.
Imbalance made visible: load per officer for every office, side by side.
Defensible decisions: every suggestion shows its reason and full calculation.
Faster AGT preparation: a grade-wise draft plan in minutes, straight from the data.
Built to last: survives reorganisations and works for other zones.
Zero cost, fully private: no vendor, no server, no data leaving the machine.
“The numbers measure workload, never the officer. The tool informs; the competent authority decides.”
Every assumption is a visible, editable number, so anyone who disagrees can point at the exact figure they disagree with.