IF Commons GitHub

logical/responsibility

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-tenancy FR-005, 0002-tenancy FR-006

The matrix of responsibility (0002-tenancy FR-005, FR-006): for each requirement of a framework, who answers, with the requirements nobody has been asked to answer for listed apart, and the rules a statement must keep (an inherited requirement names its provider, a shared one says what each side does, no requirement is stated twice or is not one of the framework's). The standing a client may claim for a requirement follows from whose it is: its own evidence for a client's, the operator's for an operator's, both for a shared one, and the provider's for an inherited one.

import { matrix } from "./responsibility.ts";
matrix("f", ["1"], []).unassigned; // ["1"]

Source: commons/tenancy/src/logical/responsibility.ts

2 of 8 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

logical.Matrixtypeno test imports it
type Matrix = { readonly framework: string; readonly lines: readonly Responsibility[]; readonly unassigned: readonly string[]; readonly problems: readonly string[] };

The matrix of a framework: each statement, the requirements with none, and what is wrong with the statements.

logical.matrixfunctionno test imports it
function matrix(framework: string, requirements: readonly string[], statements: readonly Responsibility[]): Matrix

The matrix of a framework's requirements from the statements of responsibility.

logical.Standingstypeno test imports it
type Standings = { readonly client?: Rollup; readonly operator?: Rollup; readonly provider?: Rollup };

The standings that bear on one requirement, from each side that may give evidence.

logical.standingForfunctionno test imports it
function standingFor(line: Pick<Responsibility, "who">, s: Standings): "met" | "no-evidence" | "not-applicable" | "not-met" | "partial"

The standing a client may claim for a requirement, from whose it is: a side that has given no evidence counts as having none.

Matrixtypeno test imports it
type Matrix = { readonly framework: string; readonly lines: readonly Responsibility[]; readonly unassigned: readonly string[]; readonly problems: readonly string[] };

The matrix of a framework: each statement, the requirements with none, and what is wrong with the statements.

matrixfunction
function matrix(framework: string, requirements: readonly string[], statements: readonly Responsibility[]): Matrix

The matrix of a framework's requirements from the statements of responsibility.

Imported by 6 tests of the run (6 passed, 0 failed): the library's results

Standingstypeno test imports it
type Standings = { readonly client?: Rollup; readonly operator?: Rollup; readonly provider?: Rollup };

The standings that bear on one requirement, from each side that may give evidence.

standingForfunction
function standingFor(line: Pick<Responsibility, "who">, s: Standings): "met" | "no-evidence" | "not-applicable" | "not-met" | "partial"

The standing a client may claim for a requirement, from whose it is: a side that has given no evidence counts as having none.

Imported by 6 tests of the run (6 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.