├── .coveragerc ├── .github ├── copilot.yaml ├── gh_requirements.txt ├── gitleaks-rules.toml └── workflows │ ├── common_linter.yml │ ├── common_run_tests.yml │ ├── coverage_tests.yml │ ├── fast_tests.yml │ ├── gitleaks.yml │ ├── linter.yml │ ├── slow_tests.yml │ └── superslow_tests.yml ├── .gitleaksignore ├── .isort.cfg ├── .pre-commit-config.yaml ├── .semgrepignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── __init__.py ├── changelog.txt ├── config_root ├── __init__.py └── config │ ├── __init__.py │ ├── config_.py │ ├── config_builder.py │ ├── config_example.txt │ ├── config_list.py │ ├── config_list_builder.py │ ├── config_utils.py │ ├── notebooks │ ├── gallery_Google_ConfigDict.ipynb │ ├── gallery_Google_ConfigDict.py │ ├── gallery_core_Config.ipynb │ └── gallery_core_Config.py │ └── test │ ├── __init__.py │ ├── outcomes │ ├── TestGetConfigsFromBuilder1.test1 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_varying_tiled_periods1.test_1tile_1 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_varying_tiled_periods1.test_1tile_2 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_varying_tiled_periods1.test_1tile_3 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_varying_tiled_periods1.test_2tiles_1 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_varying_tiled_periods1.test_2tiles_2 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_varying_tiled_periods1.test_3tiles_1 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_with_tiled_universe.test1 │ │ └── output │ │ │ └── test.txt │ ├── Test_build_config_list_with_tiled_universe_and_periods.test1 │ │ └── output │ │ │ └── test.txt │ ├── Test_nested_config_set_execute_stmt1.test_check_string_repr1 │ │ └── output │ │ │ └── test.txt │ ├── Test_nested_config_set_execute_stmt1.test_check_string_str1 │ │ └── output │ │ │ └── test.txt │ ├── Test_nested_config_set_step_through1.test_check_string_repr1 │ │ └── output │ │ │ └── test.txt │ ├── Test_nested_config_set_step_through1.test_check_string_str1 │ │ └── output │ │ │ └── test.txt │ └── Test_validate_configs1.test_check_same_configs_error │ │ └── output │ │ └── test.txt │ ├── test_config.py │ ├── test_config_builder.py │ ├── test_config_list_builder.py │ └── test_config_utils.py ├── conftest.py ├── dev_scripts_helpers ├── __init__.py ├── aws │ ├── AWS_dashboard.ipynb │ ├── AWS_dashboard.py │ ├── __init__.py │ ├── am_aws.py │ ├── get_inst_ip.sh │ └── get_inst_status.sh ├── chatgpt │ ├── __init__.py │ ├── example_data │ │ ├── corrupted_dropcontact.how_to_guide.md │ │ └── gpt_linted_dropcontact.how_to_guide.md │ ├── manage_chatgpt_assistant.py │ ├── run_chatgpt.py │ └── run_simple_chatgpt.py ├── cleanup_scripts │ ├── AmpTask1786_Integrate_20220902.sh │ ├── AmpTask1786_Integrate_20220916.sh │ ├── CMTask1072_Rename_files_and_methods_MarketData_ImClient.sh │ ├── CMTask2573_Move_get_config_from_nested_dict_to_Config.sh │ ├── CMTask2669_Rename_initial_replayed_delay.sh │ ├── CMTask2669_Rename_initial_replayed_dt.sh │ ├── CMTask2669_Rename_real_time_loop_time_out_in_secs.sh │ ├── CMTask2669_Rename_sleep_interval_in_secs.sh │ ├── CMTask2692_Refactor_system_test_case.sh │ ├── CMTask2739_Introduce_NonTime_ForecastSystem_20220908.sh │ ├── CMTask2746_Move_every_test_case_20220905.sh │ ├── CMTask2829_Rename_functions_to_use_object_names_20220916.sh │ ├── CMTask3336_rename_SimulatedBroker.sh │ ├── CMTask3514_rename_predictions.20230124.sh │ ├── CMTask3514_revert_rename_prediction_column.20230116.sh │ ├── CmTask10820_Use_C3a_and_C8_from_dataflow_lemonade.sh │ ├── CmTask1206_Move_core_pandas_to_helpers_hpandas_for_s3_usage.sh │ ├── CmTask1292_Rename_old_aws_env_vars.py │ ├── CmTask1292_Rename_old_aws_env_vars.sh │ ├── CmTask1590_Clean_up_type_hints_for_args_and_kwargs.sh │ ├── CmTask3122_handle_infs_in_compare_visually_dataframes_20221103.sh │ ├── CmTask3470_Rename_prediction_column_for_C1b_20230103.sh │ ├── CmTask4090_Add_a_reader_for_TWAP_fills.20230327.sh │ ├── CmTask5157_update_imports_for_prod_system.sh │ ├── CmTask531_Move_test_golden_outcomes_out_of_the_way.sh │ ├── CmTask5743_Replace_the_aliases_of_builtin_types_to_Python_native_data_types_20231023.sh │ ├── CmTask5767_replace_pandas_is_monotonic_20231016.sh │ ├── CmTask6985_Rename_save_node_stats_to_save_node_df_out_stats.sh │ ├── CmTask972_Merge_dataframe_to_str_and_df_to_short_str_into_hpandas.py │ ├── CmTask972_Merge_dataframe_to_str_and_df_to_short_str_into_hpandas.sh │ ├── CmTask974_Move_dataframe_to_str_and_df_to_short_str_to_hpandas.sh │ ├── CmampTask4662_Promote_pandas_version_5_replace_series.sh │ ├── CmampTask5970_Use_the_volatility_price_computer_as_default_1.sh │ ├── Cmtask3554_Rename_run_tiled_backtest.202230111.sh │ ├── HelpersTask135_Rename_IS_SUPER_REPO_var.sh │ ├── HelpersTask88_Improve_repo_config.sh │ ├── LimeTask506_Get_E8f_in_prod.sh │ ├── SorrTask188_Move_Code_Style_doc_to_md.sh │ ├── SorrTask258_Replace_pytest_raises_with_self_assertraises.sh │ ├── SorrTask259_Make_to_multi_line_cmd_public.sh │ ├── SorrTask298_rename_get_docker_cmd_to_get_docker_run_cmd.sh │ ├── SorrTask542_convert_to_multiindex.sh │ ├── SorrTask584_Use_str_to_timestamp_instead_of_timestamp_as_str_to_timestamp.sh │ ├── SorrTask736_Replace_TOC_markers_in_MD_files.sh │ ├── __init__.py │ ├── rename_ModelBuilder.sh │ └── rename_bm_config.sh ├── coding_tools │ ├── __init__.py │ ├── clean_up_text_files.sh │ ├── code_stats.sh │ ├── compile_all.py │ ├── create_class_diagram.sh │ ├── ctags.sh │ ├── develop │ │ └── call_graph.sh │ ├── diff_to_vimdiff.py │ ├── find_unused_golden_files.py │ ├── grsync.py │ ├── invite_github_collaborator.py │ ├── manage_cache.py │ ├── measure_import_times.py │ ├── parallel_script_template.py │ ├── process_prof.py │ ├── remove_jupyter_metadata.sh │ ├── run_profiling.sh │ ├── script_template.py │ ├── toml_merge.py │ ├── traceback_to_cfile.py │ ├── transform_template.py │ └── url.py ├── cvxpy_setup │ ├── build.sh │ ├── requirements.txt │ └── setenv.sh ├── docker │ ├── docker_clean_all.sh │ └── docker_clean_postgres.sh ├── dockerize │ ├── __init__.py │ ├── dockerized_template.py │ └── dockerized_template.sh ├── documentation │ ├── __init__.py │ ├── convert_docx_to_markdown.py │ ├── dockerized_graphviz.py │ ├── dockerized_latex.py │ ├── dockerized_mermaid.py │ ├── dockerized_pandoc.py │ ├── dockerized_prettier.py │ ├── dockerized_tikz_to_bitmap.py │ ├── extract_headers_from_markdown.py │ ├── generate_latex_sty.py │ ├── generate_readme_index.py │ ├── generate_script_catalog.py │ ├── latex_abbrevs.sty │ ├── latexdockercmd.sh │ ├── lint_latex.sh │ ├── lint_latex2.sh │ ├── lint_notes.py │ ├── notes_to_pdf.py │ ├── open_md_in_browser.sh │ ├── open_md_on_github.sh │ ├── pandoc.latex │ ├── preprocess_notes.py │ ├── publish_notes.py │ ├── render_images.py │ ├── replace_latex.py │ ├── replace_latex.sh │ ├── run_latex.sh │ ├── run_pandoc.py │ ├── test │ │ ├── __init__.py │ │ ├── outcomes │ │ │ ├── Test_generate_readme_index.test1 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_generate_readme_index.test2 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_generate_readme_index.test3 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_generate_readme_index.test4 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_lint_notes1.test_process1 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_lint_notes2.test_process1 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_lint_notes_cmd_line1.test1 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_lint_notes_cmd_line1.test2 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_notes_to_pdf1.test1 │ │ │ │ ├── input │ │ │ │ │ └── code_style.txt.test │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_notes_to_pdf1.test2 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_notes_to_pdf1.test3 │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_preprocess_notes1.test1 │ │ │ │ ├── input │ │ │ │ │ └── input1.txt │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_preprocess_notes1.test2 │ │ │ │ ├── input │ │ │ │ │ └── input1.txt │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_render_images2.test1 │ │ │ │ ├── input │ │ │ │ │ └── im_architecture.md │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_render_images2.test2 │ │ │ │ ├── input │ │ │ │ │ └── runnable_repo.md │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_render_images2.test3 │ │ │ │ ├── input │ │ │ │ │ └── sample_file_plantuml.tex │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_render_images2.test4 │ │ │ │ ├── input │ │ │ │ │ └── sample_file_mermaid.tex │ │ │ │ └── output │ │ │ │ │ └── test.txt │ │ │ ├── Test_run_dockerized_pandoc.test1 │ │ │ │ └── input │ │ │ │ │ └── input.md │ │ │ └── Test_run_dockerized_prettier.test1 │ │ │ │ ├── input │ │ │ │ └── input.md │ │ │ │ └── output │ │ │ │ └── output.md │ │ ├── test_dockerized_pandoc.py │ │ ├── test_dockerized_prettier.py │ │ ├── test_extract_headers_from_markdown.py │ │ ├── test_generate_readme_index.py │ │ ├── test_lint_notes.py │ │ ├── test_notes_to_pdf.py │ │ ├── test_preprocess_notes.py │ │ ├── test_render_images.py │ │ └── test_transform_notes.py │ ├── test_lint_latex.sh │ └── transform_notes.py ├── encrypt_models │ ├── __init__.py │ ├── encrypt_model.py │ ├── release_encrypted_model.sh │ ├── release_test_encrypted_model_from_lemonade_to_orange.sh │ ├── test_encrypted_model_in_lemonade.sh │ └── test_encrypted_model_in_orange.sh ├── git │ ├── __init__.py │ ├── gcl │ ├── gco │ ├── gcours │ ├── gctheirs │ ├── gd │ ├── gd_master.sh │ ├── gd_names.sh │ ├── gd_notebook.py │ ├── gdc │ ├── gdpy │ ├── git_backup.sh │ ├── git_branch.sh │ ├── git_branch_name.sh │ ├── git_branch_point.sh │ ├── git_clone.sh │ ├── git_conflict_files.sh │ ├── git_conflict_show.sh │ ├── git_files.sh │ ├── git_graph.sh │ ├── git_hash_head.sh │ ├── git_hooks │ │ ├── __init__.py │ │ ├── commit-msg.py │ │ ├── install_hooks.py │ │ ├── pre-commit-dry-run.py │ │ ├── pre-commit.py │ │ ├── test │ │ │ ├── __init__.py │ │ │ └── test_install_hooks.py │ │ ├── translate.py │ │ └── utils.py │ ├── git_previous_commit_files.sh │ ├── git_revert.sh │ ├── git_root.sh │ ├── git_shrink_repo.sh │ ├── git_submodules.py │ ├── git_submodules_are_updated.sh │ ├── git_submodules_clean.sh │ ├── git_submodules_commit.sh │ ├── git_submodules_pull.sh │ ├── git_submodules_roll_fwd.sh │ ├── git_submodules_stash.sh │ ├── git_untracked_files.sh │ ├── gitleaks │ │ └── gitleaks-rules.toml │ ├── gll │ ├── gllmy │ ├── gp │ ├── gpa │ ├── grc │ ├── grs │ ├── gs │ ├── gs_to_files.sh │ ├── gsl │ ├── gsp.py │ ├── gss │ └── gup.py ├── github │ ├── __init__.py │ ├── dockerized_sync_gh_issue_labels.py │ ├── dockerized_sync_gh_repo_settings.py │ ├── labels │ │ ├── backup │ │ │ ├── labels.ParticleDev.commodity_research.json │ │ │ ├── labels.ParticleDev.infra.json │ │ │ └── labels.alphamatic.amp.json │ │ ├── gh_issues_labels.yml │ │ ├── gh_org_labels.json │ │ ├── gh_tech_labels.json │ │ └── set_labels.sh │ ├── set_secrets_and_variables.py │ ├── settings │ │ ├── common_repo_settings.yaml │ │ └── template_repo_settings.yaml │ ├── sync_gh_issue_labels.py │ ├── sync_gh_projects.py │ └── test │ │ ├── outcomes │ │ └── Test_sync_gh_issue_labels1.test1 │ │ │ └── input │ │ │ └── test_gh_issues_labels.yml │ │ ├── test_dockerized_sync_gh_issue_labels.py │ │ └── test_sync_gh_issue_labels.py ├── helpers.sh ├── infra │ ├── __init__.py │ ├── gdrive.py │ ├── old │ │ ├── __init__.py │ │ └── ssh_tunnels.py │ └── test │ │ ├── __init__.py │ │ └── test_all.py ├── integrate_repos │ ├── integrate.sh │ ├── setup.sh │ └── sync_repo.sh ├── invoke_completion.sh ├── lib_tasks_data_qa.py ├── lib_tasks_data_reconcile.py ├── lint │ ├── __init__.py │ ├── lint_json.sh │ └── lint_solidity.sh ├── llms │ ├── __init__.py │ ├── ai_review.py │ ├── dockerized_llm_apply_cfile.py │ ├── dockerized_llm_review.py │ ├── dockerized_llm_transform.py │ ├── inject_todos.py │ ├── llm_apply_cfile.py │ ├── llm_prompts.py │ ├── llm_review.py │ ├── llm_transform.py │ ├── snippets.py │ ├── sync_ai_review.sh │ └── test │ │ ├── __init__.py │ │ ├── test_llm_apply_cfile.py │ │ ├── test_llm_prompts.py │ │ └── test_llm_transform.py ├── misc │ ├── __init__.py │ ├── extract_bounties.py │ ├── get_url_titles.py │ └── string_to_file.py ├── notebooks │ ├── __init__.py │ ├── add_toc_to_notebook.py │ ├── dockerized_extract_notebook_images.py │ ├── extract_notebook_images.py │ ├── fix_vim_plugin.sh │ ├── ipynb_format.py │ ├── process_all_jupytext.sh │ ├── process_jupytext.py │ ├── profile_test_durations.ipynb │ ├── profile_test_durations.py │ ├── publish_notebook.py │ ├── run_jupyter_server.py │ ├── run_notebook.py │ ├── run_notebook_test_case.py │ └── test │ │ ├── outcomes │ │ └── Test_run_dockerized_notebook_image_extractor1.test_run_dockerized_notebook_image_extractor │ │ │ └── input │ │ │ └── test_images.ipynb │ │ ├── test_dockerized_extract_notebook_images.py │ │ └── test_extract_notebook_images.py ├── old │ ├── __init__.py │ ├── cie │ ├── create_conda │ │ ├── __init__.py │ │ ├── _bootstrap.py │ │ ├── _setenv_amp.py │ │ ├── _setenv_lib.py │ │ ├── install │ │ │ ├── __init__.py │ │ │ ├── check_develop_packages.py │ │ │ ├── conda_envs │ │ │ │ ├── amp_develop.paul.Darwin.Pauls-MBP.txt │ │ │ │ ├── amp_develop.saggese.Darwin.gpmac.lan.txt │ │ │ │ ├── amp_develop.saggese.Linux.ip-172-31-16-23.txt │ │ │ │ ├── develop.gp.Linux.twitter-data.txt │ │ │ │ ├── develop.paul.Darwin.Pauls-MBP.txt │ │ │ │ ├── develop.saggese.Linux.ip-172-31-24-5.txt │ │ │ │ ├── p1_develop.asya.Darwin.MacBook-Pro-Asa.local.txt │ │ │ │ ├── p1_develop.daniil.Linux.daniil.txt │ │ │ │ ├── p1_develop.greg.Linux.computer.txt │ │ │ │ ├── p1_develop.greg.Linux.ip-172-31-16-23.txt │ │ │ │ ├── p1_develop.julia.Linux.ip-172-31-16-23.txt │ │ │ │ ├── p1_develop.julia.Linux.vostro.txt │ │ │ │ ├── p1_develop.paul.Darwin.Pauls-MBP.txt │ │ │ │ ├── p1_develop.paul.Linux.ip-172-31-16-23.txt │ │ │ │ ├── p1_develop.saggese.Darwin.giacintos-mbp.lan.txt │ │ │ │ ├── p1_develop.saggese.Linux.ip-172-31-16-23.txt │ │ │ │ ├── pymc.saggese.Darwin.gpmac.lan.txt │ │ │ │ └── pymc3.saggese.Darwin.gpmac.lan.txt │ │ │ ├── create_conda.amp_develop.sh │ │ │ ├── create_conda.py │ │ │ ├── install_jupyter_extensions.sh │ │ │ ├── print_conda_packages.py │ │ │ ├── requirements │ │ │ │ ├── pymc.txt │ │ │ │ └── sage.txt │ │ │ ├── show_jupyter_extensions.sh │ │ │ └── test_bootstrap.sh │ │ ├── setenv_amp.jenkins.sh │ │ ├── setenv_amp.sh │ │ └── test │ │ │ ├── __init__.py │ │ │ └── test_amp_dev_scripts.py │ ├── fix_helpers_imports.sh │ └── linter │ │ ├── __init__.py │ │ ├── linter.py │ │ ├── linter_master_report.py │ │ ├── pre_pr_checklist.py │ │ └── process_jupytext.py ├── poetry │ ├── __init__.py │ └── run_poetry_debug.py ├── release_sorrentum │ ├── __init__.py │ ├── docker_bfg │ │ ├── Dockerfile │ │ ├── bfg.sh │ │ └── entrypoint.sh │ ├── filter_repo │ │ ├── __init__.py │ │ ├── git-filter-repo │ │ └── lint_history.py │ ├── git_gc.sh │ ├── git_release_sorrentum_repo.sh │ ├── nb-clean.sh │ └── rsync_sorrentum_sandbox.sh ├── scraping_script │ └── SorrTask396_scraping_script.ipynb ├── system_tools │ ├── __init__.py │ ├── ack │ ├── capture_notebook_cells.py │ ├── compress_files.sh │ ├── email_notify.py │ ├── export_vars.sh │ ├── extract_cfile.py │ ├── ffind.py │ ├── fix_perms.sh │ ├── i │ ├── il │ ├── it │ ├── jack │ ├── jackdoc.py │ ├── jackipynb │ ├── jackmd │ ├── jackmk │ ├── jackppy │ ├── jackpy │ ├── jackpyc │ ├── jacktxt │ ├── kga │ ├── mk_targets │ ├── mkbak │ ├── path │ ├── print_paths.sh │ ├── remove_empty_lines.sh │ ├── remove_escape_chars.py │ ├── remove_redundant_paths.sh │ ├── remove_symlink.sh │ ├── replace_text.py │ ├── save_screenshot.py │ ├── tg.py │ ├── timestamp │ ├── tree.sh │ ├── vi_all_py.sh │ ├── viack │ ├── vic │ ├── vif │ ├── vigit │ ├── vigitp │ ├── vil │ ├── vile │ ├── vit │ ├── viw │ └── zip_files.py ├── test │ ├── __init__.py │ ├── outcomes │ │ ├── TestRunNotebook3.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestRunNotebook3 │ │ │ └── input │ │ │ │ ├── simple_notebook.ipynb │ │ │ │ └── simple_notebook.py │ │ ├── Test_add_toc.test1 │ │ │ ├── input │ │ │ │ └── test_ipynb_contents.json │ │ │ └── output │ │ │ │ ├── test.ipynb │ │ │ │ └── test.txt │ │ ├── Test_add_toc.test2 │ │ │ ├── input │ │ │ │ └── test_ipynb_contents.json │ │ │ └── output │ │ │ │ └── test.ipynb │ │ ├── Test_add_toc.test3 │ │ │ ├── input │ │ │ │ └── test_ipynb_contents.json │ │ │ └── output │ │ │ │ ├── test.ipynb │ │ │ │ └── test.txt │ │ ├── Test_get_files_to_replace.test1 │ │ │ └── input │ │ │ │ ├── file1.txt │ │ │ │ ├── file2.txt │ │ │ │ └── file3.txt │ │ ├── Test_process_jupytext.test_end_to_end │ │ │ ├── input │ │ │ │ ├── notebook_for_test.ipynb.txt │ │ │ │ └── notebook_for_test.py.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ └── Test_publish_notebook1.test_publish_local_notebook1 │ │ │ └── input │ │ │ ├── simple_notebook.ipynb │ │ │ └── simple_notebook.py │ ├── test_add_toc_to_notebook.py │ ├── test_amp_dev_scripts.py │ ├── test_find_unused_golden_files.py │ ├── test_notebook.sh │ ├── test_process_jupytext.py │ ├── test_publish_notebook.py │ ├── test_replace_text.py │ ├── test_run_notebook.py │ └── test_toml_merge.py ├── testing │ ├── __init__.py │ ├── pytest_count_files.sh │ ├── pytest_log │ └── rename_test_names.sh ├── thin_client │ ├── __init__.py │ ├── build.py │ ├── requirements.txt │ ├── setenv.sh │ ├── sync_super_repo.sh │ ├── test_helpers.sh │ ├── test_super_repo.sh │ ├── thin_client_utils.py │ ├── thin_client_utils.sh │ └── tmux.py ├── to_clean │ ├── __init__.py │ ├── gen_utils.ORIG.py │ └── gen_utils.py └── update_devops_packages │ ├── __init__.py │ ├── notebooks │ ├── CmampTask7097_test_data.ipynb │ ├── CmampTask7097_test_data.py │ ├── CmampTask7292_ns_vs_us.ipynb │ ├── CmampTask7292_ns_vs_us.py │ ├── Master_buildmeister_dashboard.ipynb │ └── Master_buildmeister_dashboard.py │ └── test │ ├── __init__.py │ └── db_example │ ├── README.txt │ ├── compose.connect.sh │ ├── compose.db.sh │ ├── docker-compose.yml │ ├── docker-compose_2344.yml │ ├── docker_clean.sh │ └── local.oms_db_config_2344.env ├── devops ├── __init__.py ├── compose │ └── __init__.py ├── docker_build │ ├── create_users.sh │ ├── dev.Dockerfile │ ├── dockerignore.dev │ ├── dockerignore.prod │ ├── etc_sudoers │ ├── fstab │ ├── install_cprofile.sh │ ├── install_dind.sh │ ├── install_os_packages.sh │ ├── install_publishing_tools.sh │ ├── install_python_packages.sh │ ├── pip_list.txt │ ├── poetry.lock │ ├── poetry.toml │ ├── prod.Dockerfile │ ├── pyproject.python_data_stack.toml │ ├── pyproject.toml │ ├── update_os.sh │ └── utils.sh ├── docker_run │ ├── bashrc │ ├── docker_setenv.sh │ ├── entrypoint.sh │ ├── run_jupyter_server.sh │ └── test_setup.sh └── env │ └── default.env ├── docs ├── README.md ├── __init__.py ├── build_system │ ├── all.gitleaks_workflow.explanation.md │ ├── all.linter_gh_workflow.explanation.md │ ├── all.pytest_allure.explanation.md │ ├── all.pytest_allure.how_to_guide.md │ └── all.semgrep_workflow.explanation.md ├── code_guidelines │ ├── __init__.py │ ├── all.code_design.how_to_guide.md │ ├── all.code_design.how_to_guide_figs │ │ ├── image1.png │ │ └── image2.png │ ├── all.code_like_pragmatic_programmer.how_to_guide.md │ ├── all.code_review.how_to_guide.md │ ├── all.coding_style.how_to_guide.md │ ├── all.coding_style_guidelines.reference.md │ ├── all.improve_productivity_using_ai.how_to_guide.md │ ├── all.reading_other_people_code.how_to_guide.md │ ├── all.submit_code_for_review.how_to_guide.md │ ├── all.type_hints.how_to_guide.md │ └── figs │ │ ├── improve_productivity_using_ai │ │ ├── image1.png │ │ ├── image2.png │ │ ├── image3.png │ │ └── image4.png │ │ ├── profiling │ │ ├── image1.png │ │ └── image2.png │ │ ├── str_to_df │ │ └── image1.png │ │ ├── submit_code_for_review │ │ └── image1.png │ │ └── unit_tests │ │ ├── image_1.png │ │ ├── image_2.png │ │ ├── image_3.png │ │ └── image_4.png ├── documentation_meta │ ├── __init__.py │ ├── all.architecture_diagrams.explanation.md │ ├── all.diataxis.explanation.md │ ├── all.gdocs.how_to_guide.md │ ├── all.google_technical_writing.how_to_guide.md │ ├── all.mkdocs_deployment.how_to_guide.md │ ├── all.plotting_in_latex.how_to_guide.md │ ├── all.writing_docs.how_to_guide.md │ └── figs │ │ ├── architecture_diagrams │ │ └── UML.png │ │ └── diataxis │ │ └── diataxis_summary.png ├── general_background │ ├── __init__.py │ ├── all.common_abbreviations.reference.md │ ├── all.glossary.reference.md │ ├── all.literature_review.reference.md │ └── all.reading_list.reference.md ├── onboarding │ ├── __init__.py │ ├── all.dev_must_read_checklist.reference.md │ ├── all.development.how_to_guide.md │ ├── all.development_documents.reference.md │ ├── all.development_setup.how_to_guide.md │ ├── all.hiring_process.how_to_guide.md │ ├── all.onboarding_checklist.reference.md │ ├── all.organize_email.how_to_guide.md │ ├── all.receive_crypto_payment.how_to_guide.md │ ├── all.track_time_with_hubstaff.how_to_guide.md │ ├── bounty.onboarding_checklist.reference.md │ ├── figs │ │ ├── development_setup │ │ │ ├── Fig1_Tmux.png │ │ │ ├── Fig1_puttygen.png │ │ │ ├── Fig2_gh.png │ │ │ ├── Fig2_puttygen.png │ │ │ ├── Fig3_putty.png │ │ │ ├── Fig4_putty.png │ │ │ ├── Fig5_putty.png │ │ │ └── Fig6_putty.png │ │ ├── google_calendar │ │ │ └── Fig1_google_calendar_working_hour.png │ │ ├── setup_vpn_and_dev_server_access │ │ │ ├── image1.png │ │ │ ├── image2.png │ │ │ ├── image3.png │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ └── image6.png │ │ ├── track_time_with_hubstaff │ │ │ ├── image1.png │ │ │ ├── image2.png │ │ │ ├── image3.jpg │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ ├── image6.png │ │ │ ├── image7.png │ │ │ ├── image8.png │ │ │ └── image9.png │ │ └── troubleshooting │ │ │ └── ipv6_dns_resolution_failure.png │ ├── intern.onboarding_checklist.reference.md │ ├── intern.prepare_for_development.how_to_guide.md │ ├── intern.running_causify_on_virtual_machine.how_to_guide.md │ ├── intern.set_up_development_on_laptop.how_to_guide.md │ └── intern.signing_up.how_to_guide.md ├── tools │ ├── __init__.py │ ├── all.bfg_repo_cleaner.how_to_guide.md │ ├── all.chatgpt_api.how_to_guide.md │ ├── all.code_coverage.how_to_guide.md │ ├── all.code_review_tools.reference.md │ ├── all.codebase_clean_up.how_to_guide.md │ ├── all.import_check.reference.md │ ├── all.imports_and_packages.how_to_guide.md │ ├── all.integrate_repos.how_to_guide.md │ ├── all.invoke_workflows.how_to_guide.md │ ├── all.llm_transform.how_to_guide.md │ ├── all.parquet.explanation.md │ ├── all.profiling.how_to_guide.md │ ├── all.pycharm.how_to_guide.md │ ├── all.selenium.how_to_guide.md │ ├── all.ssh.how_to_guide.md │ ├── all.template_explanation.md │ ├── all.template_how_to_guide.md │ ├── all.template_reference.md │ ├── all.template_tutorial.md │ ├── all.veracrypt.how_to_guide.md │ ├── all.visual_studio_code.how_to_guide.md │ ├── dev_system │ │ ├── all.conda_environment_obsolete.how_to_guide.md │ │ ├── all.create_a_runnable_dir.how_to_guide.md │ │ ├── all.create_a_super_repo_with_helpers.how_to_guide.md │ │ ├── all.dealing_with_missing_dependencies.how_to_guide.md │ │ ├── all.devops_docker.how_to_guide.md │ │ ├── all.devops_docker.reference.md │ │ ├── all.docker_optimizer_container.how_to_guide.md │ │ ├── all.python_package_upgrade_and_troubleshooting.how_to_guide.md │ │ ├── all.replace_common_files_with_script_links.md │ │ ├── all.runnable_repo.reference.md │ │ ├── all.synchronize_gh_issue_labels.how_to_guide.md │ │ ├── all.transition_to_cmamp2.how_to_guide.md │ │ ├── all.transition_to_repo_config_yml.how_to_guide.md │ │ └── figs │ │ │ └── synchronize_gh_issue_labels │ │ │ ├── image1.png │ │ │ ├── image2.png │ │ │ └── image3.png │ ├── docker │ │ ├── all.develop_in_helpers.how_to_guide.md │ │ ├── all.dind_and_sibling_containers.how_to_guide.md │ │ ├── all.docker.tutorial.md │ │ ├── all.dockerhub.how_to_guide.md │ │ └── all.dockerized_flow.explanation.md │ ├── documentation_toolchain │ │ ├── all.extract_notebook_images.how_to_guide.md │ │ ├── all.latex_toolchain.how_to_guide.md │ │ ├── all.notes_toolchain.explanation.md │ │ ├── all.notes_toolchain.how_to_guide.md │ │ └── all.render_images.explanation.md │ ├── figs │ │ ├── coverage │ │ │ ├── image1.png │ │ │ ├── image2.png │ │ │ ├── image3.png │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ ├── image6.png │ │ │ └── image7.png │ │ ├── docker │ │ │ ├── image1.png │ │ │ └── image2.png │ │ ├── pycharm │ │ │ ├── image1.png │ │ │ ├── image10.png │ │ │ ├── image11.png │ │ │ ├── image12.png │ │ │ ├── image13.png │ │ │ ├── image14.png │ │ │ ├── image15.png │ │ │ ├── image2.png │ │ │ ├── image3.png │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ ├── image6.png │ │ │ ├── image7.png │ │ │ ├── image8.png │ │ │ └── image9.png │ │ ├── veracrypt │ │ │ ├── image1.png │ │ │ ├── image10.png │ │ │ ├── image11.png │ │ │ ├── image12.png │ │ │ ├── image13.png │ │ │ ├── image2.png │ │ │ ├── image3.png │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ ├── image6.png │ │ │ ├── image7.png │ │ │ ├── image8.png │ │ │ └── image9.png │ │ └── visual_studio_code │ │ │ ├── image1.png │ │ │ ├── image10.png │ │ │ ├── image11.png │ │ │ ├── image3.png │ │ │ ├── image4.png │ │ │ ├── image5.png │ │ │ ├── image6.png │ │ │ ├── image7.png │ │ │ ├── image8.png │ │ │ ├── image9.png │ │ │ └── port_fowarding.png │ ├── git │ │ ├── all.git.how_to_guide.md │ │ ├── all.git_hooks.how_to_guide.md │ │ ├── all.git_hooks.reference.md │ │ └── all.integrate_helpers.how_to_guide.md │ ├── helpers │ │ ├── all.asyncio.explanation.md │ │ ├── all.hcache.explanation.md │ │ ├── all.hcache_simple.explanation.md │ │ ├── all.hplayback.how_to_guide.md │ │ ├── all.qgrid.how_to_guide.md │ │ └── all.str_to_df.how_to_guide.md │ ├── linter │ │ ├── all.amp_fix_md_links.explanation.md │ │ └── all.developing_linter.how_to_guide.md │ ├── notebooks │ │ ├── all.add_toc_to_notebook.how_to_guide.md │ │ ├── all.gsheet_into_pandas.how_to_guide.md │ │ ├── all.jupyter_notebook.how_to_guide.md │ │ ├── all.jupytext.how_to_guide.md │ │ ├── all.plotting.how_to_guide.md │ │ ├── all.publish_notebook.how_to_guide.md │ │ └── all.run_jupyter_notebook.how_to_guide.md │ ├── thin_environment │ │ ├── all.gh_and_thin_env_requirements.reference.md │ │ ├── all.gh_thin_env_dependencies.how_to_guide.md │ │ └── all.thin_environment.reference.md │ └── unit_test │ │ ├── all.run_unit_tests.how_to_guide.md │ │ └── all.write_unit_tests.how_to_guide.md ├── work_organization │ ├── __init__.py │ ├── all.buildmeister.how_to_guide.md │ ├── all.contributor_feedback.how_to_guide.md │ ├── all.datapull_DAGmeister.how_to_guide.md │ ├── all.github_projects_process.reference.md │ ├── all.inframeister.how_to_guide.md │ ├── all.issue_workflow.explanation.md │ ├── all.organize_your_work.how_to_guide.md │ ├── all.rollout.how_to_guide.md │ ├── all.scrum.explanation.md │ ├── all.team_collaboration.how_to_guide.md │ ├── all.use_github.how_to_guide.md │ └── figs │ │ ├── all.buildmeister.how_to_guide.md │ │ ├── Buildmeister Image.png │ │ ├── Duration Distribution.png │ │ ├── Duration trend.png │ │ ├── Retries Image.png │ │ ├── Slack Image.png │ │ └── Trend Image.png │ │ ├── contributor_scoring │ │ └── image1.png │ │ ├── team_collaboration │ │ ├── 1_Visits.png │ │ ├── 2_Settings.png │ │ ├── 3_Request.png │ │ └── image.png │ │ └── use_github │ │ └── Draft_PR.png └── work_tools │ └── git │ ├── all.ai_review.how_to_guide.md │ └── all.sync_gh_projects.how_to_guide.md ├── helpers ├── __init__.py ├── create_links.py ├── hasyncio.py ├── haws.py ├── hcache.py ├── hcache_simple.py ├── hcfile.py ├── hchatgpt.py ├── hchatgpt_instructions.py ├── hcsv.py ├── hdataframe.py ├── hdatetime.py ├── hdbg.py ├── hdict.py ├── hdocker.py ├── hemail.py ├── henv.py ├── hgit.py ├── hgoogle_drive_api.py ├── hintrospection.py ├── hio.py ├── hjoblib.py ├── hjupyter.py ├── hlatex.py ├── hlist.py ├── hlogging.py ├── hmarkdown.py ├── hmoto.py ├── hnetwork.py ├── hnumba.py ├── hnumpy.py ├── hobject.py ├── hopen.py ├── hopenai.py ├── hpandas.py ├── hparquet.py ├── hparser.py ├── hpickle.py ├── hplayback.py ├── hprint.py ├── hpytest.py ├── hretry.py ├── hs3.py ├── hsecrets.py ├── hserver.py ├── hsftp.py ├── hsql.py ├── hsql_implementation.py ├── hsql_test.py ├── hstring.py ├── hsystem.py ├── htable.py ├── htest_logger.py ├── hthreading.py ├── htimer.py ├── htqdm.py ├── htraceback.py ├── htranslate.py ├── htypes.py ├── hunit_test.py ├── hunit_test_utils.py ├── hversion.py ├── hwall_clock_time.py ├── hwarnings.py ├── lib_tasks.py ├── lib_tasks_aws.py ├── lib_tasks_bash.py ├── lib_tasks_docker.py ├── lib_tasks_docker_release.py ├── lib_tasks_find.py ├── lib_tasks_gh.py ├── lib_tasks_git.py ├── lib_tasks_integrate.py ├── lib_tasks_lint.py ├── lib_tasks_perms.py ├── lib_tasks_print.py ├── lib_tasks_pytest.py ├── lib_tasks_utils.py ├── logging_testing │ ├── __init__.py │ ├── logging_main.py │ └── logging_module.py ├── notebooks │ ├── HelperTask246_hcache_simple_tutorial.ipynb │ ├── HelperTask246_hcache_simple_tutorial.py │ ├── Master.how_to_use_hgoogle_drive_api.ipynb │ ├── Master.how_to_use_hgoogle_drive_api.py │ ├── PartTask2291_Playback_approach_for_unit_testing.ipynb │ ├── PartTask2291_Playback_approach_for_unit_testing.py │ ├── cache.ipynb │ ├── cache.py │ ├── gallery_parquet.ipynb │ ├── gallery_parquet.py │ ├── gallery_s3.ipynb │ ├── gallery_s3.py │ ├── hopenai_tutorial.ipynb │ ├── hopenai_tutorial.py │ ├── sage_tutorial.ipynb │ └── sage_tutorial.py ├── old │ ├── __init__.py │ ├── conda.py │ ├── env2.py │ ├── tunnels.py │ └── user_credentials.py ├── pandoc_docker_files │ ├── install-texlive.sh │ ├── packages.txt │ └── texlive.profile ├── repo_config_utils.py ├── stage_linked_file.py ├── telegram_notify │ ├── __init__.py │ ├── config.py │ ├── get_chat_id.py │ └── telegram_notify.py ├── test │ ├── __init__.py │ ├── outcomes │ │ ├── TestCacheEnableCheckOnlyIfPresent1.test_disk_cache1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCacheEnableCheckOnlyIfPresent1.test_mem_cache1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCacheEnableCheckOnlyIfPresent1.test_mem_disk_cache1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCacheEnableReadOnly1.test_disk_cache1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCacheEnableReadOnly1.test_mem_cache1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCacheEnableReadOnly1.test_mem_disk_cache1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCheckDataFrame1.test_check_df_equal1 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckDataFrame1.test_check_df_equal2 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckDataFrame1.test_check_df_equal3 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckDataFrame1.test_check_df_not_equal1 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckDataFrame1.test_check_df_not_equal2 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckDataFrame1.test_check_df_not_equal3 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckDataFrame1.test_check_df_not_equal4 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── TestCheckString1.test_check_string1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCheckString1.test_check_string_not_equal1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCheckString1.test_check_string_not_equal2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestCheckString1.test_check_string_not_equal3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDataframeToJson.test_dataframe_to_json │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDataframeToJson.test_dataframe_to_json_datetime │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDataframeToJson.test_dataframe_to_json_timestamp │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDataframeToJson.test_dataframe_to_json_uuid │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_docker_images_ls_repo │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_docker_kill_all │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_docker_kill_last │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_docker_ps │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_git_clean │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_git_fetch_master │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_git_pull │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks1.test_print_setup │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_images_ls_repo │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_kill_all │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_kill_last │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_login │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_ps │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_pull │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_docker_stats │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_find_test_class1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_create_pr │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_create_pr1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_create_pr2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_create_pr3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_issue_title │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_workflow_list │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_gh_workflow_run │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_branch_create │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_branch_create1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_branch_create2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_branch_files │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_clean │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_clean2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_fetch_master │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_merge_master │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_git_pull │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_lint1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_lint2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_lint3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestDryRunTasks2.test_print_setup │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestFilterDataByMethod.test1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestGetDocstrings.test1 │ │ │ └── input │ │ │ │ └── test.txt │ │ ├── TestPlaybackFileMode1.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackFileMode1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackFileMode1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test10 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test11 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test12 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test13 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test14 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test15 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test16 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test17 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test18 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test6 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test7 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test8 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestPlaybackInputOutput1.test9 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestSql1.test_copy_rows_with_copy_from1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestSql1.test_create_insert_query │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestSql1.test_duplicate_removal1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestSql1.test_duplicate_removal2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestSql1.test_execute_insert_query1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestToPartitionedDataset.test_to_partitioned_dataset │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_CheckSummary.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_CheckSummary.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_column_mode.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_index_mode.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_nan_mode.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_nan_mode.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_nan_mode.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_nan_mode.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_apply_nan_mode.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_check_header_list1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_check_string_debug1.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_check_string_debug1.test2 │ │ │ └── output │ │ │ │ └── test_df.txt │ │ ├── Test_convert_csv_to_dict.test1 │ │ │ └── input │ │ │ │ └── test.csv │ │ ├── Test_dassert1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert1.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert1.test6 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert1.test7 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_eq1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_eq1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_eq1.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_issubclass1.test_fail1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_issubclass1.test_man_fail1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_issubclass1.test_man_fail2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_eq_all2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_in2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_is2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_is_instance2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_is_instance5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_is_sorted2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_is_sorted4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_misc1.test_no_duplicates2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_dassert_str_is_date.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_filter_data_by_comparison.test_conjunction1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_filter_data_by_comparison.test_disjunction1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_filter_data_by_values1.test_conjunction1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_filter_data_by_values1.test_disjunction1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_find_check_string_output1.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_find_check_string_output1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_find_file_with_dir1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_find_file_with_dir1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_find_file_with_dir1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_find_file_with_dir1.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_from_typed_csv.test1 │ │ │ └── input │ │ │ │ ├── test.csv │ │ │ │ └── test.csv.types │ │ ├── Test_generate_compose_file1.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file1.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file2.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file2.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file2.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_generate_compose_file2.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_get_dir_signature1.test1 │ │ │ └── input │ │ │ │ ├── result_0 │ │ │ │ ├── config.pkl │ │ │ │ ├── config.txt │ │ │ │ └── run_notebook.0.log │ │ │ │ └── result_1 │ │ │ │ ├── config.pkl │ │ │ │ ├── config.txt │ │ │ │ └── run_notebook.1.log │ │ ├── Test_get_dir_signature1.test2 │ │ │ ├── input │ │ │ │ ├── result_0 │ │ │ │ │ ├── config.txt │ │ │ │ │ └── run_notebook.0.log │ │ │ │ └── result_1 │ │ │ │ │ ├── config.txt │ │ │ │ │ └── run_notebook.1.log │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_load_df_from_json.test1 │ │ │ └── input │ │ │ │ └── test.json │ │ ├── Test_obj_to_str1.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str1.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str1.test6 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str2.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str2.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str2.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str2.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str2.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_obj_to_str2.test6 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_open_html.test_linux1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_open_html.test_mac1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_open_html.test_windows1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_open_pdf.test_mac1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_process_code_block1.test1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_process_lines1.test1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_purify_from_env_vars.test_end_to_end │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test1 │ │ │ ├── input │ │ │ │ └── cache │ │ │ │ │ └── lastfailed │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test2 │ │ │ ├── input │ │ │ │ └── log.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test3 │ │ │ ├── input │ │ │ │ └── log.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test4 │ │ │ ├── input │ │ │ │ └── log.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test5 │ │ │ ├── input │ │ │ │ └── log.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test6 │ │ │ ├── input │ │ │ │ └── log.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_pytest_repro_end_to_end.test7 │ │ │ ├── input │ │ │ │ └── log.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_remove_code_delimiters1.test2 │ │ │ └── input │ │ │ │ └── test.txt │ │ ├── Test_remove_code_delimiters1.test4 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_remove_code_delimiters1.test6 │ │ │ └── input │ │ │ │ └── test.txt │ │ ├── Test_sanity_check_header_list1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_selected_navigation_to_str1.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_selected_navigation_to_str2.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_sort_dictionary.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_str_to_timestamp1.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_str_to_timestamp1.test4 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_system1.test7 │ │ │ └── output │ │ │ │ └── test.txt │ │ └── Test_to_typed_csv.test1 │ │ │ └── input │ │ │ └── test.csv │ ├── test_create_link.py │ ├── test_hasyncio.py │ ├── test_haws.py │ ├── test_hcache.py │ ├── test_hcache_simple.py │ ├── test_hcfile.py │ ├── test_hcsv.py │ ├── test_hdataframe.py │ ├── test_hdatetime.py │ ├── test_hdbg.py │ ├── test_hdict.py │ ├── test_hdocker.py │ ├── test_henv.py │ ├── test_hgit.py │ ├── test_hintrospection.py │ ├── test_hio.py │ ├── test_hlatex.py │ ├── test_hlist.py │ ├── test_hlogging.py │ ├── test_hmarkdown.py │ ├── test_hnumpy.py │ ├── test_hobject.py │ ├── test_hopen.py │ ├── test_hopenai.py │ ├── test_hpandas.py │ ├── test_hparquet.py │ ├── test_hpickle.py │ ├── test_hplayback.py │ ├── test_hprint.py │ ├── test_hretry.py │ ├── test_hs3.py │ ├── test_hsecrets.py │ ├── test_hserver.py │ ├── test_hsql.py │ ├── test_hstring.py │ ├── test_hsystem.py │ ├── test_htable.py │ ├── test_htimer.py │ ├── test_htraceback.py │ ├── test_hunit_test.py │ ├── test_hunit_test_mock.py │ ├── test_hunit_test_utils.py │ ├── test_hversion.py │ ├── test_joblib_helpers.py │ ├── test_lib_tasks.py │ ├── test_lib_tasks_docker.py │ ├── test_lib_tasks_docker_release.py │ ├── test_lib_tasks_find.py │ ├── test_lib_tasks_gh.py │ ├── test_lib_tasks_git.py │ ├── test_lib_tasks_integrate.py │ ├── test_lib_tasks_lint.py │ ├── test_lib_tasks_pytest.py │ ├── test_lib_tasks_utils.py │ ├── test_master_buildmeister_dashboard.py │ ├── test_repo_config_amp.py │ └── test_repo_config_utils.py └── unit_test_template.py ├── import_check ├── __init__.py ├── detect_import_cycles.py ├── example │ ├── __init__.py │ ├── input │ │ ├── __init__.py │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ ├── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ └── subdir3 │ │ │ │ ├── __init__.py │ │ │ │ ├── file1.py │ │ │ │ ├── file2.py │ │ │ │ └── file3.py │ │ └── subdir4 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ └── file3.py │ └── output │ │ ├── basic.png │ │ ├── cyclic_deps.png │ │ ├── directory_deps.png │ │ ├── external_deps.png │ │ └── max_level_deps.png ├── show_imports.py └── test │ ├── __init__.py │ ├── outcomes │ ├── Test_detect_import_cycles.test1 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_detect_import_cycles.test10 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_detect_import_cycles.test11 │ │ └── input │ │ │ ├── __init__.py │ │ │ └── subdir1 │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_detect_import_cycles.test12 │ │ └── input │ │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_detect_import_cycles.test13 │ │ └── input │ │ │ └── subdir1 │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_detect_import_cycles.test2 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_detect_import_cycles.test3 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ └── file3.py │ ├── Test_detect_import_cycles.test4 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ ├── file3.py │ │ │ └── file4.py │ ├── Test_detect_import_cycles.test5 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ └── file1.py │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ └── file1.py │ ├── Test_detect_import_cycles.test6 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ └── file1.py │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ └── subdir3 │ │ │ ├── __init__.py │ │ │ └── file1.py │ ├── Test_detect_import_cycles.test7 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ └── subdir2 │ │ │ │ ├── __init__.py │ │ │ │ └── subdir3 │ │ │ │ ├── __init__.py │ │ │ │ └── file1.py │ │ │ └── subdir4 │ │ │ ├── __init__.py │ │ │ └── subdir5 │ │ │ ├── __init__.py │ │ │ └── file1.py │ ├── Test_detect_import_cycles.test8 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── subdir1 │ │ │ ├── __init__.py │ │ │ └── file1.py │ ├── Test_detect_import_cycles.test9 │ │ └── input │ │ │ ├── __init__.py │ │ │ ├── subdir1 │ │ │ ├── file1.py │ │ │ └── file2.py │ │ │ └── subdir2 │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_show_imports.test1 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── output │ │ │ ├── output.txt │ │ │ └── test.txt │ ├── Test_show_imports.test10 │ │ └── input │ │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ ├── Test_show_imports.test11 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ └── file3.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test12 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ └── file3.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test13 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ └── file3.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test14 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ ├── file3.py │ │ │ └── file4.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test2 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test3 │ │ ├── input │ │ │ └── __init__.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test4 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test5 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ ├── subdir1 │ │ │ │ ├── __init__.py │ │ │ │ ├── file1.py │ │ │ │ └── file2.py │ │ │ └── subdir2 │ │ │ │ ├── __init__.py │ │ │ │ ├── file1.py │ │ │ │ └── file2.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test6 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test7 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ ├── Test_show_imports.test8 │ │ ├── input │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ ├── file2.py │ │ │ ├── subdir1 │ │ │ │ ├── __init__.py │ │ │ │ ├── file1.py │ │ │ │ └── file2.py │ │ │ └── subdir2 │ │ │ │ ├── __init__.py │ │ │ │ ├── file1.py │ │ │ │ └── file2.py │ │ └── output │ │ │ ├── output │ │ │ └── test.txt │ └── Test_show_imports.test9 │ │ ├── input │ │ ├── __init__.py │ │ ├── file1.py │ │ ├── file2.py │ │ ├── subdir1 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── subdir2 │ │ │ ├── __init__.py │ │ │ ├── file1.py │ │ │ └── file2.py │ │ └── output │ │ ├── output │ │ └── test.txt │ ├── test_detect_import_cycles.py │ └── test_show_imports.py ├── invoke.yaml ├── linters ├── __init__.py ├── action.py ├── add_python_init_files.py ├── amp_add_class_frames.py ├── amp_add_toc_to_notebook.py ├── amp_autoflake.py ├── amp_black.py ├── amp_check_file_size.py ├── amp_check_filename.py ├── amp_check_import.py ├── amp_check_md_reference.py ├── amp_check_md_toc_headers.py ├── amp_check_merge_conflict.py ├── amp_check_shebang.py ├── amp_class_method_order.py ├── amp_doc_formatter.py ├── amp_fix_comments.py ├── amp_fix_md_links.py ├── amp_fix_whitespaces.py ├── amp_flake8.py ├── amp_format_separating_line.py ├── amp_isort.py ├── amp_lint_md.py ├── amp_mypy.py ├── amp_normalize_import.py ├── amp_processjupytext.py ├── amp_pylint.py ├── amp_remove_empty_lines_in_function.py ├── amp_warn_incorrectly_formatted_todo.py ├── base.py ├── test │ ├── __init__.py │ ├── outcomes │ │ ├── TestEndToEnd.test │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestEndToEndShortImports.test_normalize_imports │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── TestEndToEndShortImports │ │ │ └── input │ │ │ │ └── python_file_names.json │ │ ├── TestFindUnbalancedBackticks.test1 │ │ │ └── input │ │ │ │ └── test.txt │ │ ├── Test_add_python_init_files.test1 │ │ │ └── input │ │ │ │ ├── __init__.py │ │ │ │ ├── file1.py │ │ │ │ └── file2.py │ │ ├── Test_add_python_init_files.test2 │ │ │ └── input │ │ │ │ ├── file1.py │ │ │ │ └── file2.py │ │ ├── Test_add_python_init_files.test3 │ │ │ └── input │ │ │ │ ├── __init__.py │ │ │ │ ├── subdir1 │ │ │ │ ├── __init__.py │ │ │ │ └── file1.py │ │ │ │ └── subdir2 │ │ │ │ ├── __init__.py │ │ │ │ └── file1.py │ │ ├── Test_add_python_init_files.test4 │ │ │ └── input │ │ │ │ ├── __init__.py │ │ │ │ ├── subdir1 │ │ │ │ ├── __init__.py │ │ │ │ └── file1.py │ │ │ │ └── subdir2 │ │ │ │ └── file1.py │ │ ├── Test_docformatter.test6 │ │ │ └── input │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test11 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test14 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test15 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test16 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test17 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test18 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test19 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test2 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test3 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test5 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_fix_links.test6 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_DevToolsTask408 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter2 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_ipynb1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_ipynb_paired1 │ │ │ ├── input │ │ │ │ ├── input.ipynb │ │ │ │ └── input.py │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_ipynb_paired2 │ │ │ ├── input │ │ │ │ ├── input.ipynb │ │ │ │ └── input.py │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_md1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_md2 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_txt1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_linter_py1.test_linter_txt2 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_precommit1.test_imports_order1 │ │ │ └── input │ │ │ │ └── imports.py.test │ │ ├── Test_process_markdown_file.test1 │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_remove_empty_lines.test1 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_remove_empty_lines.test2 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_remove_empty_lines.test3 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ ├── Test_remove_empty_lines.test4 │ │ │ ├── input │ │ │ │ └── test.txt │ │ │ └── output │ │ │ │ └── test.txt │ │ └── Test_verify_toc_postion.test1 │ │ │ └── output │ │ │ └── test.txt │ ├── test_add_python_init_files.py │ ├── test_amp_add_class_frames.py │ ├── test_amp_autoflake.py │ ├── test_amp_check_filename.py │ ├── test_amp_check_import.py │ ├── test_amp_check_md_reference.py │ ├── test_amp_check_md_toc_headers.py │ ├── test_amp_check_merge_conflict.py │ ├── test_amp_check_shebang.py │ ├── test_amp_class_method_order.py │ ├── test_amp_dev_scripts.py │ ├── test_amp_doc_formatter.py │ ├── test_amp_fix_comment.py │ ├── test_amp_fix_md_links.py │ ├── test_amp_fix_whitespaces.py │ ├── test_amp_format_separating_line.py │ ├── test_amp_lint_md.py │ ├── test_amp_normalize_import.py │ ├── test_amp_remove_empty_lines_in_function.py │ ├── test_amp_warn_incorrectly_formatted_todo.py │ ├── test_clean_import_paths.txt │ ├── test_isort.py │ └── test_utils.py └── utils.py ├── main_pytest.py ├── mypy.ini ├── notebook_template.ipynb ├── notebook_template.py ├── papers └── Causify_development_system │ └── Causify_dev_system.md ├── puppeteerConfig.json ├── pyproject.toml ├── pytest.ini ├── repo_config.yaml ├── tasks.py ├── template_code.py └── template_unit_test.py /.coveragerc: -------------------------------------------------------------------------------- 1 | [report] 2 | # Glob pattern(s) of files to omit from the report. 3 | omit = 4 | */devops/compose/* 5 | */helpers/test/outcomes/*/tmp.scratch/* 6 | -------------------------------------------------------------------------------- /.github/copilot.yaml: -------------------------------------------------------------------------------- 1 | pull_request: 2 | enabled: true 3 | mode: auto # Options: 'auto', 'request', or 'off' 4 | -------------------------------------------------------------------------------- /.github/gh_requirements.txt: -------------------------------------------------------------------------------- 1 | boto3 >= 1.20.17 2 | coverage 3 | invoke 4 | s3fs 5 | tqdm 6 | -------------------------------------------------------------------------------- /.github/gitleaks-rules.toml: -------------------------------------------------------------------------------- 1 | ../dev_scripts_helpers/git/gitleaks/gitleaks-rules.toml -------------------------------------------------------------------------------- /.github/workflows/linter.yml: -------------------------------------------------------------------------------- 1 | name: Check if the Linter was run 2 | on: 3 | pull_request: 4 | types: [ opened, synchronize, reopened, ready_for_review ] 5 | branches: 6 | - master 7 | workflow_dispatch: 8 | jobs: 9 | Run_linter: 10 | uses: ./.github/workflows/common_linter.yml 11 | secrets: inherit 12 | -------------------------------------------------------------------------------- /.github/workflows/superslow_tests.yml: -------------------------------------------------------------------------------- 1 | name: Superslow tests 2 | on: 3 | # Run manually. 4 | workflow_dispatch: 5 | schedule: 6 | # Run this everyday even if there are no commits. 7 | - cron: '0 0 * * *' 8 | concurrency: 9 | group: ${{ github.workflow }}-${{ github.ref }} 10 | cancel-in-progress: true 11 | jobs: 12 | run_superslow_tests: 13 | uses: ./.github/workflows/common_run_tests.yml 14 | with: 15 | test-name: run_superslow_tests 16 | secrets: inherit 17 | -------------------------------------------------------------------------------- /.isort.cfg: -------------------------------------------------------------------------------- 1 | [settings] 2 | known_first_party=helpers 3 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | repos: 2 | - repo: https://github.com/astral-sh/ruff-pre-commit 3 | rev: v0.4.4 4 | hooks: 5 | - id: ruff 6 | 7 | - repo: local 8 | hooks: 9 | - id: fixit-lint 10 | name: fixit lint 11 | entry: fixit lint 12 | language: system 13 | types: [python] 14 | 15 | - id: pyrefly 16 | name: pyrefly lint 17 | entry: pyrefly lint 18 | language: system 19 | types: [python] 20 | -------------------------------------------------------------------------------- /.semgrepignore: -------------------------------------------------------------------------------- 1 | # Common large paths 2 | node_modules/ 3 | build/ 4 | dist/ 5 | vendor/ 6 | .env/ 7 | .venv/ 8 | .tox/ 9 | *.min.js 10 | .npm/ 11 | .yarn/ 12 | 13 | # Common test paths 14 | # test/ 15 | # tests/ 16 | # *_test.go 17 | 18 | # Semgrep rules folder 19 | .semgrep 20 | 21 | # Semgrep-action log folder 22 | .semgrep_logs/ 23 | 24 | # Jupyter Notebooks 25 | # *.ipynb 26 | 27 | # Markdowns 28 | *.md 29 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "workbench.colorCustomizations": { 3 | "titleBar.activeBackground": "#230000", 4 | "titleBar.activeForeground": "#ffffff" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # helpers 2 | -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/__init__.py -------------------------------------------------------------------------------- /changelog.txt: -------------------------------------------------------------------------------- 1 | # helpers-1.3.0 2 | - 2025-04-29 3 | - Support external Ubuntu system 4 | 5 | # helpers-1.2.0 6 | - 2025-03-03 7 | - Multi-architecture Docker image 8 | 9 | # helpers-1.1.0 10 | - 2025-01-09 11 | - Move Linter to helpers 12 | 13 | # helpers-1.0.0 14 | - 2024-08-22 15 | - First release 16 | -------------------------------------------------------------------------------- /config_root/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/config_root/__init__.py -------------------------------------------------------------------------------- /config_root/config/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/config_root/config/test/__init__.py -------------------------------------------------------------------------------- /config_root/config/test/outcomes/TestGetConfigsFromBuilder1.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/1 3 | read_data: 4 | symbol: H He O C Bk 5 | resample: 6 | rule: None 7 | -------------------------------------------------------------------------------- /config_root/config/test/outcomes/Test_build_config_list_varying_tiled_periods1.test_1tile_1/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/1 3 | backtest_config: 4 | start_timestamp_with_lookback: 2019-12-22 00:00:00+00:00 5 | start_timestamp: 2020-01-01 00:00:00+00:00 6 | end_timestamp: 2020-01-31 23:59:59+00:00 7 | -------------------------------------------------------------------------------- /config_root/config/test/outcomes/Test_build_config_list_varying_tiled_periods1.test_1tile_2/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/1 3 | backtest_config: 4 | start_timestamp_with_lookback: 2019-12-22 00:00:00+00:00 5 | start_timestamp: 2020-01-01 00:00:00+00:00 6 | end_timestamp: 2020-01-31 23:59:59+00:00 7 | -------------------------------------------------------------------------------- /config_root/config/test/outcomes/Test_build_config_list_varying_tiled_periods1.test_1tile_3/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/1 3 | backtest_config: 4 | start_timestamp_with_lookback: 2019-12-22 00:00:00+00:00 5 | start_timestamp: 2020-01-01 00:00:00+00:00 6 | end_timestamp: 2020-01-31 23:59:59+00:00 7 | -------------------------------------------------------------------------------- /config_root/config/test/outcomes/Test_build_config_list_varying_tiled_periods1.test_2tiles_1/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/2 3 | backtest_config: 4 | start_timestamp_with_lookback: 2019-12-22 00:00:00+00:00 5 | start_timestamp: 2020-01-01 00:00:00+00:00 6 | end_timestamp: 2020-01-31 23:59:59+00:00 7 | # 2/2 8 | backtest_config: 9 | start_timestamp_with_lookback: 2020-01-22 00:00:00+00:00 10 | start_timestamp: 2020-02-01 00:00:00+00:00 11 | end_timestamp: 2020-02-29 23:59:59+00:00 12 | -------------------------------------------------------------------------------- /config_root/config/test/outcomes/Test_build_config_list_varying_tiled_periods1.test_2tiles_2/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/2 3 | backtest_config: 4 | start_timestamp_with_lookback: 2019-12-22 00:00:00+00:00 5 | start_timestamp: 2020-01-01 00:00:00+00:00 6 | end_timestamp: 2020-01-31 23:59:59+00:00 7 | # 2/2 8 | backtest_config: 9 | start_timestamp_with_lookback: 2020-01-22 00:00:00+00:00 10 | start_timestamp: 2020-02-01 00:00:00+00:00 11 | end_timestamp: 2020-02-29 23:59:59+00:00 12 | -------------------------------------------------------------------------------- /config_root/config/test/outcomes/Test_build_config_list_with_tiled_universe.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | # ConfigList at 0x 2 | # 1/1 3 | market_data_config: 4 | asset_ids: [13684, 10971] 5 | -------------------------------------------------------------------------------- /dev_scripts_helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/aws/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/aws/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/aws/get_inst_ip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | aws ec2 describe-instances \ 3 | --instance-ids $AM_INST_ID \ 4 | --query "Reservations[*].Instances[*].PublicIpAddress" \ 5 | --output=text 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/aws/get_inst_status.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | aws ec2 describe-instance-status \ 3 | --instance-ids $AM_INST_ID \ 4 | --output text 5 | -------------------------------------------------------------------------------- /dev_scripts_helpers/chatgpt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/chatgpt/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/AmpTask1786_Integrate_20220902.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | DIR=amp/dev_scripts/cleanup_scripts 3 | source $DIR/CMTask2669_Rename_initial_replayed_delay.sh 4 | source $DIR/CMTask2669_Rename_initial_replayed_dt.sh 5 | source $DIR/CMTask2669_Rename_real_time_loop_time_out_in_secs.sh 6 | source $DIR/CMTask2669_Rename_sleep_interval_in_secs.sh 7 | source $DIR/CMTask2692_Refactor_system_test_case.sh 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/AmpTask1786_Integrate_20220916.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | DIR=amp/dev_scripts/cleanup_scripts 3 | source $DIR/CMTask2692_Refactor_system_test_case.sh 4 | source $DIR/CMTask2739_Introduce_NonTime_ForecastSystem_20220908.sh 5 | source $DIR/CMTask2746_Move_every_test_case_20220905.sh 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/CMTask2669_Rename_initial_replayed_delay.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | dir_names="amp/dev_scripts/cleanup_scripts dev_scripts/cleanup_scripts" 4 | 5 | replace_text.py \ 6 | --old "initial_replayed_delay: int" \ 7 | --new "replayed_delay_in_mins_or_timestamp: Union[int, pd.Timestamp]" \ 8 | --exclude_dirs "$dir_names" 9 | 10 | replace_text.py \ 11 | --old "initial_replayed_delay" \ 12 | --new "replayed_delay_in_mins_or_timestamp" \ 13 | --exclude_dirs "$dir_names" 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/CMTask2669_Rename_initial_replayed_dt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | dir_names="amp/dev_scripts/cleanup_scripts dev_scripts/cleanup_scripts" 4 | 5 | replace_text.py \ 6 | --old "initial_replayed_dt" \ 7 | --new "initial_replayed_timestamp" \ 8 | --exclude_dirs "$dir_names" 9 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/CMTask2739_Introduce_NonTime_ForecastSystem_20220908.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | dir_names="amp/dev_scripts/cleanup_scripts" 4 | 5 | replace_text.py \ 6 | --old "(?<\/a>" \ 6 | --new "" \ 7 | --ext "_all_" \ 8 | --only_files "docs/Coding_Style_Guide.md" \ 9 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/SorrTask258_Replace_pytest_raises_with_self_assertraises.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | replace_text.py \ 4 | --old "pytest.raises" \ 5 | --new "self.assertRaises" \ 6 | --ext "py,ipynb" 7 | 8 | replace_text.py \ 9 | --old "fail.value" \ 10 | --new "fail.exception" \ 11 | --ext "py,ipynb" 12 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/SorrTask259_Make_to_multi_line_cmd_public.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | dir_names="amp/dev_scripts/cleanup_scripts dev_scripts/cleanup_scripts" 4 | 5 | replace_text.py \ 6 | --old "_to_multi_line_cmd" \ 7 | --new "to_multi_line_cmd" \ 8 | --exclude_dirs "$dir_names" 9 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/SorrTask298_rename_get_docker_cmd_to_get_docker_run_cmd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | replace_text.py \ 4 | --old "_get_docker_cmd" \ 5 | --new "_get_docker_run_cmd" 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/SorrTask542_convert_to_multiindex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | dir_names="amp/dev_scripts/cleanup_scripts dev_scripts/cleanup_scripts" 4 | 5 | replace_text.py \ 6 | --old "_convert_to_multiindex" \ 7 | --new "convert_to_multiindex" \ 8 | --exclude_dirs "$dir_names" \ 9 | --ext "py,ipynb" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/cleanup_scripts/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/cleanup_scripts/rename_ModelBuilder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | action="rename" 4 | script_name="amp/dev_scripts/cleanup_scripts/rename_ModelBuilder.sh" 5 | 6 | exts="_all_" 7 | 8 | # --exclude_files $script_name \ 9 | 10 | replace_text.py \ 11 | --old ModelBuilder \ 12 | --new DagBuilder \ 13 | --ext $exts \ 14 | --action $action \ 15 | --exclude_files $script_name \ 16 | -v DEBUG \ 17 | $* 18 | -------------------------------------------------------------------------------- /dev_scripts_helpers/coding_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/coding_tools/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/coding_tools/compile_all.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Import as: 5 | 6 | import dev_scripts_helpers.compile_all as dsccoall 7 | """ 8 | 9 | import compileall 10 | import re 11 | 12 | # find . -type f -name '*.py' | xargs -t -n1 python3 -m py_compile 13 | compileall.compile_dir( 14 | ".", 15 | force=True, 16 | quiet=0, 17 | # Skip .git, tmp dirs, venv dirs. 18 | rx=re.compile(r"(\.git/|tmp\.|/venv/)"), 19 | ) 20 | -------------------------------------------------------------------------------- /dev_scripts_helpers/coding_tools/create_class_diagram.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | # """ 4 | # Compute a UML plot of the class hierarchy of code in a dir using pylint. 5 | # """ 6 | 7 | DIR=$1 8 | if [[ -z $DIR ]]; then 9 | echo "You need to specify a dir" 10 | exit -1 11 | fi; 12 | pyreverse $DIR --ignore=test 13 | dot -Tpng classes.dot >classes.png 14 | # This works only on macOS. 15 | if [[ $(uname) == "Darwin" ]]; then 16 | open classes.png 17 | fi; 18 | -------------------------------------------------------------------------------- /dev_scripts_helpers/coding_tools/develop/call_graph.sh: -------------------------------------------------------------------------------- 1 | # https://github.com/scottrogowski/code2flow 2 | 3 | # # Install: 4 | # > pip install code2flow 5 | 6 | # # Run: 7 | # > code2flow ...py 8 | 9 | # # On Mac 10 | # > open out.png 11 | # # On Linux 12 | # > xdg-open out.png 13 | 14 | # https://github.com/davidfraser/pyan 15 | 16 | # # Install: 17 | # > pip install pyan3 18 | 19 | # # Run: 20 | # > pyan3 dataflow_lime/system/E8/test/test_E8_forecast_system.py --uses --no-defines --colored --grouped --annotated --svg >myuses.svg 21 | -------------------------------------------------------------------------------- /dev_scripts_helpers/cvxpy_setup/requirements.txt: -------------------------------------------------------------------------------- 1 | cvxpy 2 | jupyter 3 | jupyter_contrib_nbextensions 4 | jupyter_nbextensions_configurator 5 | jupytext 6 | matplotlib 7 | pandas 8 | seaborn 9 | -------------------------------------------------------------------------------- /dev_scripts_helpers/docker/docker_clean_all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | # From https://stackoverflow.com/questions/34658836/docker-is-in-volume-in-use-but-there-arent-any-docker-containers 4 | 5 | docker stop $(docker ps -aq) 6 | docker rm $(docker ps -aq) 7 | docker network prune -f 8 | #docker rmi -f $(docker images --filter dangling=true -qa) 9 | docker volume rm $(docker volume ls --filter dangling=true -q) 10 | #docker rmi -f $(docker images -qa) 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/docker/docker_clean_postgres.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | docker container ls | grep postgres:13 | awk '{print $1}' | xargs docker container rm --force 4 | 5 | docker volume ls | \grep postgres | awk '{print $2}' | xargs docker volume rm 6 | 7 | docker network ls | grep postgres | awk '{ print $1 }' | xargs docker network rm 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/dockerize/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/dockerize/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/documentation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/documentation/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/documentation/latexdockercmd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | IMAGE=blang/latex:ubuntu 3 | exec docker run --rm -i --user="$(id -u):$(id -g)" --net=none -v "$PWD":/data "$IMAGE" "$@" 4 | -------------------------------------------------------------------------------- /dev_scripts_helpers/documentation/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/documentation/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/documentation/test/outcomes/Test_run_dockerized_prettier.test1/input/input.md: -------------------------------------------------------------------------------- 1 | # This is a Heading 2 | 3 | This is a paragraph of text that will be formatted by Prettier. 4 | 5 | - List item 1 6 | - List item 2 7 | - List item 3 8 | 9 | 10 | ## Subheading 11 | 12 | Another paragraph to be formatted. 13 | 14 | 15 | > This is a blockquote. 16 | 17 | [Link to Google](https://www.google.com) 18 | -------------------------------------------------------------------------------- /dev_scripts_helpers/documentation/test/outcomes/Test_run_dockerized_prettier.test1/output/output.md: -------------------------------------------------------------------------------- 1 | # This is a Heading 2 | 3 | This is a paragraph of text that will be formatted by Prettier. 4 | 5 | - List item 1 6 | - List item 2 7 | - List item 3 8 | 9 | ## Subheading 10 | 11 | Another paragraph to be formatted. 12 | 13 | > This is a blockquote. 14 | 15 | [Link to Google](https://www.google.com) 16 | -------------------------------------------------------------------------------- /dev_scripts_helpers/documentation/test_lint_latex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | # 3 | # Run latex linter and check if the file was modified. 4 | # 5 | 6 | FILE_NAME=$1 7 | git checkout $FILE_NAME 8 | dev_scripts/latex/lint_latex.sh $FILE_NAME 9 | gd $FILE_NAME 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/encrypt_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/encrypt_models/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/encrypt_models/test_encrypted_model_in_lemonade.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | export MODEL_DIR=dataflow_lemonade 3 | amp/dev_scripts/encrypt_models/encrypt_model.py \ 4 | --input_dir $MODEL_DIR/pipelines \ 5 | --test \ 6 | --model_dag_builder "C1a_DagBuilder" \ 7 | --model_dag_builder_file C1/C1a_pipeline.py \ 8 | -v DEBUG \ 9 | 2>&1 | tee encrypt_model.log 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/encrypt_models/test_encrypted_model_in_orange.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | export MODEL_DIR=dataflow_lemonade 3 | amp/dev_scripts/encrypt_models/encrypt_model.py \ 4 | --input_dir $MODEL_DIR/pipelines \ 5 | --test \ 6 | --model_dag_builder "C1a_DagBuilder" \ 7 | --model_dag_builder_file C1/C1a_pipeline.py \ 8 | -v DEBUG \ 9 | 2>&1 | tee encrypt_model.log 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/git/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gcl: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Clean the client making a backup: 5 | # > gsp.py 6 | # > git clean -fd 7 | # """ 8 | 9 | source helpers.sh 10 | 11 | # Make a backup. 12 | execute "gsp.py" 13 | execute "git clean -fd" 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gco: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Checkout a branch and pull. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git checkout $1" 10 | execute "git pull --recurse-submodules" 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gcours: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Accept our changes in case of a conflict. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | FILES=$* 10 | echo "Accepting our version of $FILES" 11 | #cp $* $*.$(timestamp) 12 | execute "git checkout --ours $FILES" 13 | execute "git add $FILES" 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gctheirs: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Accept their changes in case of a conflict. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | FILES=$* 10 | echo "Accepting their version of $FILES" 11 | execute "git reset HEAD $FILES" 12 | execute "git checkout --theirs $FILES" 13 | execute "git add $FILES" 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gd: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # > git difftool $* 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git difftool $*" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gd_master.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Diff current branch against master. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git fetch" 10 | 11 | echo "==================== master - branch ====================" 12 | execute "gll ..origin/master" 13 | 14 | echo 15 | echo "==================== branch - master ====================" 16 | execute "gll origin/master.." 17 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gd_names.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Shortcut for 5 | # > git diff --name-only master... 6 | # """ 7 | 8 | git diff --name-only master... 9 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gdc: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # > git difftool --cached $* 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git difftool --cached $*" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gdpy: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Git diff all the python files. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | FILES=$(git_files.sh | grep "\.py$") 10 | echo "files=$FILES" 11 | 12 | execute "gd $FILES" 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_branch_name.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Print name of the branch. 5 | # """ 6 | 7 | # We don't use any wrapper so that we can use this result. 8 | 9 | git rev-parse --abbrev-ref HEAD 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_conflict_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Find files with git conflicts. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git diff --name-only --diff-filter=U" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_conflict_show.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Generate the files involved in a merge conflict. 5 | # """ 6 | 7 | for FILE in $*; do 8 | echo "# Processing $FILE" 9 | BASE="$FILE.1_base" 10 | git show :1:$FILE >$BASE 11 | # 12 | OUR="$FILE.2_our" 13 | git show :2:$FILE >$OUR 14 | # 15 | THEIR="$FILE.3_their" 16 | git show :3:$FILE >$THEIR 17 | # 18 | #ls $FILE.* 19 | echo "> vimdiff $THEIR $OUR" 20 | echo "> vimdiff $BASE $OUR" 21 | echo "> vimdiff $BASE $THEIR" 22 | done; 23 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Report git cached and modified files. 5 | # """ 6 | 7 | # We don't wrap into execute() since we often want to pipe the output through 8 | # other commands. 9 | 10 | (git diff --cached --name-only; git ls-files -m) | sort | uniq | perl -ne 'print if /\S/' 11 | #git status --porcelain 2>&1 | grep -v "?" | cut -f 3 -d ' ' 12 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_hash_head.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Show the commit hash that HEAD is at. 5 | # """ 6 | 7 | git rev-parse --short HEAD 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_hooks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/git/git_hooks/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_hooks/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/git/git_hooks/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_previous_commit_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Retrieve the files checked in by the current user in the n last commits. 5 | # """ 6 | 7 | if [[ -z $1 ]]; then 8 | num_commits=1 9 | else 10 | num_commits=$1 11 | fi; 12 | #echo "num_commits=$num_commits" 13 | 14 | # TODO(gp): Improve. 15 | git show --pretty="" --name-only $(git log --author $(git config user.name) -$num_commits | \grep commit | perl -pe 's/commit (.*)/$1/') 16 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_revert.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Force a revert of files to HEAD. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git reset HEAD $*" 10 | execute "git checkout -- $*" 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_root.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Report the path of the git client, e.g., /Users/saggese/src/amp 5 | # """ 6 | 7 | git rev-parse --show-toplevel 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_submodules_clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Clean all the submodules with `git clean -fd`. 5 | # """ 6 | 7 | # TODO(gp): Stash to be safe. 8 | 9 | AMP_DIR="amp" 10 | source $AMP_DIR/dev_scripts/helpers.sh 11 | 12 | cmd="git clean -fd" 13 | execute $cmd 14 | 15 | cd amp 16 | cmd="git clean -fd" 17 | execute $cmd 18 | cd .. 19 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_submodules_pull.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Force a git pull of all the repos. 5 | # """ 6 | 7 | AMP_DIR="./amp" 8 | source $AMP_DIR/dev_scripts/helpers.sh 9 | 10 | cmd="git pull --autostash" 11 | execute $cmd 12 | 13 | cmd="git submodule foreach git pull --autostash" 14 | execute $cmd 15 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_submodules_stash.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Make a backup of the submodules. 5 | # """ 6 | 7 | source $AMP_DIR/dev_scripts/helpers.sh 8 | 9 | msg="" 10 | if [[ -z $1 ]]; then 11 | msg=$1 12 | fi; 13 | echo "msg=$msg" 14 | 15 | cmd_="git stash save --keep-index '$msg' && git stash apply" 16 | 17 | cmd=$cmd_ 18 | execute $cmd 19 | 20 | cmd="git submodule foreach $cmd_" 21 | execute $cmd 22 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/git_untracked_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | git ls-files --others --exclude-standard 4 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gllmy: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Like gll / git ll but only referring to your commits. 5 | # 6 | # # Show my last 5 commits. 7 | # > gllmy -5 8 | # """ 9 | 10 | source dev_scripts/helpers.sh 11 | 12 | # from dev_scripts_helpers/gll 13 | GIT_OPTS="--pretty=format:'$GIT_LOG_OPTS'" 14 | GIT_OPTS+=" --author $(git config user.name)" 15 | 16 | CMD="git log --date=local --oneline --date-order $GIT_OPTS $*" 17 | execute $CMD 18 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gp: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Sync client and then push local commits. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | echo "==================== git pull ====================" 10 | execute "git pull --autostash --rebase" 11 | 12 | echo 13 | echo "==================== git push ====================" 14 | execute "git push" 15 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gpa: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # > git pull --autostash 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git pull --autostash" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/grc: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # > git rebase --continue 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "git rebase --continue" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/grs: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # git rebase --skip 5 | # """ 6 | 7 | git rebase --skip 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gs: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Print the status of the clients and of the submodules with `git status`. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | if [[ -f .gitmodules ]]; then 10 | echo "===================== supermodule =====================" 11 | fi; 12 | 13 | execute "git status $*" 14 | 15 | if [[ -f .gitmodules ]]; then 16 | echo "===================== submodule =====================" 17 | execute "git submodule foreach git status $*" 18 | fi; 19 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gs_to_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Filter output of `git status --short` 5 | # """ 6 | 7 | awk '{ print $2; }' 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gsl: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Print the stash list with: 5 | # > git stash list 6 | # """ 7 | 8 | source helpers.sh 9 | 10 | execute "git stash list" 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/git/gss: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Print the status of the clients and of the submodules with 5 | # git status --short 6 | # """ 7 | 8 | source helpers.sh 9 | 10 | if [[ -f .gitmodules ]]; then 11 | echo "===================== supermodule =====================" 12 | fi; 13 | 14 | execute "git status --short $*" 15 | 16 | if [[ -f .gitmodules ]]; then 17 | echo 18 | echo "===================== submodule =====================" 19 | execute "git submodule foreach git status --short $*" 20 | fi; 21 | -------------------------------------------------------------------------------- /dev_scripts_helpers/github/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/github/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/github/test/outcomes/Test_sync_gh_issue_labels1.test1/input/test_gh_issues_labels.yml: -------------------------------------------------------------------------------- 1 | # Test labels for GitHub issue label synchronization. 2 | - name: bug 3 | description: Bug label 4 | color: "#d73a4a" 5 | - name: feature 6 | description: Feature request 7 | color: "#00FF00" 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/infra/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/infra/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/infra/old/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/infra/old/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/infra/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/infra/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/integrate_repos/setup.sh: -------------------------------------------------------------------------------- 1 | # Set up the env vars in both clients. 2 | export AMP_DIR=/Users/saggese/src/amp1 3 | echo "# $AMP_DIR" 4 | ls $AMP_DIR 5 | 6 | export CMAMP_DIR=/Users/saggese/src/cmamp1 7 | echo "# $CMAMP_DIR" 8 | ls $CMAMP_DIR 9 | 10 | # Create branches 11 | DATE=20211210 12 | export BRANCH_NAME=AmpTask1786_Integrate_${DATE} 13 | i git_branch_create -b $BRANCH_NAME 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/lint/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/lint/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/llms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/llms/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/llms/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/llms/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/misc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/misc/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/notebooks/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Import as: 3 | 4 | import dev_scripts_helpers.notebooks as dsnrn 5 | """ 6 | 7 | from dev_scripts_helpers.notebooks.run_notebook_test_case import * # pylint: disable=unused-import # NOQA 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/notebooks/fix_vim_plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | DIR=$(jupyter --data-dir)/nbextensions 3 | if [[ ! -e $DIR ]]; then 4 | mkdir $DIR 5 | fi 6 | cd $DIR 7 | if [[ -e vim_binding ]]; then 8 | rm -rf vim_binding 9 | fi 10 | git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding 11 | jupyter nbextension enable vim_binding/vim_binding 12 | -------------------------------------------------------------------------------- /dev_scripts_helpers/notebooks/process_all_jupytext.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # """ 4 | # Apply process_jupytext.py to all the ipynb files. 5 | # """ 6 | 7 | #ACTION="$*" 8 | #ACTION="pair" 9 | #ACTION="test" 10 | ACTION="sync" 11 | find . -name "*.ipynb" | grep -v ipynb_checkpoints | xargs -t -L 1 process_jupytext.py --action $ACTION --file 12 | -------------------------------------------------------------------------------- /dev_scripts_helpers/old/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/old/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/old/cie: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # > conda info --envs 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | execute "conda info --envs" 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/old/create_conda/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/install/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/old/create_conda/install/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/install/create_conda.amp_develop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | CONDA_ENV="amp_develop" 4 | dev_scripts/install/create_conda.py \ 5 | --env_name $CONDA_ENV \ 6 | --req_file dev_scripts/install/requirements/amp_develop.yaml \ 7 | --delete_env_if_exists 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/install/requirements/sage.txt: -------------------------------------------------------------------------------- 1 | # python=2.7 2 | sage 3 | -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/install/show_jupyter_extensions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | DIR_NAME=$(jupyter --data-dir)/nbextensions 4 | echo "DIR_NAME=$DIR_NAME" 5 | 6 | jupyter nbextension list 7 | 8 | echo "===========================================" 9 | echo "Summary" 10 | echo "===========================================" 11 | jupyter nbextension list 2>/dev/null | grep enabled | awk '{print $1}' | sort | uniq 12 | -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/install/test_bootstrap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | # """ 4 | # Test all the executables that need to bootstrap. 5 | # """ 6 | 7 | (cd $HOME/src/...1/amp; dev_scripts/_setenv_amp.py) 8 | (cd $HOME/src/...1/amp; dev_scripts/install/create_conda.py -h) 9 | 10 | (cd $HOME/src/...1; dev_scripts/_setenv_amp.py) 11 | 12 | (cd $HOME/src/...1/amp; source dev_scripts/setenv_amp.sh) 13 | (cd $HOME/src/...1; source dev_scripts/setenv_....sh) 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/old/create_conda/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/old/create_conda/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/old/linter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/old/linter/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/poetry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/poetry/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/release_sorrentum/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/release_sorrentum/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/release_sorrentum/docker_bfg/bfg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | docker run -it --rm \ 3 | --volume "$PWD:/home/bfg/workspace" \ 4 | bfg \ 5 | --delete-files id_rsa 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/release_sorrentum/docker_bfg/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | set -e 4 | 5 | exec java -jar "$@" 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/release_sorrentum/filter_repo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/release_sorrentum/filter_repo/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/release_sorrentum/git_gc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -x 2 | du -d 1 -h . 3 | git -c gc.reflogExpire=0 \ 4 | -c gc.reflogExpireUnreachable=0 \ 5 | -c gc.rerereresolved=0 \ 6 | -c gc.rerereunresolved=0 \ 7 | -c gc.pruneExpire=now \ 8 | gc 9 | #git gc 10 | du -d 1 -h . 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/release_sorrentum/nb-clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | source /Users/saggese/src/venv/amp.client_venv/bin/activate 3 | echo "$@" 4 | /Users/saggese/src/venv/amp.client_venv/bin/nb-clean clean $@ 5 | exit 0 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/system_tools/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/compress_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | for i in *; do 4 | tar -czf $i.gz $i 5 | done 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/export_vars.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "export PATH=$PATH; export PYTHONPATH=$PYTHONPATH" 4 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/fix_perms.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | echo "CSFY_GIT_ROOT_PATH=$CSFY_GIT_ROOT_PATH" 4 | 5 | if [[ ! -d $CSFY_GIT_ROOT_PATH ]]; then 6 | echo "ERROR: Can't find the root dir $CSFY_GIT_ROOT_PATH" 7 | exit -1 8 | fi; 9 | 10 | sudo chown -R $(whoami):$(whoami) $CSFY_GIT_ROOT_PATH 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/i: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Equivalent to `alias i = "invoke"`. 3 | 4 | invoke $* 5 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/il: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Equivalent to `alias il = "invoke --list"`. 3 | 4 | invoke --list $* 5 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/it: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Equivalent to `alias it="invoke traceback"`. 3 | 4 | invoke traceback $* 5 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jack: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Search in all files. 5 | # > jack -r unit test -d hello 6 | # """ 7 | 8 | source helpers.sh 9 | 10 | parse_jack_cmd_opts "$@" 11 | 12 | cmd="ack $ACK_OPTS --ignore-file=is:tags --ignore-file=is:cscope.out --ignore-file=is:cscope.files '$regex' $dir" 13 | execute_with_verbose $cmd 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jackipynb: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Search in .ipynb files. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | parse_jack_cmd_opts "$@" 10 | 11 | cmd="find $dir \( -name '*.ipynb' \) -print0 | xargs -0 ack $ACK_OPTS '$regex'" 12 | execute_with_verbose $cmd 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jackmd: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Search in md files. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | parse_jack_cmd_opts "$@" 10 | 11 | cmd="find $dir \( -name '*.md' \) -print0 | xargs -0 ack $ACK_OPTS '$regex'" 12 | execute_with_verbose $cmd 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jackmk: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Search in makefiles. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | parse_jack_cmd_opts "$@" 10 | 11 | cmd="find $dir \( -name '*.mk' \) -print0 | xargs -0 ack $ACK_OPTS '$regex'" 12 | execute_with_verbose $cmd 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jackppy: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Search in .py and .ipynb files. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | parse_jack_cmd_opts "$@" 10 | 11 | cmd="find $dir \( -name '*.py' -o -name '*.ipynb' \) -print0 | xargs -0 ack $ACK_OPTS '$regex'" 12 | execute_with_verbose $cmd 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jackpyc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Run jackpy and pipe it to vim cfile. 4 | # 5 | cmd="jackpy $* | tee cfile; vic" 6 | echo "> $cmd" 7 | eval $cmd 8 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/jacktxt: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Search in txt files. 5 | # """ 6 | 7 | source helpers.sh 8 | 9 | parse_jack_cmd_opts "$@" 10 | 11 | cmd="find $dir \( -name '*.txt' \) -print0 | xargs -0 ack $ACK_OPTS '$regex'" 12 | execute_with_verbose $cmd 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/kga: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | # Kill all the stopped jobs. 3 | # From https://serverfault.com/questions/240155/how-can-i-kill-all-stopped-jobs 4 | JOBS=$(jobs -ps) 5 | if [[ ! -z $JOBS ]]; then 6 | echo "JOBS=$JOBS" 7 | kill -s 9 $JOBS 8 | fi; 9 | clear 10 | clear 11 | # 12 | JOBS=$(jobs -ps) 13 | if [[ ! -z $JOBS ]]; then 14 | echo "JOBS=$JOBS" 15 | kill -s 9 $JOBS 16 | clear 17 | clear 18 | fi; 19 | # 20 | reset 21 | reset 22 | # 23 | clear 24 | # 25 | jobs -ps 26 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/mk_targets: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | find . -name "*.mk" -o -name "Makefile" | xargs grep -H -n "^.*:$" 3 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/mkbak: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | file=$1.$(timestamp) 4 | echo "Saving to $file" 5 | cp -a $1 $file 6 | chmod -w $file 7 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/print_paths.sh: -------------------------------------------------------------------------------- 1 | #perl -e 'print join("\n", grep { not $seen{$_}++ } split(/:/, scalar <>))' | sort | uniq 2 | # We want to print the paths in the order to show which one will be picked first. 3 | perl -e 'print join("\n", split(/:/, scalar <>))' | sort 4 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/remove_empty_lines.sh: -------------------------------------------------------------------------------- 1 | perl -n -e 'print if /\S/' 2 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/remove_redundant_paths.sh: -------------------------------------------------------------------------------- 1 | perl -e 'print join(":", grep { not $seen{$_}++ } split(/:/, scalar <>))' 2 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/timestamp: -------------------------------------------------------------------------------- 1 | echo $(date +%Y%m%d)-$(date +%H_%M_%S) 2 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/viack: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Run a command, capture its output, and call vic on it. 5 | # You need to surround the command with '...' 6 | # > viack 'jackpy "config = cfg.Config.from_env()"' 7 | # """ 8 | 9 | source helpers.sh 10 | 11 | cmd=$* 12 | execute "$cmd | tee cfile" 13 | vic 14 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vic: -------------------------------------------------------------------------------- 1 | vim -c "cfile cfile" 2 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vif: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | FILE=$(path $1) 4 | echo "file=$FILE" 5 | vi $FILE 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vigit: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Open with vim all the files modified under git. 5 | # """ 6 | 7 | FILES=$(git_files.sh) 8 | echo "FILES=$FILES" 9 | vim $FILES 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vigitp: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Open with vim all the files modified in previous commits. 5 | # """ 6 | 7 | FILES=$(git_previous_commit_files.sh $*) 8 | echo "FILES=$FILES" 9 | vim $FILES 10 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vil: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | cmd='vim -c "cfile ./linter_warnings.txt"' 4 | echo "> $cmd" 5 | eval $cmd 6 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vile: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | \grep -E '(\[E|error:)' ./linter_warnings.txt > ./filtered_linter_warnings.txt 4 | cmd='vim -c "cfile ./filtered_linter_warnings.txt"' 5 | echo "> $cmd" 6 | eval $cmd 7 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/vit: -------------------------------------------------------------------------------- 1 | vim -c "set nospell" tmp.pytest_script.txt 2 | -------------------------------------------------------------------------------- /dev_scripts_helpers/system_tools/viw: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # """ 4 | # Open with vi the result of `which command`. 5 | # """ 6 | 7 | 8 | FILE=$(which $1) 9 | echo $FILE 10 | vim $FILE 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/test/outcomes/Test_get_files_to_replace.test1/input/file1.txt: -------------------------------------------------------------------------------- 1 | testing for Test.file1 2 | second line 3 | -------------------------------------------------------------------------------- /dev_scripts_helpers/test/outcomes/Test_get_files_to_replace.test1/input/file2.txt: -------------------------------------------------------------------------------- 1 | first line 2 | testing for Test.file2 3 | third line 4 | -------------------------------------------------------------------------------- /dev_scripts_helpers/test/outcomes/Test_get_files_to_replace.test1/input/file3.txt: -------------------------------------------------------------------------------- 1 | first line 2 | testing for Test.file 3 | -------------------------------------------------------------------------------- /dev_scripts_helpers/test/outcomes/Test_process_jupytext.test_end_to_end/output/test.txt: -------------------------------------------------------------------------------- 1 | - "_LOG = logging.getLogger(__name__)" 2 | + "_LOG = logging.getLogger(__name__)\n", 3 | ? ++ + 4 | 5 | + "\n", 6 | + "a = 0" -------------------------------------------------------------------------------- /dev_scripts_helpers/testing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/testing/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/testing/pytest_log: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | clear 3 | 4 | file_name="tmp.pytest_script.txt" 5 | cmd="pytest $* 2>&1 | tee $file_name" 6 | cmd+='; exit ${PIPESTATUS[0]}' 7 | echo "> $cmd" 8 | eval $cmd 9 | 10 | echo "# pytest_log: Saved result in '$file_name'" 11 | -------------------------------------------------------------------------------- /dev_scripts_helpers/thin_client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/thin_client/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/to_clean/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/to_clean/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/update_devops_packages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/update_devops_packages/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/update_devops_packages/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/dev_scripts_helpers/update_devops_packages/test/__init__.py -------------------------------------------------------------------------------- /dev_scripts_helpers/update_devops_packages/test/db_example/compose.connect.sh: -------------------------------------------------------------------------------- 1 | # Connect to the DB. 2 | network_name="main_network" 3 | docker \ 4 | run \ 5 | --rm \ 6 | -ti \ 7 | --network $network_name \ 8 | -e PGPASSWORD=topsecret \ 9 | postgres:13 \ 10 | psql -h test_postgres -U postgres 11 | 12 | # network_name="main_network" docker run --rm -ti --network $network_name -e PGPASSWORD=topsecret postgres:13 psql -h db_example_oms_postgres2344_1 -U aljsdalsd 13 | -------------------------------------------------------------------------------- /dev_scripts_helpers/update_devops_packages/test/db_example/compose.db.sh: -------------------------------------------------------------------------------- 1 | # Create a DB in a container called test_postgres. 2 | #network_name="compose_default" 3 | network_name="main_network" 4 | docker \ 5 | run \ 6 | --rm \ 7 | -ti \ 8 | --network $network_name \ 9 | -e POSTGRES_PASSWORD=topsecret \ 10 | --name db_example_oms_postgres2344_2 \ 11 | postgres:13 12 | -------------------------------------------------------------------------------- /dev_scripts_helpers/update_devops_packages/test/db_example/docker_clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | docker container ls | grep postgres:13 | awk '{print $1}' | xargs docker container rm --force 3 | 4 | docker volume ls | \grep postgres | awk '{print $2}' | xargs docker volume rm 5 | 6 | docker network ls | grep postgres | awk '{ print $1 }' | xargs docker network rm 7 | -------------------------------------------------------------------------------- /dev_scripts_helpers/update_devops_packages/test/db_example/local.oms_db_config_2344.env: -------------------------------------------------------------------------------- 1 | POSTGRES_DB=oms_postgres_db_local 2 | POSTGRES_PORT=7776 3 | POSTGRES_USER=aljsdalsd 4 | POSTGRES_PASSWORD=alsdkqoen 5 | -------------------------------------------------------------------------------- /devops/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/devops/__init__.py -------------------------------------------------------------------------------- /devops/compose/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/devops/compose/__init__.py -------------------------------------------------------------------------------- /devops/docker_build/dockerignore.dev: -------------------------------------------------------------------------------- 1 | # The build context for DEV is only devops, so we ignore everything but 2 | # `devops`. 3 | ** 4 | !devops/** 5 | !helpers_root/devops/** 6 | -------------------------------------------------------------------------------- /devops/docker_build/dockerignore.prod: -------------------------------------------------------------------------------- 1 | # Ignore infra directory when building prod container. 2 | ck.infra 3 | # Ignore infra directory when amp is a submodule. 4 | amp/ck.infra 5 | # Ignore docs dir, it can contain large files 6 | docs/ 7 | # TODO(Juraj): CmTask8294. 8 | # We cannot skip .git because some functionalities are used upon container 9 | # start-up. 10 | # .git/objects/pack 11 | # amp/.git/objects/pack 12 | -------------------------------------------------------------------------------- /devops/docker_build/fstab: -------------------------------------------------------------------------------- 1 | default00-bucket /s3/default00-bucket fuse.s3fs _netdev,allow_other,passwd_file=/etc/passwd-s3fs-default00-bucket,umask=000 0 0 2 | //172.31.17.18/share /fsx/research cifs user=admin,password=XXXXXXXXXXXXXXXX,file_mode=0777,dir_mode=0777,vers=2.0 0 0 3 | -------------------------------------------------------------------------------- /devops/docker_build/install_cprofile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | sudo apt-get install -y python3-dev 3 | sudo apt install -y libgraphviz-dev 4 | sudo apt-get install -y graphviz 5 | pip install gprof2dot 6 | pip install line_profiler 7 | -------------------------------------------------------------------------------- /devops/docker_build/poetry.toml: -------------------------------------------------------------------------------- 1 | cache-dir = "tmp.pypoetry" 2 | experimental.new-installer = true 3 | installer.parallel = true 4 | # We don't want poetry to automatically create / manage virtual environment 5 | # (see use devops/docker_build/install_requirements.sh). 6 | #virtualenvs.create = true 7 | virtualenvs.create = false 8 | virtualenvs.in-project = true 9 | -------------------------------------------------------------------------------- /devops/docker_build/prod.Dockerfile: -------------------------------------------------------------------------------- 1 | # 2 | # Create a PROD image with the current code inside of the DEV image. 3 | # 4 | ARG VERSION 5 | ARG ECR_BASE_PATH 6 | ARG IMAGE_NAME 7 | FROM ${ECR_BASE_PATH}/${IMAGE_NAME}:dev-${VERSION} 8 | 9 | RUN ls . 10 | COPY . /app 11 | -------------------------------------------------------------------------------- /devops/docker_run/bashrc: -------------------------------------------------------------------------------- 1 | # Use vi keybindings. 2 | set -o vi 3 | 4 | bind '"\e[A"':history-search-backward 5 | bind '"\e[B"':history-search-forward 6 | bind Space:magic-space 7 | -------------------------------------------------------------------------------- /docs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/__init__.py -------------------------------------------------------------------------------- /docs/code_guidelines/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/__init__.py -------------------------------------------------------------------------------- /docs/code_guidelines/all.code_design.how_to_guide_figs/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/all.code_design.how_to_guide_figs/image1.png -------------------------------------------------------------------------------- /docs/code_guidelines/all.code_design.how_to_guide_figs/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/all.code_design.how_to_guide_figs/image2.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/improve_productivity_using_ai/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/improve_productivity_using_ai/image1.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/improve_productivity_using_ai/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/improve_productivity_using_ai/image2.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/improve_productivity_using_ai/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/improve_productivity_using_ai/image3.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/improve_productivity_using_ai/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/improve_productivity_using_ai/image4.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/profiling/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/profiling/image1.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/profiling/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/profiling/image2.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/str_to_df/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/str_to_df/image1.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/submit_code_for_review/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/submit_code_for_review/image1.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/unit_tests/image_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/unit_tests/image_1.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/unit_tests/image_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/unit_tests/image_2.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/unit_tests/image_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/unit_tests/image_3.png -------------------------------------------------------------------------------- /docs/code_guidelines/figs/unit_tests/image_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/code_guidelines/figs/unit_tests/image_4.png -------------------------------------------------------------------------------- /docs/documentation_meta/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/documentation_meta/__init__.py -------------------------------------------------------------------------------- /docs/documentation_meta/figs/architecture_diagrams/UML.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/documentation_meta/figs/architecture_diagrams/UML.png -------------------------------------------------------------------------------- /docs/documentation_meta/figs/diataxis/diataxis_summary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/documentation_meta/figs/diataxis/diataxis_summary.png -------------------------------------------------------------------------------- /docs/general_background/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/general_background/__init__.py -------------------------------------------------------------------------------- /docs/onboarding/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/__init__.py -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig1_Tmux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig1_Tmux.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig1_puttygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig1_puttygen.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig2_gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig2_gh.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig2_puttygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig2_puttygen.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig3_putty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig3_putty.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig4_putty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig4_putty.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig5_putty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig5_putty.png -------------------------------------------------------------------------------- /docs/onboarding/figs/development_setup/Fig6_putty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/development_setup/Fig6_putty.png -------------------------------------------------------------------------------- /docs/onboarding/figs/google_calendar/Fig1_google_calendar_working_hour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/google_calendar/Fig1_google_calendar_working_hour.png -------------------------------------------------------------------------------- /docs/onboarding/figs/setup_vpn_and_dev_server_access/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/setup_vpn_and_dev_server_access/image1.png -------------------------------------------------------------------------------- /docs/onboarding/figs/setup_vpn_and_dev_server_access/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/setup_vpn_and_dev_server_access/image2.png -------------------------------------------------------------------------------- /docs/onboarding/figs/setup_vpn_and_dev_server_access/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/setup_vpn_and_dev_server_access/image3.png -------------------------------------------------------------------------------- /docs/onboarding/figs/setup_vpn_and_dev_server_access/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/setup_vpn_and_dev_server_access/image4.png -------------------------------------------------------------------------------- /docs/onboarding/figs/setup_vpn_and_dev_server_access/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/setup_vpn_and_dev_server_access/image5.png -------------------------------------------------------------------------------- /docs/onboarding/figs/setup_vpn_and_dev_server_access/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/setup_vpn_and_dev_server_access/image6.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image1.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image2.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image3.jpg -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image4.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image5.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image6.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image7.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image8.png -------------------------------------------------------------------------------- /docs/onboarding/figs/track_time_with_hubstaff/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/track_time_with_hubstaff/image9.png -------------------------------------------------------------------------------- /docs/onboarding/figs/troubleshooting/ipv6_dns_resolution_failure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/onboarding/figs/troubleshooting/ipv6_dns_resolution_failure.png -------------------------------------------------------------------------------- /docs/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/__init__.py -------------------------------------------------------------------------------- /docs/tools/all.llm_transform.how_to_guide.md: -------------------------------------------------------------------------------- 1 | # Available prompt tags: 2 | code_1_unit_test 3 | code_apply_refactoring 4 | code_comment 5 | code_docstring 6 | code_propose_refactoring 7 | code_review 8 | code_review_and_improve 9 | code_type_hints 10 | code_unit_test 11 | md_rewrite 12 | md_summarize_short 13 | slide_colorize 14 | slide_colorize_points 15 | slide_improve -------------------------------------------------------------------------------- /docs/tools/dev_system/figs/synchronize_gh_issue_labels/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/dev_system/figs/synchronize_gh_issue_labels/image1.png -------------------------------------------------------------------------------- /docs/tools/dev_system/figs/synchronize_gh_issue_labels/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/dev_system/figs/synchronize_gh_issue_labels/image2.png -------------------------------------------------------------------------------- /docs/tools/dev_system/figs/synchronize_gh_issue_labels/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/dev_system/figs/synchronize_gh_issue_labels/image3.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image1.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image2.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image3.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image4.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image5.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image6.png -------------------------------------------------------------------------------- /docs/tools/figs/coverage/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/coverage/image7.png -------------------------------------------------------------------------------- /docs/tools/figs/docker/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/docker/image1.png -------------------------------------------------------------------------------- /docs/tools/figs/docker/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/docker/image2.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image1.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image10.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image11.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image12.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image13.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image14.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image15.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image2.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image3.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image4.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image5.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image6.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image7.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image8.png -------------------------------------------------------------------------------- /docs/tools/figs/pycharm/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/pycharm/image9.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image1.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image10.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image11.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image12.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image13.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image2.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image3.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image4.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image5.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image6.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image7.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image8.png -------------------------------------------------------------------------------- /docs/tools/figs/veracrypt/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/veracrypt/image9.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image1.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image10.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image11.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image3.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image4.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image5.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image6.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image7.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image8.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/image9.png -------------------------------------------------------------------------------- /docs/tools/figs/visual_studio_code/port_fowarding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/tools/figs/visual_studio_code/port_fowarding.png -------------------------------------------------------------------------------- /docs/work_organization/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/__init__.py -------------------------------------------------------------------------------- /docs/work_organization/figs/all.buildmeister.how_to_guide.md/Buildmeister Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/all.buildmeister.how_to_guide.md/Buildmeister Image.png -------------------------------------------------------------------------------- /docs/work_organization/figs/all.buildmeister.how_to_guide.md/Duration Distribution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/all.buildmeister.how_to_guide.md/Duration Distribution.png -------------------------------------------------------------------------------- /docs/work_organization/figs/all.buildmeister.how_to_guide.md/Duration trend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/all.buildmeister.how_to_guide.md/Duration trend.png -------------------------------------------------------------------------------- /docs/work_organization/figs/all.buildmeister.how_to_guide.md/Retries Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/all.buildmeister.how_to_guide.md/Retries Image.png -------------------------------------------------------------------------------- /docs/work_organization/figs/all.buildmeister.how_to_guide.md/Slack Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/all.buildmeister.how_to_guide.md/Slack Image.png -------------------------------------------------------------------------------- /docs/work_organization/figs/all.buildmeister.how_to_guide.md/Trend Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/all.buildmeister.how_to_guide.md/Trend Image.png -------------------------------------------------------------------------------- /docs/work_organization/figs/contributor_scoring/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/contributor_scoring/image1.png -------------------------------------------------------------------------------- /docs/work_organization/figs/team_collaboration/1_Visits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/team_collaboration/1_Visits.png -------------------------------------------------------------------------------- /docs/work_organization/figs/team_collaboration/2_Settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/team_collaboration/2_Settings.png -------------------------------------------------------------------------------- /docs/work_organization/figs/team_collaboration/3_Request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/team_collaboration/3_Request.png -------------------------------------------------------------------------------- /docs/work_organization/figs/team_collaboration/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/team_collaboration/image.png -------------------------------------------------------------------------------- /docs/work_organization/figs/use_github/Draft_PR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/docs/work_organization/figs/use_github/Draft_PR.png -------------------------------------------------------------------------------- /helpers/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /helpers/htypes.py: -------------------------------------------------------------------------------- 1 | """ 2 | Contain general types based on standard Python libraries. 3 | 4 | Import as: 5 | 6 | import helpers.htypes as htypes 7 | """ 8 | 9 | from typing import Any, Dict 10 | 11 | Kwargs = Dict[str, Any] 12 | -------------------------------------------------------------------------------- /helpers/logging_testing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/logging_testing/__init__.py -------------------------------------------------------------------------------- /helpers/logging_testing/logging_module.py: -------------------------------------------------------------------------------- 1 | """ 2 | Import as: 3 | 4 | import helpers.logging_testing.logging_module as hltelomo 5 | """ 6 | 7 | import logging 8 | 9 | _LOG = logging.getLogger(__name__) 10 | print(f"_LOG={_LOG}") 11 | -------------------------------------------------------------------------------- /helpers/old/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/old/__init__.py -------------------------------------------------------------------------------- /helpers/telegram_notify/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/telegram_notify/__init__.py -------------------------------------------------------------------------------- /helpers/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/__init__.py -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCacheEnableCheckOnlyIfPresent1.test_disk_cache1/output/test.txt: -------------------------------------------------------------------------------- 1 | func(args=(1, 2) kwargs={}) 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCacheEnableCheckOnlyIfPresent1.test_mem_cache1/output/test.txt: -------------------------------------------------------------------------------- 1 | func(args=(1, 2) kwargs={}) 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCacheEnableCheckOnlyIfPresent1.test_mem_disk_cache1/output/test.txt: -------------------------------------------------------------------------------- 1 | func(args=(1, 2) kwargs={}) 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCacheEnableReadOnly1.test_disk_cache1/output/test.txt: -------------------------------------------------------------------------------- 1 | func(args=(4, 4) kwargs={}): trying to execute 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCacheEnableReadOnly1.test_mem_cache1/output/test.txt: -------------------------------------------------------------------------------- 1 | func(args=(4, 4) kwargs={}): trying to execute 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCacheEnableReadOnly1.test_mem_disk_cache1/output/test.txt: -------------------------------------------------------------------------------- 1 | func(args=(4, 4) kwargs={}): trying to execute 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_equal1/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_equal2/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_equal3/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_not_equal1/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_not_equal2/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_not_equal3/output/test_df.txt: -------------------------------------------------------------------------------- 1 | a b c 2 | 0 0 2 2 3 | 1 3 4 5 -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckDataFrame1.test_check_df_not_equal4/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckString1.test_check_string1/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckString1.test_check_string_not_equal1/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world2 -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckString1.test_check_string_not_equal2/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world2 -------------------------------------------------------------------------------- /helpers/test/outcomes/TestCheckString1.test_check_string_not_equal3/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world2 -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDataframeToJson.test_dataframe_to_json_datetime/output/test.txt: -------------------------------------------------------------------------------- 1 | original shape=(2, 2) 2 | Head: 3 | { 4 | "0":{ 5 | "col_1":"2020-01-01T00:00:00", 6 | "col_2":1.0 7 | }, 8 | "1":{ 9 | "col_1":"2020-05-12T00:00:00", 10 | "col_2":2.0 11 | } 12 | } 13 | Tail: 14 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDataframeToJson.test_dataframe_to_json_timestamp/output/test.txt: -------------------------------------------------------------------------------- 1 | original shape=(2, 2) 2 | Head: 3 | { 4 | "0":{ 5 | "col_1":"2020-01-01T00:00:00", 6 | "col_2":1.0 7 | }, 8 | "1":{ 9 | "col_1":"2020-05-12T00:00:00", 10 | "col_2":2.0 11 | } 12 | } 13 | Tail: 14 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDataframeToJson.test_dataframe_to_json_uuid/output/test.txt: -------------------------------------------------------------------------------- 1 | original shape=(2, 2) 2 | Head: 3 | { 4 | "0":{ 5 | "col_1":"421470c7-7797-4a94-b584-eb83ff2de88a", 6 | "col_2":1 7 | }, 8 | "1":{ 9 | "col_1":"22cde381-1782-43dc-8c7a-8712cbdf5ee1", 10 | "col_2":2 11 | } 12 | } 13 | Tail: 14 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_docker_images_ls_repo/output/test.txt: -------------------------------------------------------------------------------- 1 | ## docker_images_ls_repo: 2 | ## docker_login: 3 | eval $(aws ecr get-login --profile am --no-include-email --region us-east-1) 4 | docker image ls 665840871993.dkr.ecr.us-east-1.amazonaws.com 5 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_docker_kill_all/output/test.txt: -------------------------------------------------------------------------------- 1 | ## docker_kill: all=True 2 | docker ps -a 3 | docker rm -f $(docker ps -a -q) 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_docker_kill_last/output/test.txt: -------------------------------------------------------------------------------- 1 | ## docker_kill: all=False 2 | docker ps -l 3 | docker rm -f $(docker ps -l -q) 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_docker_ps/output/test.txt: -------------------------------------------------------------------------------- 1 | docker ps --format='table {{.ID}}\t{{.Label "user"}}\t{{.Image}}\t{{.Command}}\t{{.RunningFor}}\t{{.Status}}\t{{.Ports}}\t{{.Label "com.docker.compose.service"}}' -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_git_clean/output/test.txt: -------------------------------------------------------------------------------- 1 | report_memory_usage=False report_cpu_usage=False 2 | ## git_clean: dry_run=False 3 | find . -name '*\.pyc' -o -name '*\.pyo' -o -name '.coverage' -o -name '.ipynb_checkpoints' -o -name '.mypy_cache' -o -name '.pytest_cache' -o -name '__pycache__' -o -name 'cfile' -o -name 'tmp.*' -o -name '*.tmp' | sort | xargs rm -rf 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_git_fetch_master/output/test.txt: -------------------------------------------------------------------------------- 1 | report_memory_usage=False report_cpu_usage=False 2 | ## git_fetch_master: 3 | git fetch origin master:master 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_git_pull/output/test.txt: -------------------------------------------------------------------------------- 1 | report_memory_usage=False report_cpu_usage=False 2 | ## git_pull: 3 | git pull --autostash 4 | git submodule foreach 'git pull --autostash' 5 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks1.test_print_setup/output/test.txt: -------------------------------------------------------------------------------- 1 | ## print_setup: 2 | ECR_BASE_PATH=665840871993.dkr.ecr.us-east-1.amazonaws.com 3 | BASE_IMAGE=amp 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_images_ls_repo/output/test.txt: -------------------------------------------------------------------------------- 1 | call('eval $(aws ecr get-login --no-include-email --region us-east-1)') 2 | call('docker image ls 665840871993.dkr.ecr.us-east-1.amazonaws.com') 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_kill_all/output/test.txt: -------------------------------------------------------------------------------- 1 | call('docker ps -a') 2 | call('docker rm -f $(docker ps -a -q)') 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_kill_last/output/test.txt: -------------------------------------------------------------------------------- 1 | call('docker ps -l') 2 | call('docker rm -f $(docker ps -l -q)') 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_login/output/test.txt: -------------------------------------------------------------------------------- 1 | call('eval $(aws ecr get-login --profile am --no-include-email --region us-east-1)') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_ps/output/test.txt: -------------------------------------------------------------------------------- 1 | call('docker ps --format=\'table {{.ID}}\\t{{.Label "user"}}\\t{{.Image}}\\t{{.Command}}\\t{{.RunningFor}}\\t{{.Status}}\\t{{.Ports}}\\t{{.Label "com.docker.compose.service"}}\'') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_pull/output/test.txt: -------------------------------------------------------------------------------- 1 | call('eval $(aws ecr get-login --no-include-email --region us-east-1)') 2 | call('docker pull 665840871993.dkr.ecr.us-east-1.amazonaws.com/amp_test:dev', pty=True) 3 | call('docker pull 665840871993.dkr.ecr.us-east-1.amazonaws.com/helpers:prod', pty=True) 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_docker_stats/output/test.txt: -------------------------------------------------------------------------------- 1 | call("docker stats --no-stream --format='table {{.ID}}\\t{{.Name}}\\t{{.CPUPerc}}\\t{{.MemUsage}}\\t{{.MemPerc}}\\t{{.NetIO}}\\t{{.BlockIO}}\\t{{.PIDs}}'") 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_find_test_class1/output/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/TestDryRunTasks2.test_find_test_class1/output/test.txt -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_create_pr/output/test.txt: -------------------------------------------------------------------------------- 1 | call('gh pr create --repo alphamatic/amp --draft --title "AmpTask1310_Implement_RH1E" --body ""') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_create_pr1/output/test.txt: -------------------------------------------------------------------------------- 1 | call('gh pr create --repo github.com/alphamatic/amp --draft --title "test" --body "\n\n#1"') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_create_pr2/output/test.txt: -------------------------------------------------------------------------------- 1 | call('gh pr create --repo github.com/alphamatic/amp --draft --title "test" --body "hello_world\n\n#1"') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_create_pr3/output/test.txt: -------------------------------------------------------------------------------- 1 | call('gh pr create --repo github.com/alphamatic/amp --title "test" --body "\n\n#1"') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_issue_title/output/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/TestDryRunTasks2.test_gh_issue_title/output/test.txt -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_workflow_list/output/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/TestDryRunTasks2.test_gh_workflow_list/output/test.txt -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_gh_workflow_run/output/test.txt: -------------------------------------------------------------------------------- 1 | call('gh workflow run fast_tests.yml --ref AmpTask1310_Implement_RH1E') 2 | call('gh workflow run slow_tests.yml --ref AmpTask1310_Implement_RH1E') 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_branch_create/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git pull --autostash') 2 | call('git checkout -b test') 3 | call('git push --set-upstream origin test') 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_branch_create1/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git pull --autostash --rebase') 2 | call('git checkout -b AmpTask123_test') 3 | call('git push --set-upstream origin AmpTask123_test') 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_branch_create2/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git pull --autostash --rebase') 2 | call('git checkout -b CmampTask1_fix_amp_tmux_session_script') 3 | call('git push --set-upstream origin CmampTask1_fix_amp_tmux_session_script') 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_branch_files/output/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/TestDryRunTasks2.test_git_branch_files/output/test.txt -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_clean/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git clean -fd >/dev/null 2>&1') 2 | call("git submodule foreach 'git clean -fd >/dev/null 2>&1'") 3 | call("find . -name '*\\.pyc' -o -name '*\\.pyo' -o -name '.coverage' -o -name '.ipynb_checkpoints' -o -name '.mypy_cache' -o -name '.pytest_cache' -o -name '__pycache__' -o -name 'cfile' -o -name 'tmp.*' -o -name '*.tmp' | sort | xargs rm -rf") 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_clean2/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git clean -fd >/dev/null 2>&1') 2 | call("git submodule foreach 'git clean -fd >/dev/null 2>&1'") 3 | call("find . -name '*\\.pyc' -o -name '*\\.pyo' -o -name '.coverage' -o -name '.ipynb_checkpoints' -o -name '.mypy_cache' -o -name '.pytest_cache' -o -name '__pycache__' -o -name 'cfile' -o -name 'tmp.*' -o -name '*.tmp' | sort | xargs rm -rf") 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_fetch_master/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git fetch origin master:master') 2 | call("git submodule foreach 'git fetch origin master:master'") 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_merge_master/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git fetch origin master:master') 2 | call("git submodule foreach 'git fetch origin master:master'") 3 | call('git merge master') 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_git_pull/output/test.txt: -------------------------------------------------------------------------------- 1 | call('git pull --autostash') 2 | call("git submodule foreach 'git pull --autostash'") 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_lint1/output/test.txt: -------------------------------------------------------------------------------- 1 | call('./linters/base.py --files ./helpers/lib_tasks.py ./helpers/test/TestDryRunTasks2.test_git_branch_create/output/test.txt ./helpers/test/TestDryRunTasks2.test_git_merge_master/output/test.txt ./helpers/test/TestDryRunTasks2.test_lint1/output/test.txt ./helpers/test/TestDryRunTasks2.test_lint2/output/test.txt ./helpers/test/TestDryRunTasks2.test_lint3/output/test.txt ./helpers/test/test_lib_tasks.py') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_lint3/output/test.txt: -------------------------------------------------------------------------------- 1 | call('./linters/base.py --files /app/amp/helpers/test/test_lib_tasks.py') 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestDryRunTasks2.test_print_setup/output/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/TestDryRunTasks2.test_print_setup/output/test.txt -------------------------------------------------------------------------------- /helpers/test/outcomes/TestGetDocstrings.test1/input/test.txt: -------------------------------------------------------------------------------- 1 | def func1(): 2 | """ 3 | First function. 4 | 5 | ``` 6 | foo 7 | ``` 8 | """ 9 | 10 | 11 | def func2(): 12 | """ 13 | Second function. 14 | 15 | ``` 16 | foo 17 | ``` 18 | """ -------------------------------------------------------------------------------- /helpers/test/outcomes/TestSql1.test_create_insert_query/output/test.txt: -------------------------------------------------------------------------------- 1 | INSERT INTO test_table(id,column_1,column_2) VALUES %s 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/TestSql1.test_duplicate_removal1/output/test.txt: -------------------------------------------------------------------------------- 1 | original shape=(3, 3) 2 | Head: 3 | { 4 | "0":{ 5 | "id":1, 6 | "column_1":1000.0, 7 | "column_2":"test_string_1" 8 | }, 9 | "1":{ 10 | "id":4, 11 | "column_1":1002.0, 12 | "column_2":"test_string_3" 13 | }, 14 | "2":{ 15 | "id":5, 16 | "column_1":1001.0, 17 | "column_2":"test_string_2" 18 | } 19 | } 20 | Tail: 21 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_CheckSummary.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | description comment is_ok 2 | 0 hello Number of not submitted OMS child orders=0 / 7... True 3 | 1 hello2 ok True 4 | is_ok=True -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_CheckSummary.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | description comment is_ok 2 | 0 hello Number of not submitted OMS child orders=0 / 7... True 3 | 1 hello2 not_ok False 4 | is_ok=False -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_apply_column_mode.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | df1.columns.difference(df2.columns)= 6 | Index(['B'], dtype='object') 7 | df2.columns.difference(df1.columns)= 8 | Index(['C'], dtype='object') 9 | ################################################################################ 10 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_apply_index_mode.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | df1.index.difference(df2.index)= 6 | Index([1, 4], dtype='int64') 7 | df2.index.difference(df1.index)= 8 | Index([5, 6], dtype='int64') 9 | ################################################################################ 10 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_check_header_list1.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | Consecutive headers increase by more than one level: 2 | HeaderInfo(1, 'Chapter 1', 1) 3 | HeaderInfo(3, 'Subsection 1.1.1', 6) -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_check_string_debug1.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_check_string_debug1.test2/output/test_df.txt: -------------------------------------------------------------------------------- 1 | ,a,b,c 2 | 0,0,1,2 3 | 1,3,4,5 4 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_convert_csv_to_dict.test1/input/test.csv: -------------------------------------------------------------------------------- 1 | col1,col2,col3 2 | a,a,a 3 | b,b,b 4 | c,,c 5 | d,, 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert1.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert1.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | hello 6 | ################################################################################ 7 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert1.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | hello world 6 | ################################################################################ 7 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert1.test5/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | Caught assertion while formatting message: 6 | 'not all arguments converted during string formatting' 7 | hello %s world too_many 8 | ################################################################################ 9 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert1.test6/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | cond=False 5 | Caught assertion while formatting message: 6 | 'not enough arguments for format string' 7 | hello %s 8 | ################################################################################ 9 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert1.test7/output/test.txt: -------------------------------------------------------------------------------- 1 | You passed '['hello']' or type '' instead of str 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_eq1.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | '1' 5 | == 6 | '2' 7 | hello world 8 | ################################################################################ 9 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_eq1.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | '1' 5 | == 6 | '2' 7 | hello world 8 | ################################################################################ 9 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_eq1.test5/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | '1' 5 | == 6 | '2' 7 | Caught assertion while formatting message: 8 | 'not enough arguments for format string' 9 | hello %s 10 | ################################################################################ 11 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_issubclass1.test_fail1/output/test.txt: -------------------------------------------------------------------------------- 1 | issubclass() arg 2 must be a class, a tuple of classes, or a union -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_issubclass1.test_man_fail1/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | Instance '' of class '_Man' is not a subclass of '' 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_issubclass1.test_man_fail2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | Instance '' of class '_Man' is not a subclass of '' 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_eq_all2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | val1=3 5 | [1, 2, 3] 6 | val2=3 7 | [1, 2, 4] 8 | ################################################################################ 9 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_in2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | 'a' in '['xyz']' 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_is2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | 'a' is 'None' 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_is_instance2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | Instance of 'a' is '' instead of '' 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_is_instance5/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | Instance of 'a' is '' instead of '(, )' 5 | ################################################################################ 6 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_is_sorted2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | val1= 5 | [1, 2, 4, 3] 6 | is not sorted 7 | sorted(val1)= 8 | [1, 2, 3, 4] 9 | ################################################################################ 10 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_is_sorted4/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | val1= 5 | [1, 2, 4, 3] 6 | is not sorted 7 | sorted(val1)= 8 | [4, 3, 2, 1] 9 | ################################################################################ 10 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_misc1.test_no_duplicates2/output/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ################################################################################ 3 | * Failed assertion * 4 | val1= 5 | [1, 3, 3] 6 | has duplicates 7 | 3 8 | ################################################################################ 9 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_dassert_str_is_date.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | date='2022-11-01' doesn't have the right format: time data '2022-11-01' does not match format '%Y%m%d' -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_find_check_string_output1.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | A fake check_string output to use for test1 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_find_check_string_output1.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | A fake check_string output to use for test2 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_find_file_with_dir1.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_find_file_with_dir1.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_find_file_with_dir1.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_find_file_with_dir1.test5/output/test.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_from_typed_csv.test1/input/test.csv: -------------------------------------------------------------------------------- 1 | A,B,C,D,E 2 | 1,2.3456,c,d,78 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_from_typed_csv.test1/input/test.csv.types: -------------------------------------------------------------------------------- 1 | {'A': 'int64', 'B': 'float64', 'C': 'object', 'D': 'object', 'E': 'int64'} -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_0/config.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_0/config.pkl -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_0/config.txt: -------------------------------------------------------------------------------- 1 | fail: False 2 | id: 0 3 | meta: 4 | id: 0 5 | config_builder: dev_scripts.test.test_run_notebook.build_configs1() 6 | dst_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch 7 | experiment_result_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch/result_0 8 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_0/run_notebook.0.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_0/run_notebook.0.log -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_1/config.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_1/config.pkl -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_1/config.txt: -------------------------------------------------------------------------------- 1 | fail: False 2 | id: 1 3 | meta: 4 | id: 1 5 | config_builder: dev_scripts.test.test_run_notebook.build_configs1() 6 | dst_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch 7 | experiment_result_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch/result_1 8 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_1/run_notebook.1.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/Test_get_dir_signature1.test1/input/result_1/run_notebook.1.log -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test2/input/result_0/config.txt: -------------------------------------------------------------------------------- 1 | fail: False 2 | id: 0 3 | meta: 4 | id: 0 5 | config_builder: dev_scripts.test.test_run_notebook.build_configs1() 6 | dst_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch 7 | experiment_result_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch/result_0 8 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test2/input/result_0/run_notebook.0.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/Test_get_dir_signature1.test2/input/result_0/run_notebook.0.log -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test2/input/result_1/config.txt: -------------------------------------------------------------------------------- 1 | fail: False 2 | id: 1 3 | meta: 4 | id: 1 5 | config_builder: dev_scripts.test.test_run_notebook.build_configs1() 6 | dst_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch 7 | experiment_result_dir: /app/amp/dev_scripts/test/outcomes/TestRunNotebook1.test1/tmp.scratch/result_1 8 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_get_dir_signature1.test2/input/result_1/run_notebook.1.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/helpers/test/outcomes/Test_get_dir_signature1.test2/input/result_1/run_notebook.1.log -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_load_df_from_json.test1/input/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "col1": [ 3 | "a", 4 | "b", 5 | "c", 6 | "d" 7 | ], 8 | "col2": [ 9 | "a", 10 | "b" 11 | ], 12 | "col3": [ 13 | "a", 14 | "b", 15 | "c" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_obj_to_str1.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | str: 3 | ################################################################################ 4 | _Object1 at 0x=(a=False, b=hello, c=3.14) 5 | ################################################################################ 6 | repr: 7 | ################################################################################ 8 | : 9 | a='False' 10 | b='hello' 11 | c='3.14' 12 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_obj_to_str1.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | str: 3 | ################################################################################ 4 | _Object1 at 0x=(a=False, b=hello, c=3.14) 5 | ################################################################################ 6 | repr: 7 | ################################################################################ 8 | : 9 | a='False' 10 | b='hello' 11 | c='3.14' 12 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_open_html.test_linux1/output/test.txt: -------------------------------------------------------------------------------- 1 | xdg-open a.html 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_open_html.test_mac1/output/test.txt: -------------------------------------------------------------------------------- 1 | None 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_open_html.test_windows1/output/test.txt: -------------------------------------------------------------------------------- 1 | None 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_open_pdf.test_mac1/output/test.txt: -------------------------------------------------------------------------------- 1 | None 2 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_process_code_block1.test1/input/test.txt: -------------------------------------------------------------------------------- 1 | - Functions can be declared in the body of another function 2 | - E.g., to hide utility functions in the scope of the function that uses them 3 | ```python 4 | def print_integers(values): 5 | 6 | def _is_integer(value): 7 | try: 8 | return value == int(value) 9 | except: 10 | return False 11 | 12 | for v in values: 13 | if _is_integer(v): 14 | print(v) 15 | ``` 16 | - Hello -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_process_lines1.test1/input/test.txt: -------------------------------------------------------------------------------- 1 | - Functions can be declared in the body of another function 2 | - E.g., to hide utility functions in the scope of the function that uses them 3 | ```python 4 | def print_integers(values): 5 | 6 | def _is_integer(value): 7 | try: 8 | return value == int(value) 9 | except: 10 | return False 11 | 12 | for v in values: 13 | if _is_integer(v): 14 | print(v) 15 | ``` 16 | - Hello -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_purify_from_env_vars.test_end_to_end/output/test.txt: -------------------------------------------------------------------------------- 1 | $AM_AWS_S3_BUCKET = $AM_AWS_S3_BUCKET 2 | $CSFY_AWS_S3_BUCKET = $CSFY_AWS_S3_BUCKET 3 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_remove_code_delimiters1.test2/input/test.txt: -------------------------------------------------------------------------------- 1 | 2 | ```python 3 | 4 | def check_empty_lines(): 5 | print("Check empty lines are present!") 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_remove_code_delimiters1.test4/input/test.txt: -------------------------------------------------------------------------------- 1 | - Functions can be declared in the body of another function 2 | - E.g., to hide utility functions in the scope of the function that uses them 3 | ```python 4 | def print_integers(values): 5 | 6 | def _is_integer(value): 7 | try: 8 | return value == int(value) 9 | except: 10 | return False 11 | 12 | for v in values: 13 | if _is_integer(v): 14 | print(v) 15 | ``` 16 | - Hello -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_remove_code_delimiters1.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | - Functions can be declared in the body of another function 2 | - E.g., to hide utility functions in the scope of the function that uses them 3 | 4 | def print_integers(values): 5 | 6 | def _is_integer(value): 7 | try: 8 | return value == int(value) 9 | except: 10 | return False 11 | 12 | for v in values: 13 | if _is_integer(v): 14 | print(v) 15 | 16 | - Hello -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_remove_code_delimiters1.test6/input/test.txt: -------------------------------------------------------------------------------- 1 | ```python 2 | def no_start_python(): 3 | print("No mention of python at the start")``` 4 | ``` 5 | 6 | ``` 7 | A markdown paragraph contains 8 | delimiters that needs to be removed. 9 | ``` -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_sanity_check_header_list1.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | Consecutive headers increase by more than one level: 2 | HeaderInfo(1, 'Chapter 1', 1) 3 | HeaderInfo(3, 'Subsection 1.1.1', 6) -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_str_to_timestamp1.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | time data "28-07-2023 15:05:13" doesn't match format "%Y%m%d_%H%M%S", at position 0. You might want to try: 2 | - passing `format` if your strings have a consistent format; 3 | - passing `format='ISO8601'` if your strings are all ISO8601 but not necessarily in exactly the same format; 4 | - passing `format='mixed'`, and the format will be inferred for each element individually. You might want to use `dayfirst` alongside this. -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_str_to_timestamp1.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | Unknown datetime string format, unable to parse: qwe28abc07-201234, at position 0 -------------------------------------------------------------------------------- /helpers/test/outcomes/Test_to_typed_csv.test1/input/test.csv: -------------------------------------------------------------------------------- 1 | A,B,C,D,E 2 | 1,2.3456,c,d,78 3 | -------------------------------------------------------------------------------- /helpers/unit_test_template.py: -------------------------------------------------------------------------------- 1 | """ 2 | Import as: 3 | 4 | import helpers.unit_test_template as hunteske 5 | """ 6 | 7 | import logging 8 | 9 | import helpers.hunit_test as hunitest 10 | 11 | _LOG = logging.getLogger(__name__) 12 | 13 | 14 | # ############################################################################# 15 | # Test_Example 16 | # ############################################################################# 17 | 18 | 19 | class Test_Example(hunitest.TestCase): 20 | def test_example1(self) -> None: 21 | pass 22 | -------------------------------------------------------------------------------- /import_check/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/__init__.py -------------------------------------------------------------------------------- /import_check/example/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/__init__.py -------------------------------------------------------------------------------- /import_check/example/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/input/__init__.py -------------------------------------------------------------------------------- /import_check/example/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/example/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | 3 | import input.subdir2.file1 4 | -------------------------------------------------------------------------------- /import_check/example/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/example/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/example/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | 3 | import input.subdir2.subdir3.file1 4 | -------------------------------------------------------------------------------- /import_check/example/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/example/input/subdir2/subdir3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/input/subdir2/subdir3/__init__.py -------------------------------------------------------------------------------- /import_check/example/input/subdir2/subdir3/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.subdir3.file2 2 | -------------------------------------------------------------------------------- /import_check/example/input/subdir2/subdir3/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.subdir3.file1 2 | -------------------------------------------------------------------------------- /import_check/example/input/subdir2/subdir3/file3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/input/subdir2/subdir3/file3.py -------------------------------------------------------------------------------- /import_check/example/input/subdir4/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/input/subdir4/__init__.py -------------------------------------------------------------------------------- /import_check/example/input/subdir4/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir4.file2 2 | -------------------------------------------------------------------------------- /import_check/example/input/subdir4/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir4.file3 2 | -------------------------------------------------------------------------------- /import_check/example/input/subdir4/file3.py: -------------------------------------------------------------------------------- 1 | import input.subdir4.file1 2 | -------------------------------------------------------------------------------- /import_check/example/output/basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/output/basic.png -------------------------------------------------------------------------------- /import_check/example/output/cyclic_deps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/output/cyclic_deps.png -------------------------------------------------------------------------------- /import_check/example/output/directory_deps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/output/directory_deps.png -------------------------------------------------------------------------------- /import_check/example/output/external_deps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/output/external_deps.png -------------------------------------------------------------------------------- /import_check/example/output/max_level_deps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/example/output/max_level_deps.png -------------------------------------------------------------------------------- /import_check/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test1/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test1/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test1/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test1/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test10/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test10/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test11/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test11/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test11/input/subdir1/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test11/input/subdir1/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test11/input/subdir1/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.subdir2.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test11/input/subdir1/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.subdir2.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test12/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test13/input/subdir1/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test13/input/subdir1/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test13/input/subdir1/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.subdir2.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test13/input/subdir1/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.subdir2.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test2/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test2/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test2/input/file1.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test2/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test3/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test3/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test3/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test3/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file3 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test3/input/file3.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test4/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test4/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test4/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test4/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test4/input/file3.py: -------------------------------------------------------------------------------- 1 | import input.file4 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test4/input/file4.py: -------------------------------------------------------------------------------- 1 | import input.file3 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test5/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test5/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test5/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test5/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test5/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test5/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test5/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test5/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test6/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test6/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.subdir3.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir2/subdir3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir2/subdir3/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test6/input/subdir2/subdir3/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test7/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/subdir2/subdir3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/subdir2/subdir3/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir1/subdir2/subdir3/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir4.subdir5.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir4/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir4/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir4/subdir5/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir4/subdir5/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test7/input/subdir4/subdir5/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.subdir2.subdir3.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test8/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test8/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test8/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test8/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test8/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test8/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test9/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_detect_import_cycles.test9/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test9/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test9/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test9/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_detect_import_cycles.test9/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.subdir2.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test1/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test1/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test1/input/file1.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test1/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test10/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test10/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test10/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test10/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test10/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test10/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test10/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test10/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import subdir1.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test11/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test11/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test11/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test11/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | import input.file3 3 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test11/input/file3.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test11/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file3" [label=file3 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file2" -> "input.file3" 9 | "input.file3" -> "input.file2" 10 | } 11 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test11/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file3" [label=file3 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file2" -> "input.file3" 9 | "input.file3" -> "input.file2" 10 | } 11 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test12/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test12/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test12/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test12/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test12/input/file3.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test12/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | } 3 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test12/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | } 3 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test13/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test13/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test13/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test13/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file3 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test13/input/file3.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test14/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test14/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test14/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test14/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test14/input/file3.py: -------------------------------------------------------------------------------- 1 | import input.file4 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test14/input/file4.py: -------------------------------------------------------------------------------- 1 | import input.file3 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test2/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test2/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test2/input/file1.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test2/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test2/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file2" -> "input.file1" 9 | } 10 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test2/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file2" -> "input.file1" 9 | } 10 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test3/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test3/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test3/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | } 3 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test3/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | } 3 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test4/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test4/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test4/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test4/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test4/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | numpy [label=numpy color=red shape=folder] 3 | subgraph cluster_input { 4 | graph [compound=true label=input] 5 | node [style=filled] 6 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 8 | } 9 | "input.file1" -> numpy 10 | "input.file2" -> "input.file1" 11 | } 12 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | numpy [label=numpy color=red shape=folder] 3 | subgraph cluster_input { 4 | graph [compound=true label=input] 5 | node [style=filled] 6 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 8 | } 9 | "input.file1" -> numpy 10 | "input.file2" -> "input.file1" 11 | } 12 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test5/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test5/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test5/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test5/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test6/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test6/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test6/input/file1.py: -------------------------------------------------------------------------------- 1 | import input.file2 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test6/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test6/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file1" -> "input.file2" 9 | "input.file2" -> "input.file1" 10 | } 11 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test6/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file1" -> "input.file2" 9 | "input.file2" -> "input.file1" 10 | } 11 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test7/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test7/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test7/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test7/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test7/output/output: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file2" -> "input.file1" 9 | } 10 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test7/output/test.txt: -------------------------------------------------------------------------------- 1 | strict digraph { 2 | subgraph cluster_input { 3 | graph [compound=true label=input] 4 | node [style=filled] 5 | color=darkslategray "input.file1" [label=file1 color=cyan3 labelfontcolor=darkslategray shape=oval] 6 | "input.file2" [label=file2 color=cyan3 labelfontcolor=darkslategray shape=oval] 7 | } 8 | "input.file2" -> "input.file1" 9 | } 10 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test8/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test8/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test8/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test8/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test9/input/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test9/input/subdir1/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/subdir1/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/subdir1/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/import_check/test/outcomes/Test_show_imports.test9/input/subdir2/__init__.py -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/subdir2/file1.py: -------------------------------------------------------------------------------- 1 | import numpy 2 | -------------------------------------------------------------------------------- /import_check/test/outcomes/Test_show_imports.test9/input/subdir2/file2.py: -------------------------------------------------------------------------------- 1 | import input.file1 2 | -------------------------------------------------------------------------------- /invoke.yaml: -------------------------------------------------------------------------------- 1 | tasks: 2 | auto_dash_names: false 3 | run: 4 | echo: true 5 | -------------------------------------------------------------------------------- /linters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/__init__.py -------------------------------------------------------------------------------- /linters/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/TestEndToEnd.test/output/test.txt: -------------------------------------------------------------------------------- 1 | import itertools as itools 2 | import os 3 | from typing import List, Set 4 | 5 | import bs4 6 | import numpy as npy 7 | import pandas as pd 8 | 9 | import helpers.hgit as hgit 10 | import helpers.hs3 11 | import helpers.hsql as hsql 12 | import helpers.hsystem as hsystem 13 | 14 | wrong_module_usage = hsql.test() 15 | correct_module_usage = hgit.get_client_root() -------------------------------------------------------------------------------- /linters/test/outcomes/TestFindUnbalancedBackticks.test1/input/test.txt: -------------------------------------------------------------------------------- 1 | def func1(): 2 | """ 3 | First function. 4 | 5 | ``` 6 | Valid backticks. 7 | ``` 8 | """ 9 | 10 | 11 | def func2(): 12 | """ 13 | Second function. 14 | 15 | ``` 16 | Missing closing backticks. 17 | """ 18 | 19 | 20 | def func3(): 21 | """ 22 | Third function. 23 | 24 | ``` 25 | Missing closing backticks. 26 | """ -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test1/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test1/input/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test1/input/file1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test1/input/file1.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test1/input/file2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test1/input/file2.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test2/input/file1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test2/input/file1.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test2/input/file2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test2/input/file2.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test3/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test3/input/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test3/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test3/input/subdir1/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test3/input/subdir1/file1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test3/input/subdir1/file1.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test3/input/subdir2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test3/input/subdir2/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test3/input/subdir2/file1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test3/input/subdir2/file1.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test4/input/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test4/input/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test4/input/subdir1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test4/input/subdir1/__init__.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test4/input/subdir1/file1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test4/input/subdir1/file1.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_add_python_init_files.test4/input/subdir2/file1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/causify-ai/helpers/2e143a89a34c2ec02d6df9430f37187661f433b4/linters/test/outcomes/Test_add_python_init_files.test4/input/subdir2/file1.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_fix_links.test11/output/test.txt: -------------------------------------------------------------------------------- 1 | # linter warnings 2 | 3 | 4 | # linted file 5 | Links inside fenced block that should not be formatted: 6 | ``` 7 | https://example.com/inside-fenced-block 8 | http://github.com/user/repo 9 | ``` 10 | 11 | Another fenced block with different language: 12 | ```python 13 | url = "https://example.com/python-url" 14 | response = requests.get("https://api.github.com/users") 15 | ``` 16 | -------------------------------------------------------------------------------- /linters/test/outcomes/Test_fix_links.test14/output/test.txt: -------------------------------------------------------------------------------- 1 | # linter warnings 2 | 3 | 4 | # linted file 5 | - File path inside triple ticks: 6 | ```bash 7 | With backticks: `helpers/hgit.py` 8 | Without backticks: helpers/hgit.py 9 | ``` 10 | -------------------------------------------------------------------------------- /linters/test/outcomes/Test_fix_links.test5/output/test.txt: -------------------------------------------------------------------------------- 1 | # linter warnings 2 | 3 | 4 | # linted file 5 | # Reference test file 6 | 7 | - [Introduction](#introduction) 8 | - [Hyphen test](#hyphen-test) 9 | 10 | ## Introduction 11 | 12 | A test header with one word in the reference file. 13 | 14 | ## Hyphen test 15 | 16 | A test to check two words header in the reference file. 17 | -------------------------------------------------------------------------------- /linters/test/outcomes/Test_fix_links.test6/output/test.txt: -------------------------------------------------------------------------------- 1 | # linter warnings 2 | 3 | 4 | # linted file 5 | Website: [Website](http://example.com) 6 | 7 | Secure site: [Secure](https://example.com) 8 | 9 | Email: [Email](mailto:user@example.com) 10 | 11 | FTP: [FTP](ftp://files.example.com) 12 | 13 | Tel: [Call](tel:+1234567890) 14 | 15 | -------------------------------------------------------------------------------- /linters/test/outcomes/Test_linter_py1.test_DevToolsTask408/input/test.txt: -------------------------------------------------------------------------------- 1 | 2 | import logging 3 | 4 | import helpers.hdbg as hdbg 5 | 6 | _LOG = logging.getLogger(__name__) 7 | 8 | s = "hello" 9 | a = "Checking {}".format(s) 10 | _LOG.debug("Checking '%s'.", s) 11 | hdbg.dassert(s.startswith("h"), "Checking '%s'.", s) -------------------------------------------------------------------------------- /linters/test/outcomes/Test_linter_py1.test_linter_md1/input/test.txt: -------------------------------------------------------------------------------- 1 | 2 | # Good. 3 | - Good time management 4 | 1. choose the right tasks 5 | - Avoid non-essential tasks 6 | 7 | ## Bad 8 | - Hello 9 | - World -------------------------------------------------------------------------------- /linters/test/outcomes/Test_linter_py1.test_linter_md2/input/test.txt: -------------------------------------------------------------------------------- 1 | 2 | # Header1 3 | ```text 4 | test text 5 | nothing should be changed -------------------------------------------------------------------------------- /linters/test/outcomes/Test_linter_py1.test_linter_txt1/input/test.txt: -------------------------------------------------------------------------------- 1 | 2 | //src/linters/test/test_precommit.py 3 | //src/linters/utils.py 4 | //src/zenhub_stats/notebooks/stats.py 5 | //src/zenhub_stats/stats.py 6 | //src/zenhub_stats/test/test_stats.py 7 | //src/zenhub_stats/zenhub_typing/__init__.py 8 | //src/zenhub_stats/zenhub_typing/issue.py 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /linters/test/outcomes/Test_linter_py1.test_linter_txt2/input/test.txt: -------------------------------------------------------------------------------- 1 | 2 | //src/linters/test/test_precommit.py 3 | //src/linters/utils.py 4 | //src/zenhub_stats/notebooks/stats.py 5 | //src/zenhub_stats/stats.py 6 | //src/zenhub_stats/test/test_stats.py 7 | //src/zenhub_stats/zenhub_typing/__init__.py 8 | //src/zenhub_stats/zenhub_typing/issue.py -------------------------------------------------------------------------------- /linters/test/outcomes/Test_process_markdown_file.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | # linter warnings 2 | 3 | /app/linters/test/outcomes/Test_process_markdown_file.test1/tmp.scratch/test_no_toc.md:4: Content found before Table of Contents (TOC). 4 | 5 | # linted file 6 | 7 | 8 | # Introduction 9 | 10 | Some introductory content before TOC. 11 | 12 | Table of Contents 13 | 14 | - [Introduction](#introduction) 15 | -------------------------------------------------------------------------------- /linters/test/outcomes/Test_remove_empty_lines.test1/input/test.txt: -------------------------------------------------------------------------------- 1 | import os 2 | import numpy as np 3 | import pandas as pd 4 | 5 | from typing import List, Tuple 6 | 7 | def add(a: int, b: int) -> int: 8 | """ 9 | Return the sum of 2 numbers. 10 | 11 | :param a: first number 12 | :param b: second number 13 | :return: sum of 2 numbers 14 | """ 15 | 16 | print("Inside function add()") 17 | 18 | return a + b 19 | 20 | 21 | result = add(2, 3) 22 | 23 | print("Result: ", result) 24 | print("Outside function") -------------------------------------------------------------------------------- /linters/test/outcomes/Test_remove_empty_lines.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | import os 2 | import numpy as np 3 | import pandas as pd 4 | 5 | from typing import List, Tuple 6 | 7 | def add(a: int, b: int) -> int: 8 | """ 9 | Return the sum of 2 numbers. 10 | 11 | :param a: first number 12 | :param b: second number 13 | :return: sum of 2 numbers 14 | """ 15 | print("Inside function add()") 16 | return a + b 17 | 18 | 19 | result = add(2, 3) 20 | 21 | print("Result: ", result) 22 | print("Outside function") -------------------------------------------------------------------------------- /linters/test/outcomes/Test_remove_empty_lines.test4/input/test.txt: -------------------------------------------------------------------------------- 1 | import os 2 | import numpy as np 3 | import pandas as pd 4 | 5 | from typing import List, Tuple 6 | 7 | def add(a: int, b: int) -> int: 8 | """ 9 | Return the sum of 2 numbers. 10 | 11 | :param a: first number 12 | :param b: second number 13 | :return: sum of 2 numbers 14 | """ 15 | print("Inside function add()") 16 | return a + b 17 | 18 | 19 | result = add(2, 3) 20 | 21 | print("Result: ", result) 22 | print("Outside function") -------------------------------------------------------------------------------- /linters/test/outcomes/Test_remove_empty_lines.test4/output/test.txt: -------------------------------------------------------------------------------- 1 | import os 2 | import numpy as np 3 | import pandas as pd 4 | 5 | from typing import List, Tuple 6 | 7 | def add(a: int, b: int) -> int: 8 | """ 9 | Return the sum of 2 numbers. 10 | 11 | :param a: first number 12 | :param b: second number 13 | :return: sum of 2 numbers 14 | """ 15 | print("Inside function add()") 16 | return a + b 17 | 18 | 19 | result = add(2, 3) 20 | 21 | print("Result: ", result) 22 | print("Outside function") -------------------------------------------------------------------------------- /linters/test/outcomes/Test_verify_toc_postion.test1/output/test.txt: -------------------------------------------------------------------------------- 1 | # linter warnings 2 | 3 | /app/linters/test/outcomes/Test_verify_toc_postion.test1/tmp.scratch/test.md:4: Content found before TOC. 4 | 5 | # linted file 6 | -------------------------------------------------------------------------------- /puppeteerConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--no-sandbox"] 3 | } 4 | --------------------------------------------------------------------------------