Skip to content

Preprocess the dataframe X (collection of input features) to remove n…

3675d28
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Preprocess the dataframe X to remove newlines #430

Preprocess the dataframe X (collection of input features) to remove n…
3675d28
Select commit
Loading
Failed to load commit list.
GitHub Actions / Run Tests 3.10 succeeded Jul 9, 2025 in 1s

266 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
reports/py3.10_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111657.xml 12✅ 3s
reports/py3.10_conda/TEST-tests.test_core.KhiopsCoreServicesTests-20250709111657.xml 12✅ 181ms
reports/py3.10_conda/TEST-tests.test_core.KhiopsCoreVariousTests-20250709111657.xml 5✅ 28ms
reports/py3.10_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111657.xml 1✅ 6ms
reports/py3.10_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111657.xml 8✅ 124ms
reports/py3.10_conda/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111657.xml 39✅ 111ms
reports/py3.10_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111657.xml 6✅ 80s
reports/py3.10_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111657.xml 5✅ 35ms
reports/py3.10_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111657.xml 1✅ 1ms
reports/py3.10_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111657.xml 1✅ 5s
reports/py3.10_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111657.xml 4✅ 26ms
reports/py3.10_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111657.xml 8✅ 202s
reports/py3.10_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111657.xml 2✅ 892ms
reports/py3.10_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111657.xml 2✅ 24s
reports/py3.10_conda/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111657.xml 2✅ 2s
reports/py3.10_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111657.xml 2✅ 741s
reports/py3.10_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111657.xml 2✅ 53s
reports/py3.10_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111657.xml 1✅ 246s
reports/py3.10_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111657.xml 18✅ 14s
reports/py3.10_conda/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709111657.xml 2✅ 812ms
reports/py3.10/TEST-tests.test_core.KhiopsCoreIOTests-20250709105204.xml 12✅ 3s
reports/py3.10/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105204.xml 12✅ 179ms
reports/py3.10/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105204.xml 5✅ 29ms
reports/py3.10/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105204.xml 1✅ 6ms
reports/py3.10/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105204.xml 8✅ 127ms
reports/py3.10/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105204.xml 39✅ 111ms
reports/py3.10/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105204.xml 6✅ 80s
reports/py3.10/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105204.xml 5✅ 35ms
reports/py3.10/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105204.xml 1✅ 1ms
reports/py3.10/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105204.xml 1✅ 5s
reports/py3.10/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105204.xml 4✅ 26ms
reports/py3.10/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105204.xml 8✅ 211s
reports/py3.10/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105204.xml 2✅ 917ms
reports/py3.10/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105204.xml 2✅ 28s
reports/py3.10/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105204.xml 2✅ 2s
reports/py3.10/TEST-tests.test_samples.KhiopsSamplesTests-20250709105204.xml 2✅ 813s
reports/py3.10/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105204.xml 2✅ 53s
reports/py3.10/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105204.xml 1✅ 253s
reports/py3.10/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105204.xml 18✅ 14s
reports/py3.10/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105204.xml 2✅ 842ms

✅ reports/py3.10_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111657.xml

12 tests were completed in 3s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreIOTests-20250709111657 12✅ 3s

✅ tests.test_core.KhiopsCoreIOTests-20250709111657

tests.test_core.KhiopsCoreIOTests
  ✅ test_analysis_results
  ✅ test_api_scenario_generation
  ✅ test_binary_dictionary_domain
  ✅ test_coclustering_results
  ✅ test_data_path_deprecation_in_api_method
  ✅ test_dictionary
  ✅ test_runner_version
  ✅ test_std_stream_errors
  ✅ test_std_stream_warnings
  ✅ test_std_streams_files
  ✅ test_system_settings
  ✅ test_unknown_argument_in_api_method

✅ reports/py3.10_conda/TEST-tests.test_core.KhiopsCoreServicesTests-20250709111657.xml

12 tests were completed in 181ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709111657 12✅ 181ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709111657

