Contlearn

C 62 completed
Library
cli / python · small
121
Files
21,937
LOC
1
Frameworks
5
Languages

Pipeline State

completed
Run ID
#307439
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
51.47
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47941
Member of a group with 1 similar repo(s) — canonical #9446 view group →
Top concepts (9)
Project DescriptiontestingTestingFactorySearchTestingDatabaseConfigurationAnalytics
Repobility (the analyzer behind this table) · https://repobility.com

AI Prompt

Create a command-line tool for continual learning in machine learning models. I need it to support various architectures like MLP, CNN, and GCN. The core functionality should utilize Hamiltonian gradients and Adaptive Weight Basis (AWB) for knowledge transfer. The tool should allow running experiments using JSON configuration files, supporting different learning rate schedules, and tracking metrics. Please structure it so I can run examples like sine regression or MNIST classification directly from the command line.
python cli machine-learning continual-learning jax pytorch gradient cnn gcn
Generated by gemma4:latest

Catalog Information

The contlearn project enables continual learning in machine learning models using Hamiltonian gradients and adaptive weight basis.

Description

Contlearn is a Python library that implements continual learning techniques, specifically using Hamiltonian gradients and adaptive weight basis (AWB). This approach allows neural networks to learn from new tasks without forgetting previously learned information. The project leverages popular deep learning frameworks such as PyTorch and JAX to provide efficient and scalable implementation.

الوصف

يعد مشروع contlearn مكتبة برمجة لتعلم المستمر في النماذج الحاسوبية باستخدام gradients هاميلتونيان و basis وزن متكيف (AWB). يتيح هذا النهج للنماذج العصبونية التعلم من المهام الجديدة دون فقدان المعلومات السابقة. يستفيد المشروع من إطاريات التعلم العميق الشهيرة مثل PyTorch و JAX لتقديم تنفيذ فعال ومستدام.

Novelty

7/10

Tags

continual-learning machine-learning neural-networks deep-learning adaptive-weight-basis hamiltonian-gradients

Technologies

jax matplotlib numpy pytorch scikit-learn

Claude Models

claude-opus-4.5 claude-sonnet-4.5

Quality Score

C
62.5/100
Structure
75
Code Quality
43
Documentation
80
Testing
70
Practices
46
Security
72
Dependencies
90

Strengths

  • Good test coverage (200% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No CI/CD configuration \u2014 manual testing and deployment
  • 9 bare except/catch blocks swallowing errors
  • 2228 duplicate lines detected \u2014 consider DRY refactoring
  • 7 'god files' with >500 LOC need decomposition

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a LICENSE file (MIT recommended for open source)
  • Replace bare except/catch blocks with specific exception types

Security & Health

5.8h
Tech Debt (A)
Medium
DORA Rating
A
OWASP (100%)
Repobility · severity-and-effort ranking · https://repobility.com
PASS
Quality Gate
A
Risk (1)
MIT
License
12.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
83.6%
json
12.3%
markdown
3.1%
toml
0.5%
shell
0.5%

Frameworks

pytest

Symbols

method204
constant160
function113
variable77
class40
property29

Concepts (9)

Repobility · code-quality intelligence · https://repobility.com
CategoryNameDescriptionConfidence
Want fix-PRs on findings? Install Repobility's GitHub App · github.com/apps/repobility-bot
auto_descriptionProject DescriptionA JAX/Equinox framework for continual learning using Hamiltonian-based gradient computation and Adaptive Weight Basis (AWB) for architecture adaptation.80%
arch_layertestingDetected testing layer70%
auto_categoryTestingtesting70%
design_patternFactoryFound factory/create_ naming patterns60%
business_logicSearchDetected from 9 related files50%
business_logicTestingDetected from 72 related files50%
business_logicDatabaseDetected from 6 related files50%
business_logicConfigurationDetected from 33 related files50%
business_logicAnalyticsDetected from 18 related files50%

Quality Timeline

1 quality score recorded.

View File Metrics
Repobility — same analyzer, your code, free for public repos · /scan/

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/31282.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV

BinComp Dependency Hardening

All packages →
5 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Ftorch2.11.0 · 1,257 gadgets · risk 5116.6Cmatplotlib3.10.8 · 2,481 gadgets · risk 0.0Fnumpy2.4.4 · 6,596 gadgets · risk 0.0Fpsutil7.2.2 · 19 gadgets · risk 0.0Ntqdm4.67.3 · 0 gadgets · risk 0.0