Skip to content

Commit

Permalink
add (0,0) contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmturner committed Sep 7, 2023
1 parent 960c0ae commit b13fddc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,13 @@ and a [=string=] or null |contextId|:
given |contributionSum|, |reportingOrigin|, |api| and |currentWallTime|.
1. If |sufficientBudget| is false:
1. If |contextId| is null, return.
1. [=list/Empty=] |truncatedContributions|.
1. Let |nullContribution| be a new {{PAHistogramContribution}} with the
items:
: {{PAHistogramContribution/bucket}}
:: 0
: {{PAHistogramContribution/value}}
:: 0
1. Set |truncatedContributions| to « |nullContribution| ».

Note: If a context ID was specified, a report is sent, even if there is
insufficent budget for the requested contributions. In this case,
Expand Down

0 comments on commit b13fddc

Please sign in to comment.