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.12 succeeded Jul 9, 2025 in 1s

266 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
reports/py3.12_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111526.xml 12✅ 5s
reports/py3.12_conda/TEST-tests.test_core.KhiopsCoreServicesTests-20250709111526.xml 12✅ 127ms
reports/py3.12_conda/TEST-tests.test_core.KhiopsCoreVariousTests-20250709111526.xml 5✅ 49ms
reports/py3.12_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111526.xml 1✅ 8ms
reports/py3.12_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111526.xml 8✅ 141ms
reports/py3.12_conda/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111526.xml 39✅ 102ms
reports/py3.12_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111526.xml 6✅ 78s
reports/py3.12_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111526.xml 5✅ 36ms
reports/py3.12_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111526.xml 1✅ 2ms
reports/py3.12_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111526.xml 1✅ 4s
reports/py3.12_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111526.xml 4✅ 23ms
reports/py3.12_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111526.xml 8✅ 202s
reports/py3.12_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111526.xml 2✅ 892ms
reports/py3.12_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111526.xml 2✅ 27s
reports/py3.12_conda/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111526.xml 2✅ 2s
reports/py3.12_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111526.xml 2✅ 744s
reports/py3.12_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111526.xml 2✅ 53s
reports/py3.12_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111526.xml 1✅ 247s
reports/py3.12_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111526.xml 18✅ 13s
reports/py3.12_conda/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709111526.xml 2✅ 832ms
reports/py3.12/TEST-tests.test_core.KhiopsCoreIOTests-20250709105201.xml 12✅ 5s
reports/py3.12/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105201.xml 12✅ 130ms
reports/py3.12/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105201.xml 5✅ 49ms
reports/py3.12/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105201.xml 1✅ 8ms
reports/py3.12/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105201.xml 8✅ 140ms
reports/py3.12/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105201.xml 39✅ 101ms
reports/py3.12/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105201.xml 6✅ 79s
reports/py3.12/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105201.xml 5✅ 37ms
reports/py3.12/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105201.xml 1✅ 2ms
reports/py3.12/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105201.xml 1✅ 4s
reports/py3.12/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105201.xml 4✅ 24ms
reports/py3.12/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105201.xml 8✅ 206s
reports/py3.12/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105201.xml 2✅ 894ms
reports/py3.12/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105201.xml 2✅ 26s
reports/py3.12/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105201.xml 2✅ 2s
reports/py3.12/TEST-tests.test_samples.KhiopsSamplesTests-20250709105201.xml 2✅ 739s
reports/py3.12/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105201.xml 2✅ 53s
reports/py3.12/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105201.xml 1✅ 245s
reports/py3.12/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105201.xml 18✅ 13s
reports/py3.12/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105201.xml 2✅ 811ms

✅ reports/py3.12_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreIOTests-20250709111526 12✅ 5s

✅ tests.test_core.KhiopsCoreIOTests-20250709111526

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.12_conda/TEST-tests.test_core.KhiopsCoreServicesTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709111526 12✅ 127ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709111526

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.12_conda/TEST-tests.test_core.KhiopsCoreVariousTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709111526 5✅ 49ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709111526

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.12_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DataFramePreprocessingTests-20250709111526 1✅ 8ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709111526

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.12_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111526 8✅ 141ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111526

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.12_conda/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111526 39✅ 102ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111526

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.12_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_estimator_attributes.EstimatorAttributesTests-20250709111526 6✅ 78s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709111526

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.12_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_helper_functions.KhiopsHelperFunctions-20250709111526 5✅ 36ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709111526

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.12_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111526.xml

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

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

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111526

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

✅ reports/py3.12_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111526 1✅ 4s

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111526

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.12_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111526 4✅ 23ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111526

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.12_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111526.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-20250709111526 8✅ 202s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111526

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.12_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111526.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-20250709111526 2✅ 892ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709111526

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.12_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111526 2✅ 27s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111526

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.12_conda/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111526.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-20250709111526 2✅ 2s

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111526

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.12_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709111526 2✅ 744s

✅ tests.test_samples.KhiopsSamplesTests-20250709111526

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

✅ reports/py3.12_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111526.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-20250709111526 2✅ 53s

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111526

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.12_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111526 1✅ 247s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111526

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.12_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111526 18✅ 13s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111526

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.12_conda/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709111526.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709111526 2✅ 832ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709111526

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit

✅ reports/py3.12/TEST-tests.test_core.KhiopsCoreIOTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreIOTests-20250709105201 12✅ 5s

✅ tests.test_core.KhiopsCoreIOTests-20250709105201

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.12/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709105201 12✅ 130ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709105201

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.12/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709105201 5✅ 49ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709105201

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.12/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DataFramePreprocessingTests-20250709105201 1✅ 8ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709105201

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.12/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105201 8✅ 140ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105201

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.12/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105201 39✅ 101ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105201

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.12/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_estimator_attributes.EstimatorAttributesTests-20250709105201 6✅ 79s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709105201

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.12/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_helper_functions.KhiopsHelperFunctions-20250709105201 5✅ 37ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709105201

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.12/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105201.xml

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

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

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105201

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

✅ reports/py3.12/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105201 1✅ 4s

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105201

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.12/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105201 4✅ 24ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105201

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.12/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105201 8✅ 206s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105201

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.12/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsDockerRunnerTests-20250709105201 2✅ 894ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709105201

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.12/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105201 2✅ 26s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105201

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.12/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105201.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-20250709105201 2✅ 2s

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105201

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.12/TEST-tests.test_samples.KhiopsSamplesTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709105201 2✅ 739s

✅ tests.test_samples.KhiopsSamplesTests-20250709105201

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

✅ reports/py3.12/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105201.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-20250709105201 2✅ 53s

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105201

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.12/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105201 1✅ 245s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105201

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.12/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105201 18✅ 13s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105201

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.12/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105201.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709105201 2✅ 811ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709105201

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit