Luigi Quaranta

Results 8 issues of Luigi Quaranta

A notebook might present function and class definitions within its code cells. Functions and class methods defined within a notebook should be tested. Check whether functions or class methods defined...

linting rule

Detect whether a notebook contains duplicate code in its code cells. Recommend code refactoring in case duplicate code is detected.

linting rule

Imported packages and modules should either be: - local to the project directory or - declared in the project requirements file (e.g., `requirements.txt` or `environment.yml`). By using the [Python ast...

linting rule

Check whether notebook cells present violations of the PEP8 coding standard. This might be done by applying an existing Python linter (e.g., [Pylint](https://pylint.org) or [Flake8](https://flake8.pycqa.org/en/latest/)) to the source code extracted...

linting rule

Notebooks written within the same data science repository might contain duplicate code. Such code should be consolidated outside the notebook, i.e., in one or more dedicated Python modules, to be...

linting rule

Absolute paths are not portable and their use hinders the reproducibility of notebooks. Build a new linting rule to detect if absolute paths are used within code cells.

linting rule

Concerning the recommendation of putting notebooks under version control, at present we detect the use of `git`. However, we only have a test case for the absence of the `.git`...

testing

The bash script to run the classification task is available, but a script to run the training task is missing.