Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

feat: Adds guideline extraction & validation routes #35

Merged
merged 6 commits into from
Dec 4, 2023
Merged

feat: Adds guideline extraction & validation routes #35

merged 6 commits into from
Dec 4, 2023

Conversation

frgfm
Copy link
Member

@frgfm frgfm commented Dec 4, 2023

This PR introduces the following modifications:

  • adds several routes to parse guidelines from text, from github repo and to generate examples from a guideline
  • updates LLM client and github client accordingly

Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (0499b63) 85.08% compared to head (b3d4342) 83.78%.

Files Patch % Lines
src/app/services/openai.py 52.38% 10 Missing ⚠️
src/app/api/api_v1/endpoints/repos.py 50.00% 7 Missing ⚠️
src/app/api/api_v1/endpoints/guidelines.py 60.00% 4 Missing ⚠️
src/app/api/api_v1/endpoints/compute.py 0.00% 2 Missing ⚠️
src/app/services/github.py 96.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   85.08%   83.78%   -1.30%     
==========================================
  Files          28       28              
  Lines         818      882      +64     
==========================================
+ Hits          696      739      +43     
- Misses        122      143      +21     
Flag Coverage Δ
unittests 83.78% <70.73%> (-1.30%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@frgfm frgfm merged commit a84fbb6 into main Dec 4, 2023
8 of 10 checks passed
@frgfm frgfm deleted the parsing branch December 4, 2023 21:00
frgfm added a commit that referenced this pull request Mar 28, 2024
* ci: Adds staling rule

* ci: Adds dependabot update config

* style: Fixes formatting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant