" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
From what to build to how to build it — our platform helps you understand, plan, and solve SIH 2026 problem statements with complete insights into requirements, solution approaches, technology stacks, architecture, AI/ML, and implementation roadmaps.
Search for your problem statement, and start building your solution.
| Description: | Background: Under the Legal Metrology Act, 2009 and the Legal Metrology (General) Rules, 2011, every weighing and measuring instrument used in transaction or protection is required to be periodically verified and stamped before being put into use. Verification activities are carried out by Legal Metrology Officers (LMOs) of the State Legal Metrology Departments and Government Approved Test Centres (GATCs) notified by the Government.These verification activities presently involve substantial manual processes including submission of applications, scheduling of verification, recording of observations, issuance of verification certificates, maintenance of records and monitoring of validity periods. In many cases, records are maintained physically or through isolated local systems, resulting in delays,and difficulty in monitoring verification status across jurisdictions. There is also a need for digital verification certificates, centralized databases, and online access to verification history for consumers, regulators and businesses. Accordingly, there is a requirement for development of a unified online verification and digital certification system for weighing and measuring instruments to improve transparency,efficiency, and ease of compliance within the Legal Metrology ecosystem. Description: Develop a secure web-based and/or mobile-enabled software platform for online verification,certification and lifecycle management of weighing and measuring instruments used under Legal Metrology regulations. The system should be capable of: • Online registration of stakeholders - users of weights and measures, State LMOs, GATCs etc. • Online submission of applications for verification and re-verification of weighing and measuring instruments. • Scheduling and allocation of verification activities to Legal Metrology Officers or GATCs. • Generation of digital verification certificates with QR codes. • Recording inspection observations and verification results digitally. • Tracking validity and due dates for re-verification. • Generating alerts and reminders for expiring verification validity. - - Providing dashboard for monitoring verification status, pendency and enforcement activities. • Supporting integration with mobile devices for field verification activities. Expected Solution: The proposed solution should include: • User-friendly web and mobile application for all stakeholders. • Online workflow management for verification and re-verification processes. • Digital repository of verification certificates and instrument records. • Digital verification certificates with QR code and authentication system. • Automated alerts for verification expiry and renewal. • Dashboards for users, LMOs, GATCs and administrators etc. • Search and retrieval facility for verification records and certificates. • Role-based secure login system for different stakeholders. • Technical documentation describing software architecture, security framework and deployment methodology. Key Functional Requirements: • Online registration and profile management for stakeholders. • Application submission for verification/re-verification of instruments. • Verification scheduling and workflow management. • Entry of instrument specifications and verification details. • Generation of QR-enabled digital verification certificates. • Dashboard for monitoring applications, verification status and pendency. • Upload and attachment of photographs and supporting documents. • Export and printing facility for certificates and reports. • Mobile application support for field verification officers. |
| Organization: | Ministry of Consumer Affairs, Food & Public Distribution |
| Department: | Department of Consumer Affairs (DoCA) |
| Category: | Software |
| Theme: | Miscellaneoustd> |
| Youtube Link: | Not provided |
| Dataset Link: | https://consumeraffairs.gov.in/pages/legal-metrology-act and the Legal Metrology (General) Rules,2011 |
| Contact info: | Not provided |
This dossier presents a comprehensive technical, functional, and architectural strategy for developing a unified, online verification, digital certification, and lifecycle management platform for weighing and measuring instruments in India [PS]. Under the Legal Metrology Act, 2009 and Legal Metrology (General) Rules, 2011, all weights and measures used in commercial transactions or public protection must undergo periodic verification and stamping [PS]. Currently, this ecosystem suffers from fragmented state-level software, paper-based field records, manual scheduling, and lack of cross-jurisdictional monitoring [PS]. The proposed solution provides an offline-first, mobile-enabled, end-to-end digital verification ecosystem that connects instrument owners (traders/industries), Legal Metrology Officers (LMOs), Government Approved Test Centres (GATCs), and state/central regulators into a unified workflow engine [INFERENCE]. Featuring offline field verification capabilities, cryptographically signed QR-coded certificates, automated renewal alerts, and public-facing audit tools, the platform eliminates compliance friction and prevents counterfeit stamping [INFERENCE].
| Parameter | Specification |
|---|---|
| Problem Statement ID | SIH26036 [PS] |
| Title | Development of an Online Verification System for Weighing and Measuring Instruments [PS] |
| Organization | Ministry of Consumer Affairs, Food & Public Distribution [PS] |
| Department | Department of Consumer Affairs (DoCA) [PS] |
| Category | Software [PS] |
| Theme | Miscellaneous [PS] |
| Submission Deadline | 30 September 2026 [PS] |
| Ideas Counter | 0/500 [PS] |
| Primary Reference Rules | Legal Metrology Act, 2009; LM (General) Rules, 2011; LM (GATC) Rules, 2013 [PS] |
To deliver a secure, offline-capable, role-based digital verification and lifecycle management platform that automates instrument registration, LMO/GATC inspection workflows, cryptographically verifiable QR certification, and public compliance tracking under Indian Legal Metrology regulations [INFERENCE].
The problem description provided by the Department of Consumer Affairs (DoCA) contains explicit operational challenges and functional requirements [PS]. Below is the atomic deconstruction of every explicit requirement, paired with its logical interpretation and technical implementation implications [INFERENCE].
| ID | Source Text / Requirement [PS] | Interpretation [INFERENCE] | Implementation Implication [INFERENCE] | Tag |
|---|---|---|---|---|
| REQ-01 | Online registration of stakeholders - users of weights and measures, State LMOs, GATCs etc. | Multi-tenant user registration portal catering to commercial users (traders, manufacturers, petrol pump operators), state enforcement officers (LMOs, Controllers), and private/public accredited GATCs. | Role-Based Access Control (RBAC) with e-KYC/GSTIN integration for commercial users and official state directory/e-Pramaan authentication for LMOs. | [PS] |
| REQ-02 | Online submission of applications for verification and re-verification of weighing and measuring instruments. | Digital application wizard capturing instrument serial number, make, model approval details, capacity, accuracy class, location, and fee payment. | Multi-step form with model approval lookup, automated fee calculation based on instrument class, and online payment gateway integration. | [PS] |
| REQ-03 | Scheduling and allocation of verification activities to Legal Metrology Officers or GATCs. | Smart workflow distribution engine that routes applications based on jurisdiction, officer workload, or GATC accreditation scope (for 23 instrument categories under GATC Rules). | Geofenced auto-assignment & manual dispatch algorithm with calendar scheduling, workload balancing, and appointment slot booking for traders. | [PS] |
| REQ-04 | Generation of digital verification certificates with QR codes. | Automated issuance of tamper-proof, PDF-formatted verification certificates containing a secure QR code linking to the official verification ledger. | PDF generation service using ECDSA cryptographic signatures and dynamic QR code generation embedding a hashed verification URL. | [PS] |
| REQ-05 | Recording inspection observations and verification results digitally. | Mobile/tablet digital checklist replacing physical inspection sheets. LMO/GATC records standard mass readings, error percentage, environmental conditions, and pass/fail state. | Dynamic digital inspection forms customized by instrument category (e.g., weighbridges vs. petrol dispensers) with field-validation logic. | [PS] |
| REQ-06 | Tracking validity and due dates for re-verification. | Centralized tracking system maintaining lifecycle history of every instrument and computing mandatory re-verification deadlines (e.g., 12 or 24 months). | Background Cron scheduler calculating expiration timestamps based on instrument category rules and state-specific schedules. | [PS] |
| REQ-07 | Generating alerts and reminders for expiring verification validity. | Automated multi-channel notification engine warning instrument owners and field officers prior to certificate expiration. | Automated SMS, WhatsApp, Email, and Push notification pipelines triggered at 30, 15, 7, and 0 days prior to expiry. | [PS] |
| REQ-08 | Providing dashboard for monitoring verification status, pendency and enforcement activities. | Real-time analytics dashboards tailored to administrators, state controllers, LMOs, GATCs, and business owners. | Aggregated metrics on pendency rates, average processing time, total revenue collected, active vs. expired certificates, and inspector heatmaps. | [PS] |
| REQ-09 | Supporting integration with mobile devices for field verification activities. | Mobile application (or PWA) for LMOs and GATC field inspectors operating in environments with low or zero internet connectivity. | Offline-first mobile app architecture using local SQLite/WatermelonDB storage, background data sync, geo-tagging, and camera attachment capture. | [PS] |
| REQ-10 | Upload and attachment of photographs and supporting documents. | Capturing proof of inspection (e.g., image of instrument nameplate, physical lead seal, calibration test weights) during field visits. | Mobile image compression, EXIF metadata extraction (geo-coordinates, timestamp), and secure cloud object storage (S3/MinIO). | [PS] |
| REQ-11 | Export and printing facility for certificates and reports. | Support for printing physical hardcopies, downloading PDF certificates, and exporting administrative MIS reports in Excel/CSV formats. | Client-side rendering for PDF downloads, server-side batch report generation, and Bluetooth mobile thermal printer integration. | [PS] |
| REQ-12 | Search and retrieval facility for verification records and certificates. | Public and portal-internal search engine allowing instant lookup of certificate validity using QR scan, serial number, GSTIN, or certificate ID. | High-performance indexed database queries and elastic public search interface with rate-limiting to prevent web scraping. | [PS] |
+-----------------------------------------------------------------------------------+
| STAKEHOLDER ECOSYSTEM |
+------------------------------------+----------------------------------------------+
| Commercial Traders / Asset Owners | Submit applications, pay fees, track expiry |
| Legal Metrology Officers (LMOs) | Field inspection, record data, apply seals |
| Approved Test Centres (GATCs) | Third-party verification for specific classes|
| Department Admins / Regulators | Monitoring pendency, revenue & enforcement |
| Citizens & Consumers | Scan QR codes on retail scales / fuel pumps |
+------------------------------------+----------------------------------------------+
| Stakeholder Group | Operational Goal | Current Pain Point | System Need |
|---|---|---|---|
| Commercial Users / Traders (Retailers, Petrol Pump Owners, Industrialists) | Timely verification of instruments to avoid legal penalties, seizure, or business stoppage [KNOWN]. | Manual paper applications, visiting offices repeatedly, untracked delays, unexpected penalties due to missed annual deadlines [PS]. | Self-service web portal, automated renewal reminders, online fee payment, instant digital certificate download [INFERENCE]. |
| Legal Metrology Officers (LMOs) (State Enforcement Personnel) | Conduct fair inspections, issue official verification stamps, track local jurisdiction compliance [KNOWN]. | Carrying heavy physical registers, manual data entry leading to errors, lack of offline tools in remote mandis or petrol pumps [PS]. | Mobile app with offline support, auto-populated inspection checklists, geotagged photo uploads, mobile printer connection [INFERENCE]. |
| Government Approved Test Centres (GATCs) (Notified Private/Public Labs) | Execute third-party verification for permissible instrument categories (e.g., NAWI, flowmeters) [RESEARCHED]. | Fragmented communication with state departments, delay in certificate registration, manual record auditing [PS]. | Dedicated GATC portal dashboard, automated application allocation, digital certificate issuing within central database [INFERENCE]. |
| State & Central Regulators (DoCA, State Controllers) | Oversee cross-district compliance, track officer efficiency, audit GATC activities, eliminate fraud [PS]. | Isolated state databases, zero real-time visibility into pending inspections, undetected counterfeit certificates [PS]. | Unified executive dashboard, real-time MIS reports, cross-jurisdictional search, tamper-proof QR verification backend [INFERENCE]. |
| Consumers & Citizens | Ensure accuracy of weighing scales in retail shops and fuel dispensers at petrol pumps [KNOWN]. | Inability to verify if a commercial scale or fuel pump is legally verified or tampered with [PS]. | Public QR scanner interface on mobile devices showing real-time instrument validity, error tolerances, and inspection date [INFERENCE]. |
| Feature Module | Technical Components | Directly Justifying Requirement |
|---|---|---|
| Multi-Tenant Portal & Auth | Next.js Frontend, Node.js API, RBAC Middleware, e-KYC Integration | REQ-01, REQ-08 [PS] |
| Application & Workflow Engine | Dynamic Form Builder, Fee Calculator, Razorpay/e-GRAS Gateway, State Machine | REQ-02, REQ-03 [PS] |
| Smart Inspection Allocator | Workload Balancing Rules, Geofenced Auto-Dispatch Engine | REQ-03 [PS] |
| Offline Mobile Field App | React Native / Expo, WatermelonDB Local DB, Background Sync Worker | REQ-05, REQ-09, REQ-10 [PS] |
| QR & Certificate Engine | PDFKit / Puppeteer, ECDSA Cryptographic Signer, Dynamic QR Generator | REQ-04, REQ-11, REQ-12 [PS] |
| Alert & Lifecycle Engine | Redis BullMQ Queue, Twilio / Gupshup SMS, WhatsApp Business API, Firebase FCM | REQ-06, REQ-07 [PS] |
| Public Audit & Portal | Lightweight Public Web App, QR Resolver API, Anti-Scrape Rate Limiter | REQ-04, REQ-12 [PS] |
| Executive Analytics MIS | Recharts / Apache Superset Dashboard, PostgreSQL Aggregations | REQ-08, REQ-11 [PS] |
+-----------------------------------------------------------------------------------+
| ENVIRONMENTAL REALITIES |
+-----------------------------------------------------------------------------------+
| [CONNECTIVITY] Remote mandis & rural petrol pumps suffer from 2G / zero coverage. |
| [HARDWARE] LMOs use mid-range Android devices; traders lack desktop PCs. |
| [LITERACY] Small shopkeepers require regional language interfaces. |
| [FIELD HARDWARE] Verification requires thermal receipt printing & physical lead seals.|
+-----------------------------------------------------------------------------------+
eMaap portal interface with existing state Legal Metrology portals?eMaap (emaap.gov.in) as a national portal to unify state portals via REST API integrations, bringing licenses, registrations, and enforcement onto a single national database [RESEARCHED].*.gov.in), preventing certificate forgery [INFERENCE].| Data Type | Purpose | Ideal Real-World Source | Hackathon Substitute | Access Method | Availability | Privacy Sensitivity | Confidence |
|---|---|---|---|---|---|---|---|
| Instrument Master Catalog | Reference list of approved instrument models, accuracy classes, error limits. | DoCA Model Approval Database [RESEARCHED]. | Scraped/Structured JSON from DoCA public model approval lists [RESEARCHED]. | Public web scrape / JSON file | High [KNOWN] | Low (Public) | [RESEARCHED] |
| Stakeholder Profiles | User accounts, trader addresses, GSTIN, LMO jurisdictions, GATC accreditations. | e-Pramaan SSO / GSTN API [KNOWN]. | Mocked JSON relational tables with realistic Indian address/GSTIN schema [ASSUMPTION]. | Direct DB query / Mock API | Synthetic | Medium (PII) | [INFERENCE] |
| Verification Applications | Processing verification requests, fees, scheduling dates, workflow state. | Real-time database table populated by trader applications. | Seeded SQLite/PostgreSQL dataset with 100+ sample applications [ASSUMPTION]. | REST API / GraphQL | Synthetic | Low | [ASSUMPTION] |
| Inspection Observations | Recording calibration measurements, error standard deviations, pass/fail status. | LMO/GATC field submission payloads. | Mobile app form generator output with randomized test values [ASSUMPTION]. | JSON Payload / Offline Sync | Synthetic | Low | [ASSUMPTION] |
| Digital Certificates | Cryptographic verification proof, QR code, seal serial numbers, expiry dates. | Server-generated signed PDF blobs stored in Object Storage. | Dynamically generated PDF files stored in local MinIO / S3 mock [ASSUMPTION]. | Object Storage URL / QR Scan | Full | Low (Publicly Verifiable) | [INFERENCE] |
eMaap state-sync gateways [NEEDS VALIDATION].+-----------------------------------------------------------------------------------+
| EXISTING SYSTEMS & GAP ANALYSIS |
+-----------------------------------------------------------------------------------+
| Legacy Manual System --> High fraud, lost physical paper, zero public visibility |
| Isolated State Portals--> Data silos, no cross-state tracking, no offline mobile |
| Central eMaap Portal --> In progress rollout; needs robust offline mobile engine |
| OUR PROPOSED SOLUTION --> Offline-first, mobile PWA, cryptographic QR, unified API |
+-----------------------------------------------------------------------------------+
| Existing Solution | Description | Strengths | Weaknesses | Relevance | Gap Remaining | Source | Confidence |
|---|---|---|---|---|---|---|---|
| Legacy Physical Stamping System | Paper-based verification application, physical ledger maintenance, paper verification certificates [PS]. | Zero software dependency, familiar to older field staff. | Massive delays, prone to bribery, unserviceable lost records, zero cross-district tracking, high risk of fake paper certificates [PS]. | Baseline legacy workflow to digitize. | Everything. Lacks digital workflows, transparency, alerts, and remote auditability [PS]. | Industry Knowledge [KNOWN] | [KNOWN] |
| State Legal Metrology Portals (e.g., AP Pramaan, Telangana TGLM, Kerala e-LMO) | Individual state portals for online license applications and basic verification booking [RESEARCHED]. | Digitized basic applications within specific state boundaries; integrated local payment portals [RESEARCHED]. | Isolated state silos, non-standardized certificate formats, poor or absent offline mobile apps for field LMOs, limited GATC workflow integration [PS]. | Comparable software systems. | No nationwide unified database, lack of robust offline field verification apps, dynamic QR verification fragmented [PS]. | AP Pramaan Portal [1.7], TGLM [1.4] | [RESEARCHED] |
National Legal Metrology Portal (eMaap) |
Central initiative launched by DoCA (emaap.gov.in) to integrate state legal metrology services and GATC management [RESEARCHED]. |
Unified platform vision, centralized database, official central backing, GATC recognition module operational [RESEARCHED]. | State integration still ongoing; requires advanced offline mobile edge-capabilities and automated AI inspection validation for field officers [INFERENCE]. | Direct benchmark system. | Requires robust offline-first PWA field architecture, smart LMO route optimization, and cryptographic instant public QR auditing [INFERENCE]. | eMaap Official Portal [1.1, 2.1] | [RESEARCHED] |
+-----------------------------------------------------------------------------------+
| CANDIDATE ARCHITECTURE OPTIONS |
+-----------------------------------------------------------------------------------+
| APPROACH 1: Web-Monolith (Basic Form CRUD Portal) |
| -> Pros: Simple build | Cons: Fails in field (no offline sync), easily fakeable |
| APPROACH 2: Hybrid Platform (Mobile Offline-First + Cloud Microservices + QR Engine)|
| -> Pros: High field utility, offline sync, fast, robust | Cons: Moderate complexity |
| APPROACH 3: Decentralized Blockchain Ledger + IoT Smart Scale Gateway |
| -> Pros: Extreme tamper-proofness | Cons: High latency, unnecessary overhead |
+-----------------------------------------------------------------------------------+
Approach 2 is selected as the optimal architecture for both the SIH Hackathon MVP and full production deployment [INFERENCE].
+-----------------------------------------------------------------------------------+
| WHY APPROACH 2 IS SELECTED |
+-----------------------------------------------------------------------------------+
| 1. Field-Ready : 100% offline mobile inspection capability for rural LMOs |
| 2. Cryptographic : Signed QR codes guarantee tamper-proof public verification |
| 3. Feasible Scope : Perfect balance of hackathon buildability & real-world fit |
| 4. Rejected Alt 1 : Approach 1 fails completely without active internet in field|
| 5. Rejected Alt 3 : Approach 3 is over-engineered & incompatible with legacy scale|
+-----------------------------------------------------------------------------------+
+-----------------------------------------------------------------------------------+
| PRESENTATION LAYER (CLIENTS) |
| +-----------------------+ +-----------------------+ +-----------------------+ |
| | Commercial Trader | | LMO / GATC Mobile App | | Citizen QR Auditor | |
| | Web Portal (Next.js) | | (React Native / PWA) | | Public Mobile Web | |
| +-----------+-----------+ +-----------+-----------+ +-----------+-----------+ |
+--------------|--------------------------|--------------------------|--------------+
| | Offline Sync / REST | Public Scan
+--------------v--------------------------v--------------------------v--------------+
| API GATEWAY & SECURITY LAYER |
| +-----------------------------------------------------------------------------+ |
| | NGINX Reverse Proxy / Cloudflare | Rate Limiter | CORS | JWT Auth Middleware| |
| +--------------------------------------+--------------------------------------+ |
+-----------------------------------------|-----------------------------------------+
|
+-----------------------------------------v-----------------------------------------+
| APPLICATION WORKFLOW & SERVICE LAYER |
| +-------------------+ +-------------------+ +-------------------+ |
| | Registration & | | Application & | | Allocation & | |
| | User Mgmt Service | | Workflow Engine | | Scheduling Engine | |
| +-------------------+ +-------------------+ +-------------------+ |
| +-------------------+ +-------------------+ +-------------------+ |
| | Offline Data Sync | | QR & PDF Cert | | Expiry Alert & | |
| | Processor Service | | Signer Engine | | Notification Job | |
| +-------------------+ +-------------------+ +-------------------+ |
+-----------------------------------------|-----------------------------------------+
|
+-----------------------------------------v-----------------------------------------+
| DATA & STORAGE LAYER |
| +----------------------+ +----------------------+ +-------------------------+ |
| | Primary Database | | Cache & Message Queue| | Object Storage | |
| | PostgreSQL + PostGIS | | Redis + BullMQ | | AWS S3 / MinIO | |
| | (Relational Data) | | (Alerts & Sync Jobs) | | (Certificates & Photos) | |
| +----------------------+ +----------------------+ +-------------------------+ |
+-----------------------------------------------------------------------------------+
[Trader] --------(1. Submit Application)--------> [API Gateway] ---> [Workflow Engine]
|
(2. Persist App)
v
[LMO Mobile App] <---(3. Fetch Allocation / Offline)--- [PostgreSQL] <------+
|
(4. Field Inspection Offline)
(5. Capture Photos & Geo-stamp)
|
+---------(6. Online Sync Payload)-------> [Sync Service]
|
(7. Validate Observations)
v
[Citizen QR Scan] <-- (9. Public Audit) -- [PDF Cert Engine] <--- (8. Generate Signed Cert)
emaap.gov.in/verify/...) displaying real-time validity status [INFERENCE].| Layer | Selected Technology | Why It Fits | Alternative Considered | Why Alternative Rejected |
|---|---|---|---|---|
| Frontend Web | Next.js (React) | Server-side rendering (SSR) for fast public loading, excellent SEO for verification tools, robust i18n support. | Angular / Vue.js | Slower initial load, steeper learning curve for rapid 4-student hackathon team. |
| Mobile App | React Native + Expo (PWA mode) | Single codebase cross-platform iOS/Android app, native camera/GPS access, robust offline SQLite support via WatermelonDB. | Flutter | Team multi-language context switching; React Native enables code sharing with Next.js frontend. |
| Backend API | Node.js (TypeScript) + Express / NestJS | High-concurrency event-driven asynchronous processing, seamless JSON handling for offline sync payloads, vast ecosystem. | Python Django | Higher memory footprint and slower execution for high-concurrency websocket sync workers. |
| Primary Database | PostgreSQL + PostGIS extension | Unmatched reliability, ACID compliance for legal financial fees, native PostGIS spatial querying for officer geofencing. | MongoDB | Lack of strict schema guarantees and ACID transactions across complex application workflows. |
| Cache & Queue | Redis + BullMQ | Blazing-fast queue management for background SMS/WhatsApp alert dispatch and offline sync event processing. | RabbitMQ | Over-complicated broker configuration for hackathon deployment timeline. |
| Object Storage | AWS S3 / MinIO (Self-Hosted) | MinIO provides S3-compatible object storage locally during hackathon demos, easily migrated to AWS S3 / NIC Cloud in production. | Local Server File System | Fails to scale horizontally in containerized cloud environments. |
| PDF & QR Generation | PDFKit + QRCode (Node) + Elliptic (ECDSA) | Cryptographically signs certificate payload and renders lightweight, crisp vector PDFs embedded with QR images. | Puppeteer / Headless Chrome | Extremely memory-intensive (spawns full Chrome browser) causing backend bottlenecks. |
| Auth & Security | JWT + Passport.js / bcrypt | Stateless authentication ideal for mobile apps and offline token storage. | Keycloak | Heavy Java runtime configuration required, excessive for hackathon setup. |
+-----------------------------------------------------------------------------------+
| AI / ML EVALUATION |
+-----------------------------------------------------------------------------------+
| AI COMPONENT 1: OCR & Vision Verification (Nameplate & Seal Integrity Check) |
| AI COMPONENT 2: Intelligent LMO Route Optimization |
| CRITICAL RULE : Certificate Approval Logic MUST NOT USE AI (100% Rule-Based) |
+-----------------------------------------------------------------------------------+
serial_number, model_number, max_capacity, and confidence_score.AI MUST NOT BE USED for determining whether an instrument passes or fails calibration testing [INFERENCE]. Calibration compliance is strictly governed by deterministic mathematical error thresholds under the Legal Metrology (General) Rules, 2011 [PS]. If standard weight $M_s = 10.00\text{ kg}$ and measured scale reading $M_m = 10.05\text{ kg}$, the percentage error is calculated deterministically:
$$\text{Error} = \left|\frac{M_m - M_s}{M_s}\right| \times 100 = 0.5%$$
The system compares $0.5%$ against the statutory maximum permissible error (MPE) table stored in PostgreSQL. If $\text{Error} \le \text{MPE}$, result = PASS; else FAIL. Using ML or LLM probabilistic models here would introduce illegal hallucination risks into statutory legal enforcement [INFERENCE].
-- Core Stakeholder Entity
CREATE TABLE users (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
role VARCHAR(30) NOT NULL, -- 'TRADER', 'LMO', 'GATC', 'ADMIN'
full_name VARCHAR(100) NOT NULL,
email VARCHAR(100) UNIQUE NOT NULL,
phone VARCHAR(15) NOT NULL,
gstin VARCHAR(15),
jurisdiction_code VARCHAR(50),
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
-- Instrument Master Entity
CREATE TABLE instruments (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
owner_id UUID REFERENCES users(id),
category VARCHAR(50) NOT NULL, -- 'NAWI_CLASS_III', 'PETROL_DISPENSER', 'WEIGHBRIDGE'
model_approval_no VARCHAR(100) NOT NULL,
serial_number VARCHAR(100) NOT NULL,
max_capacity NUMERIC(10,3) NOT NULL,
verification_interval_months INT DEFAULT 12,
installation_address TEXT NOT NULL,
location GEOGRAPHY(POINT, 4326), -- PostGIS Spatial Coordinate
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
-- Verification Application Entity
CREATE TABLE verification_applications (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
application_no VARCHAR(50) UNIQUE NOT NULL,
instrument_id UUID REFERENCES instruments(id),
applicant_id UUID REFERENCES users(id),
assigned_to_type VARCHAR(10) CHECK (assigned_to_type IN ('LMO', 'GATC')),
assigned_user_id UUID REFERENCES users(id),
status VARCHAR(30) DEFAULT 'SUBMITTED', -- 'SUBMITTED', 'SCHEDULED', 'INSPECTED', 'CERTIFIED', 'REJECTED'
scheduled_date DATE,
fee_amount NUMERIC(10,2) NOT NULL,
payment_status VARCHAR(20) DEFAULT 'PENDING',
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
-- Field Inspection Observation Entity
CREATE TABLE inspection_records (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
application_id UUID REFERENCES verification_applications(id),
inspector_id UUID REFERENCES users(id),
standard_mass_used NUMERIC(10,3) NOT NULL,
observed_reading NUMERIC(10,3) NOT NULL,
calculated_error_pct NUMERIC(5,3) NOT NULL,
result VARCHAR(10) CHECK (result IN ('PASS', 'FAIL')),
physical_seal_no VARCHAR(50) NOT NULL,
latitude NUMERIC(10,8),
longitude NUMERIC(11,8),
photo_nameplate_url TEXT,
photo_seal_url TEXT,
offline_created_at TIMESTAMP WITH TIME ZONE NOT NULL,
synced_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
-- Digital Certificate Entity
CREATE TABLE verification_certificates (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
certificate_no VARCHAR(100) UNIQUE NOT NULL,
application_id UUID REFERENCES verification_applications(id),
issue_date DATE NOT NULL,
expiry_date DATE NOT NULL,
signature_hash TEXT NOT NULL, -- ECDSA Cryptographic Signature
qr_code_url TEXT NOT NULL,
pdf_storage_url TEXT NOT NULL,
status VARCHAR(20) DEFAULT 'ACTIVE' -- 'ACTIVE', 'EXPIRED', 'REVOKED'
);
[Mobile SQLite / WatermelonDB] ---(Inspect Offline)---> [Local DB Store]
|
(Connectivity Restored)
v
[Sync Queue Worker] <---(POST /api/v1/sync/batch)--- [Delta Sync Payload]
|
(Vector Clock / Conflict Check)
|
+---> [Database Mutation] ---> [Sync Ack Response] ---> [Clear Local Queue]
NetInfo API [INFERENCE]. Once an active internet connection (Wi-Fi or Cellular) is detected, the app initiates a background HTTP POST /api/v1/sync/batch request containing the queue of offline inspection payloads [INFERENCE].offline_client_uuid and client_timestamp. The backend processes incoming records idempotently: if offline_client_uuid already exists in PostgreSQL, the request returns the existing record's server ID without re-inserting [INFERENCE].Personal Data & PII Protection: Commercial traders' PII (phone number, contact details, shop address) and LMO credentials are stored encrypted at rest using AES-256 in PostgreSQL [INFERENCE]. All network traffic is strictly enforced via TLS 1.3 encryption in transit [INFERENCE]. The system complies with India's Digital Personal Data Protection (DPDP) Act, 2023 [KNOWN].
Location Data Privacy: LMO GPS coordinates are captured ONLY at the exact moment of pressing "Submit Inspection" to verify proximity to the trader's registered location [INFERENCE]. Background continuous location tracking is explicitly disabled to preserve officer privacy and device battery life [INFERENCE].
Role-Based Access Control (RBAC):
TRADER: Can create applications, pay fees, view owned instruments, and download issued certificates.LMO: Can view assigned district applications, execute field inspections, record pass/fail observations, and issue certificates within their assigned jurisdiction.GATC: Can view applications explicitly routed for third-party testing and issue verification reports within accredited instrument categories.ADMIN: Global MIS analytics access, user onboarding, role updates, and audit log inspection.Certificate Anti-Counterfeiting & Cryptographic Signatures: Verification certificates are signed using ECDSA (Elliptic Curve Digital Signature Algorithm with secp256k1 curve) [INFERENCE]. The backend computes a SHA-256 hash of the certificate details:
$$\text{Payload} = \text{Hash}(\text{CertNo} \parallel \text{SerialNo} \parallel \text{InspectorID} \parallel \text{ExpiryDate})$$
This hash is signed with the department's private key. The public QR code embeds a URL linking to https://emaap.gov.in/verify?id=<CertNo>&sig=<Signature>. If a fraudster edits the PDF certificate text or serial number, scanning the QR code immediately reports a SIGNATURE MISMATCH / INVALID CERTIFICATE warning [INFERENCE].
Regulatory & Legal Disclaimer: The hackathon build is an exploratory software prototype developed for SIH 2026. Official statutory certificate issuance remains subject to state Legal Metrology Department authorization and integration testing under DoCA guidelines [INFERENCE].
+-----------------------------------------------------------------------------------+
| HACKATHON MVP BUILD SCOPE |
+-----------------------------------------------------------------------------------+
| IN SCOPE (MUST BUILD) | OUT OF SCOPE (DESCRIBED ONLY) |
| - Trader Application Wizard | - Live hardware Bluetooth scale sensor integration|
| - LMO/GATC Mobile Inspection App | - Integration with e-Pramaan SSO / DigiLocker |
| - Offline SQLite Sync Engine | - Real-time e-GRAS treasury payment gateway |
| - Dynamic QR & PDF Cert Generator| - Multi-year AI ML vision model fine-tuning |
| - Executive Analytics Dashboard | - Automated drone/satellite field tracking |
+----------------------------------+------------------------------------------------+
To present a flawless, highly convincing demo to SIH judges within a 10-minute presentation window without relying on live government production servers or physical heavy weighing scales, the team will execute the following step-by-step interactive workflow simulation [INFERENCE]:
+-----------------------------------------------------------------------------------+
| LIVE DEMO SIMULATION FLOW (10 MINS) |
+-----------------------------------------------------------------------------------+
| STEP 1: Trader Application (Web Portal) -> Register scale & pay fee |
| STEP 2: Allocation & Dispatch -> Auto-assign to local LMO |
| STEP 3: Offline Mobile Field Inspection -> Airplane mode ON -> Record inspection |
| STEP 4: Network Sync & Cert Generation -> Airplane mode OFF -> Auto sync & PDF |
| STEP 5: Public Citizen QR Audit -> Scan QR with smartphone -> Verified! |
+-----------------------------------------------------------------------------------+
SUBMITTED.SCHEDULED.PASS).SEAL-IN-2026-8891.UNSYNCED (1).SYNCHRONIZED.CERTIFIED.https://emaap.gov.in/verify?id=CERT-2026-9921.OFFICIALLY VERIFIED - LEGAL METROLOGY DEPT, showing scale serial number, owner name, seal number, and exact expiration date.+-----------------------------------------------------------------------------------+
| IMPLEMENTATION ROADMAP (2026) |
+-----------------------------------------------------------------------------------+
| Phase 1: Requirement Freeze & DB Schema Design [01 Sep - 07 Sep 2026] |
| Phase 2: Core Backend API & Workflow Engine [08 Sep - 14 Sep 2026] |
| Phase 3: Offline Mobile App & PWA Sync Worker [15 Sep - 21 Sep 2026] |
| Phase 4: QR PDF Generator, Analytics & Testing [22 Sep - 27 Sep 2026] |
| Phase 5: Demo Simulation & SIH Submission Freeze [28 Sep - 30 Sep 2026] |
+-----------------------------------------------------------------------------------+
| Milestone Phase | Deliverables | Key Dependencies | Completion Date |
|---|---|---|---|
| Phase 1: Architecture & Schema | Finalize ERD, setup PostgreSQL + Redis, create API contracts & mock dataset. | Team alignment on specs | 07 September 2026 |
| Phase 2: Core Web & Backend | Next.js portal, role authentication, application wizard, fee engine, Admin dashboard. | Phase 1 schema | 14 September 2026 |
| Phase 3: Mobile Offline App | React Native Expo app, WatermelonDB SQLite schema, camera capture, background sync worker. | Phase 2 REST endpoints | 21 September 2026 |
| Phase 4: Certs, QR & Alerts | ECDSA PDF generation, dynamic QR resolver, Redis BullMQ alert queue, UI polish. | Phase 2 & 3 sync pipeline | 27 September 2026 |
| Phase 5: Field Testing & Demo | End-to-end offline testing, demo seed data preparation, video recording, submission freeze. | Complete software build | 30 September 2026 |
| Test Category | Testing Focus & Scenario | Target Pass Criteria | Validation Method |
|---|---|---|---|
| Functional | End-to-end application submission, allocation, inspection, and certification flow. | 100% workflow state transition success across all roles. | Automated Cypress E2E scripts. |
| Offline Sync | Executing 20 field inspections in Airplane Mode, crashing app, reopening, restoring network, and syncing. | 0% data loss; all 20 records correctly synced to PostgreSQL without duplicates. | Manual stress testing with network throttling. |
| Performance | Concurrent API load on sync gateway and public QR resolution endpoint. | API response latency < 200ms under 500 concurrent virtual users. | Locust / k6 load testing script. |
| Security & Tamper | Modifying PDF certificate text manually using vector editor and scanning QR code. | Verification engine immediately flags TAMPERED / SIGNATURE MISMATCH. |
Cryptographic signature validation unit test. |
| Usability | Field officer navigation efficiency on low-end Android device (3GB RAM). | Inspection entry completed in < 90 seconds by non-technical user. | User acceptance testing (UAT) with 3 student testers. |
| False-Positive Error | Entering scale reading exceeding maximum permissible error (MPE). | System forces result = FAIL and prevents certificate generation. |
Unit test against LM Rules 2011 tolerance tables. |
| Risk Event | Likelihood | Impact | Severity | Mitigation Strategy |
|---|---|---|---|---|
| Unstable Field Connectivity During Inspection Sync | High | High | HIGH | Local SQLite storage with vector clock idempotency ensures zero data loss during sync dropouts [INFERENCE]. |
| LMO Resistance to Digital App Adoption | Medium | High | HIGH | Extremely simple 3-step visual mobile UI with regional language support and audio-guided prompts [INFERENCE]. |
| Fake QR Code Certificates / Fraudulent Stamping | Medium | Critical | CRITICAL | ECDSA asymmetric key signing guarantees signatures cannot be forged without department private key [INFERENCE]. |
| Database Corruption During Offline SQLite Batch Sync | Low | High | MEDIUM | Strict database transactional boundaries (BEGIN TRANSACTION ... COMMIT) on backend batch processing endpoints [INFERENCE]. |
| Lack of Physical Lead Seal Verification Link | Medium | Medium | MEDIUM | Mandatory capture of physical seal serial number and photo attachment before form submission [PS]. |
| Overrunning Hackathon Build Timeline | High | Medium | HIGH | Strict scope containment: prioritize offline sync, PDF certs, and QR verification over complex live integrations [INFERENCE]. |
| Component | Provider / Tool | Estimated Cost |
|---|---|---|
| Development Servers | Local Node.js / Docker Sandbox | ₹0 (Free Open Source) [KNOWN] |
| Database & Cache | Local PostgreSQL & Redis containers | ₹0 (Free Open Source) [KNOWN] |
| Cloud Hosting (Demo) | Vercel (Next.js) + Render.com (API) Free Tiers | ₹0 (Free Tier) [KNOWN] |
| Object Storage (Demo) | MinIO local container / AWS S3 Free Tier | ₹0 (Free Tier) [KNOWN] |
| SMS Gateway (Demo) | Twilio Trial Account / Console Logging | ₹0 (Free Trial) [KNOWN] |
| Total Hackathon Cost | — | ₹0 (100% Free Tier Feasible) |
| Component | Scalable Architecture Choice | Cost Rationale |
|---|---|---|
| Cloud Hosting Infrastructure | MeghRaj (NIC Cloud) / AWS India Cloud (Kubernetes - EKS / Cloud Run) | Scalable auto-scaling container clusters handling peak seasonal verification loads [INFERENCE]. |
| Managed Relational Database | AWS Aurora PostgreSQL Multi-AZ / Managed NIC Postgres | High-availability clustered setup with automatic failover and PostGIS spatial indexing [INFERENCE]. |
| High-Volume SMS & WhatsApp | Gupshup / CDAC SMS Gateway (Government rate cards) | Bulk transactional SMS pricing under Indian G2C communication contracts [KNOWN]. |
| Hardware & Accessories | Handheld thermal Bluetooth receipt printers for LMO field kits | One-time hardware procurement per LMO field team [KNOWN]. |
+-----------------------------------------------------------------------------------+
| KEY SYSTEM DIFFERENTIATION |
+-----------------------------------------------------------------------------------+
| FEATURE | GENERIC SUBMISSIONS | OUR PROPOSED PLATFORM |
| Field Connectivity | Requires active internet | 100% Offline SQLite Sync |
| Certificate Security | Plain PDF / Simple Link | ECDSA Cryptographic QR |
| Regulatory Alignment | Generic CRUD forms | LM Rules 2011 Tolerance |
| Third-Party Integration | Ignores GATCs | Dual LMO & GATC Engine |
| Anti-Fraud Verification | Untracked physical seals | Geotagged Seal Capture |
+-----------------------------------------------------------------------------------+
[ASSUMPTION])[ASSUMPTION-01]: State Legal Metrology Officers utilize Android devices running Android 10 or newer with active GPS and camera hardware.[ASSUMPTION-02]: Statutory verification validity cycles follow standard 12-month periods for general commercial weights under Legal Metrology Rules, 2011.[ASSUMPTION-03]: Mock payment gateway responses adequately represent real-world state e-GRAS treasury payment integrations for the hackathon MVP.[ASSUMPTION-04]: A 4-6 student team can complete the React Native mobile app, Next.js web portal, and Express backend within 4 weeks.[NEEDS VALIDATION])[NEEDS VALIDATION-01]: Exact JSON payload schema and REST API specifications for real-time integration with DoCA's central eMaap national database (emaap.gov.in).[NEEDS VALIDATION-02]: Specific state-by-state variations in stamping fee matrices across different instrument capacity tiers.[NEEDS VALIDATION-03]: Exact legal regulations regarding digital signature acceptance (e-Sign vs. HSM Department Keys) on verification certificates in individual state courts.Select Approach 2 (Field-First Hybrid Platform with Offline Sync & Cryptographic QR Engine). It directly addresses field network constraints faced by LMOs, eliminates certificate forgery, meets every explicit requirement in SIH26036, and provides a clear separation between a buildable hackathon MVP and a production cloud architecture [INFERENCE].
The availability of reliable mobile device hardware (GPS, Camera) and local SQLite storage capabilities on Legal Metrology Officers' field smartphones [INFERENCE].
Field officer resistance to switching from familiar physical registers to digital mobile workflows, mitigated by designing an ultra-simple, offline-capable 3-step visual mobile application interface [INFERENCE].
Implementing a robust, idempotent delta synchronization engine between client-side SQLite database storage and server-side PostgreSQL without data duplication or race conditions during multi-record sync [INFERENCE].
POST /api/v1/sync/batch) [INFERENCE].Verify the maximum permissible error (MPE) calculations for NAWI Class III commercial weighing scales under the Legal Metrology (General) Rules, 2011 to ensure 100% compliance of automated inspection pass/fail validation logic [INFERENCE].
92 / 100 Rationale: The stack utilizes standard, mature open-source tools (Next.js, Node.js, React Native, PostgreSQL) well within the expertise of a 4-6 student computer science team. The scope is well-bounded, and complex external dependencies (e-Pramaan SSO, e-GRAS) can be seamlessly mocked for the hackathon demo without sacrificing core utility [INFERENCE].
HIGH The proposed architecture directly satisfies all explicit problem requirements, accounts for field environment realities, enforces anti-counterfeiting security, and presents an impressive live demo narrative tailored for SIH judges [INFERENCE].
eMaap National Legal Metrology Portal
eMaap) integrating state legal metrology departments, GATC recognition, and certificate lookup [2.1, 2.6].GATC Rules & Categories - Press Information Bureau (PIB)
Legal Metrology Overview - Department of Consumer Affairs
State Legal Metrology Portals (AP Pramaan & TGLM)
What we think about this platform, and how it can help people solve SIH problems.
" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
" The platform makes SIH problem statements much easier to understand. Having everything from the problem details to the procedure in one place. "
" Oh, you got ads? Well, we need to make money too! But, you can use our platform to help you win SIH and take home the prize money. "
Get in touch if you need help bringing your ideas to life, or simply have an interesting idea you'd like to talk through. I'm always open to a conversation and exploring new possibilities together.