Scan timing: clone 5.77s · analysis 17.06s · 7.4 MB · GitHub preflight 406ms
https://github.com/rasbt/LLMs-from-scratch
· scanned 2026-06-05 06:49 UTC (6 days, 1 hour ago)
· 10 languages
600 raw signals (262 security + 338 graph) 43rd percentile · Python · medium (20-100K LoC) System graph score 77 (lower by 17)
Last scanned 6 days, 1 hour ago · v2 · 242 actionable findings from 2 signal sources. 189 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.
| Component | Sub-score | Weight | Contribution |
|---|---|---|---|
structure_score |
85.0 | 0.15 | 12.75 |
security_score |
16.0 | 0.25 | 4.00 |
testing_score |
97.0 | 0.20 | 19.40 |
documentation_score |
65.0 | 0.15 | 9.75 |
practices_score |
77.0 | 0.15 | 11.55 |
code_quality |
28.0 | 0.10 | 2.80 |
| Overall | 1.00 | 60.2 |
All 1571 nodes from the latest scan, grouped by kind. Each node is a unit the engine identified (file, function, endpoint, table…). Most users won't need this view — it's primarily for debugging the engine's graph extraction or for AI agents that want to enumerate the project structure.
| Label | Layer | Status | Path |
|---|---|---|---|
_get_env_number |
software | healthy | conftest.py:8 |
pytest_configure |
software | healthy | conftest.py:19 |
request_with_timeout |
software | healthy | conftest.py:38 |
get_model_and_tokenizer |
software | healthy | ch06/04_user_interface/app.py:22 |
main |
software | healthy | ch06/04_user_interface/app.py:69 |
__init__ |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:24 |
__getitem__ |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:39 |
__len__ |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:44 |
_longest_encoded_length |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:47 |
instantiate_model |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:56 |
calc_loss_batch |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:87 |
calc_loss_loader |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:103 |
calc_accuracy_loader |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:128 |
evaluate_model |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:159 |
train_classifier_simple |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:175 |
load_dataframes |
software | healthy | ch06/03_bonus_imdb-classification/train_sklearn_logreg.py:14 |
eval_model |
software | healthy | ch06/03_bonus_imdb-classification/train_sklearn_logreg.py:22 |
__init__ |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:24 |
__getitem__ |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:39 |
__len__ |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:44 |
_longest_encoded_length |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:47 |
instantiate_model |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:56 |
calc_loss_batch |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:87 |
calc_loss_loader |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:103 |
calc_accuracy_loader |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:128 |
evaluate_model |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:159 |
create_muon_optimizers |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:175 |
train_classifier_simple |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:210 |
download_and_load_gpt2 |
software | healthy | ch06/03_bonus_imdb-classification/gpt_download.py:15 |
download_file |
software | healthy | ch06/03_bonus_imdb-classification/gpt_download.py:47 |
_attempt_download |
software | healthy | ch06/03_bonus_imdb-classification/gpt_download.py:48 |
load_gpt2_params_from_tf_ckpt |
software | healthy | ch06/03_bonus_imdb-classification/gpt_download.py:126 |
__init__ |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:19 |
_create_attention_mask |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:43 |
__getitem__ |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:46 |
__len__ |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:61 |
_longest_encoded_length |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:64 |
calc_loss_batch |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:73 |
calc_loss_loader |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:83 |
calc_accuracy_loader |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:101 |
evaluate_model |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:123 |
train_classifier_simple |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:132 |
reporthook |
software | dead | ch06/03_bonus_imdb-classification/download_prepare_dataset.… |
download_and_extract_dataset |
software | healthy | ch06/03_bonus_imdb-classification/download_prepare_dataset.… |
load_dataset_to_dataframe |
software | healthy | ch06/03_bonus_imdb-classification/download_prepare_dataset.… |
partition_and_save |
software | healthy | ch06/03_bonus_imdb-classification/download_prepare_dataset.… |
__init__ |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py:116 |
__getitem__ |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py:143 |
__len__ |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py:158 |
_longest_encoded_length |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py:161 |
Showing first 50 of this kind. Full payload available via the JSON button at the top of the page.
| Label | Layer | Status | Path |
|---|---|---|---|
IMDbDataset |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py:23 |
IMDbDataset |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py:23 |
IMDbDataset |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py:18 |
SpamDataset |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py:21 |
SPAMDataset |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py:115 |
GPTDatasetV1 |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:21 |
MultiHeadAttention |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:62 |
LayerNorm |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:121 |
GELU |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:135 |
FeedForward |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:146 |
TransformerBlock |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:159 |
GPTModel |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py:192 |
SpamDataset |
software | healthy | ch06/01_main-chapter-code/gpt_class_finetune.py:78 |
GPTDatasetV1 |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:21 |
MultiHeadAttention |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:61 |
LayerNorm |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:120 |
GELU |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:134 |
FeedForward |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:145 |
TransformerBlock |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:158 |
GPTModel |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py:191 |
LoRALayer |
software | healthy | ch06/02_bonus_additional-experiments/additional_experiments… |
LinearWithLoRA |
software | healthy | ch06/02_bonus_additional-experiments/additional_experiments… |
LinearWithLoRAMerged |
software | healthy | ch06/02_bonus_additional-experiments/additional_experiments… |
SpamDataset |
software | healthy | ch06/02_bonus_additional-experiments/additional_experiments… |
GPTDatasetV1 |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:21 |
MultiHeadAttention |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:61 |
LayerNorm |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:1… |
GELU |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:1… |
FeedForward |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:1… |
TransformerBlock |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:1… |
GPTModel |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py:1… |
MultiHeadAttention |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py:20 |
LayerNorm |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py:118 |
GELU |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py:132 |
FeedForward |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py:143 |
TransformerBlock |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py:156 |
GPTModel |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py:194 |
MultiHeadLatentAttention |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py:24 |
LayerNorm |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py:124 |
GELU |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py:138 |
FeedForward |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py:149 |
TransformerBlock |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py:162 |
GPTModel |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py:202 |
MultiHeadAttention |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py:20 |
LayerNorm |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py:118 |
GELU |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py:132 |
FeedForward |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py:143 |
TransformerBlock |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py:156 |
GPTModel |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py:194 |
GroupedQueryAttention |
software | healthy | ch04/04_gqa/gpt_with_kv_gqa.py:20 |
Showing first 50 of this kind. Full payload available via the JSON button at the top of the page.
| Label | Layer | Status | Path |
|---|---|---|---|
conftest.py |
software | healthy | conftest.py |
README.md |
software | healthy | README.md |
troubleshooting.md |
software | healthy | troubleshooting.md |
pyproject.toml |
software | healthy | pyproject.toml |
requirements.txt |
software | healthy | requirements.txt |
pixi.toml |
software | healthy | pixi.toml |
reading-recommendations.md |
software | healthy | ch01/reading-recommendations.md |
README.md |
software | healthy | ch01/README.md |
README.md |
software | healthy | ch06/README.md |
README.md |
software | healthy | ch06/04_user_interface/README.md |
app.py |
software | healthy | ch06/04_user_interface/app.py |
train_gpt.py |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt.py |
train_sklearn_logreg.py |
software | healthy | ch06/03_bonus_imdb-classification/train_sklearn_logreg.py |
train_gpt_muon.py |
software | healthy | ch06/03_bonus_imdb-classification/train_gpt_muon.py |
gpt_download.py |
software | healthy | ch06/03_bonus_imdb-classification/gpt_download.py |
README.md |
software | healthy | ch06/03_bonus_imdb-classification/README.md |
train_bert_hf.py |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf.py |
download_prepare_dataset.py |
software | healthy | ch06/03_bonus_imdb-classification/download_prepare_dataset.… |
train_bert_hf_spam.py |
software | healthy | ch06/03_bonus_imdb-classification/train_bert_hf_spam.py |
previous_chapters.py |
software | healthy | ch06/03_bonus_imdb-classification/previous_chapters.py |
gpt_download.py |
software | healthy | ch06/01_main-chapter-code/gpt_download.py |
README.md |
software | healthy | ch06/01_main-chapter-code/README.md |
tests.py |
software | healthy | ch06/01_main-chapter-code/tests.py |
gpt_class_finetune.py |
software | healthy | ch06/01_main-chapter-code/gpt_class_finetune.py |
previous_chapters.py |
software | healthy | ch06/01_main-chapter-code/previous_chapters.py |
gpt_download.py |
software | healthy | ch06/02_bonus_additional-experiments/gpt_download.py |
README.md |
software | healthy | ch06/02_bonus_additional-experiments/README.md |
additional_experiments.py |
software | healthy | ch06/02_bonus_additional-experiments/additional_experiments… |
previous_chapters.py |
software | healthy | ch06/02_bonus_additional-experiments/previous_chapters.py |
README.md |
software | healthy | ch04/README.md |
README.md |
software | healthy | ch04/05_mla/README.md |
gpt_with_kv_mha.py |
software | healthy | ch04/05_mla/gpt_with_kv_mha.py |
plot_memory_estimates_mla.py |
software | healthy | ch04/05_mla/plot_memory_estimates_mla.py |
gpt_with_kv_mla.py |
software | healthy | ch04/05_mla/gpt_with_kv_mla.py |
memory_estimator_mla.py |
software | healthy | ch04/05_mla/memory_estimator_mla.py |
plot_memory_estimates_gqa.py |
software | healthy | ch04/04_gqa/plot_memory_estimates_gqa.py |
README.md |
software | healthy | ch04/04_gqa/README.md |
gpt_with_kv_mha.py |
software | healthy | ch04/04_gqa/gpt_with_kv_mha.py |
memory_estimator_gqa.py |
software | healthy | ch04/04_gqa/memory_estimator_gqa.py |
gpt_with_kv_gqa.py |
software | healthy | ch04/04_gqa/gpt_with_kv_gqa.py |
memory_estimator_swa.py |
software | healthy | ch04/06_swa/memory_estimator_swa.py |
README.md |
software | healthy | ch04/06_swa/README.md |
gpt_with_kv_mha.py |
software | healthy | ch04/06_swa/gpt_with_kv_mha.py |
tests.py |
software | healthy | ch04/06_swa/tests.py |
gpt_with_kv_swa.py |
software | healthy | ch04/06_swa/gpt_with_kv_swa.py |
plot_memory_estimates_swa.py |
software | healthy | ch04/06_swa/plot_memory_estimates_swa.py |
gpt_with_kv_dsa.py |
software | healthy | ch04/09_dsa/gpt_with_kv_dsa.py |
README.md |
software | healthy | ch04/09_dsa/README.md |
test_dsa.py |
software | healthy | ch04/09_dsa/test_dsa.py |
README.md |
software | healthy | ch04/07_moe/README.md |
Showing first 50 of this kind. Full payload available via the JSON button at the top of the page.
| Label | Layer | Status | Path |
|---|---|---|---|
ch01 |
software | healthy | ch01 |
ch06 |
software | healthy | ch06 |
04_user_interface |
software | healthy | ch06/04_user_interface |
03_bonus_imdb-classification |
software | healthy | ch06/03_bonus_imdb-classification |
01_main-chapter-code |
software | healthy | ch06/01_main-chapter-code |
02_bonus_additional-experiments |
software | healthy | ch06/02_bonus_additional-experiments |
ch04 |
software | healthy | ch04 |
05_mla |
software | healthy | ch04/05_mla |
04_gqa |
software | healthy | ch04/04_gqa |
06_swa |
software | healthy | ch04/06_swa |
09_dsa |
software | healthy | ch04/09_dsa |
07_moe |
software | healthy | ch04/07_moe |
01_main-chapter-code |
software | healthy | ch04/01_main-chapter-code |
03_kv-cache |
software | healthy | ch04/03_kv-cache |
10_kv-sharing |
software | healthy | ch04/10_kv-sharing |
02_performance-analysis |
software | healthy | ch04/02_performance-analysis |
08_deltanet |
software | healthy | ch04/08_deltanet |
ch07 |
software | healthy | ch07 |
02_dataset-utilities |
software | healthy | ch07/02_dataset-utilities |
06_user_interface |
software | healthy | ch07/06_user_interface |
03_model-evaluation |
software | healthy | ch07/03_model-evaluation |
scores |
software | healthy | ch07/03_model-evaluation/scores |
01_main-chapter-code |
software | healthy | ch07/01_main-chapter-code |
04_preference-tuning-with-dpo |
software | healthy | ch07/04_preference-tuning-with-dpo |
05_dataset-generation |
software | healthy | ch07/05_dataset-generation |
ch05 |
software | healthy | ch05 |
07_gpt_to_llama |
software | healthy | ch05/07_gpt_to_llama |
tests |
software | healthy | ch05/07_gpt_to_llama/tests |
06_user_interface |
software | healthy | ch05/06_user_interface |
09_extending-tokenizers |
software | healthy | ch05/09_extending-tokenizers |
13_olmo3 |
software | healthy | ch05/13_olmo3 |
tests |
software | healthy | ch05/13_olmo3/tests |
03_bonus_pretraining_on_gutenberg |
software | healthy | ch05/03_bonus_pretraining_on_gutenberg |
11_qwen3 |
software | healthy | ch05/11_qwen3 |
tests |
software | healthy | ch05/11_qwen3/tests |
qwen3-chat-interface |
software | healthy | ch05/11_qwen3/qwen3-chat-interface |
05_bonus_hparam_tuning |
software | healthy | ch05/05_bonus_hparam_tuning |
02_alternative_weight_loading |
software | healthy | ch05/02_alternative_weight_loading |
08_memory_efficient_weight_loading |
software | healthy | ch05/08_memory_efficient_weight_loading |
01_main-chapter-code |
software | healthy | ch05/01_main-chapter-code |
14_ch05_with_other_llms |
software | healthy | ch05/14_ch05_with_other_llms |
16_qwen3.5 |
software | healthy | ch05/16_qwen3.5 |
tests |
software | healthy | ch05/16_qwen3.5/tests |
18_muon |
software | healthy | ch05/18_muon |
12_gemma3 |
software | healthy | ch05/12_gemma3 |
tests |
software | healthy | ch05/12_gemma3/tests |
17_gemma4 |
software | healthy | ch05/17_gemma4 |
tests |
software | healthy | ch05/17_gemma4/tests |
test_e4b |
software | healthy | ch05/17_gemma4/tests/test_e4b |
test_e2b |
software | healthy | ch05/17_gemma4/tests/test_e2b |
Showing first 50 of this kind. Full payload available via the JSON button at the top of the page.
| Label | Layer | Status | Path |
|---|---|---|---|
gha::basic-tests-old-pytorch |
cicd | healthy | .github/workflows/basic-tests-old-pytorch.yml |
gha::basic-tests-latest-python |
cicd | healthy | .github/workflows/basic-tests-latest-python.yml |
gha::basic-tests-pixi |
cicd | healthy | .github/workflows/basic-tests-pixi.yml |
gha::basic-tests-linux-uv |
cicd | healthy | .github/workflows/basic-tests-linux-uv.yml |
gha::check-links |
cicd | healthy | .github/workflows/check-links.yml |
gha::pep8-linter |
cicd | healthy | .github/workflows/pep8-linter.yml |
gha::check-spelling-errors |
cicd | healthy | .github/workflows/check-spelling-errors.yml |
gha::basic-tests-windows-uv-pip |
cicd | healthy | .github/workflows/basic-tests-windows-uv-pip.yml |
gha::basic-tests-pip |
cicd | healthy | .github/workflows/basic-tests-pip.yml |
gha::required-checks |
cicd | healthy | .github/workflows/required-checks.yml |
gha::basic-tests-macos-uv |
cicd | healthy | .github/workflows/basic-tests-macos-uv.yml |
gha::basic-tests-pytorch-rc |
cicd | healthy | .github/workflows/basic-tests-pytorch-rc.yml |
| Label | Layer | Status | Path |
|---|---|---|---|
test |
cicd | healthy | .github/workflows/basic-tests-old-pytorch.yml |
test |
cicd | healthy | .github/workflows/basic-tests-latest-python.yml |
test |
cicd | healthy | .github/workflows/basic-tests-pixi.yml |
uv-tests |
cicd | healthy | .github/workflows/basic-tests-linux-uv.yml |
test |
cicd | healthy | .github/workflows/check-links.yml |
flake8 |
cicd | healthy | .github/workflows/pep8-linter.yml |
spellcheck |
cicd | healthy | .github/workflows/check-spelling-errors.yml |
test |
cicd | healthy | .github/workflows/basic-tests-windows-uv-pip.yml |
pip-tests |
cicd | healthy | .github/workflows/basic-tests-pip.yml |
required-checks |
cicd | healthy | .github/workflows/required-checks.yml |
uv-tests |
cicd | healthy | .github/workflows/basic-tests-macos-uv.yml |
test |
cicd | healthy | .github/workflows/basic-tests-pytorch-rc.yml |
| Label | Layer | Status | Path |
|---|---|---|---|
vps::aws |
hardware | healthy | setup/04_optional-aws-sagemaker-notebook/cloudformation-tem… |
vps::ec2 |
hardware | healthy | setup/04_optional-aws-sagemaker-notebook/cloudformation-tem… |
vps::azure |
hardware | healthy | .github/ISSUE_TEMPLATE/bug-report.yaml |
vps::gcp |
hardware | healthy | .github/ISSUE_TEMPLATE/bug-report.yaml |
| Label | Layer | Status | Path |
|---|---|---|---|
repobility-clone-p9fum9ua |
software | healthy | /tmp/repobility-clone-p9fum9ua |
| Label | Layer | Status | Path |
|---|---|---|---|
4.7.12.1 |
network | healthy | setup/04_optional-aws-sagemaker-notebook/cloudformation-tem… |
| Label | Layer | Status | Path |
|---|---|---|---|
image::setup/03_optional-docker-environment/.devcontainer/D… |
hardware | healthy | setup/03_optional-docker-environment/.devcontainer/Dockerfi… |
| Label | Layer | Status | Path |
|---|---|---|---|
gpu (detected) |
hardware | healthy | ch06/04_user_interface/app.py |
This page is publicly accessible at:
https://repobility.com/scan/0fcda472-f82b-4312-90c9-2da9b44309aa/
To check status programmatically (no auth required):
curl -s https://repobility.com/api/v1/public/scan/0fcda472-f82b-4312-90c9-2da9b44309aa/
Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.