tests.test_core.KhiopsCoreServicesTests
  ✅ test_analysis_results_accessors
  ✅ test_analysis_results_simple_edge_cases
  ✅ test_analysis_results_simple_initializations
  ✅ test_coclustering_results_accessors
  ✅ test_coclustering_results_simple_edge_cases
  ✅ test_coclustering_results_simple_initializations
  ✅ test_dictionary_accessors
  ✅ test_dictionary_extract_data_paths
  ✅ test_dictionary_get_dictionary_at_data_path
  ✅ test_dictionary_get_dictionary_at_legacy_data_path_deprecation
  ✅ test_dictionary_simple_edge_cases
  ✅ test_dictionary_simple_initializations

✅ reports/py3.10_conda/TEST-tests.test_core.KhiopsCoreVariousTests-20250709111657.xml

5 tests were completed in 28ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709111657 5✅ 28ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709111657

tests.test_core.KhiopsCoreVariousTests
  ✅ test_invalid_templates
  ✅ test_invalid_versions
  ✅ test_raise_exception_on_error_case_without_a_message
  ✅ test_scenario_generation
  ✅ test_version_comparisons

✅ reports/py3.10_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111657.xml

1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DataFramePreprocessingTests-20250709111657 1✅ 6ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709111657

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.10_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111657.xml

8 tests were completed in 124ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111657 8✅ 124ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111657

tests.test_dataset_class.DatasetInputOutputConsistencyTests
  ✅ test_create_khiops_domain
  ✅ test_dataset_is_correctly_built
  ✅ test_out_file_from_dataframe_monotable
  ✅ test_out_file_from_numpy_array_monotable
  ✅ test_out_file_from_sparse_matrix_monotable
  ✅ test_out_file_from_sparse_matrix_monotable_specification
  ✅ test_out_files_from_dataframes_multitable_snowflake
  ✅ test_out_files_from_dataframes_multitable_star

✅ reports/py3.10_conda/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111657.xml

39 tests were completed in 111ms with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111657 39✅ 111ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111657

tests.test_dataset_errors.DatasetSpecErrorsTests
  ✅ test_df_dataset_fails_if_target_column_is_already_in_the_features
  ✅ test_dict_spec_entity_flag_relation_must_be_bool
  ✅ test_dict_spec_format_must_be_tuple
  ✅ test_dict_spec_format_must_have_size_2
  ✅ test_dict_spec_format_tuple_1st_element_must_be_a_single_character
  ✅ test_dict_spec_format_tuple_1st_element_must_be_str
  ✅ test_dict_spec_format_tuple_2nd_element_must_be_bool
  ✅ test_dict_spec_key_column_type_must_be_str_or_int
  ✅ test_dict_spec_key_tables_must_be_mapping
  ✅ test_dict_spec_key_tables_must_be_present
  ✅ test_dict_spec_key_type_must_be_str_or_list_like
  ✅ test_dict_spec_main_table_key_must_be_specified
  ✅ test_dict_spec_main_table_must_be_specified_for_multitable_datasets
  ✅ test_dict_spec_main_table_must_be_str
  ✅ test_dict_spec_main_table_not_declared_in_tables
  ✅ test_dict_spec_relation_cycle
  ✅ test_dict_spec_relation_must_appear_once
  ✅ test_dict_spec_relation_non_hierarchical_key
  ✅ test_dict_spec_relation_table_must_be_in_table_list
  ✅ test_dict_spec_relation_tables_must_not_be_the_same
  ✅ test_dict_spec_relations_must_be_list_like
  ✅ test_dict_spec_relations_must_be_of_size_2_or_3
  ✅ test_dict_spec_relations_must_be_tuple
  ✅ test_dict_spec_secondary_table_key_must_be_specified
  ✅ test_dict_spec_source_table_type_must_be_adequate
  ✅ test_dict_spec_table_input_type_must_be_a_tuple
  ✅ test_dict_spec_table_key_column_type_must_be_str
  ✅ test_dict_spec_table_key_must_be_non_empty_for_multitable_datasets
  ✅ test_dict_spec_table_key_must_be_str_or_sequence
  ✅ test_dict_spec_table_list_cannot_be_empty
  ✅ test_dict_spec_table_name_must_be_str
  ✅ test_dict_spec_table_nameis_empty_string
  ✅ test_dict_spec_table_relation_must_be_str
  ✅ test_dict_spec_y_type_must_be_series_or_df_when_x_is_df_spec
  ✅ test_pandas_table_column_ids_must_all_be_int_or_str
  ✅ test_pandas_table_input_table_must_not_be_empty
  ✅ test_pandas_table_input_type_must_be_dataframe
  ✅ test_x_must_be_df_or_sequence_or_mapping
  ✅ test_y_type_must_be_str_or_array_like_1d

