Skip to content

Commit

Permalink
Proofreading pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks Orlovich committed Feb 27, 2024
1 parent 76248f9 commit 3b9c625
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ To <dfn>generate and score bids</dfn> given an [=auction config=] |auctionConfig
1. If |bidsMade| is true but |foundKAnonBids| is false:

Note: [=generate potentially multiple bids=] is now rerun with only k-anonymous [=interest group/ads=] to give
the buyer a chance to [generate potentially multiple bids=] for k-anonymous [=interest group/ads=]. Allowing
the buyer a chance to [=generate potentially multiple bids=] for k-anonymous [=interest group/ads=]. Allowing
the buyer to first [=generate potentially multiple bids=] for non-k-anonymous [=interest group/ads=] provides a
mechanism to bootstrap the k-anonymity count, otherwise no [=interest group/ads=] would
ever trigger [=increment k-anonymity count=] and all ads would fail
Expand Down Expand Up @@ -2679,7 +2679,7 @@ To <dfn>decode an additional bid json</dfn> given a [=string=] |additionalBidJso
1. [=Assert=] that these steps are running [=in parallel=].
1. Let |parsedAdditionalBid| be the result of [=parse a JSON string to an infra value=] given
|additionalBidJson|.
1. If |parsedAdditionalBid| is not , then return failure.
1. If |parsedAdditionalBid| is not a [=map=], then return failure.
1. Let |result| be a new [=decoded additional bid=].
1. Return failure if any of the following conditions hold:
* |parsedAdditionalBid|["auctionNonce"] does not [=map/exist=];
Expand Down Expand Up @@ -3511,7 +3511,8 @@ To <dfn>convert a sequence of GenerateBidOutputs to a list of generated bids</df
1. [=list/for each=] |bidOutput| of |generateBidOutputs|:
1. Let |bid| be the result of [=converting GenerateBidOutput to generated bid=] given |bidOutput|, |ig|, |expectedCurrency|, |isComponentAuction|, |groupHasAdComponents|.
1. If |bid| is failure, return failure.
1. If |bid|'s [=generated bid/no bid=] is true, [=iteration/continue=]
1. If |bid| is null, [=iteration/continue=].
1. [=Assert=] that [=generated bid/no bid=] is false.
1. [=list/Append=] |bid| to |bids|.
1. Return |bids|
</div>
Expand Down Expand Up @@ -5036,8 +5037,6 @@ To <dfn>look up per-buyer multi-bid limit</dfn> given an [=auction config=] |auc
1. Return |multiBidLimit|
</div>

</div>

<h3 id=bid-generators>Bid generator</h3>

A <dfn>per buyer bid generator</dfn> is an [=ordered map=] whose [=map/keys=] are [=URLs=]
Expand Down

0 comments on commit 3b9c625

Please sign in to comment.