combinatrix-ai / PromptTrail

PromptTrail: A lightweight library for Prompt Programming, Agent as Code
https://prompttrail.readthedocs.io/en/latest/quickstart.html
MIT License
12 stars 0 forks source link

Add more test for template and bugfix #17

Closed hmirin closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #17 (1b9755b) into main (b60a156) will decrease coverage by 1.28%. The diff coverage is 71.96%.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   82.70%   81.42%   -1.28%     
==========================================
  Files          20       20              
  Lines         977     1050      +73     
==========================================
+ Hits          808      855      +47     
- Misses        169      195      +26     
Files Changed Coverage Δ
src/prompttrail/agent/core.py 64.15% <50.00%> (-3.85%) :arrow_down:
src/prompttrail/agent/hook/core.py 63.49% <66.66%> (+1.67%) :arrow_up:
src/prompttrail/const.py 84.61% <66.66%> (-15.39%) :arrow_down:
src/prompttrail/agent/runner.py 83.95% <69.23%> (-7.58%) :arrow_down:
src/prompttrail/agent/template/control.py 85.16% <74.50%> (-6.30%) :arrow_down:
src/prompttrail/agent/template/core.py 80.53% <81.81%> (+1.04%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication