guidance-ai / guidance

A guidance language for controlling large language models.
MIT License
19.14k stars 1.04k forks source link

[Keeping House] Split JSON tests into multiple files #1072

Closed hudson-ai closed 2 weeks ago

hudson-ai commented 2 weeks ago

@riedgar-ms as per your suggestion, I have opened a separate PR for splitting the JSON tests into multiple files (and running black). I think we should probably go a step further, as I only moved the reference tests from the main test_json.py to test_refs.py so far.

Let's do that later so we can keep this minimal :)

P.S. I've already merged this locally with my other PR branch, so there will be no surprises or difficulties there.

codecov-commenter commented 2 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.00%. Comparing base (b4b0047) to head (ed0a753). Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1072 +/- ## ========================================== - Coverage 65.35% 64.00% -1.35% ========================================== Files 65 65 Lines 4892 4892 ========================================== - Hits 3197 3131 -66 - Misses 1695 1761 +66 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.