SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.22898 · 2026

FIRMA: FIbonacci Ring Model Aggregation for Privacy-preserving Federated Learning

Rachid Hedjam, Under Review

arXiv · PDF

Code that ran

12 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 7 failures of our instrument; 5 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.22898.json · badge: /api/ran/2605.22898.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
Hedjrachid/FIRMA community
Papers with Code archive
12 ran · 5 no recorded run
FunctionStatusWhere it lives
Extractor Ran
ran on a synthesized input · constructed an object; no result was computed
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("476612b54169f6ed")
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, Extractor: 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)

ARGS = {
    "d": 4,
    "h": 256,
    "e": 128,
}
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 Extractor — 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 Extractor 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
FullModel Ran
ran on a synthesized input · constructed an object; no result was computed
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("b10a68449b96fd83")
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, FullModel: 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 Extractor(nn.Module):
    """
    Three-layer MLP feature extractor.

        Linear(d, h) -> LayerNorm -> ReLU
        Linear(h, h) -> LayerNorm -> ReLU
        Linear(h, e) -> ReLU

    LayerNorm avoids BatchNorm's batch-size > 1 requirement, which fails
    when a client has very few samples under strong non-IID partitioning.
    """

    def __init__(self, d: int, h: int=256, e: int=128):
        super().__init__()
        self.net = nn.Sequential(nn.Linear(d, h), nn.LayerNorm(h), nn.ReLU(), nn.Linear(h, h), nn.LayerNorm(h), nn.ReLU(), nn.Linear(h, e), nn.ReLU())

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.net(x)

class Head(nn.Module):
    """Linear classification head.  Permanently private in FibFL variants."""

    def __init__(self, e: int=128, n_classes: int=10):
        super().__init__()
        self.fc = nn.Linear(e, n_classes)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.fc(x)

class FullModel(nn.Module):
    """Combined extractor + head for joint forward passes."""

    def __init__(self, ext: Extractor, head: Head):
        super().__init__()
        self.ext = ext
        self.head = head

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.head(self.ext(x))

# Create instances
extractor = Extractor(d=4, h=8, e=5)
head = Head(e=5, n_classes=3)

ARGS = {
    'ext': extractor,
    'head': head,
}
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 FullModel — 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 FullModel 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
Head Ran
ran on a synthesized input · constructed an object; no result was computed
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("b1b224be69b0ae34")
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, 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)

ARGS = {
    "e": 128,
    "n_classes": 10,
}
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 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 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
_col Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("c5d340984edaffc6")
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 str. 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 sys

def _col(text, code):
    if not sys.stdout.isatty():
        return text
    return f'\x1b[{code}m{text}\x1b[0m'

# Setup: The function takes two parameters: text (str) and code (int or str)
# It checks if stdout is a tty, and if so, wraps text with ANSI color codes

