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

266 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
reports/py3.11_conda/TEST-tests.test_core.KhiopsCoreIOTests-20250709111507.xml 12✅ 3s
reports/py3.11_conda/TEST-tests.test_core.KhiopsCoreServicesTests-20250709111507.xml 12✅ 170ms
reports/py3.11_conda/TEST-tests.test_core.KhiopsCoreVariousTests-20250709111507.xml 5✅ 25ms
reports/py3.11_conda/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709111507.xml 1✅ 7ms
reports/py3.11_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111507.xml 8✅ 125ms
reports/py3.11_conda/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111507.xml 39✅ 109ms
reports/py3.11_conda/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709111507.xml 6✅ 83s
reports/py3.11_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111507.xml 5✅ 36ms
reports/py3.11_conda/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111507.xml 1✅ 1ms
reports/py3.11_conda/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111507.xml 1✅ 5s
reports/py3.11_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111507.xml 4✅ 25ms
reports/py3.11_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111507.xml 8✅ 201s
reports/py3.11_conda/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709111507.xml 2✅ 886ms
reports/py3.11_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111507.xml 2✅ 17s
reports/py3.11_conda/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111507.xml 2✅ 2s
reports/py3.11_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111507.xml 2✅ 738s
reports/py3.11_conda/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111507.xml 2✅ 53s
reports/py3.11_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111507.xml 1✅ 244s
reports/py3.11_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111507.xml 18✅ 16s
reports/py3.11_conda/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709111507.xml 2✅ 806ms
reports/py3.11/TEST-tests.test_core.KhiopsCoreIOTests-20250709105153.xml 12✅ 3s
reports/py3.11/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105153.xml 12✅ 172ms
reports/py3.11/TEST-tests.test_core.KhiopsCoreVariousTests-20250709105153.xml 5✅ 26ms
reports/py3.11/TEST-tests.test_dataset_class.DataFramePreprocessingTests-20250709105153.xml 1✅ 7ms
reports/py3.11/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709105153.xml 8✅ 126ms
reports/py3.11/TEST-tests.test_dataset_errors.DatasetSpecErrorsTests-20250709105153.xml 39✅ 108ms
reports/py3.11/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105153.xml 6✅ 82s
reports/py3.11/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105153.xml 5✅ 36ms
reports/py3.11/TEST-tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709105153.xml 1✅ 1ms
reports/py3.11/TEST-tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709105153.xml 1✅ 5s
reports/py3.11/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105153.xml 4✅ 25ms
reports/py3.11/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709105153.xml 8✅ 201s
reports/py3.11/TEST-tests.test_remote_access.KhiopsDockerRunnerTests-20250709105153.xml 2✅ 888ms
reports/py3.11/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105153.xml 2✅ 17s
reports/py3.11/TEST-tests.test_remote_access.KhiopsS3RemoteFileTests-20250709105153.xml 2✅ 2s
reports/py3.11/TEST-tests.test_samples.KhiopsSamplesTests-20250709105153.xml 2✅ 747s
reports/py3.11/TEST-tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105153.xml 2✅ 53s
reports/py3.11/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105153.xml 1✅ 243s
reports/py3.11/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105153.xml 18✅ 16s
reports/py3.11/TEST-tests.test_sklearn.KhiopsSklearnVariousTests-20250709105153.xml 2✅ 804ms

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

✅ tests.test_core.KhiopsCoreIOTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreServicesTests-20250709111507 12✅ 170ms

✅ tests.test_core.KhiopsCoreServicesTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_core.KhiopsCoreVariousTests-20250709111507 5✅ 25ms

✅ tests.test_core.KhiopsCoreVariousTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DataFramePreprocessingTests-20250709111507 1✅ 7ms

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709111507

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

✅ reports/py3.11_conda/TEST-tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111507 8✅ 125ms

✅ tests.test_dataset_class.DatasetInputOutputConsistencyTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111507 39✅ 109ms

✅ tests.test_dataset_errors.DatasetSpecErrorsTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_estimator_attributes.EstimatorAttributesTests-20250709111507 6✅ 83s

✅ tests.test_estimator_attributes.EstimatorAttributesTests-20250709111507

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.11_conda/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709111507.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-20250709111507 5✅ 36ms

