Repository Analysis

jupytext/jupytext

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

15.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jupytext/jupytext, a Python project with 7,217 GitHub stars. SynthScan v2.0 examined 61,340 lines of code across 584 source files, recording 860 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 15.6 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

15.6
Adjusted Score
15.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
7.2K
Stars
Python
Language
61.3K
Lines of Code
584
Files
860
Pattern Hits
2026-07-14
Scan Date
0.07
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 39MEDIUM 7LOW 814

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 860 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers533 hits · 470 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.py91def test_magics_are_commented(fmt):CODE
LOWtests/unit/test_escape_magics.py116def test_magics_are_not_commented(fmt):CODE
LOWtests/unit/test_escape_magics.py138async def test_force_comment_using_contents_manager(tmpdir, cm):CODE
LOWtests/unit/test_escape_magics.py187def test_comment_bash_commands_in_python(magic_cmd):CODE
LOWtests/unit/test_escape_magics.py196def test_do_not_comment_python_cmds(not_magic_cmd):CODE
LOWtests/unit/test_escape_magics.py207def test_markdown_image_is_not_magic():CODE
LOWtests/unit/test_escape_magics.py212def test_question_is_not_magic():CODE
LOWtests/unit/test_escape_magics.py218def test_whitespace_line_is_not_magic_and_is_fast():CODE
LOWtests/unit/test_escape_magics.py229def 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_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
LOWtests/unit/test_formats.py26def test_guess_format_percent(percent_file):CODE
LOWtests/unit/test_formats.py31def test_guess_format_simple_percent(CODE
LOWtests/unit/test_formats.py39def test_guess_format_simple_percent_with_magic(STRING
LOWtests/unit/test_formats.py48def test_guess_format_simple_hydrogen_with_magic(STRING
LOWtests/unit/test_formats.py62def test_guess_format_hydrogen():STRING
LOWtests/unit/test_formats.py117def test_get_format_implementation():CODE
LOWtests/unit/test_formats.py124def test_script_with_magics_not_percent(CODE
LOWtests/unit/test_formats.py131def test_script_with_spyder_cell_is_percent(CODE
LOWtests/unit/test_formats.py138def test_script_with_percent_cell_and_magic_is_hydrogen(CODE
LOWtests/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.py50def test_base_path_in_tree_from_root():CODE
LOWtests/unit/test_paired_paths.py56def test_base_path_in_tree_from_non_root():CODE
LOWtests/unit/test_paired_paths.py61def test_base_path_in_tree_from_non_root_no_subfolder():CODE
LOWtests/unit/test_paired_paths.py69def test_full_path_in_tree_from_root():CODE
LOWtests/unit/test_paired_paths.py75def test_full_path_in_tree_from_root_no_subfolder():CODE
LOWtests/unit/test_paired_paths.py81def test_full_path_in_tree_from_non_root():CODE
LOWtests/unit/test_paired_paths.py86def test_paired_paths_windows():CODE
LOWtests/unit/test_paired_paths.py94def test_paired_paths_windows_no_subfolder():CODE
LOWtests/unit/test_paired_paths.py102def test_paired_paths_windows_relative():CODE
LOWtests/unit/test_paired_paths.py128def test_path_in_tree_limited_to_config_dir(tmpdir):CODE
LOWtests/unit/test_paired_paths.py264def test_paired_path_with_prefix(CODE
LOWtests/unit/test_paired_paths.py339def test_paired_paths_and_adjusted_fmt(path, input_fmt, adjusted_fmt):CODE
LOWtests/unit/test_header.py20def test_header_to_metadata_and_cell_blank_line():CODE
LOWtests/unit/test_header.py42def test_header_to_metadata_and_cell_no_blank_line():CODE
LOWtests/unit/test_header.py63def test_header_to_metadata_and_cell_metadata():CODE
473 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
Cross-Language Confusion11 hits · 42 pts
SeverityFileLineSnippetContext
HIGHtests/external/pre_commit/test_pre_commit_mode.py127 assert "git reset test.py && git checkout -- test.py" in out.errSTRING
HIGHtests/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
Deep Nesting42 hits · 42 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.py197CODE
LOWsrc/jupytext/cell_reader.py270CODE
LOWsrc/jupytext/cell_reader.py375CODE
LOWsrc/jupytext/cell_reader.py499CODE
LOWsrc/jupytext/cell_reader.py540CODE
LOWsrc/jupytext/cell_reader.py613CODE
LOWsrc/jupytext/cell_reader.py688CODE
LOWsrc/jupytext/cell_reader.py863CODE
LOWsrc/jupytext/paired_paths.py86CODE
LOWsrc/jupytext/quarto.py76CODE
LOWsrc/jupytext/metadata_filter.py84CODE
LOWsrc/jupytext/cli.py344CODE
LOWsrc/jupytext/cli.py513CODE
LOWsrc/jupytext/cli.py1198CODE
LOWsrc/jupytext/cli.py814CODE
LOWsrc/jupytext/formats.py749CODE
LOWsrc/jupytext/myst.py70CODE
LOWsrc/jupytext/myst.py196CODE
LOWsrc/jupytext/myst.py244CODE
LOWsrc/jupytext/myst.py353CODE
LOWsrc/jupytext/languages.py155CODE
LOWsrc/jupytext/languages.py194CODE
LOWsrc/jupytext/compare.py175CODE
LOWsrc/jupytext/async_contentsmanager.py50CODE
LOWsrc/jupytext/async_contentsmanager.py632CODE
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.py868 # Create a temporary file in the same directory as path. Later on we will moveCOMMENT
MEDIUMsrc/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