Skip to content
diakarpos

Coverage matrix and value share filled

Coverage matrix and value share filled, version 1.2.2: a build hook that runs inside each build and writes coverage cells, no conclusion.

Coverage: n/a
ID
m:coverage.matrix
Version
1.2.2
Kind
metric
Status
in use
Model class
deterministic accounting
How inputs co-vary
none: counts and shares over the build's admitted rows
Review grain
1 review per conclusion row
Run review
n/a: a build hook writes no conclusion, so no run review applies build hook
Released
missing

Description

A build hook, not a compute run: build_coverage(build_conn, core_conn, mode, allowed_mask) writes coverage_cell, coverage_summary and edition_coverage into each build database at the build's as_of, since the states depend on the build mode and date (04 section 15.1; critic round FEA-F6; package C14). 1.2.0 (report 04 of C14 stage 2): trade shares on C01's primary basis against C01's D, capped at C01's covered share; signed balance variables weigh on var:fbs.prod_t; area 351 by C01's rule; group aggregates and items with C01's livestock and fish CPC prefixes out of subjects; production value in current US$, read for crops from the produces rows. 1.2.1 (G2 lineage fix): each read of conclusions takes the highest version per method and variant, with the variants taken from the trade and price source the build resolves to: a conclusion joins the trade source it names, else the build's, at the build's price source, and a variant pools the proposed or accepted conclusions of its own sources or of none, as BuildContext reads them (04 sections 1.10 and 15.1; parameter variant_pick). A conclusion of another price source is not read. The reads take the build's trade source or none, as BuildContext shows them (parameter trade_read), save C01's D for a trade expectation, which reads the pool of the expected source's run the catalogue names, among the versions the rule keeps (parameter d_read_unsourced); the automatic expectations count only the rows the rule keeps; a control point's weight is the unit's row of the latest period, then the highest version, conclusion ID and value, where the last row written won; a value share whose filled cells carry no known weight is NULL with its reason in the overview, where it read 0.0; a control point counts its filled units without a trade-value weight (n_filled_unweighted) beside the share, which is NULL when no filled unit carries one. 1.2.2: observed trade subjects follow the build's trade source under trade_read build, including forestry beside FAOSTAT TM; trade_subjects union restores the previous combined subject pool.

Formula

missing: not in the method registry

Parameters

ParameterDefaultRange testedUnitBasis
auto_per_layer8n/an/aautomatic expectations per layer for variables with a layer tag and data that no other expectation covers; the largest variable of each family first
d_read_unsourcedyesn/an/ahook 1.2.1: C01's D reads the expected source's run as a variant pools it, the conclusions of that trade source or of none at the pool's highest version, among those the reading rule keeps at the build's price source; false restores the exact match on params.trade_source. Orchestrator default open for Taras's review
target_share0.9n/asharevalue_share_filled target per commodity for production and trade (proposed in HANDOFF section 10)
trade_readbuildn/an/ahook 1.2.1, under variant_pick build: build reads the conclusions of the build's trade source or of none, as BuildContext shows them, save C01's D for a trade expectation, which reads the run of the trade source the catalogue names; union restores the read of each trade source's run at its own highest version, under which a BACI build read C03's FAOSTAT TM weights beside the version of no source it shows. Orchestrator default open for Taras's review
trade_subjectsbuildn/an/ahook 1.2.2: observed trade subjects follow the build's trade source under trade_read build; union restores the subject pool from both trade sources. Orchestrator default open for Taras's review
variant_pickbuildn/an/ahook 1.2.1: build takes the variants of the reading rule from the trade and price source the build resolves to (build.resolve_sources over the mode's sources and the build_run policies); all restores the pick over base.TRADE_SOURCES x base.PRICE_SOURCES, under which a version that names no source stayed current through a variant no build of the mode resolves to. Orchestrator default open for Taras's review
window3n/an/alatest periods of an expectation's grain when it names no period range

Assumptions

Tested domain

missing: not in the method registry

What this method leaves out

  • the quality of a filled value (its review state shows on the value)
  • places a source has not reported for any subject, which stay outside the reporting universe

Inputs

missing: no input listed in the registry

Variables

missing: not in the method registry

Version history

VersionStatusReleasedReplacesConclusions in this buildRun review
1.2.2 currentin usemissingn/an/a: a build hook: it runs inside each build and writes coverage cells and build settings, no conclusionn/a: a build hook writes no conclusion, so no run review applies

Conclusions in this build

n/a: a build hook: it runs inside each build and writes coverage cells and build settings, no conclusion a build hook: it runs inside each build and writes coverage cells and build settings, no conclusion