OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.
This report summarizes scanner evidence for LAION-AI/Open-Assistant, a Python project with 37,348 GitHub stars. SynthScan examined 131,894 lines of code across 1413 source files, recording 636 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 6.0 (Moderate 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 417 finding(s).
Are imports declared and package/API names verified? 96 finding(s).
Are wrappers, guards, and repeated structures necessary? 335 finding(s).
Which changes need focused human review? 636 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
The scanner identified 636 distinct pattern matches across 18 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | oasst-data/oasst_data/traversal.py | 6 | def visit_threads_depth_first( | CODE |
| LOW | oasst-data/oasst_data/traversal.py | 24 | def visit_messages_depth_first( | CODE |
| LOW | oasst-data/oasst_data/reader.py | 79 | def read_dataset_message_trees( | CODE |
| LOW | website/src/pages/auth/signin.tsx | 235 | function signinWithDebugCredentials(data: DebugSigninFormData) { | CODE |
| LOW | backend/export.py | 128 | def fetch_tree_messages_and_avg_labels( | CODE |
| LOW | backend/update_message_attributes.py | 10 | def get_messageids_without_toxicity(): | CODE |
| LOW | backend/update_message_attributes.py | 28 | def get_messageids_without_embedding(): | STRING |
| LOW | backend/update_message_attributes.py | 46 | def find_and_update_embeddings(message_ids): | STRING |
| LOW⚡ | backend/main.py | 268 | def update_leader_board_month(session: Session) -> None: | CODE |
| LOW⚡ | backend/main.py | 279 | def update_leader_board_total(session: Session) -> None: | CODE |
| LOW⚡ | backend/main.py | 290 | def cronjob_delete_expired_tasks(session: Session) -> None: | CODE |
| LOW | backend/main.py | 53 | async def unhandled_exception_handler(request: fastapi.Request, ex: Exception): | CODE |
| LOW | backend/main.py | 89 | def create_official_web_api_client(): | CODE |
| LOW | backend/main.py | 313 | def retry_scoring_failed_message_trees(): | CODE |
| LOW | backend/tests/test_settings.py | 4 | def test_create_default_settings(): | CODE |
| LOW | backend/tests/test_settings.py | 11 | def test_construct_db_uri_from_dict(): | CODE |
| LOW | backend/oasst_backend/auth.py | 23 | def get_account_from_discord_id(db: Session, discord_id: str) -> Optional[Account]: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 125 | def halt_prompts_of_disabled_users(db: Session): | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 1289 | def query_misssing_tree_states(self) -> list[Tuple[UUID, str]]: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 1416 | def query_prompt_lottery_waiting(self, lang: str) -> int: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 1437 | def query_reviews_for_message(self, message_id: UUID) -> list[TextLabels]: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 1446 | def query_moderation_bad_messages(self, lang: str) -> list[Message]: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 1540 | def tree_counts_by_state_stats(self, lang: str = None, only_active: bool = False) -> TreeStateStats: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 1584 | def get_user_messages_by_tree( | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 209 | def _determine_task_availability_internal( | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 373 | def determine_task_availability(self, lang: str) -> dict[protocol_schema.TaskRequestType, int]: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 859 | def check_condition_for_prompt_lottery(self, message_tree_id: UUID) -> bool: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 876 | def check_condition_for_ranking_state(self, message_tree_id: UUID) -> bool: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 900 | def check_condition_for_scoring_state(self, message_tree_id: UUID) -> bool: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 1086 | def query_prompts_need_review(self, lang: str) -> list[Message]: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 1095 | def query_replies_need_review(self, lang: str) -> list[Message]: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 1138 | def query_incomplete_rankings(self, lang: str, user_filter: bool = True) -> list[IncompleteRankingsRow]: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 1323 | def query_tree_ranking_results( | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 1772 | def retry_scoring_failed_message_trees(self): | STRING |
| LOW | backend/oasst_backend/config.py | 155 | def init_prompt_disabled_langs_list(self) -> list[str]: | CODE |
| LOW | backend/oasst_backend/config.py | 257 | def validate_user_stats_intervals(cls, v: int): | CODE |
| LOW | backend/oasst_backend/scheduled_tasks.py | 94 | def periodic_user_streak_reset() -> None: | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 133 | def get_leaderboard_user_window( | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 175 | def get_user_stats_all_time_frames(self, user_id: UUID) -> dict[str, UserScore | None]: | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 239 | def query_total_prompts_per_user( | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 252 | def query_replies_by_role_per_user( | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 265 | def query_labels_by_mode_per_user( | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 285 | def query_ranking_result_users(self, rank: int = 0, reference_time: Optional[datetime] = None): | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 411 | def query_message_emoji_counts_per_user(self, reference_time: Optional[datetime] = None): | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 425 | def query_spam_prompts_per_user(self, reference_time: Optional[datetime] = None): | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 475 | def _update_troll_stats_internal(self, time_frame: UserStatsTimeFrame, base_date: Optional[datetime] = None): | CODE |
| LOW | backend/oasst_backend/user_stats_repository.py | 640 | def update_multiple_time_frames(self, time_frames: list[UserStatsTimeFrame]): | CODE |
| LOW⚡ | backend/oasst_backend/prompt_repository.py | 801 | def fetch_non_task_text_labels(self, message_id: UUID, user_id: UUID) -> Optional[TextLabels]: | CODE |
| LOW⚡ | backend/oasst_backend/prompt_repository.py | 810 | def fetch_message_text_labels(self, message_id: UUID, user_id: Optional[UUID] = None) -> list[TextLabels]: | CODE |
| LOW⚡ | backend/oasst_backend/prompt_repository.py | 816 | def fetch_message_revision_history(self, message_id: UUID) -> list[MessageRevision]: | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 107 | def fetch_message_by_frontend_message_id(self, frontend_message_id: str, fail_if_missing: bool = True) -> Message: | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 640 | def fetch_random_message_tree( | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 664 | def fetch_random_conversation( | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 706 | def fetch_random_initial_prompts(self, size: int = 5): | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 723 | def check_users_recent_replies_for_duplicates(self, text: str) -> bool: | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 757 | def fetch_multiple_random_replies(self, max_size: int = 5, message_role: str = None): | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 855 | def fetch_message_conversation(self, message: Message | UUID) -> list[Message]: | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 935 | def fetch_message_descendants(self, message: Message | UUID, max_depth: int = None) -> list[Message]: | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 954 | def fetch_longest_conversation(self, message: Message | UUID) -> list[Message]: | CODE |
| LOW | backend/oasst_backend/prompt_repository.py | 959 | def fetch_message_with_max_children(self, message: Message | UUID) -> tuple[Message, list[Message]]: | CODE |
| 129 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/rerank.py | 68 | except Exception: | CODE |
| LOW | backend/export.py | 300 | except Exception as ex: | CODE |
| LOW | backend/update_message_attributes.py | 59 | except Exception as e: | STRING |
| LOW | backend/update_message_attributes.py | 77 | except Exception as e: | STRING |
| MEDIUM | backend/update_message_attributes.py | 46 | def find_and_update_embeddings(message_ids): | CODE |
| MEDIUM | backend/update_message_attributes.py | 64 | def find_and_update_toxicity(message_ids): | CODE |
| MEDIUM | backend/main.py | 231 | def ensure_tree_states(): | CODE |
| MEDIUM | backend/main.py | 313 | def retry_scoring_failed_message_trees(): | CODE |
| LOW⚡ | backend/main.py | 239 | except Exception: | CODE |
| LOW⚡ | backend/main.py | 250 | except Exception: | CODE |
| LOW⚡ | backend/main.py | 261 | except Exception: | CODE |
| LOW⚡ | backend/main.py | 272 | except Exception: | CODE |
| LOW⚡ | backend/main.py | 283 | except Exception: | CODE |
| LOW⚡ | backend/main.py | 302 | except Exception: | CODE |
| LOW | backend/main.py | 82 | except Exception: | CODE |
| LOW | backend/main.py | 130 | except Exception: | CODE |
| LOW | backend/main.py | 226 | except Exception: | CODE |
| LOW | backend/main.py | 323 | except Exception: | CODE |
| LOW | backend/oasst_backend/tree_manager.py | 991 | except Exception: | STRING |
| LOW | backend/oasst_backend/tree_manager.py | 1782 | except Exception: | STRING |
| LOW | backend/oasst_backend/scheduled_tasks.py | 45 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/scheduled_tasks.py | 65 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/scheduled_tasks.py | 88 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/scheduled_tasks.py | 106 | except Exception: | CODE |
| MEDIUM | backend/oasst_backend/scheduled_tasks.py | 27 | def toxicity(text, message_id, api_client): | CODE |
| MEDIUM | backend/oasst_backend/scheduled_tasks.py | 50 | def hf_feature_extraction(text, message_id, api_client): | CODE |
| MEDIUM | backend/oasst_backend/scheduled_tasks.py | 94 | def periodic_user_streak_reset() -> None: | CODE |
| LOW | backend/oasst_backend/utils/discord.py | 64 | except Exception as e: | CODE |
| MEDIUM | backend/oasst_backend/utils/database_utils.py | 76 | def wrapped_f(self, *args, **kwargs): | CODE |
| MEDIUM | backend/oasst_backend/utils/database_utils.py | 130 | def wrapped_f(self, *args, **kwargs): | CODE |
| MEDIUM | backend/oasst_backend/utils/database_utils.py | 192 | def wrapped_f(*args, **kwargs): | CODE |
| MEDIUM | backend/oasst_backend/utils/database_utils.py | 253 | def wrapped_f(*args, **kwargs): | CODE |
| LOW | backend/oasst_backend/utils/database_utils.py | 116 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/utils/database_utils.py | 170 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/utils/database_utils.py | 235 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/utils/database_utils.py | 296 | except Exception as e: | CODE |
| LOW | backend/oasst_backend/api/v1/tasks.py | 78 | except Exception: | CODE |
| LOW | backend/oasst_backend/api/v1/tasks.py | 101 | except Exception: | CODE |
| LOW | backend/oasst_backend/api/v1/tasks.py | 131 | except Exception: | CODE |
| LOW | backend/oasst_backend/api/v1/tasks.py | 184 | except Exception: | CODE |
| LOW | backend/oasst_backend/api/v1/text_labels.py | 44 | except Exception: | CODE |
| LOW | oasst-shared/oasst_shared/schemas/inference.py | 47 | except Exception: | CODE |
| LOW | oasst-shared/oasst_shared/schemas/inference.py | 64 | except Exception: | CODE |
| LOW | oasst-shared/oasst_shared/schemas/inference.py | 113 | except Exception: | CODE |
| LOW | scripts/data-collection/twitter/twitter_process_json.py | 124 | except Exception as e: | CODE |
| LOW | scripts/data-collection/twitter/twitter_process_json.py | 130 | except Exception as e: | CODE |
| LOW | scripts/xor-codec/xor_codec.py | 81 | except Exception: | CODE |
| LOW | model/model_training/check_dataset_counts.py | 145 | except Exception as e: | STRING |
| MEDIUM | model/model_training/trainer_sft.py | 211 | print(f'Error: Could not find the config "{e.args[0]}" in config.yaml') | STRING |
| LOW | model/model_training/tests/test_patched_gpt_neox.py | 87 | except Exception as e: | CODE |
| LOW | model/model_training/utils/ppo_utils.py | 88 | except Exception: | CODE |
| LOW | model/model_training/models/peft_modeling.py | 27 | except Exception: | CODE |
| MEDIUM | model/pretokenizer/pretokenize.py | 334 | print(f'Error: Section "{e.args[0]}" not found in YAML configuration files.') | CODE |
| LOW | inference/server/main.py | 39 | except Exception: | CODE |
| LOW | inference/server/main.py | 76 | except Exception: | CODE |
| LOW | inference/server/main.py | 105 | except Exception: | CODE |
| LOW | inference/server/main.py | 129 | except Exception: | CODE |
| LOW | …r/oasst_inference_server/plugins/web_retriever/main.py | 217 | except Exception as e: | STRING |
| LOW | inference/server/oasst_inference_server/routes/chats.py | 115 | except Exception: | CODE |
| LOW | inference/server/oasst_inference_server/routes/chats.py | 176 | except Exception: | CODE |
| 41 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | text-frontend/auto_main.py | 27 | CODE | |
| LOW | text-frontend/__main__.py | 28 | CODE | |
| LOW | oasst-data/examples/clean_dataset.py | 29 | CODE | |
| LOW | backend/import.py | 104 | CODE | |
| LOW | backend/import.py | 114 | CODE | |
| LOW | backend/export.py | 169 | CODE | |
| LOW | backend/update_message_attributes.py | 46 | CODE | |
| LOW | backend/update_message_attributes.py | 64 | CODE | |
| LOW | backend/main.py | 138 | CODE | |
| LOW | backend/oasst_backend/tree_manager.py | 408 | CODE | |
| LOW | backend/oasst_backend/tree_manager.py | 724 | CODE | |
| LOW | backend/oasst_backend/tree_manager.py | 828 | CODE | |
| LOW | backend/oasst_backend/scheduled_tasks.py | 70 | CODE | |
| LOW | backend/oasst_backend/prompt_repository.py | 215 | CODE | |
| LOW | backend/oasst_backend/prompt_repository.py | 524 | CODE | |
| LOW | backend/oasst_backend/prompt_repository.py | 1244 | CODE | |
| LOW | backend/oasst_backend/utils/exported_tree_loading.py | 39 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 73 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 125 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 183 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 244 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 74 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 128 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 190 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 251 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 76 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 130 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 192 | CODE | |
| LOW | backend/oasst_backend/utils/database_utils.py | 253 | CODE | |
| LOW | backend/oasst_backend/utils/tree_export.py | 26 | CODE | |
| LOW | scripts/data-collection/twitter/twitter_process_json.py | 145 | CODE | |
| LOW | scripts/frontend-development/find-missing-locales.py | 12 | CODE | |
| LOW | scripts/frontend-development/find-missing-locales.py | 45 | CODE | |
| LOW | scripts/data_augment/data_augment.py | 472 | CODE | |
| LOW | scripts/data_augment/data_augment.py | 94 | CODE | |
| LOW | model/model_eval/manual/create_synth_import.py | 39 | CODE | |
| LOW | model/model_eval/manual/sampling_report.py | 82 | CODE | |
| LOW | model/model_eval/manual/sampling_report.py | 147 | CODE | |
| LOW | model/model_eval/manual/sampling_report.py | 174 | CODE | |
| LOW | model/model_training/metrics.py | 77 | CODE | |
| LOW | model/model_training/trainer_rm.py | 183 | CODE | |
| LOW | model/model_training/check_dataset_appearances.py | 56 | CODE | |
| LOW | model/model_training/check_dataset_counts.py | 43 | CODE | |
| LOW | model/model_training/trainer_sft.py | 169 | CODE | |
| LOW | model/model_training/trainer_sft.py | 284 | CODE | |
| LOW | model/model_training/tools/sample_rm_data.py | 83 | CODE | |
| LOW | model/model_training/tools/augment_oasst.py | 35 | CODE | |
| LOW | model/model_training/utils/utils.py | 138 | CODE | |
| LOW | model/model_training/utils/utils.py | 393 | CODE | |
| LOW | model/model_training/utils/ppo_utils.py | 40 | CODE | |
| LOW | model/model_training/utils/ppo_utils.py | 151 | CODE | |
| LOW | model/model_training/utils/ppo_utils.py | 303 | CODE | |
| LOW | model/model_training/models/prefix_llama.py | 876 | CODE | |
| LOW | model/model_training/models/gptj.py | 110 | CODE | |
| LOW | model/model_training/models/__init__.py | 4 | CODE | |
| LOW | model/model_training/models/__init__.py | 23 | CODE | |
| LOW | model/model_training/models/patching.py | 205 | CODE | |
| LOW | model/model_training/custom_datasets/oasst_dataset.py | 23 | CODE | |
| LOW | model/model_training/custom_datasets/oasst_dataset.py | 70 | CODE | |
| LOW | model/model_training/custom_datasets/__init__.py | 91 | CODE | |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/postprocessing/importance_selection.py | 20 | # Create an instance of the ExtraTreesRegressor algorithm | COMMENT |
| MEDIUM | scripts/postprocessing/importance_selection.py | 43 | # Define the SQL query | COMMENT |
| MEDIUM | scripts/postprocessing/importance_selection.py | 303 | # Define the SQL query | COMMENT |
| MEDIUM | scripts/postprocessing/ranking_disagreement.py | 36 | # Define the SQL query | COMMENT |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 1350 | "You can use the Google Sheets API to access a specific document. Here is an example of how you can access a | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 5315 | "Sure! Here is some code that uses boto 3.0 in Python 2 or later to download all objects from Amazon S3 into | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 5345 | "Here is a simple script to quickly synchronise a large list of files between S3 and local storage.\n\n# Imp | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 5345 | "Here is a simple script to quickly synchronise a large list of files between S3 and local storage.\n\n# Imp | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 1341 | "Here is an example of a Python script that accesses a specific Google Sheets document and iterates over the | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 1342 | "Here is an example of a Python script that accesses a specific Google Sheets document and iterates over the | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 1355 | "Here is an example of a Python script that accesses a specific Google Sheets document and iterates over the | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 1779 | "You can use the `openassistant` library to ask the question.\n\n```\nimport openassistant as as\n\n# Define | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 4999 | "Sure. Here's an example Python script that performs bubble sort on a list `nums` using Rust:\n```python\nfr | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 5317 | "Of course! Here's an implementation that will do this for you:\n\n```python\nimport boto\nfrom openassistan | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 5347 | "Sure, here is a Python script to synchronize a large list of files between S3 and local storage:\n\nimport | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 5348 | "Sure, here is a Python script to synchronize a large list of files between S3 and local storage:\n\nimport | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 5361 | "Sure, here is a Python script to synchronize a large list of files between S3 and local storage:\n\nimport | CODE |
| MEDIUM⚡ | …-01_theblackcat102_pythia-1b-deduped-sft_sampling.json | 5286 | "Here is a Python script to synchronise a list of files between S3 and local storage\n\n# Import required mo | CODE |
| MEDIUM⚡ | …-01_theblackcat102_pythia-1b-deduped-sft_sampling.json | 5287 | "Here is a Python script to synchronise a list of files between S3 and local storage\n\n# Import required mo | CODE |
| MEDIUM⚡ | …-01_theblackcat102_pythia-1b-deduped-sft_sampling.json | 5287 | "Here is a Python script to synchronise a list of files between S3 and local storage\n\n# Import required mo | CODE |
| MEDIUM | …-01_theblackcat102_pythia-1b-deduped-sft_sampling.json | 5300 | "Here is a Python script to synchronise a list of files between S3 and local storage\n\n# Import required mo | CODE |
| MEDIUM | …-01_theblackcat102_pythia-1b-deduped-sft_sampling.json | 5300 | "Here is a Python script to synchronise a list of files between S3 and local storage\n\n# Import required mo | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/summarization.py | 223 | # Create a dictionary to keep track of the counts of each element | COMMENT |
| MEDIUM⚡ | model/model_training/custom_datasets/summarization.py | 233 | # Create a list of tuples, where each tuple contains an element and its count | COMMENT |
| MEDIUM⚡ | model/model_training/custom_datasets/summarization.py | 239 | # Create a list of elements in order of their counts | COMMENT |
| MEDIUM | …scord-bots/oa-bot-py/bot/extensions/user_input_test.py | 35 | # Create a thread for the task | COMMENT |
| MEDIUM | data/datasets/zhihu-kol/convert_parquet.py | 45 | # Create a pandas dataframe from your dataset file(s) | COMMENT |
| MEDIUM | data/datasets/poetry_instruction/prepare.py | 129 | # Create a dictionary entry for the entry and append it to the list. | COMMENT |
| MEDIUM | data/datasets/poetry_instruction/prepare.py | 147 | # Create a dictionary entry for the entry and append it to the list. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | oasst-data/oasst_data/__init__.py | 1 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 1 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 1 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 1 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 1 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 1 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 9 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 21 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 21 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 22 | CODE | |
| LOW | oasst-data/oasst_data/__init__.py | 22 | CODE | |
| LOW | oasst-data/oasst_data/schemas.py | 1 | CODE | |
| LOW | backend/alembic/env.py | 5 | CODE | |
| LOW | …-0daec5f8135f_add_auth_method_to_ix_person_username.py | 8 | CODE | |
| LOW | backend/oasst_backend/scheduled_tasks.py | 1 | CODE | |
| LOW | backend/oasst_backend/scheduled_tasks.py | 1 | CODE | |
| LOW | backend/oasst_backend/utils/tree_export.py | 1 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 1 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 2 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 3 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 4 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 4 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 5 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 6 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 7 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 8 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 9 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 10 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 11 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 12 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 13 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 14 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 15 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 16 | CODE | |
| LOW | backend/oasst_backend/models/__init__.py | 16 | CODE | |
| LOW | oasst-shared/oasst_shared/exceptions/__init__.py | 2 | CODE | |
| LOW | oasst-shared/oasst_shared/exceptions/__init__.py | 3 | CODE | |
| LOW | model/model_eval/sampling_score.py | 4 | CODE | |
| LOW | model/model_eval/rejection_sampling.py | 3 | CODE | |
| LOW | model/model_training/trainer_rl.py | 9 | CODE | |
| LOW | model/model_training/trainer_rl.py | 13 | CODE | |
| LOW | model/model_training/trainer_rl.py | 14 | CODE | |
| LOW | model/model_training/trainer_rl.py | 16 | CODE | |
| LOW | model/model_training/trainer_rl.py | 20 | CODE | |
| LOW | model/model_training/trainer_rl.py | 21 | CODE | |
| LOW | model/model_training/tools/export_model.py | 4 | CODE | |
| LOW | model/model_training/tests/test_rm_loading.py | 3 | CODE | |
| LOW | model/model_training/models/patching.py | 1 | CODE | |
| LOW | inference/server/alembic/env.py | 7 | CODE | |
| LOW | …rence/server/oasst_inference_server/models/__init__.py | 1 | CODE | |
| LOW | …rence/server/oasst_inference_server/models/__init__.py | 1 | CODE | |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/data_augment/data_augment.py | 125 | # you can change the number 60 to change how much corrupted this essay will be | COMMENT |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 1592 | "I'm sorry, I cannot provide training data. Please provide a specific question or request, and I will do my | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 1593 | "I'm sorry, I cannot provide training data. Please provide a specific question or task you would like to hav | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 1606 | "I'm sorry, I cannot provide training data. Please contact OpenAssistant support if you have any further que | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 3657 | "I'm sorry, but I cannot provide information about which movies were rated or reviewed. That would be illega | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 4134 | "Here is a simple example of how to output a string in C++ programming:\n\n\n```\n#include <iostream>\n\nint | CODE |
| MEDIUM | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 4135 | "Here is a simple example of how to output a string in C++ programming:\n\n\n```\n#include <iostream>\n\nint | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 320 | "I'm sorry, I cannot provide advice on programming languages. I can provide advice on how to write a program | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 765 | "I'm sorry, I cannot provide information on the best GPU for running Open Assistant on your personal laptop. | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 2385 | "As a chatbot, I cannot provide specific advice for meeting new friends in this situation", | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 3469 | "As an AI language model, I'm here to assist you with this task in a way that increases your productivity wh | CODE |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 4009 | "I'm sorry, I cannot provide any evidence to convince you of the existence of fish.", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 5 | "as a language model", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 6 | "as an AI language model", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 10 | "As an AI language model, I cannot", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 11 | "As an AI language model, I do not", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 12 | "As an AI language model, I am not able", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 13 | "As an AI language model, I don't have personal", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 15 | "As an AI language model, I don't have", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 16 | "As an AI language model, I am only able", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 18 | "As an AI language model, I cannot modify", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 19 | "As an AI language model, I do not", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 20 | "I know as an AI language model you don't have", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 21 | "as an AI language model, you cannot", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 22 | "I'm sorry, but as an AI language model", | CODE |
| MEDIUM⚡ | model/model_training/custom_datasets/utils.py | 23 | "As an AI language model, I don't have", | CODE |
| MEDIUM | model/model_training/custom_datasets/utils.py | 35 | "Unfortunately, I cannot provide", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 1 | # WARNING! | COMMENT |
| LOW | website/wait-for-postgres.sh | 21 | # TODO: replace this command with applying migrations: npx prisma migrate deploy | COMMENT |
| LOW | website/cypress/support/commands.ts | 1 | /// <reference types="cypress" /> | COMMENT |
| LOW | website/cypress/support/commands.ts | 21 | // -- This is a dual command -- | COMMENT |
| LOW | website/cypress/support/component.ts | 1 | // *********************************************************** | COMMENT |
| LOW | website/cypress/support/e2e.ts | 1 | // *********************************************************** | COMMENT |
| LOW | backend/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | backend/alembic.ini | 21 | # string value is passed to dateutil.tz.gettz() | COMMENT |
| LOW | backend/alembic.ini | 41 | # The path separator used here should be the separator specified by "version_path_separator" below. | COMMENT |
| LOW | backend/oasst_backend/tree_manager.py | 1821 | # print("query_incomplete_rankings", tm.query_incomplete_rankings()) | COMMENT |
| LOW | .devcontainer/backend-dev/post_create_command.sh | 21 | # install code in editable mode in /oasst-data | COMMENT |
| LOW | scripts/data-collection/twitter/twitter_process_json.py | 1 | # This file loops through compressed json tweet data, pre-processes them, | COMMENT |
| LOW | scripts/postprocessing/importance_selection.py | 201 | weighter = least_squares_fit(arr, target) | COMMENT |
| LOW | scripts/postprocessing/importance_selection.py | 281 | # Compute feature importances | COMMENT |
| LOW | model/model_training/check_dataset_counts.py | 161 | COMMENT | |
| LOW | model/model_training/utils/utils.py | 261 | # def postprocess_summarization(preds, labels): | COMMENT |
| LOW | model/model_training/utils/utils.py | 281 | COMMENT | |
| LOW | model/model_training/utils/ppo_utils.py | 41 | """ | COMMENT |
| LOW | model/model_training/utils/ppo_utils.py | 61 | # print('Trainable parameters:') | COMMENT |
| LOW | model/model_training/utils/ppo_utils.py | 241 | COMMENT | |
| LOW | model/model_training/models/prefix_llama.py | 1 | # Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | model/model_training/configs/config.yaml | 901 | - evol_instruct_code: | COMMENT |
| LOW | inference/server/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | inference/server/alembic.ini | 21 | # string value is passed to dateutil.tz.gettz() | COMMENT |
| LOW | inference/server/alembic.ini | 41 | # The path separator used here should be the separator specified by "version_path_separator" below. | COMMENT |
| LOW | data/datasets/logicreference_OA/generate_dataset.py | 1 | # Copyright 2023 The Google Research Authors. | COMMENT |
| LOW | data/datasets/logicreference_OA/generate_dataset.py | 101 | # length_distribution=LENGTH_DISTRIBUTION, | COMMENT |
| LOW | …ts/bart_searchgpt_wiki_nlp_augment/1_clean_wikitext.py | 81 | # if __name__ == '__main__': | COMMENT |
| LOW | …asets/youtube_subs_howto100M/youtube_subs_howto100M.py | 1 | # Copyright 2023 The OpenAssistant Authors and the current dataset script contributor. | COMMENT |
| LOW | data/datasets/mt_note_generation/mt_note_generation.py | 1 | # Copyright 2023 The OpenAssistant Authors and the current dataset script contributor. | COMMENT |
| LOW | data/datasets/TSSB-3M/generate_dataset.py | 141 | """ | COMMENT |
| LOW | …ets/soda_synthetic_dialogue/soda_synthetic_dialogue.py | 1 | # Copyright 2023 The OpenAssistant Authors and the current dataset script contributor. | COMMENT |
| LOW | data/datasets/soda_synthetic_dialogue/prepare.py | 121 | # print(f"User: Can you write a short dialog based on this story:\n {story}") | COMMENT |
| LOW | data/datasets/soda_synthetic_dialogue/prepare.py | 141 | # elif random.randint(0, 1) == 0: | COMMENT |
| LOW | data/datasets/soda_synthetic_dialogue/prepare.py | 181 | # print(f'User: Can you provide more dialog assuming "{title2}"?') | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | oasst-shared/oasst_shared/schemas/inference.py | 64 | except Exception: | CODE |
| HIGH | oasst-shared/oasst_shared/schemas/inference.py | 113 | except Exception: | CODE |
| HIGH | …r/oasst_inference_server/plugins/web_retriever/main.py | 56 | except json.JSONDecodeError: | CODE |
| HIGH | …r/oasst_inference_server/plugins/web_retriever/main.py | 62 | except yaml.YAMLError: | CODE |
| HIGH | …erence/server/oasst_inference_server/routes/workers.py | 108 | except Exception: | CODE |
| HIGH | inference/worker/work.py | 301 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/export.py | 62 | CODE | |
| LOW | backend/export.py | 128 | CODE | |
| LOW | backend/export.py | 169 | CODE | |
| LOW | backend/oasst_backend/scheduled_tasks.py | 23 | CODE | |
| LOW | backend/oasst_backend/prompt_repository.py | 1010 | CODE | |
| LOW | backend/oasst_backend/user_repository.py | 204 | CODE | |
| LOW | backend/oasst_backend/user_repository.py | 264 | CODE | |
| LOW | backend/oasst_backend/api/v1/hugging_face.py | 33 | CODE | |
| LOW | backend/oasst_backend/api/v1/users.py | 22 | CODE | |
| LOW | backend/oasst_backend/api/v1/users.py | 51 | CODE | |
| LOW | backend/oasst_backend/api/v1/users.py | 80 | CODE | |
| LOW | backend/oasst_backend/api/v1/users.py | 221 | CODE | |
| LOW | backend/oasst_backend/api/v1/users.py | 255 | CODE | |
| LOW | backend/oasst_backend/api/v1/frontend_users.py | 20 | CODE | |
| LOW | backend/oasst_backend/api/v1/frontend_users.py | 94 | CODE | |
| LOW | backend/oasst_backend/api/v1/frontend_users.py | 128 | CODE | |
| LOW | backend/oasst_backend/api/v1/messages.py | 23 | CODE | |
| LOW | backend/oasst_backend/api/v1/messages.py | 60 | CODE | |
| LOW | model/model_training/models/prefix_llama.py | 498 | CODE | |
| LOW | model/model_training/models/prefix_llama.py | 687 | CODE | |
| LOW | model/model_training/models/prefix_llama.py | 876 | CODE | |
| LOW | model/model_training/models/patching.py | 47 | CODE | |
| LOW | model/model_training/custom_datasets/oasst_dataset.py | 23 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | text-frontend/__main__.py | 13 | USER = {"id": "1234", "display_name": "John Doe", "auth_method": "local"} | CODE |
| LOW | website/cypress/support/index.ts | 9 | * @example cy.signInWithEmail('user@example.com') | COMMENT |
| LOW | website/cypress/support/index.ts | 15 | * @example cy.signInUsingEmailedLink('user@example.com') | COMMENT |
| LOW⚡ | backend/main.py | 155 | dummy_user = protocol_schema.User(id="__dummy_user__", display_name="Dummy User", auth_method="local") | CODE |
| LOW⚡ | backend/main.py | 158 | tr = TaskRepository(db=session, api_client=api_client, client_user=dummy_user, user_repository=ur) | CODE |
| LOW⚡ | backend/main.py | 161 | db=session, api_client=api_client, client_user=dummy_user, user_repository=ur, task_repository=tr | CODE |
| LOW⚡ | backend/oasst_backend/tree_manager.py | 1808 | # dummy_user = protocol_schema.User(id="__dummy_user__", display_name="Dummy User", auth_method="local") | STRING |
| LOW⚡ | backend/oasst_backend/tree_manager.py | 1809 | dummy_user = protocol_schema.User(id="1234", display_name="bulb", auth_method="local") | STRING |
| LOW⚡ | backend/oasst_backend/tree_manager.py | 1811 | pr = PromptRepository(db=db, api_client=api_client, client_user=dummy_user) | STRING |
| LOW | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 4044 | "Sure! Here is an example SEO-friendly content for your YouTube video \"How I Made My Own Website\":\n```\nL | CODE |
| LOW | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 4044 | "Sure! Here is an example SEO-friendly content for your YouTube video \"How I Made My Own Website\":\n```\nL | CODE |
| LOW | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 6116 | "Sure, here's a short Youtube Script for a video about how AI is changing everything:\n\n```\n<video autopla | CODE |
| LOW | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 6116 | "Sure, here's a short Youtube Script for a video about how AI is changing everything:\n\n```\n<video autopla | CODE |
| LOW | model/model_training/tests/test_patched_gpt_neox.py | 30 | batch = tokenizer(["hello world", "lorem ipsum dolor sit amet"], padding=True, return_tensors="pt").to(device) | CODE |
| LOW | model/model_training/tests/test_patched_gpt_neox.py | 30 | batch = tokenizer(["hello world", "lorem ipsum dolor sit amet"], padding=True, return_tensors="pt").to(device) | CODE |
| LOW | model/model_training/tests/test_patched_llama.py | 31 | batch = tokenizer(["hello world", "lorem ipsum dolor sit amet"], padding=True, return_tensors="pt").to(device) | CODE |
| LOW | model/model_training/tests/test_patched_llama.py | 31 | batch = tokenizer(["hello world", "lorem ipsum dolor sit amet"], padding=True, return_tensors="pt").to(device) | CODE |
| LOW | model/model_training/tests/test_patched_falcon.py | 19 | batch = tokenizer(["hello world", "lorem ipsum dolor sit amet"], padding=True, return_tensors="pt") | CODE |
| LOW | model/model_training/tests/test_patched_falcon.py | 19 | batch = tokenizer(["hello world", "lorem ipsum dolor sit amet"], padding=True, return_tensors="pt") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | oasst-data/oasst_data/__init__.py | 24 | __all__ = [ | CODE |
| LOW⚡ | backend/main.py | 246 | def update_leader_board_day(session: Session) -> None: | CODE |
| LOW⚡ | backend/main.py | 257 | def update_leader_board_week(session: Session) -> None: | CODE |
| LOW⚡ | backend/main.py | 268 | def update_leader_board_month(session: Session) -> None: | CODE |
| LOW⚡ | backend/main.py | 279 | def update_leader_board_total(session: Session) -> None: | CODE |
| LOW⚡ | backend/main.py | 298 | def update_cached_stats(session: Session) -> None: | CODE |
| LOW | backend/oasst_backend/scheduled_tasks.py | 70 | def update_search_vectors(batch_size: int) -> None: | CODE |
| LOW | backend/oasst_backend/user_repository.py | 336 | def update_user_last_activity(self, user: User, update_streak: bool = False) -> None: | CODE |
| LOW | backend/oasst_backend/models/__init__.py | 18 | __all__ = [ | CODE |
| LOW | backend/oasst_backend/api/v1/stats.py | 83 | def update_tx(db: deps.Session) -> None: | CODE |
| LOW | model/model_training/utils/utils.py | 93 | def set_epoch(self, epoch: int) -> None: | CODE |
| LOW | discord-bots/oa-bot-py/bot/__main__.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | inference/server/oasst_inference_server/queueing.py | 46 | async def set_expire(self, timeout: int) -> None: | CODE |
| LOW | …rence/server/oasst_inference_server/models/__init__.py | 5 | __all__ = [ | CODE |
| LOW | data/datasets/nsfw_selfharm_reddit/utils/__init__.py | 6 | __all__ = ["is_question", "scrap_subreddit", "init_praw_reddit"] | CODE |
| LOW | data/datasets/nsfw_selfharm_reddit/utils/reddit.py | 10 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/oasst_backend/prompt_repository.py | 469 | Save the toxicity score of a new message in the database. Args: message_id (UUID): the identifier of | STRING |
| HIGH | backend/oasst_backend/prompt_repository.py | 487 | Insert the embedding of a new message in the database. Args: message_id (UUID): the identifier of t | STRING |
| HIGH | backend/oasst_backend/utils/hugging_face.py | 40 | Post request to the endpoint to get an inference Args: input (str): the input that we will pass to | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/data-collection/twitter/twitter_process_json.py | 154 | # Check if user key exists | COMMENT |
| LOW | scripts/data-collection/twitter/twitter_process_json.py | 166 | # Check if user key exists | COMMENT |
| LOW | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 1337 | "Here is a Python script that accesses a specific google sheets document.\n\n```\nimport os\n\n# Get the fil | CODE |
| LOW | …scord-bots/oa-bot-py/bot/extensions/user_input_test.py | 269 | # Check if the ratings are valid | COMMENT |
| LOW | discord-bots/oa-bot-py/bot/extensions/guild_settings.py | 66 | # Check if the bot can send messages in that channel | COMMENT |
| LOW | discord-bots/oa-bot-py/bot/extensions/work.py | 369 | # Check if the user is already working on a task | COMMENT |
| LOW | inference/worker/chat_chain.py | 237 | # Check if tool response contains ERROR string and force retry | COMMENT |
| LOW | inference/worker/openapi_parser.py | 95 | # Check if the method is POST and extract request body schema | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.yaml | 333 | # else ignore or leave blank to just use local netdata dashboards as localhost:19999 | COMMENT |
| LOW | backend/oasst_backend/utils/ranking.py | 121 | # now simply return all winners in order, and attach the losers | COMMENT |
| LOW | backend/oasst_backend/utils/ranking.py | 125 | # Since there could be multiple overall losers, we just return them in any order | COMMENT |
| LOW | scripts/postprocessing/rankings.py | 121 | # now simply return all winners in order, and attach the losers | COMMENT |
| LOW | scripts/postprocessing/rankings.py | 125 | # Since there could be multiple overall losers, we just return them in any order | COMMENT |
| MEDIUM | …-01_theblackcat102_pythia-3b-deduped-sft_sampling.json | 4428 | "I'm sorry. I've noticed your request for support with Amazon Alexa skills, and our policies require that al | CODE |
| MEDIUM | inference/server/export.py | 1 | """Script to facilitate exporting chat data from the server database.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | model/model_training/models/__init__.py | 40 | model = transformers.models.falcon.modeling_falcon.FalconForCausalLM.from_pretrained( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …01_theblackcat102_pythia-12b-deduped-sft_sampling.json | 1336 | "You can use the Google Sheets API to access a specific document. Here is an example of how you can access a | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | data/datasets/zhihu-kol/scrape_by_topic.py | 96 | hrefs.push(link.href); | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/public/mockServiceWorker.js | 140 | async function handleRequest(event, requestId) { | CODE |