AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — SEMANTIC LIBRARY
LABOUR COST ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-01
Source anchor: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-cost-entities/labour-cost-ontology.html
Status: Proposed formal representation; live page not verified.
01. ENTITY DEFINITION
LabourCost is an EngineeringCost attributable to human work within a defined engineering scope and accounting period.
L = (id, scope, workerRole, activity, hours, rate, currency, period, basis, status, evidence, revision)
Basis ∈ {estimated, budgeted, committed, actual, forecast}.
Distinguish worker identity, role, employment arrangement, time record and cost record. A cost record is not a worker or a payment transaction.
02. FLOW COMPOSITION
Requirement → WorkPackage → SkillDemand → ResourceAllocation → TimeRecord → RateApplication → LabourCost → CostLedger
F = Post ∘ Validate ∘ Price ∘ Record ∘ Allocate ∘ Plan
Composition is right-to-left. Each transformation preserves scope, time, units and provenance. Failed validation routes to review, not posting.
03. DIRECT LABOUR ALGEBRA
For mutually exclusive time categories k and workers or roles i:
C_direct = Σ_i Σ_k h_ik × r_ik
h is measured in hours; r in currency/hour. Categories may include ordinary time, overtime and shift work. If overtime rate includes base pay, do not add base pay again.
C_overtime = h_ot × r_base × m_ot, where m_ot is the contractual multiplier.
Employer contributions and benefits are additional only when excluded from the rate.
C_loaded = C_direct + C_employer + C_benefits + C_other_attributable
04. INDIRECT LABOUR AND ALLOCATION
For overhead pool P and eligible cost objects j with drivers d_j ≥ 0:
a_j = d_j / Σ_j d_j, provided Σ_j d_j > 0.
C_alloc,j = a_j × P; Σ_j C_alloc,j = P.
If the driver total is zero, retain the pool as unallocated pending review.
Direct and indirect classifications depend on the cost object and accounting policy. Never count the same pool both in a loaded rate and as a separate allocation.
05. CAPACITY AND PRODUCTIVITY
H_available = H_scheduled − H_unavailable.
Σ_j h_alloc,ij ≤ H_available,i for each resource and period.
Productivity p = accepted_output / productive_hours, when hours > 0.
For forecast output Q and p > 0, H_required = Q/p.
Unit labour cost = C_attributable / accepted_output, when output > 0.
Separate paid, productive, idle and rework hours; avoid overlapping categories. Capacity feasibility also requires skills, shift coverage and applicable working-time constraints.
06. RATE EFFECTIVITY AND NORMALISATION
Rate(i,k,t) resolves an authorised rate version applicable to role, location, contract, time category and work date t.
Effectivity intervals use [start,end). Missing or ambiguous rates return UNKNOWN and block automatic posting.
Split time records crossing rate boundaries. Convert currency using a documented exchange rate and valuation date before aggregation.
C_reporting = Σ_l C_l × FX(currency_l, reporting_currency, valuation_date_l).
Nominal and real costs must not be mixed without a documented price-base conversion.
07. BUDGET AND VARIANCE ALGEBRA
For comparable scope, standard hours SH for actual output, actual hours AH, standard rate SR and actual rate AR:
RateVariance = AH × (AR − SR).
EfficiencyVariance = SR × (AH − SH).
TotalVariance = AH × AR − SH × SR = RateVariance + EfficiencyVariance.
Positive variance denotes adverse cost under this convention.
BudgetVariance = ActualCost − ComparableBudget.
EAC = ActualCostToDate + EstimateToComplete.
Commitments are included in the estimate to complete only once; distinguish open commitments from amounts already incurred.
08. LIFECYCLE COST AND OPTIMISATION
PV_labour = Σ_t C_t/(1+d)^t, where d > −1 is a consistent per-period discount rate and t is elapsed periods.
Include design, manufacture, installation, operation, maintenance and retirement labour as applicable.
Optimise min Σ_i,j,k h_ijk × r_ik + incremental overhead + rework cost, subject to capacity, competence, safety, quality, contractual and schedule constraints.
Do not treat reduced labour expenditure alone as improved engineering performance.
09. UNCERTAINTY AND RISK
For scenarios s with probabilities p_s ≥ 0 and Σ_s p_s = 1:
E[C] = Σ_s p_s C_s; Var(C) = Σ_s p_s(C_s − E[C])².
Model uncertain hours, rates, absenteeism, rework and schedule changes jointly where correlated.
Record scenario assumptions and distinguish expected cost from approved contingency. Unknown probabilities must not be invented.
10. RECURSIVE IMPACT PROPAGATION
Let G=(V,E) be a finite directed dependency graph of requirements, tasks, resources and cost objects. Edge u→v means a change in u may affect v.
I_0 = directly changed entities.
I_(n+1) = I_n ∪ {v : ∃u∈I_n, (u,v)∈E}.
The monotone set iteration stabilises in at most |V| strict expansion steps. I* is the impact review scope, not a monetary total.
Recalculate affected cost records once per unique record and revision. For numeric cyclic dependencies, convergence is not implied by reachability; require an explicit solver and convergence conditions or escalate for review.
ΔC = C_new − C_baseline on matching scope, currency and period.
11. LIFECYCLE AND CONTROL
Estimate → Reviewed → Budgeted → Authorised → Incurred → Verified → Posted → Reconciled → Closed.
These are illustrative workflow states; budget, commitment and actual are distinct measures and may coexist. A correction creates a linked adjustment or superseding record rather than silently rewriting history.
Authorisation requires approved scope, applicable rate, evidence and delegated authority. Segregate time approval and financial posting where policy requires.
12. VALIDATION AND COHERENCE INVARIANTS
V1: unique record identity and revision; no duplicate posting.
V2: hours non-negative for ordinary records; reversals explicitly reference original entries.
V3: rate and currency dimensions consistent; rate applicable to work date.
V4: allocation fractions sum to one for fully allocated pools.
V5: no overlapping time entries unless explicitly justified and reconciled.
V6: actual cost has verified evidence; forecast assumptions are labelled.
V7: baseline revisions retained and comparable scope established before variance calculation.
V8: missing evidence is UNKNOWN, not zero or automatic conformity.
V9: access to individual pay and time records is restricted to authorised users.
13. SEMANTIC ENTITY GRAPH AND AI SEARCH
LabourCost —isA→ EngineeringCost
LabourCost —incurredBy→ EngineeringActivity
LabourCost —allocatedTo→ WorkPackage
LabourCost —derivedFrom→ TimeRecord
LabourCost —pricedBy→ LabourRate
LabourRate —applicableTo→ WorkerRole
LabourCost —comparedWith→ CostBaseline
LabourCost —recordedIn→ CostLedger
LabourCost —affectedBy→ EngineeringChange
LabourCost —contributesTo→ LifecycleCost
Search aliases: labour cost; labor cost; workforce expenditure; direct labour; indirect labour; labour rate; overtime cost; engineering man-hours; person-hours.
Retrieval flow: Query → ResolveEntity → FilterScopeAndPeriod → ResolveRateAndEvidence → TraverseDependencies → Calculate → Validate → AnswerWithProvenance.
Example queries: What is the actual labour cost of work package X? Which rate revision applied? What caused the labour variance? Which tasks are affected by a schedule change?
Return value, currency, period, cost basis, source record IDs, assumptions and unresolved evidence. Do not infer private payroll information from aggregate costs.
14. WORKED EXAMPLE
Illustrative fabrication work package, GBP, one accounting period.
Ordinary hours = 80 at £30/hour; overtime = 10 at £45/hour.
Direct cost = 80×30 + 10×45 = £2,850.
Employer costs not included in rates = £450; allocated indirect labour = £200.
Total attributable labour cost = £3,500.
Accepted output = 20 units; unit labour cost = £175/unit.
Standard direct labour for actual output = 85 hours at £30/hour = £2,550.
Actual direct hours = 90; blended actual rate = £2,850/90.
Rate variance = £150 adverse; efficiency variance = £150 adverse.
Total direct labour variance = £300 adverse. Employer and overhead variances require separate comparable budgets.
If a design revision adds 5 ordinary hours, incremental direct cost is £150, before additional employer costs or overhead effects. Traverse impacted work packages and validate capacity before revising the forecast.
END OF FLOW ALGEBRA