Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
40 of your 52 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 24.26s · analysis 1.52s · 40.4 MB · GitHub API rate-limit (preflight)

Denys88/rl_games

https://github.com/Denys88/rl_games · scanned 2026-06-05 21:54 UTC (4 days, 9 hours ago) · 10 languages

201 raw signals (49 security + 152 graph) 11/13 scanners ran 64th percentile · Python · small (2-20K LoC) System graph score 92 (lower by 17)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 9 hours ago · v2 · 70 actionable findings from 2 signal sources. 55 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 75.0 0.15 11.25
security_score 100.0 0.25 25.00
testing_score 46.0 0.20 9.20
documentation_score 73.0 0.15 10.95
practices_score 78.0 0.15 11.70
code_quality 65.0 0.10 6.50
Overall 1.00 74.6
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Strongest dependencies (85), security (80); weakest practices (58), documentation (65).

Showing 53 of 70 actionable findings. 125 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences [MINED108] `self.seed` used but never assigned in __init__: Method `load_config` of class `Runner` reads `self.seed`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.seed = <default>` in __init__, or add a class-level default.
lines 130, 131, 132, 134, 135, 136, 140, 142, +15 more
rl_games/torch_runner.py:130, 131, 132, 134, 135, 136, 140, 142, +15 more (25 hits)
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `codecov/codecov-action` pinned to mutable ref `@v4`: `uses: codecov/codecov-action@v4` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char com…
lines 53
.github/workflows/python-package.yml:53 (2 hits)
CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 6 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout@v4` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lo…
lines 13, 15, 36, 38
.github/workflows/python-package.yml:13, 15, 36, 38 (6 hits)
CI/CD securitySupply chainGitHub Actions
high System graph security security conf 1.00 Insecure pattern 'eval_used' in rl_games/algos_torch/central_value.py:214
Found a known-risky pattern (eval_used). Review and replace if possible.
rl_games/algos_torch/central_value.py:214 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in rl_games/algos_torch/players.py:41
Found a known-risky pattern (eval_used). Review and replace if possible.
rl_games/algos_torch/players.py:41 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in rl_games/algos_torch/sac_agent.py:321
Found a known-risky pattern (eval_used). Review and replace if possible.
rl_games/algos_torch/sac_agent.py:321 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in rl_games/common/a2c_common.py:414
Found a known-risky pattern (eval_used). Review and replace if possible.
rl_games/common/a2c_common.py:414 Eval used
high Security checks quality Quality conf 0.72 Agent control bridge may listen on a network interface without visible auth
Bind local agent bridges to 127.0.0.1 by default. If remote access is required, require a bearer token or mTLS, enforce origin/CSRF checks for browser clients, and document the threat model.
rl_games/common/vecenv.py:22
low Security checks quality Error handling conf 0.55 ✓ Repobility 3 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
2 files, 3 locations
rl_games/common/player.py:136, 152 (2 hits)
rl_games/algos_torch/torch_ext.py:65
Error handlingquality
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
low Security checks quality Quality conf 0.60 3 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
3 files, 3 locations
rl_games/algos_torch/a2c_discrete.py:35
rl_games/common/player.py:131
rl_games/envs/smac_v2_env.py:22
duplicationquality
low System graph software Dead code candidate conf 1.00 File has no detected symbols: rl_games/triton_config.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: runner.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Tests conf 1.00 Low test-to-source ratio
7 tests / 70 src (ratio 0.10).
low System graph quality Integrity conf 1.00 15 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: rl_games/torch_runner.py:reset, rl_games/torch_runner.py:reset This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
15 occurrences
repo-level (15 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: rl_games/common/a2c_common.py:init_tensors, rl_games/common/a2c_common.py:init_tensors, rl_games/common/a2c_common.py:init_tensors This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Cons…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: rl_games/common/schedulers.py:update, rl_games/common/schedulers.py:update, rl_games/common/schedulers.py:update, rl_games/common/schedulers.py:update This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `create_smac_v2` in rl_games/common/env_configurations.py:114
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: actor_loss
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/common_losses.py:64
low System graph software Dead code conf 1.00 Possibly dead Python function: add_dataset
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/datasets.py:105
low System graph software Dead code conf 1.00 Possibly dead Python function: can_concat_infos
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/vecenv.py:100
low System graph software Dead code conf 1.00 Possibly dead Python function: create_gymnasium_env
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/gymnasium_vecenv.py:252
low System graph software Dead code conf 1.00 Possibly dead Python function: decoupled_actor_loss
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/common_losses.py:85
low System graph software Dead code conf 1.00 Possibly dead Python function: discount_values_masks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/a2c_common.py:592
low System graph software Dead code conf 1.00 Possibly dead Python function: distr_projection
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/categorical.py:11
low System graph software Dead code conf 1.00 Possibly dead Python function: flatten_first_two_dims
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/tr_helpers.py:80
low System graph software Dead code conf 1.00 Possibly dead Python function: free_mem
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/tr_helpers.py:86
low System graph software Dead code conf 1.00 Possibly dead Python function: has_action_masks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/vecenv.py:262
low System graph software Dead code conf 1.00 Possibly dead Python function: has_action_masks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/ivecenv.py:8
low System graph software Dead code conf 1.00 Possibly dead Python function: loss
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/layers/value.py:33
low System graph software Dead code conf 1.00 Possibly dead Python function: loss
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/layers/action.py:32
low System graph software Dead code conf 1.00 Possibly dead Python function: set_param
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/a2c_common.py:734
low System graph software Dead code conf 1.00 Possibly dead Python function: set_results
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/experiment.py:29
low System graph software Dead code conf 1.00 Possibly dead Python function: smoothed_actor_loss
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/common_losses.py:39
low System graph software Dead code conf 1.00 Possibly dead Python function: update_data_rnn
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/experience.py:472
low System graph software Dead code conf 1.00 Possibly dead Python function: update_priorities
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
rl_games/common/experience.py:184
low System graph quality Integrity conf 1.00 Stub function `before_init` (body is just `pass`/`return`) — rl_games/common/algo_observer.py:10
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `device` (body is just `pass`/`return`) — rl_games/interfaces/base_algorithm.py:10
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_env_info` (body is just `pass`/`return`) — rl_games/common/ivecenv.py:14
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_param` (body is just `pass`/`return`) — rl_games/algos_torch/sac_agent.py:311
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_value_layer` (body is just `pass`/`return`) — rl_games/algos_torch/models.py:26
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `load` (body is just `pass`/`return`) — rl_games/algos_torch/network_builder.py:22
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `play_steps` (body is just `pass`/`return`) — rl_games/common/rollouts.py:10
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `reset` (body is just `pass`/`return`) — rl_games/algos_torch/players.py:246
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `reset` (body is just `pass`/`return`) — rl_games/torch_runner.py:119
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `seed` (body is just `pass`/`return`) — rl_games/envs/mjlab_vecenv.py:88
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `seed` (body is just `pass`/`return`) — rl_games/envs/smac_env.py:105
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `seed` (body is just `pass`/`return`) — rl_games/envs/smac_v2_env.py:111
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `send_info` (body is just `pass`/`return`) — rl_games/common/diagnostics.py:8
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `set_stats_weights` (body is just `pass`/`return`) — rl_games/algos_torch/central_value.py:149
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `update_epoch` (body is just `pass`/`return`) — rl_games/common/a2c_common.py:616
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `update` (body is just `pass`/`return`) — rl_games/common/schedulers.py:7
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: rl_games/common/a2c_common.py (1484 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/e5707edc-0066-4eac-80d8-39db5b6663be/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/e5707edc-0066-4eac-80d8-39db5b6663be/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.