✅ reports/py3.10_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111657.xml

6 tests were completed in 80s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_estimator_attributes.EstimatorAttributesTests-20250709111657 6✅ 80s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709111657

tests.test_estimator_attributes.EstimatorAttributesTests
  ✅ test_classifier_attributes_monotable
  ✅ test_classifier_attributes_multitable
  ✅ test_encoder_attributes_monotable
  ✅ test_encoder_attributes_multitable
  ✅ test_regressor_attributes_monotable
  ✅ test_regressor_attributes_multitable

✅ reports/py3.10_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111657.xml

5 tests were completed in 35ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_helper_functions.KhiopsHelperFunctions-20250709111657 5✅ 35ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709111657

tests.test_helper_functions.KhiopsHelperFunctions
  ✅ test_build_multi_table_dictionary_domain
  ✅ test_train_test_split_dataset_dataframe
  ✅ test_visualize_report_fails_on_file_with_executable_permissions
  ✅ test_visualize_report_fails_on_improper_file_extensions
  ✅ test_visualize_report_fails_on_inexistent_file

✅ reports/py3.10_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111657.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111657 1✅ 1ms

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111657

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

✅ reports/py3.10_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111657.xml

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111657 1✅ 5s

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111657

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.10_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111657.xml

4 tests were completed in 26ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111657 4✅ 26ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111657

tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests
  ✅ test_environment_error_on_bogus_khiops_env_script
  ✅ test_khiops_and_khiops_coclustering_are_run_with_mpi
  ✅ test_runner_environment_initialization
  ✅ test_runner_has_mpiexec_on_linux

✅ reports/py3.10_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111657.xml

8 tests were completed in 202s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111657 8✅ 202s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111657

tests.test_parallel_execution.KhiopsParallelRunningTests
  ✅ test_parallel_classifier_fit
  ✅ test_parallel_classifier_fit_predict
  ✅ test_parallel_coclustering_fit
  ✅ test_parallel_coclustering_fit_predict
  ✅ test_parallel_encoder_fit
  ✅ test_parallel_encoder_fit_predict
  ✅ test_parallel_regressor_fit
  ✅ test_parallel_regressor_fit_predict

✅ reports/py3.10_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111657.xml

2 tests were completed in 892ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsDockerRunnerTests-20250709111657 2✅ 892ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709111657

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.10_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111657.xml

2 tests were completed in 24s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111657 2✅ 24s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111657

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.10_conda/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111657.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111657 2✅ 2s

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111657

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.10_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111657.xml

2 tests were completed in 741s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709111657 2✅ 741s

✅ tests.test_samples.KhiopsSamplesTests-20250709111657

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

✅ reports/py3.10_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111657.xml

2 tests were completed in 53s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111657 2✅ 53s

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111657

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.10_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111657.xml

1 tests were completed in 246s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111657 1✅ 246s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111657

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.10_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111657.xml

18 tests were completed in 14s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111657 18✅ 14s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111657

