AI Slop Code RIsk Monitor

jupytext/jupytext

Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts

17.3 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jupytext/jupytext, a Python project with 7,263 GitHub stars. SynthScan examined 60,415 lines of code across 591 source files, recording 894 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 17.3 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

17.3
Adjusted Signal
17.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
7.3K
Stars
Python
Language
60.4K
Lines of Code
591
Files
894
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 47.1/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 813 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.8/100 · LOW

Are imports declared and package/API names verified? 27 finding(s).

Agent Over-Engineering Ratio 44.0/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 607 finding(s).

PR Review Velocity Impact 62.1/100 · HIGH

Which changes need focused human review? 894 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 53MEDIUM 7LOW 834

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 894 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers552 hits · 485 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py84def no_jupytext_version_number():CODE
LOWtests/conftest.py469def pytest_collection_modifyitems(config, items):CODE
LOWtests/unit/test_labconfig.py26def sample_empty_viewer_config():CODE
LOWtests/unit/test_labconfig.py41def test_set_unset_default_viewers(settings_file, sample_viewer_config, sample_empty_viewer_config):CODE
LOWtests/unit/test_stringparser.py46def test_long_string_with_four_quotes(STRING
LOWtests/unit/test_stringparser.py64def test_long_string_ends_with_four_quotes(STRING
LOWtests/unit/test_escape_magics.py49def test_force_noescape_with_gbl_esc_flag(line):CODE
LOWtests/unit/test_escape_magics.py54def test_force_escape_with_gbl_esc_flag(line):CODE
LOWtests/unit/test_escape_magics.py74def test_magics_commented_default(fmt, commented):CODE
LOWtests/unit/test_escape_magics.py88def test_jenner_macro_statements_preserved(fmt):CODE
LOWtests/unit/test_escape_magics.py105def test_read_jenner_commented_macro_preserved():CODE
LOWtests/unit/test_escape_magics.py118def test_magics_are_commented(fmt):CODE
LOWtests/unit/test_escape_magics.py143def test_magics_are_not_commented(fmt):CODE
LOWtests/unit/test_escape_magics.py165async def test_force_comment_using_contents_manager(tmpdir, cm):CODE
LOWtests/unit/test_escape_magics.py214def test_comment_bash_commands_in_python(magic_cmd):CODE
LOWtests/unit/test_escape_magics.py223def test_do_not_comment_python_cmds(not_magic_cmd):CODE
LOW⚡tests/unit/test_escape_magics.py234def test_markdown_image_is_not_magic():CODE
LOW⚡tests/unit/test_escape_magics.py239def test_question_is_not_magic():CODE
LOW⚡tests/unit/test_escape_magics.py245def test_whitespace_line_is_not_magic_and_is_fast():CODE
LOWtests/unit/test_escape_magics.py256def test_multiline_python_magic(no_jupytext_version_number):CODE
LOWtests/unit/test_cell_id.py4def test_cell_id_is_not_random():CODE
LOWtests/unit/test_quarto_temp_files.py36def test_quarto_does_not_convert_in_the_shared_temp_dir(convert, quarto_conversion_dirs):CODE
LOWtests/unit/test_markdown_in_code_cells.py11def test_three_backticks_or_more():CODE
LOWtests/unit/test_markdown_in_code_cells.py20def test_triple_backticks_in_code_cell(CODE
LOWtests/unit/test_markdown_in_code_cells.py57def test_triple_backticks_in_code_cell_myst(STRING
LOWtests/unit/test_markdown_in_code_cells.py87def test_alternate_tree_four_five_backticks(STRING
LOW⚡tests/unit/test_formats.py26def test_guess_format_percent(percent_file):CODE
LOW⚡tests/unit/test_formats.py31def test_guess_format_simple_percent(CODE
LOW⚡tests/unit/test_formats.py39def test_guess_format_simple_percent_with_magic(STRING
LOW⚡tests/unit/test_formats.py48def test_guess_format_simple_hydrogen_with_magic(STRING
LOWtests/unit/test_formats.py62def test_guess_format_hydrogen():STRING
LOW⚡tests/unit/test_formats.py117def test_get_format_implementation():CODE
LOW⚡tests/unit/test_formats.py124def test_script_with_magics_not_percent(CODE
LOW⚡tests/unit/test_formats.py131def test_script_with_spyder_cell_is_percent(CODE
LOW⚡tests/unit/test_formats.py138def test_script_with_percent_cell_and_magic_is_hydrogen(CODE
LOW⚡tests/unit/test_formats.py146def test_script_with_percent_cell_and_kernelspec(STRING
LOWtests/unit/test_formats.py162def test_script_with_spyder_cell_with_name_is_percent(STRING
LOWtests/unit/test_formats.py169def test_read_format_from_metadata(CODE
LOWtests/unit/test_formats.py184def test_update_jupytext_formats_metadata():CODE
LOWtests/unit/test_formats.py232def test_rearrange_jupytext_metadata():CODE
LOWtests/unit/test_formats.py246def test_rearrange_jupytext_metadata_metadata_filter():CODE
LOWtests/unit/test_formats.py267def test_rearrange_jupytext_metadata_add_dot_in_suffix():CODE
LOWtests/unit/test_formats.py335def test_pandoc_format_is_preserved():STRING
LOWtests/unit/test_formats.py357def test_write_raises_when_fmt_does_not_exists(tmpdir):CODE
LOWtests/unit/test_formats.py403async def test_configuration_examples_from_documentation(config_file, config_contents, python_notebook, tmp_path, cm):CODE
LOWtests/unit/test_pep8.py14def test_next_instruction_is_function_or_class():CODE
LOWtests/unit/test_pep8.py28def test_cell_ends_with_function_or_class():STRING
LOWtests/unit/test_pep8.py115def test_paragraph_is_fully_commented(lines):STRING
LOWtests/unit/test_paired_paths.py57def test_paired_path_cannot_escape_notebook_tree(formats):CODE
LOW⚡tests/unit/test_paired_paths.py70def test_absolute_paired_path_cannot_escape_root(os_sep, nb_file):CODE
LOW⚡tests/unit/test_paired_paths.py79def test_base_path_in_tree_from_root():CODE
LOW⚡tests/unit/test_paired_paths.py85def test_base_path_in_tree_from_non_root():CODE
LOW⚡tests/unit/test_paired_paths.py90def test_base_path_in_tree_from_non_root_no_subfolder():CODE
LOW⚡tests/unit/test_paired_paths.py98def test_full_path_in_tree_from_root():CODE
LOW⚡tests/unit/test_paired_paths.py104def test_full_path_in_tree_from_root_no_subfolder():CODE
LOW⚡tests/unit/test_paired_paths.py110def test_full_path_in_tree_from_non_root():CODE
LOW⚡tests/unit/test_paired_paths.py115def test_paired_paths_windows():CODE
LOW⚡tests/unit/test_paired_paths.py123def test_paired_paths_windows_no_subfolder():CODE
LOW⚡tests/unit/test_paired_paths.py131def test_paired_paths_windows_relative():CODE
LOWtests/unit/test_paired_paths.py157def test_path_in_tree_limited_to_config_dir(tmpdir):CODE
492 more matches not shown…
Over-Commented Block205 hits · 204 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml1# Install the pre-commit hooks below withCOMMENT
LOWpyproject.toml141[tool.hatch.build.hooks.jupyter-builder]COMMENT
LOWdemo/World population.pct.py1# ---COMMENT
LOWdemo/World population.pct.py21#COMMENT
LOWdemo/World population.spx.py1# ---COMMENT
LOWdemo/World population.lgt.py1# ---COMMENT
LOWdemo/vscode/notebook.py1# ---COMMENT
LOWtests/unit/test_formats.py281 }COMMENT
LOW…pynb_to_script_vscode_folding_markers/plotly_graphs.py1# ---COMMENT
LOW…scode_folding_markers/Notebook with many hash signs.py1# ---COMMENT
LOW…scode_folding_markers/Notebook with many hash signs.py21##################################################################COMMENT
LOW…vscode_folding_markers/jupyter_with_raw_cell_on_top.py1# ---COMMENT
LOW…ing_markers/raw_cell_with_complex_yaml_like_content.py1# ---COMMENT
LOW…code_folding_markers/notebook_with_complex_metadata.py1# ---COMMENT
LOW…ript_vscode_folding_markers/text_outputs_and_images.py1# ---COMMENT
LOW…ipt_vscode_folding_markers/Line_breaks_in_LateX_305.py1# ---COMMENT
LOW…cript_vscode_folding_markers/nteract_with_parameter.py1# ---COMMENT
LOW…lding_markers/Notebook with metadata and long cells.py1# ---COMMENT
LOW…lding_markers/Notebook with metadata and long cells.py21# ```pythonCOMMENT
LOW…lding_markers/Notebook with metadata and long cells.py41COMMENT
LOW…folding_markers/raw_cell_with_non_dict_yaml_content.py1# ---COMMENT
LOW…script_vscode_folding_markers/Notebook_with_R_magic.py1# ---COMMENT
LOW…script_vscode_folding_markers/Notebook_with_R_magic.py21# region language="R"COMMENT
LOW…ript_vscode_folding_markers/sample_rise_notebook_66.py1# ---COMMENT
LOW…/ipynb_to_script_vscode_folding_markers/frozen_cell.py1# ---COMMENT
LOW…scode_folding_markers/jupyter_with_raw_cell_in_body.py1# ---COMMENT
LOW…_folding_markers/Notebook with html and latex cells.py1# ---COMMENT
LOW…_folding_markers/Notebook with html and latex cells.py21# region language="R"COMMENT
LOW…arkers/Notebook with function and cell metadata 164.py1# ---COMMENT
LOW…lding_markers/convert_to_py_then_test_with_update83.py1# ---COMMENT
LOW…ing_markers/jupyter_with_raw_cell_with_invalid_yaml.py1# ---COMMENT
LOW…ipynb_to_script_vscode_folding_markers/cat_variable.py1# ---COMMENT
LOW…ipt_vscode_folding_markers/The flavors of raw cells.py1# ---COMMENT
LOW…ipt_vscode_folding_markers/The flavors of raw cells.py21# endregionCOMMENT
LOW…code_folding_markers/Notebook_with_more_R_magic_111.py1# ---COMMENT
LOW…code_folding_markers/Notebook_with_more_R_magic_111.py21 }COMMENT
LOW…pt_vscode_folding_markers/jupyterlab-slideshow_1441.py1# ---COMMENT
LOW…puts/ipynb_to_script_vscode_folding_markers/jupyter.py1# ---COMMENT
LOW…ta/notebooks/outputs/ipynb_to_percent/plotly_graphs.py1# ---COMMENT
LOW…tebooks/outputs/ipynb_to_percent/evcxr_jupyter_tour.rs1// ---COMMENT
LOW…tebooks/outputs/ipynb_to_percent/evcxr_jupyter_tour.rs161// ## Seeing what variables have been definedCOMMENT
LOW…puts/ipynb_to_percent/Notebook with many hash signs.py1# ---COMMENT
LOW…puts/ipynb_to_percent/Notebook with many hash signs.py21# A commentCOMMENT
LOW…tputs/ipynb_to_percent/jupyter_with_raw_cell_on_top.py1# ---COMMENT
LOW…_to_percent/raw_cell_with_complex_yaml_like_content.py1# ---COMMENT
LOW…uts/ipynb_to_percent/notebook_with_complex_metadata.py1# ---COMMENT
LOW…ks/outputs/ipynb_to_percent/text_outputs_and_images.py1# ---COMMENT
LOW…s/outputs/ipynb_to_percent/Line_breaks_in_LateX_305.py1# ---COMMENT
LOW…oks/outputs/ipynb_to_percent/nteract_with_parameter.py1# ---COMMENT
LOW…s/ipynb_to_percent/R notebook with invalid cell keys.R1# ---COMMENT
LOW…nb_to_percent/Notebook with metadata and long cells.py1# ---COMMENT
LOW…nb_to_percent/Notebook with metadata and long cells.py21#COMMENT
LOW…nb_to_percent/Notebook with metadata and long cells.py41COMMENT
LOW…ebooks/outputs/ipynb_to_percent/xcpp_by_quantstack.cpp1// ---COMMENT
LOW…ebooks/outputs/ipynb_to_percent/xcpp_by_quantstack.cpp21// border: 1px solid grey;COMMENT
LOW…ebooks/outputs/ipynb_to_percent/xcpp_by_quantstack.cpp201// ... and also lambda, universal references, `decltype`, etc ...COMMENT
LOW…ebooks/outputs/ipynb_to_percent/xcpp_by_quantstack.cpp361//COMMENT
LOW…pynb_to_percent/raw_cell_with_non_dict_yaml_content.py1# ---COMMENT
LOW…books/outputs/ipynb_to_percent/sample_bash_notebook.sh1# ---COMMENT
LOW…ynb_to_percent/R notebook with invalid cell keys.low.r1# ---COMMENT
145 more matches not shown…
Cross-File Repetition26 hits · 130 pts
SeverityFileLineSnippetContext
HIGH…ipt_vscode_folding_markers/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…s/outputs/ipynb_to_percent/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…ks/outputs/ipynb_to_script/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…/outputs/ipynb_to_hydrogen/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…ks/outputs/ipynb_to_marimo/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…ks/outputs/ipynb_to_sphinx/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…script_vim_folding_markers/Line_breaks_in_LateX_305.py0this cell uses the triple quote cell markers introduced at https://github.com/mwouts/jupytext/issues/305 $$ \begin{alignSTRING
HIGH…lding_markers/Notebook with metadata and long cells.py0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…nb_to_percent/Notebook with metadata and long cells.py0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…s/ipynb_to_md/Notebook with metadata and long cells.md0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…ynb_to_script/Notebook with metadata and long cells.py0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…b_to_hydrogen/Notebook with metadata and long cells.py0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…ipynb_to_myst/Notebook with metadata and long cells.md0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…lding_markers/Notebook with metadata and long cells.py0this is a code cell with metadata `{"tags":["parameters"], ".class":null}`STRING
HIGH…pynb_to_script_vscode_folding_markers/jupyter_again.py0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…ta/notebooks/outputs/ipynb_to_percent/jupyter_again.py0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…ata/notebooks/outputs/ipynb_to_pandoc/jupyter_again.md0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…ts/data/notebooks/outputs/ipynb_to_md/jupyter_again.md0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…ata/notebooks/outputs/ipynb_to_script/jupyter_again.py0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…a/notebooks/outputs/ipynb_to_hydrogen/jupyter_again.py0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…/data/notebooks/outputs/ipynb_to_myst/jupyter_again.md0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…ata/notebooks/outputs/ipynb_to_sphinx/jupyter_again.py0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGH…s/ipynb_to_script_vim_folding_markers/jupyter_again.py0title: "quick test" output: ioslides_presentation: widescreen: true smaller: true editor_options: chunk_output_type consSTRING
HIGHtests/functional/simple_notebooks/test_ipynb_to_rmd.py0test that writing the notebook with r, and read again, is the same as removing outputsSTRING
HIGHtests/functional/simple_notebooks/test_ipynb_to_py.py0test that writing the notebook with r, and read again, is the same as removing outputsSTRING
HIGHtests/functional/simple_notebooks/test_ipynb_to_R.py0test that writing the notebook with r, and read again, is the same as removing outputsSTRING
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHsrc/jupytext/sync_contentsmanager.py755except ImportError:CODE
HIGHsrc/jupytext/sync_contentsmanager.py444except OverflowError:CODE
HIGHsrc/jupytext/sync_contentsmanager.py551except Exception:CODE
HIGHsrc/jupytext/sync_contentsmanager.py643except HTTPError:CODE
HIGHsrc/jupytext/cell_metadata.py393except JSONDecodeError:CODE
HIGHsrc/jupytext/cell_metadata.py401except (ValueError, SyntaxError):CODE
HIGHsrc/jupytext/quarto.py102except yaml.YAMLError:CODE
HIGHsrc/jupytext/formats.py402except nbformat.reader.NotJSONError:CODE
HIGHsrc/jupytext/myst.py102except (yaml.parser.ParserError, yaml.scanner.ScannerError):CODE
HIGHsrc/jupytext/myst.py112except AttributeError:CODE
HIGHsrc/jupytext/async_contentsmanager.py676except ImportError:CODE
HIGHsrc/jupytext/async_contentsmanager.py390except OverflowError:CODE
HIGHsrc/jupytext/async_contentsmanager.py488except Exception:CODE
HIGHsrc/jupytext/async_contentsmanager.py574except HTTPError:CODE
Deep Nesting43 hits · 43 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py415CODE
LOWtests/external/docs/test_using_cli.py17CODE
LOWtests/functional/config/test_config.py103CODE
LOWsrc/jupytext/sync_contentsmanager.py56CODE
LOWsrc/jupytext/sync_contentsmanager.py703CODE
LOWsrc/jupytext/config.py379CODE
LOWsrc/jupytext/combine.py119CODE
LOWsrc/jupytext/cell_metadata.py81CODE
LOWsrc/jupytext/cell_metadata.py126CODE
LOWsrc/jupytext/cell_metadata.py192CODE
LOWsrc/jupytext/cell_metadata.py466CODE
LOWsrc/jupytext/cell_metadata.py166CODE
LOWsrc/jupytext/header.py59CODE
LOWsrc/jupytext/header.py105CODE
LOWsrc/jupytext/header.py148CODE
LOWsrc/jupytext/header.py169CODE
LOWsrc/jupytext/header.py310CODE
LOWsrc/jupytext/cell_reader.py213CODE
LOWsrc/jupytext/cell_reader.py286CODE
LOWsrc/jupytext/cell_reader.py391CODE
LOWsrc/jupytext/cell_reader.py515CODE
LOWsrc/jupytext/cell_reader.py556CODE
LOWsrc/jupytext/cell_reader.py631CODE
LOWsrc/jupytext/cell_reader.py706CODE
LOWsrc/jupytext/cell_reader.py801CODE
LOWsrc/jupytext/cell_reader.py900CODE
LOWsrc/jupytext/paired_paths.py112CODE
LOWsrc/jupytext/quarto.py75CODE
LOWsrc/jupytext/metadata_filter.py84CODE
LOWsrc/jupytext/cli.py344CODE
LOWsrc/jupytext/cli.py513CODE
LOWsrc/jupytext/cli.py1202CODE
LOWsrc/jupytext/cli.py818CODE
LOWsrc/jupytext/formats.py749CODE
LOWsrc/jupytext/myst.py70CODE
LOWsrc/jupytext/myst.py196CODE
LOWsrc/jupytext/myst.py244CODE
LOWsrc/jupytext/myst.py353CODE
LOWsrc/jupytext/languages.py160CODE
LOWsrc/jupytext/languages.py199CODE
LOWsrc/jupytext/compare.py175CODE
LOWsrc/jupytext/async_contentsmanager.py50CODE
LOWsrc/jupytext/async_contentsmanager.py632CODE
Cross-Language Confusion11 hits · 42 pts
SeverityFileLineSnippetContext
HIGH⚡tests/external/pre_commit/test_pre_commit_mode.py127 assert "git reset test.py && git checkout -- test.py" in out.errSTRING
HIGH⚡tests/external/pre_commit/test_pre_commit_mode.py128 assert "git reset test.ipynb && git checkout -- test.ipynb" in out.errSTRING
HIGH…lding_markers/Notebook with metadata and long cells.py49"""This is a code cell with metadata `{"tags":["parameters"], ".class":null}`"""STRING
HIGH…nb_to_percent/Notebook with metadata and long cells.py49"""This is a code cell with metadata `{"tags":["parameters"], ".class":null}`"""STRING
HIGH…ynb_to_script/Notebook with metadata and long cells.py46"""This is a code cell with metadata `{"tags":["parameters"], ".class":null}`"""STRING
HIGH…b_to_hydrogen/Notebook with metadata and long cells.py49"""This is a code cell with metadata `{"tags":["parameters"], ".class":null}`"""STRING
HIGH…lding_markers/Notebook with metadata and long cells.py49"""This is a code cell with metadata `{"tags":["parameters"], ".class":null}`"""STRING
HIGH⚡…sts/functional/simple_notebooks/test_read_simple_go.py140// !*rm -f go.work && go work init && go work use . ${HOME}/Projects/gopjrtCOMMENT
HIGH⚡…sts/functional/simple_notebooks/test_read_simple_go.py150 == """!*rm -f go.work && go work init && go work use . ${HOME}/Projects/gopjrtSTRING
HIGHtests/functional/cli/test_cli.py779 jupytext([tmp_ipynb, "--update-metadata", '{"jupytext":{"main_language":null}}'])CODE
HIGHtests/functional/cli/test_cli.py401 jupytext(["--to", "py", tmp_ipynb, "--update-metadata", '{"jupytext":{"formats":null}}'])STRING
Self-Referential Comments7 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUM…s/integration/contents_manager/test_contentsmanager.py1993 # Create a simple Python file without jupytext metadataSTRING
MEDIUMtests/external/pre_commit/test_pre_commit_scripts.py74 # Create a notebook that is not pairedCOMMENT
MEDIUM…functional/simple_notebooks/test_read_simple_python.py153# This file is non-pep8 as the function below hasCOMMENT
MEDIUMtests/functional/others/test_remove_encoding.py10 # Create a contents managerCOMMENT
MEDIUMtests/functional/cli/test_cli.py1465 # Create a simple Python file without jupytext metadataCOMMENT
MEDIUMsrc/jupytext/cli.py872 # Create a temporary file in the same directory as path. Later on we will moveCOMMENT
MEDIUM⚡src/jupytext/compare.py341 """This function is used in the tests"""STRING
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHwebsite/src/content/docs/reference/faq.md78## I have modified a text file, but git reports no diff for the paired `.ipynb` fileCOMMENT
HIGHtests/data/notebooks/inputs/sphinx/plot_notebook.py52# In this example the next block of code produces some plotable data. Code isCOMMENT
Excessive Try-Catch Wrapping13 hits · 13 pts
SeverityFileLineSnippetContext
LOWjupyterlab/jupyterlab_jupytext/__init__.py62 except Exception:CODE
LOWsrc/jupytext/sync_contentsmanager.py197 except Exception as e:CODE
LOWsrc/jupytext/sync_contentsmanager.py265 except Exception as err:CODE
LOWsrc/jupytext/sync_contentsmanager.py454 except Exception as err:CODE
LOWsrc/jupytext/sync_contentsmanager.py551 except Exception:CODE
LOWsrc/jupytext/sync_contentsmanager.py569 except Exception as err:CODE
LOWsrc/jupytext/cli.py504 except Exception as err:CODE
LOWsrc/jupytext/myst.py236 except Exception as err:CODE
LOWsrc/jupytext/async_contentsmanager.py173 except Exception as e:CODE
LOWsrc/jupytext/async_contentsmanager.py235 except Exception as err:CODE
LOWsrc/jupytext/async_contentsmanager.py400 except Exception as err:CODE
LOWsrc/jupytext/async_contentsmanager.py488 except Exception:CODE
LOWsrc/jupytext/async_contentsmanager.py504 except Exception as err:CODE
Unused Imports10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/jupytext/sync_contentsmanager.py754CODE
LOWsrc/jupytext/__init__.py3CODE
LOWsrc/jupytext/__init__.py3CODE
LOWsrc/jupytext/__init__.py3CODE
LOWsrc/jupytext/__init__.py4CODE
LOWsrc/jupytext/__init__.py4CODE
LOWsrc/jupytext/__init__.py4CODE
LOWsrc/jupytext/__init__.py4CODE
LOWsrc/jupytext/__init__.py6CODE
LOWsrc/jupytext/async_contentsmanager.py675CODE
Fake / Example Data6 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡…l/simple_external_notebooks/test_read_simple_pandoc.py13 markdown="""# Lorem ipsumCODE
LOW⚡…l/simple_external_notebooks/test_read_simple_pandoc.py15**Lorem ipsum** dolor sit amet, consectetur adipiscing elit. Nunc luctusCODE
LOW⚡…l/simple_external_notebooks/test_read_simple_pandoc.py15**Lorem ipsum** dolor sit amet, consectetur adipiscing elit. Nunc luctusCODE
LOW…l/simple_external_notebooks/test_read_simple_pandoc.py38**Lorem ipsum** dolor sit amet, consectetur adipiscing elit. Nunc luctusCODE
LOW…l/simple_external_notebooks/test_read_simple_pandoc.py38**Lorem ipsum** dolor sit amet, consectetur adipiscing elit. Nunc luctusCODE
LOW…nctional/simple_notebooks/test_read_simple_markdown.py860 "author": "John Doe",STRING
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdemo/vscode/notebook.py23# 💡 Tip: don't forget to hit "Save" beforeCOMMENT
LOWdemo/vscode/notebook.py23# 💡 Tip: don't forget to hit "Save" beforeCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/jupytext/config.py242 # Check if one of the paired format matches the current pathCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/jupytext/__init__.py28__all__ = [CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/jupytext/compare.py175CODE