NOC-MDP / issue-tracking--polpred_offshore

Public repository for the discussion of issues and improvements for the NOC's Polpred Offshore Web Application
0 stars 0 forks source link

compute stats function not clear about model returned #39

Open thopri opened 4 years ago

thopri commented 4 years ago

Compute stats function allows license id to be part of request payload. This would imply that the model defined in the license id would be the one returned. However compute stats always uses default selection. i.e. first valid result in license list.

Therefore to fix this, compute stats should either reject license id and return error or ideally return the relevant model data.