ARGS = {
    'text': 'Hello World',
    'code': '32'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
_two_phase Ran
ran, honoured the contract we drafted
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("aff43c196e0f2e5e")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim 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
from torch.utils.data import DataLoader, TensorDataset

torch.manual_seed(0)

# Define minimal Extractor and Head classes (copies from function)
class Extractor(nn.Module):
    def __init__(self, d: int, h: int=256, e: int=128):
        super().__init__()
        self.net = nn.Sequential(
            nn.Linear(d, h), nn.LayerNorm(h), nn.ReLU(),
            nn.Linear(h, h), nn.LayerNorm(h), nn.ReLU(),
            nn.Linear(h, e), nn.ReLU()
        )

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.net(x)

class Head(nn.Module):
    def __init__(self, e: int=128, n_classes: int=10):
        super().__init__()
        self.fc = nn.Linear(e, n_classes)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.fc(x)

# Create small test data: batch_size=2, input_dim=4, n_classes=3
X_train = torch.randn(2, 4)
y_train = torch.randint(0, 3, (2,))
dataset = TensorDataset(X_train, y_train)
train_loader = DataLoader(dataset, batch_size=2, shuffle=False)

# Number of clients
n_clients = 2

# Build per-client extractors, heads, and loaders
exts = [Extractor(d=4, h=16, e=8) for _ in range(n_clients)]
heads = [Head(e=8, n_classes=3) for _ in range(n_clients)]
trl = [train_loader for _ in range(n_clients)]

# Build per-client optimizers for head and extractor
oh = [torch.optim.SGD(heads[i].parameters(), lr=0.01) for i in range(n_clients)]
oe = [torch.optim.SGD(exts[i].parameters(), lr=0.01) for i in range(n_clients)]

# Config dict with required keys
cfg = {
    'Eh': 1,  # epochs for head training
    'Ee': 1   # epochs for extractor training
}

ARGS = {
    'exts': exts,
    'heads': heads,
    'trl': trl,
    'cfg': cfg,
    'oh': oh,
    'oe': oe
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
dim Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("a21c448c165d2e1f")
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 str. 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 sys

def _col(text, code):
    if not sys.stdout.isatty():
        return text
    return f'\x1b[{code}m{text}\x1b[0m'

def dim(t):
    return _col(t, 2)

# The function 'dim' takes a single parameter 't' which is a string (text).
# It calls _col(t, 2), which expects 't' to be text (string).
# The function returns a colored string (or plain string if not a tty).

ARGS = {
    't': 'example_text'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
eval_acc Ran
ran, honoured the contract we drafted
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("d540b19f20258e37")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape 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
from torch.utils.data import DataLoader, TensorDataset

torch.manual_seed(0)

class Extractor(nn.Module):
    """
    Three-layer MLP feature extractor.

        Linear(d, h) -> LayerNorm -> ReLU
        Linear(h, h) -> LayerNorm -> ReLU
        Linear(h, e) -> ReLU

    LayerNorm avoids BatchNorm's batch-size > 1 requirement, which fails
    when a client has very few samples under strong non-IID partitioning.
    """

    def __init__(self, d: int, h: int=256, e: int=128):
        super().__init__()
        self.net = nn.Sequential(nn.Linear(d, h), nn.LayerNorm(h), nn.ReLU(), nn.Linear(h, h), nn.LayerNorm(h), nn.ReLU(), nn.Linear(h, e), nn.ReLU())

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.net(x)

class Head(nn.Module):
    """Linear classification head.  Permanently private in FibFL variants."""

    def __init__(self, e: int=128, n_classes: int=10):
        super().__init__()
        self.fc = nn.Linear(e, n_classes)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.fc(x)

def eval_acc(ext: Extractor, head: Head, loader: DataLoader) -> float:
    """Test accuracy of (ext, head) on loader."""
    ext.eval()
    head.eval()
    correct = total = 0
    with torch.no_grad():
        for x, y in loader:
            x, y = (x.to('cpu'), y.to('cpu'))
            correct += (head(ext(x)).argmax(1) == y).sum().item()
            total += len(y)
    return correct / max(total, 1)

# Create tiny tensors for testing
x_data = torch.randn(2, 4)  # batch_size=2, input_dim=4
y_data = torch.randint(0, 10, (2,))  # batch_size=2, 10 classes

# Create dataset and dataloader
dataset = TensorDataset(x_data, y_data)
loader = DataLoader(dataset, batch_size=2)

# Create extractor and head
ext = Extractor(d=4, h=8, e=3)
head = Head(e=3, n_classes=10)

ARGS = {
    'ext': ext,
    'head': head,
    'loader': loader
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
fib_blend Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("0910275d49063b7b")
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 list, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 math

torch.manual_seed(0)

# Build small parameter lists (each is a list of tensors)
# Using distinct shapes: 2x4, 3x4 to differentiate dimensions
N = 4
param_dim_1 = 2
param_dim_2 = 4

eps = [
    [torch.randn(param_dim_1, param_dim_2) for _ in range(3)] for _ in range(N)
]

# Accuracies in [0, 1] for each client
accs = [0.95, 0.87, 0.92, 0.78]

# Ring permutation (2-opt permutation of indices 0..N-1)
sigma = [0, 1, 2, 3]

# Number of gossip passes
K = 2

# Target self-retention parameter
gamma_r = 0.9

# Accuracy gate threshold
tau = 0.35

ARGS = {
    "eps": eps,
    "accs": accs,
    "sigma": sigma,
    "K": K,
    "gamma_r": gamma_r,
    "tau": tau,
}
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 list, ndim 4, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
gp Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("d2173bc5fdd6eb41")
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 list. 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 nn.Module with some parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

m = SimpleModel()

ARGS = {
    "m": m
}
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 list — a list output has no array shape of its own; none is 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
green Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("c6ff25372e8ba15a")
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 str. 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 sys

def _col(text, code):
    if not sys.stdout.isatty():
        return text
    return f'\x1b[{code}m{text}\x1b[0m'

def green(t):
    return _col(t, 92)

# The function 'green' takes a single parameter 't' which is a string (text).
# It calls _col(t, 92) which expects 'text' to be a string.
# The function returns a colored version of the text or the text itself.

ARGS = {
    't': 'hello world'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
two_opt Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("6f5b8caf0c0211c2")
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 tuple. 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 numpy as np

# Create a small normalized class-proportion matrix
# N=5 clients, C=3 classes
# Each row should be normalized (sum to 1)
np.random.seed(42)
q = np.random.dirichlet(np.ones(3), size=5)  # (5, 3) normalized class proportions

ARGS = {
    "q": q,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
wavg Ran
ran; our contract draft was wrong, not the code
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("b90d9ff9c4d6228c")
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 list. 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

torch.manual_seed(0)

# pls: List[List[torch.Tensor]] - a list of parameter lists
# Each inner list contains tensors of the same shape
# ws: List[float] - weights corresponding to each parameter list

# Create two parameter lists, each containing 3 tensors
# All tensors in pls[0] will be used as templates for output shape
tensor1_list0 = [
    torch.randn(2, 4),
    torch.randn(3, 5),
    torch.randn(1, 2)
]

tensor1_list1 = [
    torch.randn(2, 4),
    torch.randn(3, 5),
    torch.randn(1, 2)
]

tensor1_list2 = [
    torch.randn(2, 4),
    torch.randn(3, 5),
    torch.randn(1, 2)
]

pls = [tensor1_list0, tensor1_list1, tensor1_list2]

# Weights for each parameter list
ws = [0.5, 0.3, 0.2]

ARGS = {
    "pls": pls,
    "ws": ws
}
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 list — a list output has no array shape of its own; none is 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
_log Not yet run
unverified (harvested, no recorded run)
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("c7e1a32b58f5d8fd")
How it ran

no invocation recorded.

info Not yet run
unverified (harvested, no recorded run)
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("7c7c17652fbae0a3")
How it ran

no invocation recorded.

run_fibflpp Not yet run
unverified (harvested, no recorded run)
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("d052b0825811f040")
How it ran

no invocation recorded.

sp Not yet run
unverified (harvested, no recorded run)
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("c671f7fdd7d1d40a")
How it ran

no invocation recorded.

train_epoch Not yet run
unverified (harvested, no recorded run)
Hedjrachid/FIRMA/fibfl/fibfl.py
code served (permissive licence) · get_code("b8e55d6fca958fb2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 17 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.

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

Federated learning protocols face a structural trilemma: canonical server-based aggregation [1] creates a single point of failure and gradient inversion risk; decentralised ring-gossip alternatives [13] expose classification heads to semi-honest peers via uninformed uniform weights; and personalised methods [2] reintroduce central aggregation. No existing protocol simultaneously achieves serverfree operation, permanently private heads, ring topology, and principled asymmetric neighbour weighting. We propose FIRMA (FIbonacci Ring Model Aggregation), a family of three progressively enhanced federated learning protocols: 1) FIBFL establishes the foundation: server-free ring aggregation with Fibonacci-weighted neighbour blending and permanently private classification heads. 2) FIBFL+ augments this with accuracy-gated neighbour suppression, selectively downweighting poorly-converged peers while preserving the Fibonacci directional bias. 3) FIBFL++, the full system, completes the family with a 2-opt ring permutation that maximises adjacent-client class diversity, global ring coverage via K g =⌈N/2⌉ gossip passes, and cosine-annealed self-retention calibration. We establish a convergence rate bound and three supporting propositions governing normalisation, coverage, retention, and diversity optimality. Systematic experiments across 28 configurations -four benchmarks crossed with seven heterogeneity regimes -demonstrate that FIBFL++ surpasses FEDAVG in all 12 label-skew configurations, with a peak advantage of +20.7 pp on CIFAR-10 at K=1. Under Dirichlet heterogeneity, FIBFL++ is the Pareto-dominant method among all server-free protocols, achieving the highest accuracy in 17 of 28 configurations. The code can be found here https://github.com/Hedjrachid/FIRMA

For agents

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

get_harvested_code_for_paper("2605.22898")
get_code_for_paper("2605.22898")
have("2605.22898")

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

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

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

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

Connect an agent — have() is free.