Create delightful software with Jupyter Notebooks
This report summarizes scanner evidence for AnswerDotAI/nbdev, a Jupyter Notebook project with 5,318 GitHub stars. SynthScan examined 7,754 lines of code across 53 source files, recording 200 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 31.0 (High 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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 18 finding(s).
Are imports declared and package/API names verified? 151 finding(s).
Are wrappers, guards, and repeated structures necessary? 38 finding(s).
Which changes need focused human review? 200 finding(s).
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.
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.
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.
The scanner identified 200 distinct pattern matches across 12 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nbdev/sync.py | 11 | CODE | |
| LOW | nbdev/sync.py | 12 | CODE | |
| LOW | nbdev/sync.py | 13 | CODE | |
| LOW | nbdev/sync.py | 14 | CODE | |
| LOW | nbdev/sync.py | 15 | CODE | |
| LOW | nbdev/sync.py | 18 | CODE | |
| LOW | nbdev/sync.py | 19 | CODE | |
| LOW | nbdev/sync.py | 20 | CODE | |
| LOW | nbdev/merge.py | 11 | CODE | |
| LOW | nbdev/merge.py | 12 | CODE | |
| LOW | nbdev/merge.py | 13 | CODE | |
| LOW | nbdev/merge.py | 14 | CODE | |
| LOW | nbdev/merge.py | 16 | CODE | |
| LOW | nbdev/merge.py | 17 | CODE | |
| LOW | nbdev/release.py | 13 | CODE | |
| LOW | nbdev/release.py | 14 | CODE | |
| LOW | nbdev/release.py | 16 | CODE | |
| LOW | nbdev/release.py | 20 | CODE | |
| LOW | nbdev/release.py | 181 | CODE | |
| LOW | nbdev/release.py | 182 | CODE | |
| LOW | nbdev/release.py | 183 | CODE | |
| LOW | nbdev/release.py | 185 | CODE | |
| LOW | nbdev/release.py | 185 | CODE | |
| LOW | nbdev/config.py | 14 | CODE | |
| LOW | nbdev/config.py | 15 | CODE | |
| LOW | nbdev/config.py | 16 | CODE | |
| LOW | nbdev/config.py | 17 | CODE | |
| LOW | nbdev/config.py | 18 | CODE | |
| LOW | nbdev/config.py | 19 | CODE | |
| LOW | nbdev/clean.py | 15 | CODE | |
| LOW | nbdev/clean.py | 17 | CODE | |
| LOW | nbdev/clean.py | 18 | CODE | |
| LOW | nbdev/clean.py | 19 | CODE | |
| LOW | nbdev/clean.py | 21 | CODE | |
| LOW | nbdev/clean.py | 22 | CODE | |
| LOW | nbdev/clean.py | 23 | CODE | |
| LOW | nbdev/clean.py | 24 | CODE | |
| LOW | nbdev/frontmatter.py | 11 | CODE | |
| LOW | nbdev/frontmatter.py | 12 | CODE | |
| LOW | nbdev/frontmatter.py | 15 | CODE | |
| LOW | nbdev/frontmatter.py | 16 | CODE | |
| LOW | nbdev/qmd.py | 11 | CODE | |
| LOW | nbdev/qmd.py | 11 | CODE | |
| LOW | nbdev/qmd.py | 11 | CODE | |
| LOW | nbdev/qmd.py | 13 | CODE | |
| LOW | nbdev/qmd.py | 14 | CODE | |
| LOW | nbdev/quarto.py | 13 | CODE | |
| LOW | nbdev/quarto.py | 13 | CODE | |
| LOW | nbdev/quarto.py | 17 | CODE | |
| LOW | nbdev/quarto.py | 18 | CODE | |
| LOW | nbdev/quarto.py | 20 | CODE | |
| LOW | nbdev/maker.py | 11 | CODE | |
| LOW | nbdev/maker.py | 12 | CODE | |
| LOW | nbdev/maker.py | 14 | CODE | |
| LOW | nbdev/maker.py | 15 | CODE | |
| LOW | nbdev/maker.py | 16 | CODE | |
| LOW | nbdev/maker.py | 17 | CODE | |
| LOW | nbdev/maker.py | 19 | CODE | |
| LOW | nbdev/maker.py | 21 | CODE | |
| LOW | nbdev/__init__.py | 11 | CODE | |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | nbdev/quarto.py | 373 | except KeyboardInterrupt: pass | CODE |
| HIGH | nbdev/scrubmagics.py | 13 | except: pass | CODE |
| HIGH | nbdev/doclinks.py | 113 | except ValueError: pass | CODE |
| HIGH | nbdev/doclinks.py | 252 | except Exception: pass | CODE |
| HIGH | nbdev/processors.py | 265 | except ImportError: pass | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nbdev/sync.py | 8 | __all__ = ['absolute_import', 'nbdev_update'] | CODE |
| LOW | nbdev/merge.py | 8 | __all__ = ['conf_re', 'unpatch', 'nbdev_fix', 'nbdev_merge'] | CODE |
| LOW | nbdev/release.py | 8 | __all__ = ['GH_HOST', 'CONDA_WARNING', 'update_changelog', 'Release', 'changelog', 'push_release', 'release_git', 'relea | CODE |
| LOW | nbdev/config.py | 8 | __all__ = ['pyproject_nm', 'pyproject_tmpl', 'nbdev_defaults', 'pyproj_tmpl', 'nbdev_create_config', 'ConfigToml', 'get_ | CODE |
| LOW | nbdev/clean.py | 8 | __all__ = ['nbdev_trust', 'clean_nb', 'process_write', 'nbdev_clean', 'clean_jupyter', 'nbdev_install_hooks'] | CODE |
| LOW | nbdev/frontmatter.py | 8 | __all__ = ['FrontmatterProc'] | CODE |
| LOW | nbdev/qmd.py | 8 | __all__ = ['meta', 'div', 'img', 'btn', 'tbl_row', 'tbl_sep'] | CODE |
| LOW | nbdev/quarto.py | 8 | __all__ = ['BASE_QUARTO_URL', 'install_quarto', 'install', 'IndentDumper', 'nbdev_sidebar', 'refresh_quarto_yml', | CODE |
| LOW | nbdev/maker.py | 8 | __all__ = ['find_var', 'read_var', 'update_var', 'ModuleMaker', 'decor_id', 'make_code_cells', 'relative_import', 'updat | CODE |
| LOW | nbdev/scrubmagics.py | 3 | __all__ = ['scrub_magics'] | CODE |
| LOW | nbdev/serve.py | 8 | __all__ = ['proc_nbs'] | CODE |
| LOW | nbdev/test.py | 8 | __all__ = ['nb_test_cells', 'test_nb', 'nbdev_test'] | CODE |
| LOW | nbdev/export.py | 8 | __all__ = ['ExportModuleProc', 'nb_export', 'nb_mdoc'] | CODE |
| LOW | nbdev/showdoc.py | 8 | __all__ = ['BasicMarkdownRenderer', 'show_doc', 'doc', 'showdoc_nm', 'colab_link'] | CODE |
| LOW | nbdev/cli.py | 8 | __all__ = ['mapping', 'nbdev_filter', 'extract_tgz', 'nbdev_new', 'nbdev_update_license', 'nb_export_cli', 'watch_export | CODE |
| LOW | nbdev/doclinks.py | 8 | __all__ = ['typs', 'bset', 'patch_name', 'nbglob', 'nbglob_cli', 'nbdev_export', 'create_index', 'NbdevLookup'] | CODE |
| LOW | nbdev/diff.py | 8 | __all__ = ['MAXLEN', 'OUT_MAXLEN', 'MIN_RATIO', 'read_nb_from_git', 'nbs_pair', 'changed_cells', 'source_diff', 'cell_di | CODE |
| LOW | nbdev/process.py | 8 | __all__ = ['opt_set', 'instantiate', 'NBProcessor', 'Processor'] | CODE |
| LOW | nbdev/processors.py | 8 | __all__ = ['populate_language', 'insert_warning', 'cell_lang', 'add_show_docs', 'fdiv', 'boxify', 'mv_exports', 'add_lin | CODE |
| LOW | nbdev/migrate.py | 8 | __all__ = ['MigrateProc', 'fp_md_fm', 'migrate_nb', 'migrate_md', 'nbdev_migrate', 'nbdev_migrate_config'] | CODE |
| LOW | nbs/blog/posts/2022-11-07-spaces/app.py | 4 | __all__ = ['iface', 'size'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | nbdev/release.py | 366 | system(f'cd {_dir} && rm -rf dist build && python -m build{q}') | CODE |
| HIGH | nbdev/quarto.py | 41 | system(f'sudo dpkg -i quarto-linux-{machine}64.deb && rm quarto-linux-{machine}64.deb') | CODE |
| HIGH | nbdev/diff.py | 261 | old_file:_pos=None, # Pre-change file (git temp file, or /dev/null) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | nbdev/clean.py | 284 | globally:bool_arg=False # Define the drivers in `~/.gitconfig` and the global attributes file, instead of repo files | CODE |
| MEDIUM | nbdev/moddocs.py | 7 | ## Creating a module's docs from its notebook | COMMENT |
| MEDIUM | nbdev/moddocs.py | 32 | ## Creating the package docs from index.ipynb | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nbdev/extract_attachments.py | 26 | CODE | |
| LOW | nbdev/test.py | 39 | CODE | |
| LOW | nbdev/test.py | 81 | CODE | |
| LOW | nbdev/doclinks.py | 76 | CODE | |
| LOW | nbdev/doclinks.py | 236 | CODE | |
| LOW | nbdev/doclinks.py | 302 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nbdev/config.py | 110 | CODE | |
| LOW | nbdev/clean.py | 203 | CODE | |
| LOW | nbdev/test.py | 81 | CODE | |
| LOW | nbdev/test.py | 145 | CODE | |
| LOW | nbdev/doclinks.py | 127 | CODE | |
| LOW | nbdev/diff.py | 259 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | nbdev/release.py | 107 | print(f'Error: Version bump required: expected: >{lr.tag_name}, got: {self.cfg.version}.') | CODE |
| LOW | nbdev/config.py | 159 | except Exception: return False | STRING |
| LOW | nbdev/clean.py | 128 | except Exception as e: | CODE |
| LOW | nbdev/doclinks.py | 252 | except Exception: pass | CODE |
| LOW | nbdev/migrate.py | 185 | except Exception as e: raise Exception(f'Error in migrating file: {f}') from e | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | nbs/index.qmd.py | 87 | ### Traditional programming environments throw away the result of your exploration in REPLs or notebooks. nbdev makes ex | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | nbdev/cli.py | 91 | name:_pos=None, # Directory to create and scaffold in (defaults to the current directory) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nbdev/quarto.py | 299 | def _save_cached_contributing(cache, cfg, contrib_nb): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/2022-09-06-homeschooling.md | 9 | Lorem ipsum | CODE |