Deterministic Rules
Pattern-matched extraction for stable, well-structured content with consistent layouts.
- Stable selectors
- Fixed schemas
- Consistent formats
Internal Technology

RUC Market Intelligence &
Structural Monitoring Engine
RUC on Rails' proprietary engine for acquiring, structuring and monitoring public RUC information. Source-aware extraction, layered validation and revision tracking power the intelligence behind RUC Hub and RUC Compare.
Explore the ArchitecturePurpose-built for New Zealand RUC
Source-aware extractionLayered validationContinuous monitoringSystem Architecture
Discovery, extraction, validation, storage and delivery form a connected processing pipeline. Each stage is purpose-built for inconsistent pricing tables, embedded documents and changing provider websites.
Select a stage below to inspect its inputs, outputs and processing context.
01 / Discover
Kowalski maps public provider websites and documents, identifying pricing tables, fee schedules and service information. Source profiles track page structure and update signals so acquisition can adapt as a website changes.
Source Intelligence
Kowalski maintains a structural model of each monitored provider. Link hierarchies, page classifications, layout signatures and update signals give the extraction engine context before it acquires a record.
That source awareness supports efficient crawling, reduces unnecessary requests and lets extraction logic and validation rules be tuned to real RUC publishing patterns.
{
"provider": "example_provider_a",
"surfaces": [
{
"type": "pricing_table",
"layout_sig": "v3.2.1",
"refresh_cycle": "6h",
"last_change": "2026-02-18T14:32Z"
}
],
"nav_depth": 3,
"change_signals": true
}Core Engine
Structural context determines the extraction strategy. Versioned, source-aware workflows combine deterministic rules, pattern-based logic and AI-assisted interpretation, with continuous refinement as sources evolve.
Pattern-matched extraction for stable, well-structured content with consistent layouts.
Flexible heuristics recognise semi-structured information when layouts shift but identifiable patterns remain.
Machine learning models interpret ambiguous tables, PDF documents and complex pricing structures before validation.
Continuous Monitoring
Kowalski monitors pricing adjustments, fee modifications, new disclosures and layout changes. Content comparison, structural awareness and document version tracking identify meaningful change across tracked surfaces.
Revision history is preserved where available, supporting temporal comparison rather than simple snapshot replacement.
Example Provider / Transaction Fee
Retain the previous value and validate the new record before publication.
Quality Assurance
Extraction is only one stage. Structured records pass through layered controls before they appear in public-facing tools. Outputs outside expected tolerances are withheld or queued for review.
Verify required fields and record structure against defined RUC data models.
Check pricing values against expected tolerances and consistent formats.
Validate the logical relationships between related fields.
Flag structural outliers and unexpected outputs for manual review.
Withhold non-conforming records before publication or queue them for review.
Processing Infrastructure
Coordinated services handle discovery, acquisition and processing. Each source retains its own refresh, rate and failure-handling context.
A source-level exception is contained within its own workflow.
Refresh cycles are tuned to each provider's update frequency, rather than treating every source alike.
Concurrent processing across multiple providers keeps source workflows isolated from one another.
Source-aware pacing, rate limits and automated backoff respect external systems.
Retry logic and error containment prevent a failure in one workflow from cascading across services.
Acquisition and processing stages retain operational records for monitoring and traceability.
Coordinated processing services support expansion as more sources are monitored.
Structured Storage & Auditability
Extracted information is normalised into models designed for RUC market comparison. Source lineage and acquisition metadata remain attached to each record.
Consistent schemas align pricing figures and service parameters across providers.
Aggregated public data supports structured profiles, filtering and market research.
Preserved revisions enable temporal comparison and trend analysis where available.
Structured datasets connect to RUC Hub, RUC Compare and platform integrations where applicable.
Trace a published data point back to the public source and the workflow that acquired it.
Operating Principles
Source approval defines what information is collected, how often it is monitored and how it is reviewed for publication. Access controls, request pacing and data minimisation are part of the acquisition process.
Sources are publicly accessible. Workflows do not access authenticated areas, collect personal data or circumvent access controls.
Request pacing, rate limits and automated backoff respect external systems. Applicable access terms are assessed during source approval.
Extraction focuses on pricing figures, fee schedules and service parameters, rather than reproducing editorial content.
Collection is limited to information relevant to defined analytical objectives.
Internal approval covers permissible data classes, monitoring frequency and publication review.
Uncertain sources or data classes are withheld until the position is clear.
Where It Makes a Difference
Kowalski supports the research and comparison infrastructure across RUC on Rails.