hlibbabii / hlibbabii/log-recommender

Create smoke tests for the scripts like langmodel training, classifier training, etc.

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

There is a certain test coverage of the project with unit-tests. However, when it comes to end-to-end tests, we don't have any. We can often see how after refactorings certain things can break (Most often, we have problems with path ). So, to check that everything is all right, we need to run the scripts manually. That's why it would be good to write smoke tests that will run the scripts on some small test sets and clean after themselves afterward. Scripts for which smoke tests are needed:
* lang_model.py
* log_level_classifier.py
* vocabsize.py
* dataset_generator.py
* dataset_stats.py
* parse_projects.py
* to_repr.py

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the entry points for lang_model.py, log_level_classifier.py, vocabsize.py, dataset_generator.py, dataset_stats.py, parse_projects.py, and to_repr.py, then determine how each accepts a small test set. Add smoke coverage that runs each script and cleans up its temporary outputs; done means the scripts complete successfully through the tests without path-related failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.