✅ tests.test_helper_functions.KhiopsHelperFunctions-20250709111507

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

✅ tests.test_khiops_integrations.DockerKhiopsEdgeCases-20250709111507

tests.test_khiops_integrations.DockerKhiopsEdgeCases
  ✅ test_shared_dir_edge_cases

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

✅ tests.test_khiops_integrations.KhiopsMultitableFitTests-20250709111507

tests.test_khiops_integrations.KhiopsMultitableFitTests
  ✅ test_estimator_multiple_create_and_fit_does_not_raise_exception

✅ reports/py3.11_conda/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111507 4✅ 25ms

✅ tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709111507

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.11_conda/TEST-tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111507 8✅ 201s

✅ tests.test_parallel_execution.KhiopsParallelRunningTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsDockerRunnerTests-20250709111507 2✅ 886ms

✅ tests.test_remote_access.KhiopsDockerRunnerTests-20250709111507

tests.test_remote_access.KhiopsDockerRunnerTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.11_conda/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111507 2✅ 17s

✅ tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709111507

tests.test_remote_access.KhiopsGCSRemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

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

✅ tests.test_remote_access.KhiopsS3RemoteFileTests-20250709111507

tests.test_remote_access.KhiopsS3RemoteFileTests
  ✅ test_train_predictor_fail_and_log_with_remote_access
  ✅ test_train_predictor_with_remote_access

✅ reports/py3.11_conda/TEST-tests.test_samples.KhiopsSamplesTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_samples.KhiopsSamplesTests-20250709111507 2✅ 738s

✅ tests.test_samples.KhiopsSamplesTests-20250709111507

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

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

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709111507

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

✅ reports/py3.11_conda/TEST-tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111507 1✅ 244s

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709111507

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.11_conda/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111507.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111507 18✅ 16s

✅ tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709111507

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

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnVariousTests-20250709111507 2✅ 806ms

✅ tests.test_sklearn.KhiopsSklearnVariousTests-20250709111507

tests.test_sklearn.KhiopsSklearnVariousTests
  ✅ test_export_operations_raise_when_not_fitted
  ✅ test_khiops_encoder_no_output_variables_implies_not_fit

✅ reports/py3.11/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.11/TEST-tests.test_core.KhiopsCoreServicesTests-20250709105153.xml

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

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

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

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

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

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

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

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

✅ tests.test_dataset_class.DataFramePreprocessingTests-20250709105153

tests.test_dataset_class.DataFramePreprocessingTests
  ✅ test_newlines_removed_from_csv_file_for_khiops

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

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

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

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

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

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

✅ 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.11/TEST-tests.test_estimator_attributes.EstimatorAttributesTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_estimator_attributes.EstimatorAttributesTests-20250709105153 6✅ 82s

✅ 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.11/TEST-tests.test_helper_functions.KhiopsHelperFunctions-20250709105153.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-20250709105153 5✅ 36ms

✅ 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.11/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.11/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.11/TEST-tests.test_khiops_integrations.KhiopsRunnerEnvironmentTests-20250709105153.xml

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

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

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

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

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

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

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

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

✅ 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.11/TEST-tests.test_remote_access.KhiopsGCSRemoteFileTests-20250709105153.xml

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

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

✅ 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.11/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.11/TEST-tests.test_samples.KhiopsSamplesTests-20250709105153.xml

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

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

✅ tests.test_samples.KhiopsSamplesTests-20250709105153

tests.test_samples.KhiopsSamplesTests
  ✅ test_samples
  ✅ test_samples_sklearn

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

✅ tests.test_sklearn_output_types.KhiopsSklearnOutputTypes-20250709105153

tests.test_sklearn_output_types.KhiopsSklearnOutputTypes
  ✅ test_classifier_output_types
  ✅ test_regression_output_types

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

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

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

✅ tests.test_sklearn.KhiopsSklearnEstimatorStandardTests-20250709105153

tests.test_sklearn.KhiopsSklearnEstimatorStandardTests
  ✅ test_sklearn_check_estimator

✅ reports/py3.11/TEST-tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105153.xml

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

Test suite Passed Failed Skipped Time
tests.test_sklearn.KhiopsSklearnParameterPassingTests-20250709105153 18✅ 16s

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

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

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

✅ 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