tests.test_sklearn.KhiopsSklearnParameterPassingTests
  ✅ test_parameter_transfer_classifier_fit_from_monotable_dataframe
  ✅ test_parameter_transfer_classifier_fit_from_monotable_dataframe_with_df_y
  ✅ test_parameter_transfer_classifier_fit_from_multitable_dataframe
  ✅ test_parameter_transfer_classifier_predict_from_monotable_dataframe
  ✅ test_parameter_transfer_classifier_predict_from_multitable_dataframe
  ✅ test_parameter_transfer_coclustering_fit_from_dataframe
  ✅ test_parameter_transfer_coclustering_predict_from_dataframe
  ✅ test_parameter_transfer_coclustering_simplify_from_dataframe
  ✅ test_parameter_transfer_encoder_fit_from_monotable_dataframe
  ✅ test_parameter_transfer_encoder_fit_from_monotable_dataframe_with_df_y
  ✅ test_parameter_transfer_encoder_fit_from_multitable_dataframe
  ✅ test_parameter_transfer_encoder_predict_from_monotable_dataframe
  ✅ test_parameter_transfer_encoder_predict_from_multitable_dataframe
  ✅ test_parameter_transfer_regressor_fit_from_monotable_dataframe
  ✅ test_parameter_transfer_regressor_fit_from_monotable_dataframe_with_df_y
  ✅ test_parameter_transfer_regressor_fit_from_multitable_dataframe
  ✅ test_parameter_transfer_regressor_predict_from_monotable_dataframe
  ✅ test_parameter_transfer_regressor_predict_from_multitable_dataframe

✅ reports/py3.10_conda/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709111657.xml

2 tests were completed in 812ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709111657 2✅ 812ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709111657

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit

✅ reports/py3.10/TEST-tests.test_core.KhiopsCoreIOTests-20250709105204.xml

12 tests were completed in 3s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreIOTests-20250709105204 12✅ 3s

✅ tests.test_core.KhiopsCoreIOTests-20250709105204

tests.test_core.KhiopsCoreIOTests
  ✅ test_analysis_results
  ✅ test_api_scenario_generation
  ✅ test_binary_dictionary_domain
  ✅ test_coclustering_results
  ✅ test_data_path_deprecation_in_api_method
  ✅ test_dictionary
  ✅ test_runner_version
  ✅ test_std_stream_errors
  ✅ test_std_stream_warnings
  ✅ test_std_streams_files
  ✅ test_system_settings
  ✅ test_unknown_argument_in_api_method

✅ reports/py3.10/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105204.xml

12 tests were completed in 179ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709105204 12✅ 179ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709105204

tests.test_core.KhiopsCoreServicesTests
  ✅ test_analysis_results_accessors
  ✅ test_analysis_results_simple_edge_cases
  ✅ test_analysis_results_simple_initializations
  ✅ test_coclustering_results_accessors
  ✅ test_coclustering_results_simple_edge_cases
  ✅ test_coclustering_results_simple_initializations
  ✅ test_dictionary_accessors
  ✅ test_dictionary_extract_data_paths
  ✅ test_dictionary_get_dictionary_at_data_path
  ✅ test_dictionary_get_dictionary_at_legacy_data_path_deprecation
  ✅ test_dictionary_simple_edge_cases
  ✅ test_dictionary_simple_initializations

✅ reports/py3.10/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105204.xml

5 tests were completed in 29ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709105204 5✅ 29ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709105204

tests.test_core.KhiopsCoreVariousTests
  ✅ test_invalid_templates
  ✅ test_invalid_versions
  ✅ test_raise_exception_on_error_case_without_a_message
  ✅ test_scenario_generation
  ✅ test_version_comparisons

✅ reports/py3.10/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105204.xml

1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DataFramePreprocessingTests-20250709105204 1✅ 6ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709105204

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.10/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105204.xml

8 tests were completed in 127ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105204 8✅ 127ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105204

