Skip to content

proposal: Location-aware resource and cost data service#146

Merged
neoneye merged 2 commits into
PlanExeOrg:mainfrom
VoynichLabs:proposal/resource-cost-data
Mar 6, 2026
Merged

proposal: Location-aware resource and cost data service#146
neoneye merged 2 commits into
PlanExeOrg:mainfrom
VoynichLabs:proposal/resource-cost-data

Conversation

@82deutschmark

Copy link
Copy Markdown
Collaborator

Proposal Document

Designs a location-aware resource and cost data service for PlanExe:

  • The problem: 'What does a carpenter cost in Nairobi?' — PlanExe needs real cost data, not LLM hallucinations
  • Tiered architecture: Authoritative data → Geographic interpolation → PPP adjustment → LLM estimation
  • Data model: Category, item, location (country/region/city), value, currency, unit, confidence, source
  • Interpolation: Missing data filled by nearby countries weighted by economic similarity
  • Phased plan: Static data → Dynamic APIs → LLM gap-filling → Community contributions

This is a proposal/design document only — no code changes.

Companion to the Currency Service proposal. Both replace the hardcoded approach from PR #72 (now closed).

Analyzes three approaches (Python module, Docker service, MCP tool) with
pros/cons for each. Recommends starting with a Python module with local
cache, evolving to hybrid module+MCP. Replaces hardcoded rates from PR PlanExeOrg#72.
Designs a tiered data architecture for real-world cost lookups:
- Tier 1: Authoritative sources (ILO, World Bank, BLS)
- Tier 2: Interpolation (geographic, PPP adjustment, economic similarity)
- Tier 3: LLM-assisted estimation with confidence scoring

Includes data model, interpolation strategy, phased implementation plan,
and integration points with PlanExe pipeline. Replaces hardcoded cost
assumptions from PR PlanExeOrg#72.
@neoneye neoneye merged commit ce0743d into PlanExeOrg:main Mar 6, 2026
3 checks passed
@neoneye neoneye deleted the proposal/resource-cost-data branch March 6, 2026 20:36
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Documents the original vision of PR PlanExeOrg#72 (domain detection, currency
normalization, unit conversion, confidence calibration, Fermi sanity
checks), redesigned to build on the prerequisite Currency Service
(PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146) proposals.

Split into 4 implementation phases, each as a separate future PR.
Addresses all review feedback from PR PlanExeOrg#72 (no hardcoded rates, no
fragile paths, standard logger convention, configurable profiles).
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
82deutschmark added a commit to VoynichLabs/PlanExe2026 that referenced this pull request Mar 6, 2026
… intent)

Comprehensive design document covering:
- Domain detection and assumption extraction
- Fermi sanity checking against real-world benchmarks
- Currency/unit normalization via Currency Service
- Confidence calibration per domain
- Ethical framework: fair wage floors, workplace safety standards,
  child labor detection, working conditions assessment

Built on Currency Service (PR PlanExeOrg#147) and Resource/Cost Data (PR PlanExeOrg#146).
Split into 4 phased implementation PRs. Addresses all PR PlanExeOrg#72 feedback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants