D47e — The settings that change a computed value belong to the dataset¶
- Status: Accepted — implements D47 (part 2); refines where D6's source weights live; amended by D60 (whether each run must say what it used is a dataset key)
- Date: 2026-09-23
- Origin: slice 22 build
- Area: scoring
Decision¶
- A graph can belong to a dataset. It is named by
--dataset,$KG_DATASET, ordataset:in kg.yaml. - When it does,
dataset.yamlprovides the computed settings:source_weights,domains,scoring,resolverandcaptures. - The same keys in a person's
kg.yamlare ignored and reported, bykg whoamiand bykg dataset show. write_policy,policy,escalate,fetchandmestay personal. They decide what a person holds back or fetches, not what anyone computes.kg dataset initwrites the settings in force at that moment, so creating a dataset changes no value.- A dataset pins its packs. Exporting to it, or rebuilding from it, refuses when a pinned pack is not loaded.
- Without a dataset, everything reads kg.yaml exactly as before.
Why¶
Two people holding the same rows would compute different "current" values if one of them weighed press at 0.45 and the other at 0.60. Worse, neither would know it. Scores, supersession, contested floors and resolver thresholds are part of what a dataset says, not a viewer preference. Wikidata ranks and Open Supply Hub's precedence rules are likewise properties of the data, not of the reader.
Alternatives¶
- Let kg.yaml override the dataset. Every personal kg.yaml would then be a fork in what the dataset means.
- Refuse to run when kg.yaml sets a dataset key. That would be too harsh on existing setups. The value is ignored and the person is told.