Internal Technology

Kowalski

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 Architecture

Purpose-built for New Zealand RUC

Source-aware extractionLayered validationContinuous monitoring

System Architecture

End-to-End
RUC Data Pipeline

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.

Acquisition to DeliverySystem Overview
From public sources to structured market intelligenceProvider pages, pricing tables and documents flow through Kowalski for extraction and validation, then into RUC Hub and RUC Compare.PUBLIC SOURCESOUR PLATFORMSProvider pagesPricing tablesDocumentsKowalskiExtract & validateRUC HubRUC CompareSource provenance retainedPublic pages, pricing and documents flow through Kowalski into RUC Hub and RUC Compare, retaining source provenance.PUBLIC SOURCESPagesPricingDocumentsKowalskiExtract & validateRUC HubRUC CompareSource provenance retained
Source provenance retained throughout.

01 / Discover

Understand the source first

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.

Input
Public provider information
Output
A source-aware acquisition plan
Discover / Process Detail
Pricing page
Table identified
Fee schedule
Document mapped
Purchase options
Service page classified

Source Intelligence

Source Discovery &
Structural Mapping

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.

Link Hierarchies
Map how pricing, disclosure and service pages relate.
Page Classifications
Identify the content type before choosing a workflow.
Layout Signatures
Track structural changes that could affect extraction.
Update Signals
Inform refresh cycles and change monitoring.
source_profile.json
Pricing Table01 / 03
{
  "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
}
Provider-specific structure & versioned workflows

Core Engine

Proprietary
Extraction Framework

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.

01

Deterministic Rules

Pattern-matched extraction for stable, well-structured content with consistent layouts.

  • Stable selectors
  • Fixed schemas
  • Consistent formats
02

Pattern-Based Logic

Flexible heuristics recognise semi-structured information when layouts shift but identifiable patterns remain.

  • Table recognition
  • Structural hints
  • Layout analysis
03

AI-Assisted Interpretation

Machine learning models interpret ambiguous tables, PDF documents and complex pricing structures before validation.

  • PDF parsing
  • Ambiguous tables
  • Natural-language interpretation

Continuous Monitoring

Change Detection &
Revision Tracking

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.

Revision Tracking Review Exceptions
Change Review

Example Provider / Transaction Fee

Previous$5.00
Detected$5.50
Value Change Detected

Retain the previous value and validate the new record before publication.

Quality Assurance

Validation &
Quality Controls

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.

Extracted Record
Layered Validation
ValidatedStructured data layer
ExceptionWithhold / review
01

Schema Validation

Verify required fields and record structure against defined RUC data models.

02

Range & Consistency

Check pricing values against expected tolerances and consistent formats.

03

Cross-field Integrity

Validate the logical relationships between related fields.

04

Anomaly Detection

Flag structural outliers and unexpected outputs for manual review.

05

Exception Handling

Withhold non-conforming records before publication or queue them for review.

Processing Infrastructure

Distributed Processing
& Orchestration

Coordinated services handle discovery, acquisition and processing. Each source retains its own refresh, rate and failure-handling context.

Source-Aware Scheduling
Source AAcquisitionValidation
Source BBackoff / RetryHeld Independently
Source CAcquisitionValidation

A source-level exception is contained within its own workflow.

Scheduled Crawling

Refresh cycles are tuned to each provider's update frequency, rather than treating every source alike.

Parallel Ingestion

Concurrent processing across multiple providers keeps source workflows isolated from one another.

Rate Management

Source-aware pacing, rate limits and automated backoff respect external systems.

Fault Isolation

Retry logic and error containment prevent a failure in one workflow from cascading across services.

Operational Logging

Acquisition and processing stages retain operational records for monitoring and traceability.

Horizontal Scaling

Coordinated processing services support expansion as more sources are monitored.

Structured Storage & Auditability

RUC Data Models
End-to-End Provenance

Extracted information is normalised into models designed for RUC market comparison. Source lineage and acquisition metadata remain attached to each record.

Cross-Provider Comparison

Consistent schemas align pricing figures and service parameters across providers.

Provider Profiles & Search

Aggregated public data supports structured profiles, filtering and market research.

Revision History

Preserved revisions enable temporal comparison and trend analysis where available.

API Delivery

Structured datasets connect to RUC Hub, RUC Compare and platform integrations where applicable.

Record Provenance
Source Location
https://example.com/pricing
Acquisition Time
2026-02-20T09:14:32.847Z
Workflow Version
extract_v4.7.2
Validation Status
PASSED
Change Events
price_update, schema_match

Trace a published data point back to the public source and the workflow that acquired it.

Operating Principles

Source Governance
& Responsible Access

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.

How We Operate

Public commercial information

Sources are publicly accessible. Workflows do not access authenticated areas, collect personal data or circumvent access controls.

Respectful access

Request pacing, rate limits and automated backoff respect external systems. Applicable access terms are assessed during source approval.

Factual data

Extraction focuses on pricing figures, fee schedules and service parameters, rather than reproducing editorial content.

Data minimisation

Collection is limited to information relevant to defined analytical objectives.

Source governance

Internal approval covers permissible data classes, monitoring frequency and publication review.

Caution where needed

Uncertain sources or data classes are withheld until the position is clear.

Where It Makes a Difference

Intelligence behind
the tools people use

Kowalski supports the research and comparison infrastructure across RUC on Rails.