Skip to content

Conversation

@brandon-wada
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

@brandon-wada brandon-wada left a comment

Choose a reason for hiding this comment

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

SDK tests run in 3 min 22 seconds on my local machine after these changes. I've made a ticket to organize the tests better so we can call only a certain subset of tests based on who is making the call.

from groundlight_openapi_client.exceptions import NotFoundException


@pytest.mark.skip(reason="This is an expensive test, reset may take some time")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is likely the source of much of our current SDK test time

raise Exception("Failed to reset detector")


@pytest.mark.skip(reason="This test does not work with strong 0 shot models, enabled by default based on your account")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This no longer works for internal users because GLAVA is so confident

assert count_iq.result.count is not None


@pytest.mark.skip(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The SDK got ahead of reef, and what we've enabled for internal users, so this test is actually causing issues during development

Copy link
Contributor

@tyler-romero tyler-romero left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks Brandon!

@brandon-wada brandon-wada merged commit 1f825a2 into main Oct 16, 2024
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.

3 participants