Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Trace a dashboard signal to the population and action it represents

Current complete on-site edition 4

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and explicitly comparative material are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative information-system dossier, transfer models and 30-point rubric

Preserved original teaching integrated with complete current on-site preparation. Independent human subject review and observed learner testing remain pending.

Learning objectives

A displayed measure is a chain of transformations

Harbor wants a list of overdue accounts. Define overdue first: a balance outstanding after the contractual due date at a specified as-of time, with disputed, credited and partially paid amounts treated by a stated rule. Invoice issue date, service date, due date and last payment date are different fields. A report without lineage cannot show which one drove the flag.

Document source entity, extraction time, transformation version, join keys, missing-value treatment and final population. Joining invoice headers to multiple payment lines can multiply invoice amounts unless the query aggregates payments at the appropriate grain. A technically successful query may therefore produce an economically wrong total. Reconcile distinct invoice identities and amounts before interpreting a trend.

A warehouse can support consistent historical reporting; a lake can retain diverse raw inputs; neither automatically establishes accuracy or permitted use. Retaining more data increases obligations and operational burden as well as analytical opportunities. Use the full current on-site storage and decision studios to compare architectural tradeoffs against a concrete access pattern and ownership model, rather than choosing a label because it sounds advanced.

A prediction needs the right error denominators

Consider an explicitly synthetic, independently labeled set of 1,000 accounts, with 100 truly overdue under the agreed definition. A model flags 80 of the overdue accounts and 90 of the other 900. True positives are 80, false negatives 20, false positives 90 and true negatives 810. Precision is 80 divided by 170, about 47.1%; recall is 80 divided by 100, or 80%; accuracy is 890 divided by 1,000, or 89%.

An always-not-overdue rule would have 90% accuracy on this population while detecting none of the 100 overdue accounts. Thus accuracy alone can favor a useless operational policy. Compare the costs and consequences of missed cases and false alarms, the capacity of reviewers and the reliability of labels. The synthetic numbers demonstrate the definitions, not measured performance of any actual model.

If the underlying overdue prevalence falls to 2%, holding illustrative sensitivity at 80% and false-positive rate at 10%, a 1,000-account population has 16 true positives, four false negatives, 98 false positives and 882 true negatives. Precision becomes 16 divided by 114, about 14.0%. The same conditional rates can create a much less reliable positive flag when the population changes.

A signal is not permission or causal proof

A flag may prioritize a human review. It should not automatically authorize a consequential collection action when the evidence, dispute status or delegated authority is insufficient. Provide interpretable reasons, current source facts, a correction path and an accountable decision owner. Monitor overrides and false alarms without treating every human disagreement as error.

Prevent leakage when evaluating a prediction: a field created after the outcome cannot honestly represent information available at the decision time. Use appropriate time separation and distinguish model selection data from later evaluation. A high score from a contaminated test does not establish performance on future decisions. Track drift in input definitions, populations and workflow, not merely a single headline metric.

Descriptive reports summarize recorded events; predictive models estimate outcomes under assumptions; causal claims concern the effect of interventions. A lower overdue rate after a dashboard launch can reflect a changing customer mix, altered labels or new credit policy. Explain a credible comparison and competing explanation before attributing causation. A model-supported action requires judgment about benefits, harms, uncertainty and authority beyond the calculation.

Worked example: A high accuracy can conceal missed work

The proposed model has precision 80/170 ≈ 47.1%, recall 80/100 = 80% and accuracy 890/1,000 = 89%. Always predicting not overdue has 90% accuracy but zero recall; use consequences and review capacity to compare policies.

Worked example: Prevalence changes the meaning of a flag

At 2% prevalence with the same 80% sensitivity and 10% false-positive rate, 16 true and 98 false positives give precision 16/114 ≈ 14.0%. Do not retain the previous 47.1% precision claim for this new population.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

Why identify the report’s as-of time?

Compare the model reasoning

Due status and outstanding balance depend on when facts are known and which period is measured.

Changed conditions

A payment arrives after the extract.

Compare the revised analysis

Show the refresh limitation or recompute the appropriate current projection; preserve the original report’s scope.

Independent

Why not select the 90%-accurate always-negative rule automatically?

Compare the model reasoning

It misses every overdue account in the original population; accuracy omits the decision’s asymmetric consequences.

Changed conditions

Review capacity is only 50 accounts.

Compare the revised analysis

Specify a prioritization policy and evaluate consequences at that capacity; neither original metric alone selects it.

Transfer

Does a better before/after overdue rate prove the dashboard worked?

Compare the model reasoning

No; population, policy and measurement changes can explain it.

Changed conditions

The overdue definition changed during rollout.

Compare the revised analysis

Reconstruct comparable definitions or qualify the comparison before attributing improvement.

Preserved historical development snapshot · Course content review

Source readings and scope

Introduction to Computer Science — 8.4 Nonrelational Database Management Systems — The complete current on-site studios supply all required conceptual preparation with worked reasoning and optional practice. These original publisher links remain optional provenance or further reading; outside visits are not required. Historical source availability is separate from current on-site content acceptance. The isolated laboratory checks synthetic state, integration and decision mechanisms; it does not validate a production system, certify cybersecurity or test an actual learner. Florida is the state-law default; no universal legal retention period or breach deadline is asserted.

Introduction to Computer Science — 8.5 Data Warehousing, Data Lakes, and Business Intelligence — The complete current on-site studios supply all required conceptual preparation with worked reasoning and optional practice. These original publisher links remain optional provenance or further reading; outside visits are not required. Historical source availability is separate from current on-site content acceptance. The isolated laboratory checks synthetic state, integration and decision mechanisms; it does not validate a production system, certify cybersecurity or test an actual learner. Florida is the state-law default; no universal legal retention period or breach deadline is asserted.

Introduction to Computer Science — 8.6 Data Management for Shallow and Deep Learning Applications — The complete current on-site studios supply all required conceptual preparation with worked reasoning and optional practice. These original publisher links remain optional provenance or further reading; outside visits are not required. Historical source availability is separate from current on-site content acceptance. The isolated laboratory checks synthetic state, integration and decision mechanisms; it does not validate a production system, certify cybersecurity or test an actual learner. Florida is the state-law default; no universal legal retention period or breach deadline is asserted.

Introduction to Computer Science — 8.7 Informatics and Data Management — The complete current on-site studios supply all required conceptual preparation with worked reasoning and optional practice. These original publisher links remain optional provenance or further reading; outside visits are not required. Historical source availability is separate from current on-site content acceptance. The isolated laboratory checks synthetic state, integration and decision mechanisms; it does not validate a production system, certify cybersecurity or test an actual learner. Florida is the state-law default; no universal legal retention period or breach deadline is asserted.

Introduction to Computer Science — 10.3 Solution Architecture Management — The complete current on-site studios supply all required conceptual preparation with worked reasoning and optional practice. These original publisher links remain optional provenance or further reading; outside visits are not required. Historical source availability is separate from current on-site content acceptance. The isolated laboratory checks synthetic state, integration and decision mechanisms; it does not validate a production system, certify cybersecurity or test an actual learner. Florida is the state-law default; no universal legal retention period or breach deadline is asserted.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.