AI Slop Code RIsk Monitor

OpenRLHF/OpenRLHF

An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Async RL)

17.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for OpenRLHF/OpenRLHF, a Python project with 10,080 GitHub stars. SynthScan examined 18,752 lines of code across 107 source files, recording 240 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 17.1 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

17.1
Adjusted Signal
17.1
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
10.1K
Stars
Python
Language
18.8K
Lines of Code
107
Files
240
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 39.8/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 163 finding(s).

Hallucinated Dependency & Supply Chain Risk 8.2/100 · LOW

Are imports declared and package/API names verified? 32 finding(s).

Agent Over-Engineering Ratio 41.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 143 finding(s).

PR Review Velocity Impact 56.1/100 · HIGH

Which changes need focused human review? 240 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 5MEDIUM 22LOW 213

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 240 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers92 hits · 98 pts
SeverityFileLineSnippetContext
LOWopenrlhf/utils/vlm_utils.py68def process_prompt_with_images(CODE
LOWopenrlhf/utils/seqlen_balancing.py153def get_seqlen_balanced_partitions(seqlen_list: List[int], k_partitions: int, equal_size: bool):CODE
LOWopenrlhf/utils/seqlen_balancing.py171 def _check_and_sort_partitions(partitions):CODE
LOWopenrlhf/utils/seqlen_balancing.py234def get_minimum_num_micro_batch_size(total_lengths, max_tokens_per_gpu, ring_attn_size, ds_tensor_parallel_size):CODE
LOW⚡openrlhf/utils/math_utils.py175def _strip_properly_formatted_commas(expr: str) -> str:CODE
LOWopenrlhf/utils/math_utils.py200def _inject_implicit_mixed_number(step: str) -> str:CODE
LOWopenrlhf/utils/math_utils.py278def count_unknown_letters_in_expr(expr: str) -> int:CODE
LOWopenrlhf/utils/loss_utils.py54def _optimizer_step_loss_norm(masks, dp_group, dp_size, gas):CODE
LOWopenrlhf/utils/loss_utils.py80def iter_grad_accum_global_norm(data_iter, strategy, accumulated_gradient, mask_fn):CODE
LOWopenrlhf/utils/distributed_util.py1def torch_dist_barrier_and_cuda_sync():CODE
LOWopenrlhf/utils/distributed_util.py13def stateless_init_process_group(master_address, master_port, rank, world_size, device):CODE
LOWopenrlhf/utils/deepspeed/deepspeed_utils.py121def get_optimizer_grouped_parameters(CODE
LOWopenrlhf/models/ring_attn_utils.py9def patch_transformers_for_ring_flash_attn():CODE
LOWopenrlhf/models/ring_attn_utils.py32def reset_ring_attn_position_ids(start, end, packed_seq_lens):CODE
LOWopenrlhf/models/ring_attn_utils.py72def get_tensor_in_current_ring_attn_rank(tensors: list[torch.Tensor] | torch.Tensor, ring_attn_group, pad_id):CODE
LOWopenrlhf/models/model.py21def get_llm_for_sequence_regression(CODE
LOW⚡openrlhf/models/actor.py302 def gradient_checkpointing_enable(self, gradient_checkpointing_kwargs={"use_reentrant": False}):CODE
LOW⚡openrlhf/models/actor.py305 def gradient_checkpointing_disable(self):CODE
LOW⚡openrlhf/models/actor.py308 def print_trainable_parameters(self):CODE
LOWopenrlhf/trainer/sft_trainer.py223 def save_logs_and_checkpoints(self, args, global_step, step_bar, logs_dict=None, client_states=None):CODE
LOWopenrlhf/trainer/rm_trainer.py214 def save_logs_and_checkpoints(self, args, global_step, step_bar, logs_dict=None, client_states=None):CODE
LOWopenrlhf/trainer/ppo_trainer.py197 def restore_best_checkpoint_state(self, checkpoint_states) -> None:CODE
LOWopenrlhf/trainer/ppo_trainer.py384 def save_logs_and_checkpoints(self, global_step: int, logs_dict=None, client_states=None) -> None:CODE
LOWopenrlhf/trainer/dpo_trainer.py223 def save_logs_and_checkpoints(self, args, global_step, step_bar, logs_dict=None, client_states=None):CODE
LOWopenrlhf/trainer/ppo_utils/samples_generator.py195 def _dispatch_prompts_to_vllm(CODE
LOWopenrlhf/trainer/ppo_utils/samples_generator.py243 def _process_response_into_experience(self, response, **generate_kwargs) -> Experience:CODE
LOWopenrlhf/trainer/ppo_utils/experience_maker.py238 def compute_advantages_and_returns(self, experiences: List[Experience]) -> List[Experience]:CODE
LOWopenrlhf/trainer/ppo_utils/experience_maker.py343 def get_advantages_and_returns(CODE
LOWopenrlhf/trainer/ppo_utils/experience.py236def remove_padding_in_sequences(items: List[Experience]) -> List[Experience]:CODE
LOWopenrlhf/trainer/ppo_utils/length_penalty.py61def apply_stop_properly_penalty(CODE
LOWopenrlhf/trainer/ray/vllm_engine.py179 def get_num_unfinished_requests(self) -> int:CODE
LOWopenrlhf/trainer/ray/ppo_actor.py495 def init_model_from_pretrained(self, strategy: DeepspeedStrategy, pretrain, max_steps=None, vllm_engines=None):CODE
LOWopenrlhf/trainer/ray/ppo_critic.py188 def init_model_from_pretrained(self, strategy: DeepspeedStrategy, pretrain, max_steps):CODE
LOWopenrlhf/trainer/ray/utils.py20def ray_noset_visible_devices(env_vars=os.environ):CODE
LOWopenrlhf/trainer/ray/launcher.py60 def init_model_from_pretrained(self, *args, **kwargs):CODE
LOWopenrlhf/trainer/ray/launcher.py106 def init_model_from_pretrained(self, strategy: DeepspeedStrategy, pretrain):CODE
LOWopenrlhf/trainer/ray/launcher.py159 def init_model_from_pretrained(self, strategy: DeepspeedStrategy, pretrain):CODE
LOWopenrlhf/trainer/ray/launcher.py292 def async_init_model_from_pretrained(CODE
LOWtests/test_pretrain_loss_mask.py55def test_pretrain_targets_and_gradients_follow_valid_next_tokens(modules, tokenizer, texts, max_length, token_level):CODE
LOWtests/test_pretrain_loss_mask.py90def test_ordinary_sft_and_multiturn_masks_stay_unchanged(modules):CODE
LOWtests/test_pretrain_loss_mask.py103def test_pretrain_sequence_without_next_token_has_no_targets(modules, length):CODE
LOWtests/test_eval_dataloader.py15def test_eval_keeps_tail_and_training_still_drops_it(ds_module, monkeypatch, cli, size, replicas, batch_size):CODE
LOWtests/test_sft_trainer.py52 def set_gradient_accumulation_boundary(self, boundary):CODE
LOWtests/test_sft_trainer.py189def test_epoch_updates_match_token_mean_reference(sft_module, lengths, gas, micro_batch_size, aux_coef):CODE
LOWtests/test_sft_trainer.py208def test_resume_matches_uninterrupted_training(sft_module, checkpoint_index, micro_batch_size):CODE
LOWtests/test_sft_trainer.py232def test_cli_scheduler_uses_actual_optimizer_windows(CODE
LOWtests/test_sft_trainer.py269def test_no_complete_update_is_rejected(sft_module, lengths, epochs):CODE
LOWtests/test_reward_shaping.py62def test_constant_rewards_have_finite_zero_group_advantages(maker_module, dtype):CODE
LOWtests/test_reward_shaping.py81def test_group_advantages_produce_reference_policy_gradient(maker_module, dtype, gap):CODE
LOWtests/test_reward_shaping.py104def test_integer_rewards_preserve_fractional_length_penalty(maker_module):CODE
LOWtests/test_reward_shaping.py130def test_flash_reinforce_centers_on_the_rollout_batch_mean_without_whitening(maker_module):CODE
LOWtests/test_agent.py22def test_remote_rewards_distribute_nonempty_shards(monkeypatch, query_count, rounds, concurrent, replicas):CODE
LOWtests/test_agent.py94def test_multiturn_truncation_reaches_reward_penalty(agent_modules, finish_reasons, with_logprobs, penalty_coef):CODE
LOWtests/test_dataset_utils.py13def test_saved_dataset_split_selection_does_not_scan_rows(tmp_path, monkeypatch, as_dict, split):CODE
LOW⚡tests/test_ray_env_vars.py140 def test_tokenizers_parallelism_default(self):CODE
LOW⚡tests/test_ray_env_vars.py146 def test_ray_zero_copy_default(self):CODE
LOW⚡tests/test_ray_env_vars.py161 def test_nccl_debug_user_info(self):CODE
LOW⚡tests/test_ray_env_vars.py165 def test_nccl_debug_user_trace(self):CODE
LOW⚡tests/test_ray_env_vars.py169 def test_tokenizers_parallelism_user_false(self):CODE
LOW⚡tests/test_ray_env_vars.py173 def test_ray_zero_copy_user_disabled(self):CODE
32 more matches not shown…
Decorative Section Separators12 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_ray_env_vars.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_ray_env_vars.py128# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_ray_env_vars.py153# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_ray_env_vars.py155# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_ray_env_vars.py190# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_ray_env_vars.py192# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/python/vlm_multiturn_agent.py37# ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡examples/python/vlm_multiturn_agent.py39# ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/python/vlm_multiturn_agent.py69# ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/python/vlm_multiturn_agent.py71# ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/python/vlm_multiturn_agent.py177# ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/python/vlm_multiturn_agent.py179# ──────────────────────────────────────────────────────────────────────COMMENT
Deep Nesting32 hits · 32 pts
SeverityFileLineSnippetContext
LOWopenrlhf/datasets/prompts_dataset.py26CODE
LOWopenrlhf/datasets/utils.py10CODE
LOWopenrlhf/utils/vlm_utils.py30CODE
LOWopenrlhf/utils/math_utils.py25CODE
LOWopenrlhf/utils/math_utils.py285CODE
LOWopenrlhf/utils/math_utils.py372CODE
LOWopenrlhf/utils/math_utils.py26CODE
LOWopenrlhf/utils/agent.py207CODE
LOWopenrlhf/utils/deepspeed/deepspeed.py503CODE
LOWopenrlhf/utils/deepspeed/deepspeed.py533CODE
LOWopenrlhf/utils/deepspeed/deepspeed.py685CODE
LOWopenrlhf/models/model.py21CODE
LOWopenrlhf/models/utils.py10CODE
LOWopenrlhf/models/actor.py76CODE
LOWopenrlhf/models/actor.py221CODE
LOWopenrlhf/trainer/sft_trainer.py104CODE
LOWopenrlhf/trainer/sft_trainer.py223CODE
LOWopenrlhf/trainer/sft_trainer.py254CODE
LOWopenrlhf/trainer/ppo_trainer_async.py100CODE
LOWopenrlhf/trainer/rm_trainer.py214CODE
LOWopenrlhf/trainer/rm_trainer.py247CODE
LOWopenrlhf/trainer/ppo_trainer.py503CODE
LOWopenrlhf/trainer/dpo_trainer.py223CODE
LOWopenrlhf/trainer/dpo_trainer.py254CODE
LOWopenrlhf/trainer/ppo_utils/samples_generator.py140CODE
LOWopenrlhf/trainer/ppo_utils/experience_maker.py238CODE
LOWopenrlhf/trainer/ppo_utils/experience.py164CODE
LOWopenrlhf/trainer/ppo_utils/experience.py199CODE
LOWopenrlhf/trainer/ppo_utils/experience.py103CODE
LOWopenrlhf/trainer/ppo_utils/length_penalty.py61CODE
LOWopenrlhf/trainer/ray/ppo_actor.py153CODE
LOWexamples/python/agent_func_openai_server_executor.py241CODE
Unused Imports32 hits · 32 pts
SeverityFileLineSnippetContext
LOWopenrlhf/datasets/__init__.py1CODE
LOWopenrlhf/datasets/__init__.py2CODE
LOWopenrlhf/datasets/__init__.py3CODE
LOWopenrlhf/utils/math_utils.py6CODE
LOWopenrlhf/utils/__init__.py1CODE
LOWopenrlhf/utils/__init__.py1CODE
LOWopenrlhf/utils/__init__.py2CODE
LOWopenrlhf/utils/__init__.py2CODE
LOWopenrlhf/utils/deepspeed/__init__.py1CODE
LOWopenrlhf/models/__init__.py1CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py2CODE
LOWopenrlhf/models/__init__.py12CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py1CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py1CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py1CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py1CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py2CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py2CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py3CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py3CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py3CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py4CODE
LOWopenrlhf/trainer/ray/__init__.py2CODE
LOWopenrlhf/trainer/ray/__init__.py2CODE
LOWexamples/python/agent_func_openai_server_executor.py16CODE
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHopenrlhf/utils/math_utils.py311except Exception:CODE
HIGHopenrlhf/utils/math_utils.py248except Exception:CODE
HIGHtests/test_ray_env_vars.py118except SystemExit:CODE
HIGHtests/test_ray_env_vars.py212except SystemExit:CODE
HIGHexamples/python/agent_func_openai_server_executor.py47except Exception:CODE
Excessive Try-Catch Wrapping16 hits · 17 pts
SeverityFileLineSnippetContext
LOWopenrlhf/datasets/utils.py62 except Exception as e:CODE
LOWopenrlhf/utils/vlm_utils.py63 except Exception as e:CODE
LOWopenrlhf/utils/math_utils.py38 except Exception:CODE
LOWopenrlhf/utils/math_utils.py66 except Exception:CODE
LOWopenrlhf/utils/math_utils.py130 except Exception:CODE
LOW⚡openrlhf/utils/math_utils.py160 except Exception:CODE
LOW⚡openrlhf/utils/math_utils.py167 except Exception:CODE
LOWopenrlhf/utils/math_utils.py190 except Exception:CODE
LOWopenrlhf/utils/math_utils.py248 except Exception:CODE
LOWopenrlhf/utils/math_utils.py311 except Exception:CODE
LOWopenrlhf/utils/math_utils.py361 except Exception:CODE
LOWopenrlhf/utils/utils.py47 except Exception:CODE
LOWopenrlhf/utils/agent.py303 except Exception as e:CODE
LOWopenrlhf/utils/agent.py356 except Exception as e: # pragma: no cover - defensiveCODE
LOWexamples/python/agent_func_openai_server_executor.py47 except Exception:CODE
LOWexamples/python/agent_func_openai_server_executor.py218 except Exception:CODE
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOWREADME.md501# --algo.kl.init_coef 0 # No reference modelCOMMENT
LOWREADME_zh.md481 --actor.gradient_checkpointing_enable \COMMENT
LOWopenrlhf/utils/seqlen_balancing.py1# Copied from https://github.com/volcengine/verl/blob/468adf22c43b744348051fccd7a5d830c6c3c36a/verl/utils/seqlen_balanciCOMMENT
LOWopenrlhf/utils/deepspeed/deepspeed.py141 # ``optim`` defaults to the strategy-wide setting but can be overridden per-modelCOMMENT
LOWopenrlhf/utils/deepspeed/deepspeed.py301 # sets are silently dropped. ns_steps / nesterov are NOT configurable viaCOMMENT
LOWexamples/scripts/train_nonrl_slurm.sh1#!/bin/bashCOMMENT
LOWexamples/scripts/train_vlm_math_hybrid_engine.sh1#!/bin/bashCOMMENT
LOWexamples/scripts/train_vlm_math_hybrid_engine.sh81 --ds.enable_sleepCOMMENT
LOWexamples/scripts/train_vlm_math_hybrid_engine.sh101# Images in the dataset should be a list of paths/URLs.COMMENT
LOW…mples/scripts/train_flash_reinforce_ray_agent_async.sh1#!/bin/bashCOMMENT
LOWexamples/scripts/train_prorlv2_math_hybrid_engine.sh1#!/bin/bashCOMMENT
LOWexamples/scripts/train_prorlv2_math_hybrid_engine.sh81COMMENT
LOWexamples/scripts/train_prorlv2_math_hybrid_engine.sh101# Truncated sample rewards are scaled by this coefficient (0.0 = zero reward for truncated)COMMENT
LOWexamples/scripts/train_ppo_ray_slurm.sh1#!/bin/bashCOMMENT
Modern AI Meta-Vocabulary5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md41- [🎯 Design Paradigm](#design-paradigm-agent-based-execution) - Unified agent-based execution pipelineCODE
MEDIUMREADME.md58- [2026/9] OpenRLHF supports [FlashREINFORCE](https://www.alphaxiv.org/abs/2609.flashreinforce-asynchronous-rl-agentic-mCODE
MEDIUMREADME_zh.md56- [2026/9] OpenRLHF 支持 [FlashREINFORCE](https://www.researchgate.net/publication/414274571_FlashREINFORCE_FLASHREINFORCECODE
MEDIUMopenrlhf/trainer/ppo_utils/samples_generator.py260 # Truncate everything to the configured context window.COMMENT
MEDIUM…mples/scripts/train_flash_reinforce_ray_agent_async.sh2# FlashREINFORCE: critic-free, single-rollout asynchronous RL for agentic language modelsCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMopenrlhf/utils/agent.py79 # Initialize tracking variablesCOMMENT
MEDIUMopenrlhf/models/utils.py145 # The following code is equivalent to:COMMENT
MEDIUMopenrlhf/trainer/ray/vllm_engine.py248 # Create a big placement group to ensure that all engines are packedCOMMENT
MEDIUMopenrlhf/trainer/ray/utils.py5# This function is used to get the bundle indices of a placement groupCOMMENT
Modern Structural Boilerplate12 hits · 12 pts
SeverityFileLineSnippetContext
LOWopenrlhf/datasets/__init__.py5__all__ = ["PromptDataset", "RewardDataset", "SFTDataset"]CODE
LOWopenrlhf/utils/vlm_utils.py15logger = logging.getLogger(__name__)CODE
LOWopenrlhf/utils/__init__.py4__all__ = [CODE
LOWopenrlhf/utils/distributed_sampler.py9__all__ = ["DistributedSampler"]CODE
LOWopenrlhf/utils/distributed_sampler.py138 def set_epoch(self, epoch: int, consumed_samples=0) -> None:STRING
LOWopenrlhf/utils/deepspeed/__init__.py3__all__ = [CODE
LOWopenrlhf/models/__init__.py14__all__ = [CODE
LOWopenrlhf/models/utils.py10def set_z3_leaf_modules(model: nn.Module, detect_hybrid: bool = True) -> None:CODE
LOWopenrlhf/trainer/ppo_utils/__init__.py6__all__ = [CODE
LOWopenrlhf/trainer/ray/__init__.py4__all__ = [CODE
LOWexamples/python/agent_func_gem_multiturn.py13logger = logging.getLogger(__name__)CODE
LOWexamples/python/agent_func_openai_server_executor.py33logger = logging.getLogger(__name__)CODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWopenrlhf/utils/agent.py251 # Check if response was truncated (hit max_tokens length limit)COMMENT
LOWopenrlhf/trainer/ppo_utils/samples_generator.py277 # Check if response was truncated (hit max_tokens limit, finish_reason == "length")COMMENT
LOWopenrlhf/trainer/ray/launcher.py330 # Check if all kwargs parameters are iterableCOMMENT
LOWexamples/python/agent_func.py47 # Check if episode is doneCOMMENT
LOWexamples/python/agent_func_gem_multiturn.py113 # Check if episode is doneCOMMENT
LOWexamples/scripts/ckpt_ds_zero_to_universal.sh10# Set CKPT_PATH to the first argument and shift it out so that "$@" contains the extra arguments.COMMENT
LOWexamples/scripts/ckpt_ds_zero_to_universal.sh20 # Check if the latest tag exists.COMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWopenrlhf/utils/deepspeed/deepspeed_utils.py7CODE
LOWopenrlhf/models/model.py21CODE
LOWopenrlhf/models/loss.py121CODE
LOWopenrlhf/models/actor.py76CODE
LOWopenrlhf/models/actor.py221CODE
LOWopenrlhf/trainer/ray/ppo_actor.py39CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/scripts/train_prorlv2_math_hybrid_engine.sh13# ProRL v2 achieves state-of-the-art performance among 1.5B reasoning modelsCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWopenrlhf/datasets/sft_dataset.py87 def process_data(self, data):CODE
LOWopenrlhf/datasets/reward_dataset.py101 def process_data(self, data):CODE