dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9.05k stars 1.88k forks source link

Net8 tests #7319

Open michaelgsharp opened 2 days ago

michaelgsharp commented 2 days ago

Updating tests to work on net8

codecov[bot] commented 1 day ago

Codecov Report

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

Project coverage is 69.20%. Comparing base (d4bc05d) to head (4da3877). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7319 +/- ## ========================================== + Coverage 68.87% 69.20% +0.32% ========================================== Files 1470 1470 Lines 274005 270453 -3552 Branches 28403 27865 -538 ========================================== - Hits 188727 187164 -1563 + Misses 77959 75979 -1980 + Partials 7319 7310 -9 ``` | [Flag](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [Debug](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `69.20% <100.00%> (+0.32%)` | :arrow_up: | | [production](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `63.61% <100.00%> (+0.32%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `89.40% <ø> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [....CodeGenerator/Templates/Console/PredictProject.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=src%2FMicrosoft.ML.CodeGenerator%2FTemplates%2FConsole%2FPredictProject.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-c3JjL01pY3Jvc29mdC5NTC5Db2RlR2VuZXJhdG9yL1RlbXBsYXRlcy9Db25zb2xlL1ByZWRpY3RQcm9qZWN0LmNz) | `46.00% <100.00%> (ø)` | | | [src/Microsoft.ML.Core/CommandLine/CmdParser.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=src%2FMicrosoft.ML.Core%2FCommandLine%2FCmdParser.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-c3JjL01pY3Jvc29mdC5NTC5Db3JlL0NvbW1hbmRMaW5lL0NtZFBhcnNlci5jcw==) | `56.81% <100.00%> (+0.11%)` | :arrow_up: | | [src/Microsoft.ML.Data/Utilities/TimerScope.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=src%2FMicrosoft.ML.Data%2FUtilities%2FTimerScope.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-c3JjL01pY3Jvc29mdC5NTC5EYXRhL1V0aWxpdGllcy9UaW1lclNjb3BlLmNz) | `100.00% <100.00%> (ø)` | | | [...soft.ML.EntryPoints/JsonUtils/JsonManifestUtils.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=src%2FMicrosoft.ML.EntryPoints%2FJsonUtils%2FJsonManifestUtils.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-c3JjL01pY3Jvc29mdC5NTC5FbnRyeVBvaW50cy9Kc29uVXRpbHMvSnNvbk1hbmlmZXN0VXRpbHMuY3M=) | `83.66% <ø> (ø)` | | | [...t.ML.FastTree/TreeEnsemble/InternalTreeEnsemble.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=src%2FMicrosoft.ML.FastTree%2FTreeEnsemble%2FInternalTreeEnsemble.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-c3JjL01pY3Jvc29mdC5NTC5GYXN0VHJlZS9UcmVlRW5zZW1ibGUvSW50ZXJuYWxUcmVlRW5zZW1ibGUuY3M=) | `68.19% <100.00%> (ø)` | | | [...crosoft.ML.Core.Tests/UnitTests/TestEntryPoints.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=test%2FMicrosoft.ML.Core.Tests%2FUnitTests%2FTestEntryPoints.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-dGVzdC9NaWNyb3NvZnQuTUwuQ29yZS5UZXN0cy9Vbml0VGVzdHMvVGVzdEVudHJ5UG9pbnRzLmNz) | `98.45% <ø> (ø)` | | | [test/Microsoft.ML.FSharp.Tests/SmokeTests.fs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=test%2FMicrosoft.ML.FSharp.Tests%2FSmokeTests.fs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-dGVzdC9NaWNyb3NvZnQuTUwuRlNoYXJwLlRlc3RzL1Ntb2tlVGVzdHMuZnM=) | `87.23% <ø> (-0.53%)` | :arrow_down: | | [...est/Microsoft.ML.Predictor.Tests/TestPredictors.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=test%2FMicrosoft.ML.Predictor.Tests%2FTestPredictors.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-dGVzdC9NaWNyb3NvZnQuTUwuUHJlZGljdG9yLlRlc3RzL1Rlc3RQcmVkaWN0b3JzLmNz) | `69.62% <ø> (ø)` | | | [...est/Microsoft.ML.TestFramework/BaseTestBaseline.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=test%2FMicrosoft.ML.TestFramework%2FBaseTestBaseline.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-dGVzdC9NaWNyb3NvZnQuTUwuVGVzdEZyYW1ld29yay9CYXNlVGVzdEJhc2VsaW5lLmNz) | `75.94% <ø> (+0.04%)` | :arrow_up: | | [test/Microsoft.ML.TestFramework/BaseTestClass.cs](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree&filepath=test%2FMicrosoft.ML.TestFramework%2FBaseTestClass.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#diff-dGVzdC9NaWNyb3NvZnQuTUwuVGVzdEZyYW1ld29yay9CYXNlVGVzdENsYXNzLmNz) | `88.05% <ø> (-0.18%)` | :arrow_down: | | ... and [2 more](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | | ... and [19 files with indirect coverage changes](https://app.codecov.io/gh/dotnet/machinelearning/pull/7319/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet)

🚨 Try these New Features: