Class EvalCreateParams.TestingCriterion.Python
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.PythonA PythonGrader object that runs a python script on the input. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classEvalCreateParams.TestingCriterion.Python.BuilderA builder for Python. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final PythonGradertoPythonGrader()final Stringname()The name of the grader. final Stringsource()The source code of the python script. final JsonValue_type()The object type, which is always python.final Optional<String>imageTag()The image tag to use for the python script. final Optional<Double>passThreshold()The threshold for the score. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_source()Returns the raw JSON value of source. final JsonField<String>_imageTag()Returns the raw JSON value of imageTag. final JsonField<Double>_passThreshold()Returns the raw JSON value of passThreshold. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.TestingCriterion.Python.BuildertoBuilder()final EvalCreateParams.TestingCriterion.Pythonvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.TestingCriterion.Python.Builderbuilder()Returns a mutable builder for constructing an instance of Python. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        toPythonGraderfinal PythonGrader toPythonGrader() 
 - 
                                        _typefinal JsonValue _type() The object type, which is always python.Expected to always return the following: JsonValue.from("python")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        passThresholdfinal Optional<Double> passThreshold() The threshold for the score. 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sourcefinal JsonField<String> _source() Returns the raw JSON value of source. Unlike source, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _imageTagfinal JsonField<String> _imageTag() Returns the raw JSON value of imageTag. Unlike imageTag, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _passThresholdfinal JsonField<Double> _passThreshold() Returns the raw JSON value of passThreshold. Unlike passThreshold, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal EvalCreateParams.TestingCriterion.Python.Builder toBuilder() 
 - 
                                        validatefinal EvalCreateParams.TestingCriterion.Python validate() 
 - 
                                        builderfinal static EvalCreateParams.TestingCriterion.Python.Builder builder() Returns a mutable builder for constructing an instance of Python. The following fields are required: .name() .source()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-