tests.test_dataset_class.DatasetInputOutputConsistencyTests
  ✅ test_create_khiops_domain
  ✅ test_dataset_is_correctly_built
  ✅ test_out_file_from_dataframe_monotable
  ✅ test_out_file_from_numpy_array_monotable
  ✅ test_out_file_from_sparse_matrix_monotable
  ✅ test_out_file_from_sparse_matrix_monotable_specification
  ✅ test_out_files_from_dataframes_multitable_snowflake
  ✅ test_out_files_from_dataframes_multitable_star

✅ reports/py3.10/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105204.xml

39 tests were completed in 111ms with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105204 39✅ 111ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105204

tests.test_dataset_errors.DatasetSpecErrorsTests
  ✅ test_df_dataset_fails_if_target_column_is_already_in_the_features
  ✅ test_dict_spec_entity_flag_relation_must_be_bool
  ✅ test_dict_spec_format_must_be_tuple
  ✅ test_dict_spec_format_must_have_size_2
  ✅ test_dict_spec_format_tuple_1st_element_must_be_a_single_character
  ✅ test_dict_spec_format_tuple_1st_element_must_be_str
  ✅ test_dict_spec_format_tuple_2nd_element_must_be_bool
  ✅ test_dict_spec_key_column_type_must_be_str_or_int
  ✅ test_dict_spec_key_tables_must_be_mapping
  ✅ test_dict_spec_key_tables_must_be_present
  ✅ test_dict_spec_key_type_must_be_str_or_list_like
  ✅ test_dict_spec_main_table_key_must_be_specified
  ✅ test_dict_spec_main_table_must_be_specified_for_multitable_datasets
  ✅ test_dict_spec_main_table_must_be_str
  ✅ test_dict_spec_main_table_not_declared_in_tables
  ✅ test_dict_spec_relation_cycle
  ✅ test_dict_spec_relation_must_appear_once
  ✅ test_dict_spec_relation_non_hierarchical_key
  ✅ test_dict_spec_relation_table_must_be_in_table_list
  ✅ test_dict_spec_relation_tables_must_not_be_the_same
  ✅ test_dict_spec_relations_must_be_list_like
  ✅ test_dict_spec_relations_must_be_of_size_2_or_3
  ✅ test_dict_spec_relations_must_be_tuple
  ✅ test_dict_spec_secondary_table_key_must_be_specified
  ✅ test_dict_spec_source_table_type_must_be_adequate
  ✅ test_dict_spec_table_input_type_must_be_a_tuple
  ✅ test_dict_spec_table_key_column_type_must_be_str
  ✅ test_dict_spec_table_key_must_be_non_empty_for_multitable_datasets
  ✅ test_dict_spec_table_key_must_be_str_or_sequence
  ✅ test_dict_spec_table_list_cannot_be_empty
  ✅ test_dict_spec_table_name_must_be_str
  ✅ test_dict_spec_table_nameis_empty_string
  ✅ test_dict_spec_table_relation_must_be_str
  ✅ test_dict_spec_y_type_must_be_series_or_df_when_x_is_df_spec
  ✅ test_pandas_table_column_ids_must_all_be_int_or_str
  ✅ test_pandas_table_input_table_must_not_be_empty
  ✅ test_pandas_table_input_type_must_be_dataframe
  ✅ test_x_must_be_df_or_sequence_or_mapping
  ✅ test_y_type_must_be_str_or_array_like_1d

✅ reports/py3.10/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105204.xml

6 tests were completed in 80s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_estimator_attributes.EstimatorAttributesTests-20250709105204 6✅ 80s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709105204

tests.test_estimator_attributes.EstimatorAttributesTests
  ✅ test_classifier_attributes_monotable
  ✅ test_classifier_attributes_multitable
  ✅ test_encoder_attributes_monotable
  ✅ test_encoder_attributes_multitable
  ✅ test_regressor_attributes_monotable
  ✅ test_regressor_attributes_multitable

✅ reports/py3.10/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105204.xml

5 tests were completed in 35ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_helper_functions.KhiopsHelperFunctions-20250709105204 5✅ 35ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709105204

