Licensing, Consent, and Data-Use Signals › Visualizing where the decisions come from
Language AI HandbookAll chapters The first figure compares licence-and-access screening decisions across three purposes. The privacy gate is recorded separately in the manifest. The second counts how often each trigger fired for the commercial corpus. To identify the checks that fired for one document, use that record’s trigger list.
PythonIn [28]Expand
purpose_counts = (
results.groupby(["purpose", "decision"])
.size()
.unstack(fill_value=0)
.reindex(index=PURPOSE_ORDER, columns=DECISION_ORDER, fill_value=0)
)
trigger_counts = (
results[results.purpose == "commercial_training"]["triggers"]
.explode()
.dropna()
.value_counts()
.sort_values()
)VisualizationOut [29]Expand

The screen reports four exclusions for commercial training and three each for research and evaluation. forum-us accounts for the difference. Its separate privacy hold stays in effect before use.
VisualizationOut [30]Expand

In the eleven-document fixture, no_licence and attribution each fire for four documents, and tos_unknown fires for three. These counts reflect both the inputs and the checks the resolver reached. For example, art-eu has no licence in the fixture, but its registry exclusion returns before the licence check.
Trigger counts show how often reached conditions evaluated true. Keep a separate check-execution record if you need to distinguish a false condition from a skipped check. Compare a controlled rerun to assess the effect of a policy change.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!