Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spec] Fix minor bugs. #1392

Merged
merged 7 commits into from
Feb 4, 2025
Merged

[Spec] Fix minor bugs. #1392

merged 7 commits into from
Feb 4, 2025

Conversation

MattMenke2
Copy link
Contributor

@MattMenke2 MattMenke2 commented Jan 31, 2025

In particular:

  • Make fetch trusted signals always return 3 values. It was sometimes returning only two.
  • Make "score and rank a bid" take a policy container, and pass it to "fetch and decode trusted scoring signals", which requires one as an argument.
  • Pass a policyContainer to "score and rank a bid" calls.
  • Fix one "score and rank a bid" call, which wasn't being passed a realTimeContributionsMap.

Preview | Diff

In particular:

* Make fetch trusted signals always return 3 values. It was sometimes returning only two.
* Make "score and rank a bid" take a policy container, and pass it to "fetch and decode trusted scoring signals", which requires one as an argument.
* Pass a policyContainer to "score and rank a bid" calls.
* Fix one "score and rank a bid" call, which wasn't being passed a realTimeContributionsMap.
@qingxinwu qingxinwu added the spec Relates to the spec label Feb 2, 2025
Copy link
Collaborator

@qingxinwu qingxinwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching and fixing these bugs! LGTM % two minor comments.

MattMenke2 and others added 2 commits February 3, 2025 12:05
Co-authored-by: qingxinwu <6334674+qingxinwu@users.noreply.github.com>
MattMenke2 and others added 3 commits February 3, 2025 15:22
Co-authored-by: qingxinwu <6334674+qingxinwu@users.noreply.github.com>
Co-authored-by: qingxinwu <6334674+qingxinwu@users.noreply.github.com>
@JensenPaul JensenPaul merged commit 36a89d8 into WICG:main Feb 4, 2025
2 checks passed
github-actions bot added a commit that referenced this pull request Feb 4, 2025
SHA: 36a89d8
Reason: push, by JensenPaul

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec Relates to the spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants