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

Java: Limit the number of samples extracted in application mode #13730

Merged
merged 1 commit into from Jul 14, 2023

Conversation

tausbn
Copy link
Contributor

@tausbn tausbn commented Jul 12, 2023

Uses the same trick as for the negative examples, this time with a limit of 9 candidates for each endpoint signature.

On OpenIdentityPlatform/OpenAM, this resulted in a reduction in results from ~93k to ~14k. (Further reducing the number of candidates per endpoint to 7 would only reduce the number of results by roughly 700).

As this duplicates some of the logic used in another query, it may be worthwhile to consider extracting this into a shared parameterized module.

cc: @charisk, @jhelie

Uses the same trick as for the negative examples, this time with a limit of 7
candidates for each endpoint signature.

As this duplicates some of the logic used in another query, it may be worthwhile
to consider extracting this into a shared parameterized module.
@tausbn tausbn requested a review from a team as a code owner July 12, 2023 13:17
@github-actions github-actions bot added the Java label Jul 12, 2023
@tausbn tausbn added the no-change-note-required This PR does not need a change note label Jul 12, 2023
@tausbn tausbn requested a review from kaeluka July 13, 2023 12:51
Copy link
Contributor

@kaeluka kaeluka left a comment

Choose a reason for hiding this comment

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

After reading through the relevant discussions, this looks good to me! 👍

@tausbn tausbn merged commit 9193de6 into main Jul 14, 2023
15 of 16 checks passed
@tausbn tausbn deleted the tausbn/limit-number-of-candidates-in-application-mode branch July 14, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants