Skip to content

Conversation

@arthurscchan
Copy link
Contributor

This PR adds a new item to the project context and query introspector to retrieve the test or example sources that call the target function. This new context item provides information for the LLM to reference existing test or example sources when generating a fuzzing harness for the target functions.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan
Copy link
Contributor Author

/gcbrun exp -n ascc-pr-1051-1 -m vertex_ai_gemini-1-5 -i -b comparison

@arthurscchan arthurscchan marked this pull request as ready for review May 9, 2025 19:43
@arthurscchan
Copy link
Contributor Author

/gcbrun exp -n ascc-pr-1051-2 -m vertex_ai_gemini-1-5 -i -b comparison

@arthurscchan
Copy link
Contributor Author

/gcbrun exp -n ascc-pr-1051-3 -m vertex_ai_gemini-1-5 -i -b comparison

@DavidKorczynski
Copy link
Contributor

Screenshot from 2025-06-06 22-42-57

Copy link
Contributor

@DavidKorczynski DavidKorczynski left a comment

Choose a reason for hiding this comment

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

issue in screenshot above

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan
Copy link
Contributor Author

/gcbrun exp -n ascc-pr-1051-4 -m vertex_ai_gemini-1-5 -i -b comparison

@DavidKorczynski
Copy link
Contributor

Copy link
Contributor

@DavidKorczynski DavidKorczynski left a comment

Choose a reason for hiding this comment

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

We should land this once we have FI data that shows the results. I think we should see the actual prompts to validate it works.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan arthurscchan marked this pull request as draft June 18, 2025 16:44
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan
Copy link
Contributor Author

/gcbrun exp -n ascc-pr-1051-5 -m vertex_ai_gemini-2-5-pro-chat -b comparison

@arthurscchan arthurscchan marked this pull request as ready for review June 18, 2025 20:17
Copy link
Contributor

@DavidKorczynski DavidKorczynski left a comment

Choose a reason for hiding this comment

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

This is great in that it's good we get these xrefs in! However, it's a bit too verbose at the moment and the prompts gets blown up for some targets e.g. the libsndfile target in the comparison benchmark. Can you refine this to improve control, i.e. we want a more narrow scope of the relevant xref, not just the entire files.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan
Copy link
Contributor Author

/gcbrun exp -n ascc-pr-1051-7 -m vertex_ai_gemini-2-5-pro-chat -b comparison

@DavidKorczynski DavidKorczynski merged commit ab3ea46 into main Jun 19, 2025
6 checks passed
@DavidKorczynski DavidKorczynski deleted the new-test-xref-api branch June 19, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants