SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.21550 · 2026

PeakFocus: Bridging Peak Localization and Intensity Regression via a Unified Multi-Scale Framework for Electricity Load Forecasting

Qing Zhao, Dawei Cheng, Peng Zhu, Yiwen Jiang, Wangzhi Yu

arXiv · PDF · Open in the Atlas

Code that ran

28 of 34 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (10 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 4 violated it and 10 have no contract verdict; 12 failures of our instrument; 6 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.21550.json · badge: /api/ran/2605.21550.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
erdogant/findpeaks canonical (classifier label)
classifier basis: census
18 ran · 3 no recorded run
TongjiFinLab/PeakFocus community
Papers with Code archive
10 ran · 3 no recorded run
FunctionStatusWhere it lives
CovariateBridgeEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("ce091d8435d716e2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, CovariateBridgeEncoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple layer that matches the expected interface
class SimpleLayer(nn.Module):
    def __init__(self, dim):
        super().__init__()
        self.linear = nn.Linear(dim, dim)
    
    def forward(self, x, cross, x_mask=None, cross_mask=None):
        # Layer processes x using cross information
        return self.linear(x)

# Create a simple normalization layer
norm_layer = nn.LayerNorm(4)

# Create two bridge layers with matching dimensions
layer1 = SimpleLayer(dim=4)
layer2 = SimpleLayer(dim=4)

layers = [layer1, layer2]

ARGS = {
    "layers": layers,
    "norm_layer": norm_layer
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CovariateBridgeEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CovariateBridgeEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DataEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("c33c8191c5dcdf84")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DataEmbedding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Create sample tensors
# x: (batch_size, seq_len, c_in) - the value tensor
# x_mark: (batch_size, seq_len, time_features) - the temporal/time feature tensor

batch_size = 2
seq_len = 4
c_in = 3  # number of input channels/variables
d_model = 8  # embedding dimension

x = torch.randn(batch_size, seq_len, c_in)
x_mark = torch.randint(0, 32, (batch_size, seq_len, 5))  # 5 time features: month, day, weekday, hour, minute

ARGS = {
    'c_in': c_in,
    'd_model': d_model,
    'embed_type': 'fixed',
    'freq': 'h',
    'dropout': 0.1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataEmbedding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DataEmbedding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
EndogenousPatchEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("2de54542000f739f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, EndogenousPatchEmbedding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'n_vars': 3,
    'd_model': 4,
    'patch_len': 2,
    'dropout': 0.1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EndogenousPatchEmbedding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EndogenousPatchEmbedding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
GatedWeatherFusion Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("7b66518cb7e8ba8a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, GatedWeatherFusion: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class GatedWeatherFusion(nn.Module):
    def __init__(self, d_model, dropout):
        super(GatedWeatherFusion, self).__init__()
        self.gate = nn.Sequential(nn.Linear(d_model * 2, d_model), nn.Sigmoid())
        self.candidate = nn.Sequential(nn.Linear(d_model * 2, d_model), nn.GELU(), nn.Dropout(dropout))
        self.norm = nn.LayerNorm(d_model)

    def forward(self, signal_embed, weather_embed):
        fusion_input = torch.cat([signal_embed, weather_embed], dim=-1)
        gate = self.gate(fusion_input)
        candidate = self.candidate(fusion_input)
        return self.norm(signal_embed + gate * candidate)

# Setup arguments
d_model = 4
dropout = 0.1

# Create instance
fusion_module = GatedWeatherFusion(d_model=d_model, dropout=dropout)

# Create test tensors
batch_size = 2
signal_embed = torch.randn(batch_size, d_model)
weather_embed = torch.randn(batch_size, d_model)

ARGS = {
    'd_model': d_model,
    'dropout': dropout
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GatedWeatherFusion — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GatedWeatherFusion output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Location_Aware_Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("76a30369171acc7a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Location_Aware_Decoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal decoder layer that matches the expected interface
class MinimalDecoderLayer(nn.Module):
    def __init__(self, d_model=4):
        super(MinimalDecoderLayer, self).__init__()
        self.linear = nn.Linear(d_model, d_model)
    
    def forward(self, x, cross, peak, x_mask=None, cross_mask=None, peak_mask=None):
        # Simple pass-through with a linear transformation
        return self.linear(x)

# Create layers for the decoder
layers = [
    MinimalDecoderLayer(d_model=4),
    MinimalDecoderLayer(d_model=4)
]

# Create a norm layer
norm_layer = nn.LayerNorm(4)

# Create a projection layer
projection = nn.Linear(4, 4)

ARGS = {
    'layers': layers,
    'norm_layer': norm_layer,
    'projection': projection
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Location_Aware_Decoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Location_Aware_Decoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Location_Aware_Decoder_Layer Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("f015fe0ed3992820")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Location_Aware_Decoder_Layer: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Create a minimal attention module that satisfies the interface
class MinimalAttention(nn.Module):
    def __init__(self, d_model):
        super(MinimalAttention, self).__init__()
        self.d_model = d_model
        self.linear_q = nn.Linear(d_model, d_model)
        self.linear_k = nn.Linear(d_model, d_model)
        self.linear_v = nn.Linear(d_model, d_model)
        self.linear_out = nn.Linear(d_model, d_model)
    
    def forward(self, query, key, value, attn_mask=None):
        # Minimal attention implementation
        # Returns tuple (output, attention_weights)
        batch_size = query.size(0)
        seq_len = query.size(1)
        
        # Simple scaled dot-product attention
        scores = torch.matmul(query, key.transpose(-2, -1)) / (self.d_model ** 0.5)
        
        if attn_mask is not None:
            scores = scores.masked_fill(attn_mask == 0, float('-inf'))
        
        attn_weights = F.softmax(scores, dim=-1)
        output = torch.matmul(attn_weights, value)
        output = self.linear_out(output)
        
        return output, attn_weights

# Create minimal attention instance
d_model = 4
attention = MinimalAttention(d_model)

# Create tensors with distinct sizes for different dimensions
# batch_size=2, seq_len_decoder=3, d_model=4
x = torch.randn(2, 3, 4)  # decoder input
cross = torch.randn(2, 5, 4)  # encoder output (different seq_len)
peak = torch.randn(2, 5, 4)  # peak prediction features

# Optional masks (None is valid, but we can also create them)
x_mask = None
cross_mask = None
peak_mask = None

ARGS = {
    'attention': attention,
    'd_model': d_model,
    'd_ff': None,
    'dropout': 0.1,
    'activation': 'relu',
    'use_peak_guidance': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Location_Aware_Decoder_Layer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Location_Aware_Decoder_Layer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MultiLayerPerceptron Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("7e0f17b51b06577b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MultiLayerPerceptron: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The MultiLayerPerceptron expects:
# - input_dim: int, dimension of input features
# - hidden_dim: int, dimension of hidden layer
# - dropout: float, dropout probability (optional, defaults to 0.15)
#
# The forward method expects input_data to be a tensor that can flow through:
# fc1 (input_dim -> hidden_dim) -> act -> drop -> fc2 (hidden_dim -> hidden_dim)
# and then added back to input_data (so input must have shape matching hidden_dim output)
#
# For this to work with residual connection (hidden + input_data), 
# input_data must have last dimension equal to hidden_dim

input_dim = 4
hidden_dim = 4
dropout_rate = 0.15

# Create a small input tensor: batch_size=2, features=input_dim=4
input_tensor = torch.randn(2, input_dim)

ARGS = {
    "input_dim": input_dim,
    "hidden_dim": hidden_dim,
    "dropout": dropout_rate,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MultiLayerPerceptron — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MultiLayerPerceptron output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Multi_Scale_Mixing_Peak_Locator Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("f3fd0ba7ecb9de47")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Multi_Scale_Mixing_Peak_Locator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal time embedding module that mimics the expected behavior
class MinimalTimeEmbedding(nn.Module):
    def __init__(self, d_model):
        super().__init__()
        self.d_model = d_model
        self.linear = nn.Linear(1, d_model)
    
    def forward(self, x):
        # x is expected to be (batch, seq_len, feature_dim)
        # Return (batch, seq_len, d_model)
        return self.linear(x.unsqueeze(-1) if x.dim() == 2 else x)

# Parameters
d_model = 4
c_out = 3
pred_len = 5
seq_len = 8
batch_size = 2

# Create the time embedding module
dec_te = MinimalTimeEmbedding(d_model)

# Create sample tensors
# x: (batch_size, seq_len, d_model)
x = torch.randn(batch_size, seq_len, d_model)

# x_mark_dec: (batch_size, full_seq_len, 1) - temporal feature for time embedding
x_mark_dec = torch.randn(batch_size, seq_len + pred_len, 1)

# Define ARGS
ARGS = {
    'd_model': d_model,
    'c_out': c_out,
    'dec_te': dec_te,
    'pred_len': pred_len,
    'if_te': True,
    'dropout': 0.1,
    'n_scales': 2,
}

# Test execution with different n_scales
def test_model():
    model = nn.Module()
    for n_scales_test in [0, 1, 2, 3]:
        args_test = ARGS.copy()
        args_test['n_scales'] = n_scales_test
        model_test = __import__('torch.nn', fromlist=['Module']).Module
        # Just verify the model can be instantiated
        from __main__ import Multi_Scale_Mixing_Peak_Locator
        model_instance = Multi_Scale_Mixing_Peak_Locator(**args_test)
        output = model_instance(x, x_mark_dec)
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
__main__, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Multi_Scale_Mixing_Peak_Locator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Multi_Scale_Mixing_Peak_Locator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Simple_Head Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("f39c197a1412ef7c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Simple_Head: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Simple_Head requires d_model and c_out parameters
d_model = 4
c_out = 3

ARGS = {
    "d_model": d_model,
    "c_out": c_out
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Simple_Head — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Simple_Head output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TimeFeatureEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("9ed33707ea2f71de")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TimeFeatureEmbedding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# TimeFeatureEmbedding is a simple embedding module for time features
# It takes:
# - d_model: dimension of the model (output dimension of the embedding)
# - embed_type: type of embedding (default 'timeF')
# - freq: frequency character that determines input dimension (default 'h')

# The forward method expects input x with shape (batch, seq_len, features)
# where features should match or exceed d_inp (determined by freq)

ARGS = {
    'd_model': 16,
    'embed_type': 'timeF',
    'freq': 'h'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TimeFeatureEmbedding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TimeFeatureEmbedding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calculate_all_Mi Ran
ran, violated the contract we drafted
erdogant/findpeaks/findpeaks/filters/frost.py
pointer only (licence: NOASSERTION) · get_code("17aa9a572ba3f4b0")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_local_weight_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/frost.py
pointer only (licence: NOASSERTION) · get_code("af8a3d073f9b8cd2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_coef_var Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/frost.py
pointer only (licence: NOASSERTION) · get_code("35044b76e3773b6a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_verbose_to_old Ran
ran, honoured the contract we drafted
erdogant/findpeaks/findpeaks/findpeaks.py
pointer only (licence: NOASSERTION) · get_code("589d6e88341881c9")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

interpolate_line1d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/interpolate.py
pointer only (licence: NOASSERTION) · get_code("a19d56265f4189e4")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

interpolate_line2d Ran
ran; our contract draft was wrong, not the code
erdogant/findpeaks/findpeaks/interpolate.py
pointer only (licence: NOASSERTION) · get_code("0d0ca7c8a7074254")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

interpolate_nans Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/interpolate.py
pointer only (licence: NOASSERTION) · get_code("3c4950f33e115af2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_url Ran
ran, violated the contract we drafted
erdogant/findpeaks/findpeaks/findpeaks.py
pointer only (licence: NOASSERTION) · get_code("cf9328100ebbd5ed")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

kuan_filter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/kuan.py
pointer only (licence: NOASSERTION) · get_code("9dfc6b4f9dde716a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lee_enhanced_filter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/lee_enhanced.py
pointer only (licence: NOASSERTION) · get_code("f1324565a011e980")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lee_filter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/lee.py
pointer only (licence: NOASSERTION) · get_code("3cc789ceceb9a57e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mean_filter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/mean.py
pointer only (licence: NOASSERTION) · get_code("9572a19a39649452")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

peakdetect Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/peakdetect.py
pointer only (licence: NOASSERTION) · get_code("a79ebcc4f3a442a1")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resize Ran
ran, violated the contract we drafted
erdogant/findpeaks/findpeaks/stats.py
pointer only (licence: NOASSERTION) · get_code("2d4dfe47b6dd14f1")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

scale Ran
ran, violated the contract we drafted
erdogant/findpeaks/findpeaks/stats.py
pointer only (licence: NOASSERTION) · get_code("d187808ffd4fcfd3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

togray Ran
ran, honoured the contract we drafted
erdogant/findpeaks/findpeaks/stats.py
pointer only (licence: NOASSERTION) · get_code("b0d0eec902c636b3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

weighting Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/kuan.py
pointer only (licence: NOASSERTION) · get_code("7669ef18158dd5da")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

weighting Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
erdogant/findpeaks/findpeaks/filters/lee_enhanced.py
pointer only (licence: NOASSERTION) · get_code("17bfb489594a5fbd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CovariateBridgeEncoderLayer Not yet run
unverified (harvested, no recorded run)
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("8eeba834f632bd8d")
How it ran

no invocation recorded.

Model Not yet run
unverified (harvested, no recorded run)
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("a5412fb1b0408c3a")
How it ran

no invocation recorded.

TimeXerCovariateBridge Not yet run
unverified (harvested, no recorded run)
TongjiFinLab/PeakFocus/models/proposed_model.py
code served (permissive licence) · get_code("5af62acb6d11344f")
How it ran

no invocation recorded.

peakdetect_fft Not yet run
unverified (harvested, no recorded run)
erdogant/findpeaks/findpeaks/peakdetect.py
pointer only (licence: NOASSERTION) · get_code("fb0fd6ef8c4f7c29")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

peakdetect_parabola Not yet run
unverified (harvested, no recorded run)
erdogant/findpeaks/findpeaks/peakdetect.py
pointer only (licence: NOASSERTION) · get_code("82d4b81cad7bc285")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ptTar Not yet run
unverified (harvested, no recorded run)
erdogant/findpeaks/findpeaks/filters/lee_sigma.py
pointer only (licence: NOASSERTION) · get_code("95fddf1afb56a629")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, erdogant/findpeaks (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 34 samples lifted from this paper's linked repositories, 34 carry a function identity and 0 do not. Of the 34 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 33 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
DataEmbedding
brick of this paper's assembly: helper
2 other papers
2 dated earlier · 1 only as an assembly brick
2302.11939 (2023-02)
One Fits All: Power General Time Series Analysis by Pretrained LM
2506.03964 (2025-06)
Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly Detection

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Electricity load peak forecasting (ELPF), simultaneously predicting peak timing and intensity, is a prerequisite for effective grid scheduling and risk management. However, existing methods face three limitations. First, they adopt a two-stage predict-then-locate paradigm, which severs the link between temporal localization and intensity regression. Second, they still struggle with the multi-scale representation conflict, leading to peak misjudgment and timing misalignment. Third, the lack of explicit peak timing context during intensity regression causes intensity smoothing because predictions are dominated by global smoothing trends. To address these limitations, we propose PeakFocus, a unified framework for ELPF. (i) A Unified Peak-Aware Pipeline (UPAP) utilizes a triple hybrid loss to jointly supervise temporal localization and intensity regression, alongside a tolerance-based evaluation protocol. (ii) A Multi-Scale Mixing Peak Locator (MSM-PL) exploits coarse-grained features to mitigate peak misjudgment caused by local fluctuations, and injects them into fine-grained features via a cascade mechanism to resolve timing misalignment. (iii) A Location-Aware Decoder (LAD) injects peak timing context into the intensity regression process, providing explicit guidance to counteract intensity smoothing and improve peak intensity estimation. Extensive experiments on the public Electricity (ELC) dataset and our industrial-scale World Large-scale Electricity Load (WLEL) dataset show that PeakFocus outperforms baselines in both timing precision and intensity estimation. Code and model implementation are available at https://github.com/TongjiFinLab/PeakFocus.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.21550")
get_code_for_paper("2605.21550")
have("2605.21550")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.21550.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.21550.svg)](https://syntology.ai/paper/2605.21550)

Connect an agent — have() is free.