tests.test_helper_functions.KhiopsHelperFunctions
  ✅ test_build_multi_table_dictionary_domain
  ✅ test_train_test_split_dataset_dataframe
  ✅ test_visualize_report_fails_on_file_with_executable_permissions
  ✅ test_visualize_report_fails_on_improper_file_extensions
  ✅ test_visualize_report_fails_on_inexistent_file

✅ reports/py3.10/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105204.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105204 1✅ 1ms

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105204

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

✅ reports/py3.10/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105204.xml

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105204 1✅ 5s

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105204

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.10/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105204.xml

4 tests were completed in 26ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105204 4✅ 26ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105204

tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests
  ✅ test_environment_error_on_bogus_khiops_env_script
  ✅ test_khiops_and_khiops_coclustering_are_run_with_mpi
  ✅ test_runner_environment_initialization
  ✅ test_runner_has_mpiexec_on_linux

✅ reports/py3.10/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105204.xml

8 tests were completed in 211s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105204 8✅ 211s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105204

tests.test_parallel_execution.KhiopsParallelRunningTests
  ✅ test_parallel_classifier_fit
  ✅ test_parallel_classifier_fit_predict
  ✅ test_parallel_coclustering_fit
  ✅ test_parallel_coclustering_fit_predict
  ✅ test_parallel_encoder_fit
  ✅ test_parallel_encoder_fit_predict
  ✅ test_parallel_regressor_fit
  ✅ test_parallel_regressor_fit_predict

✅ reports/py3.10/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105204.xml

2 tests were completed in 917ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsDockerRunnerTests-20250709105204 2✅ 917ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709105204

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.10/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105204.xml

2 tests were completed in 28s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105204 2✅ 28s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105204

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.10/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105204.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105204 2✅ 2s

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105204

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.10/TEST-tests.test_samples.KhiopsSamplesTests-20250709105204.xml

2 tests were completed in 813s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709105204 2✅ 813s

✅ tests.test_samples.KhiopsSamplesTests-20250709105204

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

✅ reports/py3.10/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105204.xml

2 tests were completed in 53s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105204 2✅ 53s

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105204

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.10/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105204.xml

1 tests were completed in 253s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105204 1✅ 253s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105204

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.10/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105204.xml

18 tests were completed in 14s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105204 18✅ 14s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105204

tests.test_sklearn.KhiopsSklearnParameterPassingTests
  ✅ test_parameter_transfer_classifier_fit_from_monotable_dataframe
  ✅ test_parameter_transfer_classifier_fit_from_monotable_dataframe_with_df_y
  ✅ test_parameter_transfer_classifier_fit_from_multitable_dataframe
  ✅ test_parameter_transfer_classifier_predict_from_monotable_dataframe
  ✅ test_parameter_transfer_classifier_predict_from_multitable_dataframe
  ✅ test_parameter_transfer_coclustering_fit_from_dataframe
  ✅ test_parameter_transfer_coclustering_predict_from_dataframe
  ✅ test_parameter_transfer_coclustering_simplify_from_dataframe
  ✅ test_parameter_transfer_encoder_fit_from_monotable_dataframe
  ✅ test_parameter_transfer_encoder_fit_from_monotable_dataframe_with_df_y
  ✅ test_parameter_transfer_encoder_fit_from_multitable_dataframe
  ✅ test_parameter_transfer_encoder_predict_from_monotable_dataframe
  ✅ test_parameter_transfer_encoder_predict_from_multitable_dataframe
  ✅ test_parameter_transfer_regressor_fit_from_monotable_dataframe
  ✅ test_parameter_transfer_regressor_fit_from_monotable_dataframe_with_df_y
  ✅ test_parameter_transfer_regressor_fit_from_multitable_dataframe
  ✅ test_parameter_transfer_regressor_predict_from_monotable_dataframe
  ✅ test_parameter_transfer_regressor_predict_from_multitable_dataframe

✅ reports/py3.10/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105204.xml

2 tests were completed in 842ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709105204 2✅ 842ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709105204

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit