huggingface / picotron_tutorial
Features of Interest
Aspects in the source code identified through RegEx patterns.
Intro
Features of interest are any aspects of a software system that can be identified through patterns in code.
Features of interest provide you with a way to focus your attention on relevant parts of the codebase.
Typical examples include, security, TODOs, logging.
A feature of interest may be present in multiple files. Any source code file may be in zero or multiple features of interest.
Overview
GENERAL
TODOs
975 LOC (20%)
8 files
|
found text per file
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
975 LOC (20%)
8 files
|
found text per file
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
8
files match defined criteria (
975
LOC,
20.0%
vs. main code). All matches are in *.py files.
8
lines match the content pattern.
details...
per component - primary logical decomposition
step8_pipeline_parallel_1f1b
in 1 file 123 LOC (12%)
step7_pipeline_parallel_afab
in 1 file 123 LOC (13%)
step6_data_parallel_bucket
in 1 file 123 LOC (15%)
step5_data_parallel_naive
in 1 file 123 LOC (18%)
step4_tensor_parallel
in 1 file 123 LOC (19%)
step3_dataloader
in 1 file 120 LOC (29%)
step2_process_group_manager
in 1 file 120 LOC (43%)
step1_modeling
in 1 file 120 LOC (56%)