Skip to content

Conversation

@antoniovs1029
Copy link
Contributor

@antoniovs1029 antoniovs1029 commented May 27, 2020

The codegen-out.cs file was supposed to be used as baseline for some test:

https://github.com/dotnet/machinelearning/blob/e2f7075782764c9dab8f0a04013aaf8b9921d984/test/BaselineOutput/Common/Command/codegen-out.cs

The file was introduced in #1654 along with a CommandCodeGen() test which used the baseline to test the MAML codegen command. That test, along with the CodeGenerationUtils class (which I guess was only used by the codegen command) was deleted in #1848, but the baseline was left... so I'm assuming this was an error, and I'm simply deleting the baseline file in this PR.

There is also another test, CheckFastTreeParallelInterface(), which declares var csOutPath = DeleteOutputPath(outRoot, "codegen-out.cs"); but actually never uses the csOutPath variable. Also, the test is disabled for some reason that seems unrelated to the codegen command. So I'm simply removing that variable. As I guess it wasn't meant to use the baseline I'm deleting anyway (notice that the baseline got introduced in #1654 as I've mentioned, but the CheckFastTreeParallelInterface was introduced in the first commit of the ML.NET repo, and it already had the unused variable).

@antoniovs1029 antoniovs1029 requested a review from a team as a code owner May 27, 2020 19:36
Copy link
Contributor

@harishsk harishsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codecov
Copy link

codecov bot commented May 27, 2020

Codecov Report

Merging #5172 into master will increase coverage by 13.11%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #5172       +/-   ##
===========================================
+ Coverage   75.81%   88.92%   +13.11%     
===========================================
  Files         993      237      -756     
  Lines      181068    43057   -138011     
  Branches    19494     2266    -17228     
===========================================
- Hits       137271    38289    -98982     
+ Misses      38507     4450    -34057     
+ Partials     5290      318     -4972     
Flag Coverage Δ
#Debug 88.92% <ø> (+13.11%) ⬆️
#production ?
#test 88.92% <ø> (+<0.01%) ⬆️
Impacted Files Coverage Δ
...L.Predictor.Tests/TestParallelFasttreeInterface.cs 0.00% <ø> (ø)
...enerator/CodeGenerator/CSharp/CSharpProjectFile.cs
....AutoML/EstimatorExtensions/EstimatorExtensions.cs
.../Microsoft.ML.TimeSeries/SlidingWindowTransform.cs
...ft.ML.Data/Evaluators/BinaryClassifierEvaluator.cs
...crosoft.ML.Ensemble/OutputCombiners/MultiMedian.cs
...Selector/SubModelSelector/AllSelectorMulticlass.cs
.../Microsoft.ML.Transforms/Expression/TokenCursor.cs
src/Microsoft.ML.AutoML/API/ColumnInference.cs
src/Microsoft.ML.Data/Scorers/GenericScorer.cs
... and 747 more

@harishsk harishsk merged commit 85f8eaa into dotnet:master May 27, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants