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

Autocomplete: Log wether we're inside a test file #2868

Merged
merged 5 commits into from
Jan 24, 2024

Conversation

philipp-spiess
Copy link
Contributor

We have code for commands that can be used to estimate if we're inside of a test file or not. Let's log it for Autocomplete so:

  • We can estimate CAR for tests
  • We can see how much of a pool test completions are

The idea is that we gather some data that we can use to improve this use case. E.g. by force-injecting a different test file to have the LLM infer the right setup or so.

Test plan

  • Enable debug and verbose logging
  • Make some completion requests and observe the value of the testFile flag.

@philipp-spiess philipp-spiess merged commit 0bb9245 into main Jan 24, 2024
15 checks passed
@philipp-spiess philipp-spiess deleted the ps/ac-log-test-file branch January 24, 2024 14:12
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