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

266 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
reports/py3.9_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111544.xml 12✅ 3s
reports/py3.9_conda/TEST-tests.test_core.KhiopsCoreServicesTests-20250709111544.xml 12✅ 193ms
reports/py3.9_conda/TEST-tests.test_core.KhiopsCoreVariousTests-20250709111544.xml 5✅ 41ms
reports/py3.9_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111544.xml 1✅ 8ms
reports/py3.9_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111544.xml 8✅ 130ms
reports/py3.9_conda/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111544.xml 39✅ 120ms
reports/py3.9_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111544.xml 6✅ 78s
reports/py3.9_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111544.xml 5✅ 41ms
reports/py3.9_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111544.xml 1✅ 1ms
reports/py3.9_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111544.xml 1✅ 5s
reports/py3.9_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111544.xml 4✅ 62ms
reports/py3.9_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111544.xml 8✅ 206s
reports/py3.9_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111544.xml 2✅ 895ms
reports/py3.9_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111544.xml 2✅ 19s
reports/py3.9_conda/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111544.xml 2✅ 2s
reports/py3.9_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111544.xml 2✅ 742s
reports/py3.9_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111544.xml 2✅ 55s
reports/py3.9_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111544.xml 1✅ 255s
reports/py3.9_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111544.xml 18✅ 13s
reports/py3.9_conda/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709111544.xml 2✅ 838ms
reports/py3.9/TEST-tests.test_core.KhiopsCoreIOTests-20250709105153.xml 12✅ 3s
reports/py3.9/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105153.xml 12✅ 194ms
reports/py3.9/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105153.xml 5✅ 44ms
reports/py3.9/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105153.xml 1✅ 9ms
reports/py3.9/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105153.xml 8✅ 135ms
reports/py3.9/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105153.xml 39✅ 138ms
reports/py3.9/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105153.xml 6✅ 80s
reports/py3.9/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105153.xml 5✅ 42ms
reports/py3.9/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105153.xml 1✅ 1ms
reports/py3.9/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105153.xml 1✅ 5s
reports/py3.9/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105153.xml 4✅ 62ms
reports/py3.9/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105153.xml 8✅ 210s
reports/py3.9/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105153.xml 2✅ 904ms
reports/py3.9/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105153.xml 2✅ 18s
reports/py3.9/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105153.xml 2✅ 2s
reports/py3.9/TEST-tests.test_samples.KhiopsSamplesTests-20250709105153.xml 2✅ 760s
reports/py3.9/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105153.xml 2✅ 55s
reports/py3.9/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105153.xml 1✅ 256s
reports/py3.9/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105153.xml 18✅ 13s
reports/py3.9/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105153.xml 2✅ 840ms

✅ reports/py3.9_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111544.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-20250709111544 12✅ 3s

✅ tests.test_core.KhiopsCoreIOTests-20250709111544

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

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709111544 12✅ 193ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709111544

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

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709111544 5✅ 41ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709111544

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.9_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111544.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-20250709111544 1✅ 8ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709111544

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.9_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111544 8✅ 130ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111544

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

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

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111544 39✅ 120ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111544

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.9_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111544.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-20250709111544 6✅ 78s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709111544

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

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

Test suite Passed Failed Skipped Time
tests.test_helper_functions.KhiopsHelperFunctions-20250709111544 5✅ 41ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709111544

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.9_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111544.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-20250709111544 1✅ 1ms

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111544

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

✅ reports/py3.9_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111544.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-20250709111544 1✅ 5s

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111544

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.9_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111544 4✅ 62ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111544

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.9_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111544.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-20250709111544 8✅ 206s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111544

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.9_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsDockerRunnerTests-20250709111544 2✅ 895ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709111544

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.9_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111544 2✅ 19s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111544

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

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

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111544

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.9_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709111544 2✅ 742s

✅ tests.test_samples.KhiopsSamplesTests-20250709111544

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

✅ reports/py3.9_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111544 2✅ 55s

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111544

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.9_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111544.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111544 1✅ 255s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111544

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.9_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111544.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-20250709111544 18✅ 13s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111544

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

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709111544 2✅ 838ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709111544

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit

✅ reports/py3.9/TEST-tests.test_core.KhiopsCoreIOTests-20250709105153.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-20250709105153 12✅ 3s

✅ tests.test_core.KhiopsCoreIOTests-20250709105153

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.9/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709105153 12✅ 194ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709105153

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.9/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709105153 5✅ 44ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709105153

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.9/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DataFramePreprocessingTests-20250709105153 1✅ 9ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709105153

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.9/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105153 8✅ 135ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105153

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.9/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105153 39✅ 138ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105153

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.9/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105153.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-20250709105153 6✅ 80s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709105153

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.9/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_helper_functions.KhiopsHelperFunctions-20250709105153 5✅ 42ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709105153

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.9/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105153.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-20250709105153 1✅ 1ms

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105153

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

✅ reports/py3.9/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105153.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-20250709105153 1✅ 5s

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105153

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.9/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105153 4✅ 62ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105153

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.9/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105153 8✅ 210s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105153

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.9/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsDockerRunnerTests-20250709105153 2✅ 904ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709105153

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.9/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105153 2✅ 18s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105153

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

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

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105153

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.9/TEST-tests.test_samples.KhiopsSamplesTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709105153 2✅ 760s

✅ tests.test_samples.KhiopsSamplesTests-20250709105153

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

✅ reports/py3.9/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105153 2✅ 55s

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105153

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.9/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105153 1✅ 256s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105153

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.9/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105153.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-20250709105153 18✅ 13s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105153

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.9/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709105153 2✅ 840ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709105153

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit