9 views

shiyu-coder/Kronos

Kronos: A Foundation Model for the Language of Financial Markets

Python★ 46,597+503 that day#7 on trending

Analyzed November 4, 2026 at 67b630e (master) with jscpd v5 in 1.0s.

D53.9/100
Project health11,201 lines of code (M)
Duplication37
13.6% in python, bash
Dead code93
0.4%
Complexity45
63.9%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

35.54%duplicated over all files · 28,813 of 81,076 lines
108clones
77files scanned

Only 15 of the files count as code, too few for a code-only percentage; the numbers above cover every file.

Largest clones in the code

  • 41 lines in 2 placespython236 tokens
    199    data_type='val',
    200    lookback_window=config.lookback_window,
    201    predict_window=config.predict_window,
    202    clip=config.clip,
    203    seed=config.seed + 1,
    204    train_ratio=config.train_ratio,
    205    val_ratio=config.val_ratio,
    206    test_ratio=config.test_ratio
    207)
    208
    

    First 10 of 41 lines.

  • 24 lines in 2 placespython227 tokens
    88    print("pre_trained_tokenizer=False, randomly initializing Tokenizer architecture")
    89import json
    90cfg_path = os.path.join(self.config.pretrained_tokenizer_path, 'config.json')
    91with open(cfg_path, 'r') as f:
    92    arch = json.load(f)
    93tokenizer = KronosTokenizer(
    94    d_in=arch.get('d_in', 6),
    95    d_model=arch.get('d_model', 256),
    96    n_heads=arch.get('n_heads', 4),
    97    ff_dim=arch.get('ff_dim', 512),
    

    First 10 of 24 lines.

  • 22 lines in 2 placespython210 tokens
    311cfg_path = os.path.join(config.pretrained_tokenizer_path, 'config.json')
    312with open(cfg_path, 'r') as f:
    313    arch = json.load(f)
    314tokenizer = KronosTokenizer(
    315    d_in=arch.get('d_in', 6),
    316    d_model=arch.get('d_model', 256),
    317    n_heads=arch.get('n_heads', 4),
    318    ff_dim=arch.get('ff_dim', 512),
    319    n_enc_layers=arch.get('n_enc_layers', 4),
    320    n_dec_layers=arch.get('n_dec_layers', 4),
    

    First 10 of 22 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
python144,512273728.24%
bash140000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
python2911,209641,52113.57%
json3465,2584327,28541.81%
markdown4694171.01%
csv32,519000%
markup11,238000%
bash478000%
yaml171000%
text19000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 4, 2026#746,597 (+503)7781,07610835.54%—D 53.967b630e
Nov 3, 2026#446,083 (+857)7781,07610835.54%—D 53.967b630e
Nov 2, 2026#245,539 (+630)7781,07610835.54%—D 53.967b630e
Oct 22, 2026#442,939 (+575)7781,07610835.54%—D 53.967b630e
Oct 21, 2026#642,446 (+733)7781,07610835.54%—D 53.967b630e
Oct 20, 2026#841,825 (+363)8781,93810835.16%6.87%C 55.267b630e

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.