{ "groups": [ { "kind": "maker code, pinned", "revision": "arthurflor23/handwritten-text-recognition@1ca49af840dd8cb6d8498c152dbed3cc8441b6b0", "root": "/path/to/TURKIC_OCR_CODE/src/ref/htrflor_1ca49af840dd8cb6d8498c152dbed3cc8441b6b0", "files": ["src/network/model.py", "src/network/layers.py", "src/data/generator.py", "src/data/preproc.py", "src/data/evaluation.py", "src/data/reader.py", "src/main.py"], "executed": true, "read_as_text": {"default": "full (every line, 20-21 Nov 2026)", "src/data/reader.py": "full; imported by none of our scripts (not executed)", "src/main.py": "full; not executed (our scripts replace it)"}, "notes": "model.py, layers.py, generator.py (Tokenizer only), preproc.py, evaluation.py are imported; reader.py and main.py are read but not run" }, { "kind": "maker code, pinned", "revision": "PaddlePaddle/PaddleOCR@e218c0a35fbcb5085ab3527931b2d8d08f8f0292 (v2.10.0)", "root": "/path/to/TURKIC_OCR_CODE/src/ref/PaddleOCR-e218c0a35fbcb5085ab3527931b2d8d08f8f0292", "list_file": "/path/to/TURKIC_OCR_DATA/outputs/r5/ref/executed_pinned_files_smoke.txt", "executed": true, "read_as_text": { "default": "scanned, not read line by line: imported (class and function definitions run at import) but not used by this config; ppocr_executed_scan.tsv lists risk-pattern hits and module-level statements; hits are eval() of config-named classes, pickle.load of our own .states files, a download helper that is not called, and check_install (pip) that only detection code calls", "tools/program.py": "read: ArgsParser, load_config, merge_config (lines 44-116), train() (184-630), preprocess() (797-922); eval() and the rest scanned", "tools/__init__.py": "full (empty)", "tools/naive_sync_bn.py": "scanned (not used: use_sync_bn false)", "ppocr/data/__init__.py": "full", "ppocr/data/simple_dataset.py": "read lines 1-253 (SimpleDataSet and MultiScaleDataSet)", "ppocr/data/imaug/__init__.py": "full", "ppocr/data/imaug/label_ops.py": "read: BaseRecLabelEncode, CTCLabelEncode (101-197), SARLabelEncode (863-904), MultiLabelEncode (1272-1315); rest scanned", "ppocr/data/imaug/rec_img_aug.py": "read: RecAug, RecConAug, RecResizeImg, resize_norm_img (lines 34-67, 147-193, 284-309, 616-643); BaseDataAugmentation and the helper functions at the end scanned", "ppocr/data/imaug/operators.py": "read: DecodeImage (lines 29-59); rest scanned", "ppocr/losses/combined_loss.py": "full (lines 14-84; not used by MultiLoss config)", "ppocr/losses/rec_multi_loss.py": "read lines 14-60", "ppocr/losses/rec_ctc_loss.py": "full", "ppocr/losses/rec_sar_loss.py": "read lines 14-36", "ppocr/metrics/rec_metric.py": "read lines 14-80 (RecMetric)", "ppocr/modeling/architectures/base_model.py": "full", "ppocr/modeling/backbones/rec_mv1_enhance.py": "full", "ppocr/modeling/heads/rec_multi_head.py": "full", "ppocr/modeling/heads/rec_ctc_head.py": "full", "ppocr/modeling/heads/rec_sar_head.py": "read lines 250-407 (forward paths and SARHead); the encoder and decoder layer definitions (1-250) scanned", "ppocr/modeling/necks/rnn.py": "read lines 190-284 (EncoderWithSVTR forward, SequenceEncoder); the earlier part scanned", "ppocr/optimizer/__init__.py": "full", "ppocr/optimizer/regularizer.py": "full", "ppocr/optimizer/learning_rate.py": "read: Cosine (lines 73-111); rest scanned", "ppocr/optimizer/optimizer.py": "read: Adam (lines 56-100); rest scanned", "ppocr/postprocess/rec_postprocess.py": "read: BaseRecLabelDecode init (30-60) and CTCLabelDecode (195-227); rest scanned", "ppocr/utils/save_load.py": "full", "ppocr/utils/utility.py": "read lines 180-216 (check_install, AverageMeter); rest scanned" }, "notes": "208 files were imported by the smoke run (list = executed_pinned_files_smoke.txt); the code that actually runs in training is the read set above" }, { "kind": "own script (stage REF)", "revision": "records/R5/REF/scripts, copied to CODE/scripts/r5_ref/", "root": "/path/to/TURKIC_OCR_CODE/scripts/r5_ref", "files": ["ref_common.py", "ref_build_data.py", "ref_flor_train.py", "ref_flor_predict.py", "ref_ppocr_run.py", "ref_ppocr_predict.py", "ref_paper_metrics.py", "ref_register_rand_test.py", "ref_make_mix_lists.py", "ref_label_stats.py", "ref_scan_executed.py", "ref_code_log.py", "make_gpu_tasks.py", "ref_step_build.sh", "ref_step_smoke_r1.sh", "ref_step_smoke_r2.sh", "ref_step_smoke_iii.sh", "test_pass_commands.sh", "ref_setup_env.sh", "ref_setup_env_paddle_cpu.sh", "ref_dev_alloc.sbatch", "mix_smoke.yaml"], "executed": true, "read_as_text": {"default": "written in the project (full)"}, "notes": "ref_make_mix_lists.py contains a verbatim copy of the sampler of CODE/src/linedet/data.py (sha256 1c585b40...43f)" } ] }