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

Add GetVersion() to Model object #485

Merged
merged 1 commit into from
May 1, 2023
Merged

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented May 1, 2023

In downstream applications, it's useful to know which Treelite version produced a particular Treelite model object.

@codecov
Copy link

codecov bot commented May 1, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.88 ⚠️

Comparison is base (c47d78e) 85.37% compared to head (06a848b) 84.49%.

❗ Current head 06a848b differs from pull request most recent head 10faef9. Consider uploading reports for the commit 10faef9 to get more accurate results

Additional details and impacted files
@@              Coverage Diff               @@
##             mainline     #485      +/-   ##
==============================================
- Coverage       85.37%   84.49%   -0.88%     
  Complexity         42       42              
==============================================
  Files             112      111       -1     
  Lines            9914     8849    -1065     
  Branches          617       40     -577     
==============================================
- Hits             8464     7477     -987     
+ Misses           1427     1349      -78     
  Partials           23       23              
Impacted Files Coverage Δ
include/treelite/tree.h 90.66% <ø> (-1.69%) ⬇️

... and 67 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@hcho3 hcho3 merged commit 46b194f into dmlc:mainline May 1, 2023
18 of 19 checks passed
@hcho3 hcho3 deleted the add_version_lookup branch May 1, 2023 15:14
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.

None yet

1 participant