Repository Analysis

OpenBB-finance/OpenBB

Financial data platform for analysts, quants and AI agents.

8.4 Low AI signal View on GitHub
8.4
Adjusted Score
8.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
68,256
Stars
Python
Language
755,295
Lines of Code
1937
Files
3361
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 211HIGH 191MEDIUM 176LOW 2783

Pattern Findings

3361 matches across 16 categories. Click a row to expand file-level details.

Hallucination Indicators211 hits · 2110 pts
SeverityFileLineSnippet
CRITICAL…yfinance/openbb_yfinance/models/currency_historical.py111 from openbb_yfinance.utils.helpers import yf_download
CRITICAL…rm/providers/yfinance/openbb_yfinance/models/losers.py47 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…nance/openbb_yfinance/models/undervalued_large_caps.py49 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…/yfinance/openbb_yfinance/models/futures_historical.py75 from openbb_yfinance.utils.helpers import get_futures_data
CRITICAL…/yfinance/openbb_yfinance/models/futures_historical.py127 from openbb_yfinance.utils.helpers import yf_download
CRITICAL…inance/openbb_yfinance/models/aggressive_small_caps.py49 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…ers/yfinance/openbb_yfinance/models/equity_screener.py175 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…m/providers/yfinance/openbb_yfinance/models/gainers.py47 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…s/yfinance/openbb_yfinance/models/equity_historical.py141 from openbb_yfinance.utils.helpers import yf_download
CRITICAL…/openbb_yfinance/models/undervalued_growth_equities.py53 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…rs/yfinance/openbb_yfinance/models/index_historical.py132 from openbb_yfinance.utils.helpers import yf_download
CRITICAL…finance/openbb_yfinance/models/growth_tech_equities.py49 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…rm/providers/yfinance/openbb_yfinance/models/active.py47 from openbb_yfinance.utils.helpers import get_custom_screener
CRITICAL…iders/yfinance/openbb_yfinance/models/futures_curve.py51 from openbb_yfinance.utils.helpers import get_futures_curve
CRITICAL…s/yfinance/openbb_yfinance/models/crypto_historical.py103 from openbb_yfinance.utils.helpers import yf_download
CRITICAL…iders/nasdaq/openbb_nasdaq/models/calendar_dividend.py93 from openbb_nasdaq.utils.helpers import get_headers, date_range # noqa
CRITICAL…iders/nasdaq/openbb_nasdaq/models/economic_calendar.py77 from openbb_nasdaq.utils.helpers import remove_html_tags # noqa
CRITICAL…iders/nasdaq/openbb_nasdaq/models/economic_calendar.py127 from openbb_nasdaq.utils.helpers import get_headers, date_range
CRITICAL…oviders/nasdaq/openbb_nasdaq/models/equity_screener.py386 from openbb_nasdaq.utils.helpers import get_headers
CRITICAL…rs/nasdaq/openbb_nasdaq/models/historical_dividends.py108 from openbb_nasdaq.utils.helpers import get_headers # noqa
CRITICAL…iders/nasdaq/openbb_nasdaq/models/calendar_earnings.py169 from openbb_nasdaq.utils.helpers import get_headers, date_range # noqa
CRITICAL…/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py154 from openbb_nasdaq.utils.helpers import get_headers, date_range # noqa
CRITICAL…providers/nasdaq/openbb_nasdaq/models/equity_search.py107 from openbb_nasdaq.utils.helpers import get_nasdaq_directory
CRITICAL…oviders/nasdaq/openbb_nasdaq/models/company_filings.py157 from openbb_nasdaq.utils.helpers import get_headers
CRITICAL…enbb_platform/providers/sec/openbb_sec/utils/frames.py23from openbb_sec.utils.helpers import get_all_companies, symbol_map
CRITICAL…atform/providers/sec/openbb_sec/utils/company_facts.py520 from openbb_sec.utils.helpers import symbol_map
CRITICAL…rm/providers/sec/openbb_sec/models/nport_disclosure.py255 from openbb_sec.utils.helpers import HEADERS, get_nport_candidates
CRITICAL…bb_platform/providers/sec/openbb_sec/models/cik_map.py50 from openbb_sec.utils.helpers import symbol_map
CRITICAL…platform/providers/sec/openbb_sec/models/equity_ftd.py70 from openbb_sec.utils.helpers import download_zip_file, get_ftd_urls # noqa
CRITICAL…platform/providers/sec/openbb_sec/models/symbol_map.py49 from openbb_sec.utils.helpers import cik_map
CRITICAL…platform/providers/sec/openbb_sec/models/sic_search.py72 from openbb_sec.utils.helpers import SEC_HEADERS, sec_callback
CRITICAL…ec/openbb_sec/models/management_discussion_analysis.py75 from openbb_sec.utils.helpers import SEC_HEADERS, sec_callback
CRITICAL…providers/sec/openbb_sec/models/institutions_search.py66 from openbb_sec.utils.helpers import get_all_ciks
CRITICAL…platform/providers/sec/openbb_sec/models/sec_filing.py297 from openbb_sec.utils.helpers import cik_map
CRITICAL…platform/providers/sec/openbb_sec/models/sec_filing.py352 from openbb_sec.utils.helpers import sec_callback
CRITICAL…orm/providers/sec/openbb_sec/models/company_filings.py194 from openbb_sec.utils.helpers import symbol_map
CRITICAL…alpha/openbb_seeking_alpha/models/calendar_earnings.py18from openbb_seeking_alpha.utils.helpers import HEADERS, date_range
CRITICAL…a/openbb_seeking_alpha/models/forward_eps_estimates.py15from openbb_seeking_alpha.utils.helpers import HEADERS, get_seekingalpha_id
CRITICAL…openbb_seeking_alpha/models/forward_sales_estimates.py15from openbb_seeking_alpha.utils.helpers import HEADERS, get_seekingalpha_id
CRITICAL…rs/eia/openbb_us_eia/models/petroleum_status_report.py121 from openbb_us_eia.utils.helpers import download_excel_file
CRITICAL…/eia/openbb_us_eia/models/short_term_energy_outlook.py117 from openbb_us_eia.utils.helpers import response_callback
CRITICAL…orm/providers/finra/openbb_finra/utils/data_storage.py8from openbb_finra.utils.helpers import get_short_interest_dates
CRITICAL…m/providers/finra/openbb_finra/models/otc_aggregate.py56 from openbb_finra.utils.helpers import aget_full_data
CRITICAL…iders/congress_gov/tests/test_congress_gov_fetchers.py18from openbb_congress_gov.utils.helpers import year_to_congress
CRITICAL…bb_congress_gov/models/congress_committee_documents.py8from openbb_congress_gov.utils.helpers import year_to_congress
CRITICAL…_gov/openbb_congress_gov/models/congress_amendments.py222 from openbb_congress_gov.utils.helpers import get_all_amendments_by_type
CRITICAL…gress_gov/openbb_congress_gov/models/congress_bills.py17from openbb_congress_gov.utils.helpers import year_to_congress
CRITICAL…_gov/openbb_congress_gov/router/congress_gov_router.py152 from openbb_congress_gov.utils.helpers import get_bill_text_choices
CRITICAL…_gov/openbb_congress_gov/router/congress_gov_router.py348 from openbb_congress_gov.utils.helpers import get_amendment_text_choices
CRITICALopenbb_platform/providers/imf/openbb_imf/imf_router.py873 from openbb_imf.utils.helpers import detect_transform_dimension
CRITICAL…atform/providers/imf/openbb_imf/utils/query_builder.py336 from openbb_imf.utils.helpers import parse_time_period
CRITICAL…atform/providers/imf/openbb_imf/utils/table_builder.py11from openbb_imf.utils.helpers import parse_codelist_id_from_urn
CRITICAL…platform/providers/imf/openbb_imf/utils/dot_helpers.py47 from openbb_imf.utils.helpers import normalize_country_label
CRITICAL…platform/providers/imf/openbb_imf/utils/dot_helpers.py56 from openbb_imf.utils.helpers import normalize_country_label
CRITICAL…roviders/imf/openbb_imf/models/consumer_price_index.py14from openbb_imf.utils.helpers import normalize_country_label
CRITICAL…ment_us/openbb_government_us/models/treasury_prices.py64 from openbb_government_us.utils.helpers import get_random_agent
CRITICAL…oecd/openbb_oecd/models/composite_leading_indicator.py160 from openbb_oecd.utils.helpers import oecd_date_to_python_date
CRITICAL…form/providers/oecd/openbb_oecd/models/gdp_forecast.py165 from openbb_oecd.utils.helpers import oecd_date_to_python_date
CRITICAL…platform/providers/oecd/openbb_oecd/models/gdp_real.py112 from openbb_oecd.utils.helpers import oecd_date_to_python_date
CRITICAL…providers/oecd/openbb_oecd/models/house_price_index.py110 from openbb_oecd.utils.helpers import oecd_date_to_python_date # noqa
151 more matches not shown…
Hyper-Verbose Identifiers1840 hits · 1752 pts
SeverityFileLineSnippet
LOW…emplate/{{cookiecutter.project_tag}}/tests/conftest.py19def pytest_collection_modifyitems(config, items):
LOW…me}}/obbject/{{cookiecutter.obbject_name}}/__init__.py58def _expensive_operation_worker(serialized_obbject: dict):
LOWdesktop/src/routes/backends.tsx2156function loadEnvironmentsFromCache(): Environment[] {
LOWcli/integration/test_integration_cli_controller.py8def test_parse_input_valid_commands():
LOWcli/integration/test_integration_cli_controller.py18def test_parse_input_invalid_commands():
LOW…tegration/test_integration_base_platform_controller.py35def test_platform_controller_initialization(platform_controller):
LOW…tegration/test_integration_base_platform_controller.py69def test_platform_controller_calls(
LOWcli/integration/test_commands.py21def test_launch_with_cli_input(monkeypatch, input_values):
LOWcli/integration/test_integration_base_controller.py62def test_switch_command_execution(base_controller):
LOWcli/tests/test_controllers_utils.py35def test_remove_file_existing_file():
LOWcli/tests/test_controllers_utils.py42def test_remove_file_directory():
LOWcli/tests/test_controllers_utils.py69def test_parse_and_split_input():
LOWcli/tests/test_controllers_utils.py84def test_parse_and_split_input_special_cases(input_command, expected_output):
LOWcli/tests/test_controllers_utils.py98def test_get_flair_and_username(mock_session):
LOWcli/tests/test_controllers_utils.py159def test_parse_unknown_args_to_dict_basic(args, expected, mock_session):
LOWcli/tests/test_controllers_utils.py176def test_parse_unknown_args_to_dict_literal_eval(args, expected, mock_session):
LOWcli/tests/test_controllers_utils.py182def test_parse_unknown_args_to_dict_missing_value(mock_session):
LOWcli/tests/test_controllers_utils.py202def test_validate_register_key(key, should_raise):
LOWcli/tests/test_controllers_utils.py214def test_check_file_type_saved_valid(mock_session):
LOWcli/tests/test_controllers_utils.py222def test_check_file_type_saved_invalid(mock_session):
LOWcli/tests/test_controllers_utils.py230def test_check_file_type_saved_empty(mock_session):
LOWcli/tests/test_controllers_utils.py237def test_check_file_type_saved_no_valid_types(mock_session):
LOWcli/tests/test_config_setup.py11def test_bootstrap_creates_directory_and_file():
LOWcli/tests/test_config_setup.py22def test_bootstrap_directory_exists():
LOWcli/tests/test_config_setup.py33def test_bootstrap_file_exists():
LOWcli/tests/test_config_setup.py44def test_bootstrap_permission_error():
LOWcli/tests/test_session.py25def test_session_initialization(session):
LOWcli/tests/test_session.py36def test_get_prompt_session_true(mock_isatty, mock_prompt_session, session):
LOWcli/tests/test_session.py43def test_get_prompt_session_false(mock_isatty, session):
LOWcli/tests/test_controllers_script_parser.py30def test_match_and_return_openbb_keyword_date():
LOWcli/tests/test_controllers_script_parser.py44def test_parse_openbb_script_basic():
LOWcli/tests/test_controllers_script_parser.py52def test_parse_openbb_script_with_variable():
LOWcli/tests/test_controllers_script_parser.py60def test_parse_openbb_script_with_foreach_loop():
LOWcli/tests/test_controllers_script_parser.py68def test_parse_openbb_script_with_error():
LOWcli/tests/test_controllers_script_parser.py89def test_parse_openbb_script_foreach_errors(line, expected):
LOWcli/tests/test_controllers_script_parser.py95def test_date_keyword_last_friday():
LOWcli/tests/test_argparse_translator.py77def test_custom_argument_action_validation():
LOWcli/tests/test_argparse_translator.py94def test_custom_argument_remove_props_on_store_true():
LOWcli/tests/test_argparse_translator.py112def test_custom_argument_group():
LOWcli/tests/test_argparse_translator.py134def test_argparse_translator_setup():
LOWcli/tests/test_argparse_translator.py147def test_argparse_translator_execution():
LOWcli/tests/test_argparse_translator.py228def test_pipe_union_type_handling():
LOWcli/tests/test_argparse_translator.py251def test_custom_type_flattening():
LOWcli/tests/test_argparse_translator.py279def test_description_cleaning_union():
LOWcli/tests/test_argparse_translator.py298def test_description_cleaning_optional():
LOWcli/tests/test_argparse_translator.py317def test_description_cleaning_annotated():
LOWcli/tests/test_argparse_translator.py336def test_description_cleaning_pipe_union():
LOWcli/tests/test_argparse_translator.py355def test_custom_argument_groups():
LOWcli/tests/test_argparse_translator.py386def test_provider_parameters_tracking():
LOWcli/tests/test_argparse_translator.py441 def test_parse_type_annotated(self):
LOWcli/tests/test_argparse_translator.py475 def test_get_choices_multiple_literals(self):
LOWcli/tests/test_argparse_translator.py532 def test_build_custom_groups_skip_standard(self):
LOWcli/tests/test_argparse_translator.py569 def test_build_custom_groups_multiple_providers(self):
LOWcli/tests/test_controllers_base_controller.py24def test_base_controller_initialization():
LOWcli/tests/test_controllers_base_controller.py100def test_comma_split_flagged_value_not_split(mock_base_session):
LOWcli/tests/test_controllers_base_controller.py108def test_comma_split_short_flag_not_split(mock_base_session):
LOWcli/tests/test_controllers_base_controller.py116def test_comma_split_equals_syntax_not_split(mock_base_session):
LOWcli/tests/test_controllers_base_controller.py124def test_comma_split_nargs_plus_all_values_protected(mock_base_session):
LOWcli/tests/test_controllers_base_controller.py136def test_comma_split_nargs_star_values_protected(mock_base_session):
LOWcli/tests/test_controllers_base_controller.py146def test_comma_split_nargs_int_values_protected(mock_base_session):
1780 more matches not shown…
Cross-File Repetition186 hits · 930 pts
SeverityFileLineSnippet
HIGH…bb_platform/core/tests/provider/test_query_executor.py0test if the proper error is raised when a credential is missing.
HIGH…bb_platform/core/tests/provider/test_query_executor.py0test if the proper error is raised when a credential is missing.
HIGH…bb_platform/core/tests/provider/test_query_executor.py0test if the proper error is raised when a credential is missing.
HIGH…_platform/core/tests/provider/abstract/test_fetcher.py0transform the params to the provider-specific query.
HIGH…platform/core/openbb_core/provider/abstract/fetcher.py0transform the params to the provider-specific query.
HIGH…rs/nasdaq/openbb_nasdaq/models/historical_dividends.py0transform the params to the provider-specific query.
HIGH…rm/providers/nasdaq/openbb_nasdaq/models/top_retail.py0transform the params to the provider-specific query.
HIGH…enbb_platform/core/openbb_core/app/extension_loader.py0given an extension name, return the corresponding entry point.
HIGH…enbb_platform/core/openbb_core/app/extension_loader.py0given an extension name, return the corresponding entry point.
HIGH…enbb_platform/core/openbb_core/app/extension_loader.py0given an extension name, return the corresponding entry point.
HIGHopenbb_platform/core/openbb_core/app/model/example.py0return a python code representation of the example.
HIGHopenbb_platform/core/openbb_core/app/model/example.py0return a python code representation of the example.
HIGHopenbb_platform/core/openbb_core/app/model/example.py0return a python code representation of the example.
HIGH…yfinance/openbb_yfinance/models/currency_historical.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…s/yfinance/openbb_yfinance/models/available_indices.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…viders/yfinance/openbb_yfinance/models/company_news.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…/yfinance/openbb_yfinance/models/futures_historical.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…inance/openbb_yfinance/models/aggressive_small_caps.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…s/yfinance/openbb_yfinance/models/equity_historical.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…rs/yfinance/openbb_yfinance/models/index_historical.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…finance/openbb_yfinance/models/growth_tech_equities.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…rm/providers/yfinance/openbb_yfinance/models/active.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…s/yfinance/openbb_yfinance/models/crypto_historical.py0transform the query, extract and transform the data from the yahoo finance endpoints.
HIGH…yfinance/openbb_yfinance/models/currency_historical.py0return the raw data from the yahoo finance endpoint.
HIGH…/yfinance/openbb_yfinance/models/futures_historical.py0return the raw data from the yahoo finance endpoint.
HIGH…s/yfinance/openbb_yfinance/models/equity_historical.py0return the raw data from the yahoo finance endpoint.
HIGH…rs/yfinance/openbb_yfinance/models/index_historical.py0return the raw data from the yahoo finance endpoint.
HIGH…s/yfinance/openbb_yfinance/models/crypto_historical.py0return the raw data from the yahoo finance endpoint.
HIGH…nbb_platform/providers/wsj/openbb_wsj/models/losers.py0transform the query, extract and transform the data from the wsj endpoints.
HIGH…bb_platform/providers/wsj/openbb_wsj/models/gainers.py0transform the query, extract and transform the data from the wsj endpoints.
HIGH…nbb_platform/providers/wsj/openbb_wsj/models/active.py0transform the query, extract and transform the data from the wsj endpoints.
HIGH…iders/nasdaq/openbb_nasdaq/models/calendar_dividend.py0transform the query, extract and transform the data from the nasdaq endpoints.
HIGH…iders/nasdaq/openbb_nasdaq/models/economic_calendar.py0transform the query, extract and transform the data from the nasdaq endpoints.
HIGH…iders/nasdaq/openbb_nasdaq/models/calendar_earnings.py0transform the query, extract and transform the data from the nasdaq endpoints.
HIGH…/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py0transform the query, extract and transform the data from the nasdaq endpoints.
HIGH…rm/providers/nasdaq/openbb_nasdaq/models/top_retail.py0transform the query, extract and transform the data from the nasdaq endpoints.
HIGH…alpha/openbb_seeking_alpha/models/calendar_earnings.py0return the raw data from the seeking alpha endpoint.
HIGH…a/openbb_seeking_alpha/models/forward_eps_estimates.py0return the raw data from the seeking alpha endpoint.
HIGH…openbb_seeking_alpha/models/forward_sales_estimates.py0return the raw data from the seeking alpha endpoint.
HIGH…viders/fred/openbb_fred/models/consumer_price_index.py0transform the query, extract and transform the data from the fred endpoints.
HIGH…enbb_platform/providers/fred/openbb_fred/models/tmc.py0transform the query, extract and transform the data from the fred endpoints.
HIGH…tform/providers/fred/openbb_fred/models/yield_curve.py0transform the query, extract and transform the data from the fred endpoints.
HIGH…platform/providers/fred/openbb_fred/models/ameribor.py0frequency aggregation to convert daily data to lower frequency. a = annual q = quarterly m = monthly w = weekly wef = we
HIGH…fred/openbb_fred/models/overnight_bank_funding_rate.py0frequency aggregation to convert daily data to lower frequency. a = annual q = quarterly m = monthly w = weekly wef = we
HIGH…roviders/fred/openbb_fred/models/federal_funds_rate.py0frequency aggregation to convert daily data to lower frequency. a = annual q = quarterly m = monthly w = weekly wef = we
HIGH…nbb_platform/providers/fred/openbb_fred/models/sofr.py0frequency aggregation to convert daily data to lower frequency. a = annual q = quarterly m = monthly w = weekly wef = we
HIGH…/providers/fred/openbb_fred/models/commercial_paper.py0frequency aggregation to convert daily data to lower frequency. a = annual q = quarterly m = monthly w = weekly wef = we
HIGH…platform/providers/fred/openbb_fred/models/ameribor.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…fred/openbb_fred/models/overnight_bank_funding_rate.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…fred/openbb_fred/models/manufacturing_outlook_texas.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…roviders/fred/openbb_fred/models/federal_funds_rate.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…tform/providers/fred/openbb_fred/models/tips_yields.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…nbb_platform/providers/fred/openbb_fred/models/sofr.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…rs/fred/openbb_fred/models/manufacturing_outlook_ny.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…/providers/fred/openbb_fred/models/commercial_paper.py0a key that indicates the aggregation method used for frequency aggregation. avg = average sum = sum eop = end of period
HIGH…platform/providers/fred/openbb_fred/models/ameribor.py0transformation type none = no transformation chg = change ch1 = change from year ago pch = percent change pc1 = percent
HIGH…fred/openbb_fred/models/overnight_bank_funding_rate.py0transformation type none = no transformation chg = change ch1 = change from year ago pch = percent change pc1 = percent
HIGH…/providers/fred/openbb_fred/models/mortgage_indices.py0transformation type none = no transformation chg = change ch1 = change from year ago pch = percent change pc1 = percent
HIGH…iders/fred/openbb_fred/models/commodity_spot_prices.py0transformation type none = no transformation chg = change ch1 = change from year ago pch = percent change pc1 = percent
HIGH…fred/openbb_fred/models/manufacturing_outlook_texas.py0transformation type none = no transformation chg = change ch1 = change from year ago pch = percent change pc1 = percent
126 more matches not shown…
Decorative Section Separators121 hits · 435 pts
SeverityFileLineSnippet
MEDIUM…core/openbb_core/provider/utils/update_country_data.py63# ── Name normalization ──────────────────────────────────────────────────────
MEDIUM…core/openbb_core/provider/utils/update_country_data.py155# ── Scrapers ────────────────────────────────────────────────────────────────
MEDIUM…core/openbb_core/provider/utils/update_country_data.py475# ── Main logic ──────────────────────────────────────────────────────────────
MEDIUM…enbb_platform/providers/sec/tests/test_sec_fetchers.py249# ---------------------------------------------------------------------------
MEDIUM…enbb_platform/providers/sec/tests/test_sec_fetchers.py251# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py182# ═════════════════════════════════════════════════════════════════════════
MEDIUM…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py184# ═════════════════════════════════════════════════════════════════════════
MEDIUM…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py761# ═════════════════════════════════════════════════════════════════════════
MEDIUM…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py763# ═════════════════════════════════════════════════════════════════════════
MEDIUM…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py50# ─── Per-test fixtures (cheap, no network) ────────────────────────────────
MEDIUM…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py65# ─── Module-scoped fixtures — each expensive fetch runs at most once ──────
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py540# =========================================================================
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py542# =========================================================================
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py2614# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py2616# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py21# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py23# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py1014# =========================================================================
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py1016# =========================================================================
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py2128# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py2130# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py2370# ---------------------------------------------------------------------------
MEDIUM…nbb_platform/providers/sec/tests/test_company_facts.py2372# ---------------------------------------------------------------------------
MEDIUM…providers/sec/openbb_sec/utils/xbrl_taxonomy_helper.py203# ---------------------------------------------------------------------------
MEDIUM…providers/sec/openbb_sec/utils/xbrl_taxonomy_helper.py205# ---------------------------------------------------------------------------
MEDIUM…providers/sec/openbb_sec/utils/xbrl_taxonomy_helper.py708# ---------------------------------------------------------------------------
MEDIUM…providers/sec/openbb_sec/utils/xbrl_taxonomy_helper.py710# ---------------------------------------------------------------------------
MEDIUM…providers/sec/openbb_sec/utils/xbrl_taxonomy_helper.py764# ---------------------------------------------------------------------------
MEDIUM…providers/sec/openbb_sec/utils/xbrl_taxonomy_helper.py766# ---------------------------------------------------------------------------
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py873 # ───────────────────────────────────────────────────────────────────
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py5140# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py5142# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py5152# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py19# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py21# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py358 # ── Headerless continuation detection ──────────────────────────────
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py736# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py738# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py848 # ── New: label-continuation merge ──────────────────────────────────
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py3640# ── Chart-legend helper ─────────────────────────────────────────────
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py3800# ── Table-title pattern for composite-table splitting ──────────────
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py3952 # ── Chart-legend detection ──────────────────────────────────────
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py6997# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py6999# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py7314# ============================================================================
MEDIUM…atform/providers/sec/openbb_sec/utils/html2markdown.py7316# ============================================================================
MEDIUM…ec/openbb_sec/models/management_discussion_analysis.py1349 # ── Locate the end of the MD&A section ──────────────
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py221# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py223# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py342# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py344# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py551# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py553# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py689# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py691# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py1036# =============================================================================
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py1038# =============================================================================
MEDIUM…viders/government_us/tests/test_psd_template_parser.py104# =============================================================================
MEDIUM…viders/government_us/tests/test_psd_template_parser.py106# =============================================================================
MEDIUM…viders/government_us/tests/test_psd_template_parser.py159# =============================================================================
61 more matches not shown…
Deep Nesting358 hits · 310 pts
SeverityFileLineSnippet
LOWcli/openbb_cli/config/console.py60
LOWcli/openbb_cli/config/completer.py140
LOWcli/openbb_cli/config/completer.py186
LOW…/openbb_cli/argparse_translator/argparse_translator.py77
LOW…/openbb_cli/argparse_translator/argparse_translator.py442
LOW…/openbb_cli/argparse_translator/reference_processor.py85
LOWcli/openbb_cli/argparse_translator/utils.py6
LOWcli/openbb_cli/controllers/cli_controller.py498
LOWcli/openbb_cli/controllers/cli_controller.py620
LOWcli/openbb_cli/controllers/cli_controller.py291
LOWcli/openbb_cli/controllers/base_platform_controller.py106
LOWcli/openbb_cli/controllers/base_platform_controller.py151
LOWcli/openbb_cli/controllers/base_platform_controller.py154
LOWcli/openbb_cli/controllers/utils.py264
LOWcli/openbb_cli/controllers/utils.py713
LOWcli/openbb_cli/controllers/utils.py763
LOWcli/openbb_cli/controllers/utils.py916
LOWcli/openbb_cli/controllers/script_parser.py60
LOWcli/openbb_cli/controllers/script_parser.py146
LOWcli/openbb_cli/controllers/base_controller.py173
LOWcli/openbb_cli/controllers/base_controller.py426
LOWcli/openbb_cli/controllers/base_controller.py509
LOWcli/openbb_cli/controllers/base_controller.py643
LOWcli/openbb_cli/controllers/base_controller.py838
LOWopenbb_platform/core/tests/app/test_deprecation.py12
LOWopenbb_platform/core/tests/app/model/test_metadata.py106
LOWopenbb_platform/core/openbb_core/app/command_runner.py89
LOWopenbb_platform/core/openbb_core/app/command_runner.py308
LOWopenbb_platform/core/openbb_core/app/command_runner.py431
LOWopenbb_platform/core/openbb_core/app/command_runner.py538
LOWopenbb_platform/core/openbb_core/app/utils.py92
LOWopenbb_platform/core/openbb_core/app/router.py433
LOWopenbb_platform/core/openbb_core/app/router.py464
LOWopenbb_platform/core/openbb_core/app/router.py490
LOW…enbb_platform/core/openbb_core/app/extension_loader.py61
LOW…bb_platform/core/openbb_core/app/provider_interface.py245
LOW…bb_platform/core/openbb_core/app/provider_interface.py373
LOW…bb_platform/core/openbb_core/app/provider_interface.py449
LOW…platform/core/openbb_core/app/logs/handlers_manager.py24
LOW…latform/core/openbb_core/app/static/package_builder.py171
LOW…latform/core/openbb_core/app/static/package_builder.py415
LOW…latform/core/openbb_core/app/static/package_builder.py482
LOW…latform/core/openbb_core/app/static/package_builder.py554
LOW…latform/core/openbb_core/app/static/package_builder.py1132
LOW…latform/core/openbb_core/app/static/package_builder.py1432
LOW…latform/core/openbb_core/app/static/package_builder.py1738
LOW…latform/core/openbb_core/app/static/package_builder.py1920
LOW…latform/core/openbb_core/app/static/package_builder.py2052
LOW…latform/core/openbb_core/app/static/package_builder.py2205
LOW…latform/core/openbb_core/app/static/package_builder.py2751
LOW…latform/core/openbb_core/app/static/package_builder.py2997
LOW…latform/core/openbb_core/app/static/package_builder.py3136
LOW…latform/core/openbb_core/app/static/package_builder.py3173
LOW…latform/core/openbb_core/app/static/package_builder.py3377
LOW…latform/core/openbb_core/app/static/package_builder.py3721
LOW…latform/core/openbb_core/app/static/package_builder.py3882
LOW…latform/core/openbb_core/app/static/package_builder.py4165
LOW…latform/core/openbb_core/app/static/package_builder.py4312
LOW…latform/core/openbb_core/app/static/package_builder.py2218
LOW…latform/core/openbb_core/app/static/package_builder.py2319
298 more matches not shown…
Excessive Try-Catch Wrapping286 hits · 277 pts
SeverityFileLineSnippet
MEDIUMcookiecutter/openbb_cookiecutter/cli.py133 print(f"Error: extra-context must be in KEY=VALUE format: {item}")
LOWcookiecutter/openbb_cookiecutter/cli.py157 except Exception as e:
MEDIUMcookiecutter/openbb_cookiecutter/cli.py158 print(f"Error: {e}", file=sys.stderr) # noqa
LOW…openbb_cookiecutter/template/hooks/post_gen_project.py99 except Exception:
MEDIUMdesktop/src-tauri/src/tauri_handlers/helpers.rs723 print(f"Error reading existing user settings: {e}")
MEDIUMdesktop/src-tauri/src/tauri_handlers/helpers.rs768 print(f"Error reading existing system settings: {e}")
LOWdesktop/src-tauri/src/tauri_handlers/helpers.rs810except Exception as e:
MEDIUMdesktop/src-tauri/src/tauri_handlers/helpers.rs811 print(f"Error updating OpenBB settings: {e}")
LOWcli/integration/test_commands.py28 except Exception as e:
LOWcli/openbb_cli/session.py85 except Exception:
LOWcli/openbb_cli/cli.py29 except Exception:
MEDIUMcli/openbb_cli/config/style.py63 console.print("Error loading default.")
LOWcli/openbb_cli/controllers/base_platform_controller.py273 except Exception as e:
LOWcli/openbb_cli/controllers/utils.py57 except Exception:
LOWcli/openbb_cli/controllers/utils.py92 except Exception as e:
LOWcli/openbb_cli/controllers/utils.py129 except Exception as e:
LOWcli/openbb_cli/controllers/utils.py955 except Exception as e:
LOWcli/openbb_cli/controllers/choices.py339 except Exception as exception:
LOWcli/openbb_cli/controllers/base_controller.py207 except Exception as exc:
LOWopenbb_platform/core/openbb_core/build.py62 except Exception as e: # pylint: disable=broad-except
LOWopenbb_platform/core/openbb_core/app/command_runner.py177 except Exception:
LOWopenbb_platform/core/openbb_core/app/command_runner.py293 except Exception as e: # pylint: disable=broad-exception-caught
LOWopenbb_platform/core/openbb_core/app/command_runner.py468 except Exception as e:
LOWopenbb_platform/core/openbb_core/app/command_runner.py509 except Exception as e:
LOWopenbb_platform/core/openbb_core/app/command_runner.py570 except Exception as e:
LOWopenbb_platform/core/openbb_core/app/command_runner.py630 except Exception as e:
LOWopenbb_platform/core/openbb_core/app/router.py527 except Exception as e:
LOW…enbb_platform/core/openbb_core/app/logs/utils/utils.py26 except Exception as e:
LOW…latform/core/openbb_core/app/static/package_builder.py73except Exception: # pylint: disable=broad-except # noqa
LOW…latform/core/openbb_core/app/static/package_builder.py132 except Exception: # pylint: disable=broad-except # noqa
LOW…latform/core/openbb_core/app/static/package_builder.py337 except Exception:
LOW…latform/core/openbb_core/app/static/package_builder.py3084 except Exception: # pragma: no cover
LOW…latform/core/openbb_core/app/static/package_builder.py3685 except Exception: # pylint: disable=broad-except # noqa
LOW…nbb_platform/core/openbb_core/app/model/credentials.py105 except Exception as e:
LOWopenbb_platform/core/openbb_core/app/model/obbject.py282 except Exception as ex:
LOWopenbb_platform/core/openbb_core/provider/registry.py46 except Exception as e:
LOW…core/openbb_core/provider/utils/update_country_data.py498 except Exception as e:
LOW…penbb_core/provider/utils/options_chains_properties.py167 except Exception: # pylint: disable=broad-exception-caught
LOW…bb_platform/core/openbb_core/provider/utils/helpers.py501 except Exception as e: # pylint: disable=broad-except
LOW…bb_platform/core/openbb_core/api/exception_handlers.py93 except Exception:
LOWopenbb_platform/core/openbb_core/api/router/commands.py332 except Exception as exc: # pylint: disable=W0703
LOW…bbject_extensions/charting/openbb_charting/charting.py532 except Exception: # pylint: disable=W0718
LOW…bbject_extensions/charting/openbb_charting/charting.py542 except Exception as e:
LOW…bbject_extensions/charting/openbb_charting/charting.py647 except Exception: # pylint: disable=W0718
LOW…bbject_extensions/charting/openbb_charting/charting.py657 except Exception as e: # pylint: disable=W0718
LOW…bbject_extensions/charting/openbb_charting/charting.py758 except Exception as e: # pylint: disable=W0718
LOW…bbject_extensions/charting/openbb_charting/charting.py771 except Exception as e: # pylint: disable=W0718
LOW…ct_extensions/charting/openbb_charting/core/backend.py337 except Exception as exc:
LOW…ensions/charting/openbb_charting/core/openbb_figure.py265 except Exception as e:
LOW…ensions/charting/openbb_charting/core/openbb_figure.py874 except Exception as e:
LOW…ensions/charting/openbb_charting/core/openbb_figure.py966 except Exception:
LOW…t_extensions/charting/openbb_charting/core/to_chart.py65 except Exception as e:
LOW…ns/charting/openbb_charting/core/plotly_ta/ta_class.py344 except Exception:
LOW…ns/charting/openbb_charting/core/plotly_ta/ta_class.py524 except Exception as e:
LOW…harting/openbb_charting/core/plotly_ta/data_classes.py200 except Exception as err:
LOW…harting/openbb_charting/core/plotly_ta/data_classes.py211 except Exception as err:
LOW…harting/openbb_charting/core/plotly_ta/data_classes.py384 except Exception as e:
LOW…enbb_charting/core/plotly_ta/plugins/overlap_plugin.py64 except Exception as e:
LOW…ions/charting/openbb_charting/charts/generic_charts.py84 except Exception as _: # noqa: S112
LOW…ions/charting/openbb_charting/charts/generic_charts.py124 except Exception as _:
226 more matches not shown…
Redundant / Tautological Comments182 hits · 242 pts
SeverityFileLineSnippet
LOWcli/tests/test_controllers_base_platform_controller.py45 # Check if command function is correctly linked
LOWcli/openbb_cli/config/completer.py204 # Check if there are multiple flags for the same command
LOWcli/openbb_cli/argparse_translator/argparse_argument.py49 # Check if choices is present and if it's an empty tuple remove it
LOWcli/openbb_cli/controllers/cli_controller.py447 # Check if the directory exists
LOWcli/openbb_cli/controllers/cli_controller.py484 # Check if the directory exists
LOWcli/openbb_cli/controllers/cli_controller.py537 # Check if toolbar hint was enabled
LOWcli/openbb_cli/controllers/cli_controller.py579 # Check if the user wants to reset application
LOWcli/openbb_cli/controllers/script_parser.py88 # Check if it corresponds to a month
LOWcli/openbb_cli/controllers/script_parser.py97 # Check if it corresponds to a week day
LOWcli/openbb_cli/controllers/script_parser.py115 # Check if it corresponds to a month
LOWcli/openbb_cli/controllers/script_parser.py128 # Check if it corresponds to a week day
LOWcli/openbb_cli/controllers/script_parser.py181 # Check if this line has a variable attribution
LOWcli/openbb_cli/controllers/script_parser.py329 # Check if the string starts with a minus sign
LOWcli/openbb_cli/controllers/script_parser.py360 # Check if this is an OpenBB keyword variable like
LOWcli/openbb_cli/controllers/base_controller.py391 # Check if title has a valid format
LOWcli/openbb_cli/controllers/base_controller.py812 # Check if the action has optional choices, if yes, remove them
LOWcli/openbb_cli/controllers/base_controller.py883 # Check if toolbar hint was enabled
LOW…/app/logs/formatters/test_formatter_with_exceptions.py323 # Check if the mock methods were called
LOWopenbb_platform/core/tests/app/logs/utils/test_utils.py32 # Check if the first part (UUID) is a valid UUID
LOWopenbb_platform/core/tests/app/logs/utils/test_utils.py35 # Check if the second part (current_time) is numeric
LOW…b_platform/core/tests/app/service/test_user_service.py36 # Read the file and verify its contents
LOWopenbb_platform/core/openbb_core/app/utils.py75 # Check if df has multiindex. If so, add the index names to the df and a boolean column
LOW…bb_platform/core/openbb_core/app/provider_interface.py400 # Check if descriptions differ before merging
LOW…tform/core/openbb_core/app/logs/utils/expired_files.py17 if directory.is_dir(): # Check if the directory exists and is a directory
LOW…latform/core/openbb_core/app/static/package_builder.py505 # Check if this is a Depends object
LOW…latform/core/openbb_core/app/static/package_builder.py1512 # Check if all union members are Literals
LOW…latform/core/openbb_core/app/static/package_builder.py1812 # Check if we already have a kwargs parameter (VAR_KEYWORD) in formatted_params
LOW…latform/core/openbb_core/app/static/package_builder.py2271 # Check if there's | None at the end
LOW…latform/core/openbb_core/app/static/package_builder.py2342 # Check if this is the "Multiple comma separated" line
LOW…latform/core/openbb_core/app/static/package_builder.py2570 # Check if annotation is an Annotated type
LOW…latform/core/openbb_core/app/static/package_builder.py3120 # Check if this router has sub-routers
LOW…latform/core/openbb_core/app/static/package_builder.py3644 # Append the dictionary to the list
LOW…latform/core/openbb_core/app/static/package_builder.py3752 # Check if type is optional
LOW…latform/core/openbb_core/app/static/package_builder.py3758 # Check if None or NoneType is in the union
LOW…latform/core/openbb_core/app/static/package_builder.py4134 # Set data to the fields
LOW…latform/core/openbb_core/app/static/package_builder.py4177 # Check if the return type is an OBBject
LOW…b_platform/core/openbb_core/app/model/user_settings.py24 # Check if user settings file exists and load from it
LOW…penbb_core/provider/utils/options_chains_properties.py1485 # Check if all items are False
LOW…openbb_core/provider/standard_models/options_chains.py370 if value: # Check if the list is not empty
LOWopenbb_platform/core/openbb_core/api/router/commands.py83 # Check if any metadata item is a Depends instance
LOW…s/charting/openbb_charting/charts/relative_rotation.py510 # Add the trace to the list
LOW…orm/providers/yfinance/tests/test_yfinance_fetchers.py58 # Check if the key (HTML doctype) is in the response body
LOWopenbb_platform/providers/sec/validate_corpus.py1430 # Check if at least one CIK from this group is in the corpus
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py875 # Check if this row starts an incomplete parenthetical
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py883 # Check if the first non-empty cell has balanced parentheses
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py223 # Check if this is a category header row (ALL CAPS words, no numbers)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py528 # Check if next_table immediately follows (no significant content between)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py577 # Check if it contains bold/styled text indicating a section header
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py600 # Check if child spans have a SMALLER font size — if so, the
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py776 # Check if cell has an open paren that isn't closed
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py819 # Check if cell is a numeric value
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py826 # Check if next cell is a note reference like "(a)", "(b)"
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py917 # Check if next row is continuation (ends with ) or has amounts/share text)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1056 # Check if data rows have content in THIS column vs PREV column
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1078 # Check if data is complementary: no row has data in BOTH columns.
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1111 # Check if columns i-1 and i are strictly complementary across ALL rows
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1190 # Check if this is a number (with optional $ prefix, commas, parens for negative)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1228 # Check if values contain dollar amounts (start with $ or have commas)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1599 # Check if this cell has the complete value ($ + number)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1753 # Check if title row (one text spans >=80%)
122 more matches not shown…
Self-Referential Comments43 hits · 134 pts
SeverityFileLineSnippet
MEDIUMcli/openbb_cli/controllers/base_platform_controller.py124 # Create the sub controller as a new class
MEDIUM…atform/core/tests/app/logs/utils/test_expired_files.py100 # Create a MagicMock for the Path class to represent a file path
MEDIUM…s/app/logs/handlers/test_path_tracking_file_handler.py53 # Define a sample LoggingSettings object with mock attributes
MEDIUMopenbb_platform/core/tests/app/static/test_filters.py37# Create a list of scenarios to test
MEDIUMopenbb_platform/core/tests/app/model/test_extension.py90 # Create a fake module to be imported in the property
MEDIUM…_platform/core/tests/app/model/test_system_settings.py54 # Create the openbb directory
MEDIUM…_platform/core/tests/app/model/test_system_settings.py77 # Create the openbb directory
MEDIUM…_platform/core/tests/app/model/test_system_settings.py80 # Create the user_settings.json file
MEDIUM…b_platform/core/tests/app/service/test_user_service.py23 # Create a temporary file for this test
MEDIUM…b_platform/core/tests/app/service/test_user_service.py27 # Create a UserSettings object with some test data
MEDIUM…bb_platform/core/openbb_core/app/provider_interface.py405 # Create a field with provider-specific description
MEDIUM…latform/core/openbb_core/app/static/package_builder.py1248 # Create a new annotation with OpenBBField containing the description
MEDIUM…latform/core/openbb_core/app/static/package_builder.py3599 # Define a regex pattern to match parameter blocks
MEDIUM…latform/core/openbb_core/app/static/package_builder.py3633 # Create a new dictionary with fields in the desired order
MEDIUM…s/charting/openbb_charting/charts/relative_rotation.py131 # Create an empty list to store the scatter traces
MEDIUM…s/charting/openbb_charting/charts/relative_rotation.py190 # Define the initial trace for the figure
MEDIUM…s/charting/openbb_charting/charts/relative_rotation.py197 # Create the layout for the figure
MEDIUM…s/charting/openbb_charting/charts/relative_rotation.py427 # Create the figure and add the initial trace
MEDIUM…s/charting/openbb_charting/charts/relative_rotation.py480 # Create an empty list to store the scatter traces
MEDIUM…s/charting/openbb_charting/charts/relative_rotation.py490 # Create a scatter trace for each column
MEDIUM…roviders/finviz/openbb_finviz/utils/screener_helper.py2085 # Create the user presets directory if it doesn't exist.
MEDIUM…atform/providers/imf/openbb_imf/utils/query_builder.py40 # Create a map for case-insensitive matching of dimension IDs
MEDIUM…nbb_platform/providers/imf/tests/test_table_builder.py338 # Create a large hierarchy
MEDIUM…orm/providers/imf/tests/test_progressive_validation.py1005 # Create a long list of codes
MEDIUM…t_us/openbb_government_us/utils/psd_data_downloader.py50 # Create a clean filename from the title
MEDIUM…b_platform/providers/oecd/openbb_oecd/utils/helpers.py18# Create the cache directory if it does not exist
MEDIUM…b_platform/providers/oecd/openbb_oecd/utils/helpers.py115 # Create a DataFrame
MEDIUM…nbb_platform/providers/bls/openbb_bls/models/series.py137 # Define a function to wrap as a coroutine.
MEDIUM…nbb_platform/providers/bls/openbb_bls/models/series.py166 # Create a list of tasks to run based on the API query limitations.
MEDIUM…/providers/cboe/openbb_cboe/models/index_historical.py124 # Create a list of European indices.
MEDIUM…form/providers/cboe/openbb_cboe/models/equity_quote.py135 # Create a list of European indices.
MEDIUM…m/providers/econdb/openbb_econdb/models/yield_curve.py202 # Create a DataFrame from the data
MEDIUM…roviders/famafrench/openbb_famafrench/utils/helpers.py651 # Create the multi-index columns
MEDIUM…nbb_platform/providers/tmx/openbb_tmx/utils/helpers.py569 # Create the standardized contract symbol.
MEDIUM…nbb_platform/providers/tmx/openbb_tmx/utils/helpers.py809 # Create a list of 4-week chunks
MEDIUM…nbb_platform/providers/tmx/openbb_tmx/utils/helpers.py1020 # Create a list of 4-week chunks
MEDIUM…nbb_platform/providers/tmx/openbb_tmx/utils/helpers.py1030 # Create a datetime object representing 9:30 AM on the date
MEDIUM…orm/providers/tmx/openbb_tmx/models/company_filings.py111 # Create a list of 4-week chunks
MEDIUM…orm/extensions/economy/openbb_economy/economy_views.py173 # Create the figure object with subplots.
MEDIUM…rm/extensions/platform_api/tests/test_widgets_utils.py28 # Create a sample OmniWidgetResponseModel instance
MEDIUM…nbb_platform/extensions/platform_api/tests/test_api.py329 # Create a proper mock module with __spec__ attribute
MEDIUM…m/extensions/mcp_server/tests/utils/test_app_import.py389 # Create a package structure
MEDIUM…orm/extensions/mcp_server/openbb_mcp_server/app/app.py827 # Create the directory and write all files
Unused Imports86 hits · 84 pts
SeverityFileLineSnippet
LOW…emplate/{{cookiecutter.project_tag}}/tests/conftest.py9
LOW…iders/{{cookiecutter.provider_name}}/models/example.py19
LOWcli/openbb_cli/config/console.py13
LOWopenbb_platform/conftest.py9
LOWopenbb_platform/core/openbb_core/app/command_runner.py28
LOWopenbb_platform/core/openbb_core/app/command_runner.py29
LOWopenbb_platform/core/openbb_core/app/command_runner.py30
LOW…latform/core/openbb_core/app/static/package_builder.py58
LOW…latform/core/openbb_core/app/static/package_builder.py59
LOW…latform/core/openbb_core/app/static/package_builder.py59
LOW…latform/core/openbb_core/app/static/package_builder.py60
LOWopenbb_platform/core/openbb_core/app/static/coverage.py11
LOW…enbb_platform/core/openbb_core/app/static/container.py8
LOWopenbb_platform/core/openbb_core/app/model/obbject.py24
LOWopenbb_platform/core/openbb_core/app/model/obbject.py26
LOWopenbb_platform/core/openbb_core/provider/__init__.py3
LOWopenbb_platform/core/openbb_core/provider/__init__.py3
LOWopenbb_platform/core/openbb_core/provider/__init__.py3
LOWopenbb_platform/core/openbb_core/provider/__init__.py3
LOWopenbb_platform/core/openbb_core/provider/__init__.py4
LOWopenbb_platform/core/openbb_core/provider/__init__.py4
LOW…core/openbb_core/provider/utils/update_country_data.py21
LOW…bb_platform/core/openbb_core/provider/utils/helpers.py28
LOW…ore/openbb_core/api/router/helpers/coverage_helpers.py11
LOW…bbject_extensions/charting/openbb_charting/charting.py27
LOW…bbject_extensions/charting/openbb_charting/charting.py29
LOW…ct_extensions/charting/openbb_charting/core/backend.py8
LOW…ct_extensions/charting/openbb_charting/core/backend.py10
LOW…ct_extensions/charting/openbb_charting/core/backend.py12
LOW…ensions/charting/openbb_charting/core/openbb_figure.py34
LOW…t_extensions/charting/openbb_charting/core/to_chart.py6
LOW…t_extensions/charting/openbb_charting/core/to_chart.py7
LOW…t_extensions/charting/openbb_charting/core/to_chart.py8
LOW…t_extensions/charting/openbb_charting/core/to_chart.py8
LOW…/charting/openbb_charting/core/config/openbb_styles.py6
LOW…/charting/openbb_charting/core/plotly_ta/ta_helpers.py6
LOW…ns/charting/openbb_charting/core/plotly_ta/ta_class.py25
LOW…nsions/charting/openbb_charting/core/plotly_ta/base.py14
LOW…s/charting/openbb_charting/charts/relative_rotation.py10
LOW…ions/charting/openbb_charting/charts/generic_charts.py19
LOW…ions/charting/openbb_charting/charts/generic_charts.py21
LOW…s/charting/openbb_charting/charts/price_performance.py6
LOW…s/charting/openbb_charting/charts/price_performance.py7
LOW…_extensions/charting/openbb_charting/charts/helpers.py9
LOW…s/yfinance/openbb_yfinance/models/equity_historical.py20
LOW…nbb_platform/providers/sec/tests/test_xbrl_taxonomy.py26
LOW…atform/providers/sec/openbb_sec/utils/company_facts.py5
LOW…iders/sec/openbb_sec/utils/statement_schema/_schema.py5
LOW…viders/sec/openbb_sec/utils/statement_schema/_rules.py3
LOW…viders/sec/openbb_sec/utils/statement_schema/_types.py3
LOW…rs/sec/openbb_sec/utils/statement_schema/_detection.py5
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py3
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
LOW…ders/sec/openbb_sec/utils/statement_schema/__init__.py4
26 more matches not shown…
AI Slop Vocabulary12 hits · 24 pts
SeverityFileLineSnippet
MEDIUMdesktop/src-tauri/src/tauri_handlers/backends.rs1617 // In-memory file system for robust, path-agnostic mocking
LOW…nbb_platform/core/openbb_core/provider/registry_map.py174 # If standard uses inheritance we just use the first docstring
LOW…bb_platform/core/openbb_core/provider/utils/helpers.py152 # If a session is already provided, just return it.
LOW…bb_platform/core/openbb_core/provider/utils/helpers.py232 # If a session is already provided, just return it.
MEDIUM…oviders/finviz/openbb_finviz/utils/presets/canslim.ini4# This config add some extra filters to make the list more robust
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py935 # For colspan, just use first row's structure
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py3600 # skip using prefixes and just use the years
LOW…ec/openbb_sec/models/management_discussion_analysis.py1643 # Mixed-case "Item N." header — just add '#' prefix.
MEDIUM…b_platform/providers/oecd/openbb_oecd/utils/helpers.py164 # TODO: More robust caching logic
MEDIUM…ers/test_benzinga_company_news_fetcher_urllib3_v2.yaml277 broader efforts by the U.S. to limit China’s access to cutting-edge
MEDIUM…ers/test_benzinga_company_news_fetcher_urllib3_v2.yaml445 stated, “Next year, the industry will utilize 2-nanometer process technology,
MEDIUM…orm/extensions/mcp_server/openbb_mcp_server/app/app.py985 # Create MCP server with comprehensive configuration
Verbosity Indicators17 hits · 23 pts
SeverityFileLineSnippet
LOWdesktop/src/routes/environments.tsx1555 // Step 1: Create environment with base packages only (no extensions)
LOWdesktop/src/routes/environments.tsx1570 // Step 2: Install extensions if any were selected
LOW…/openbb_cli/argparse_translator/argparse_translator.py129 # we need to check if the optional choices were set in other group
LOW…_platform/core/tests/provider/abstract/test_fetcher.py8# Step 1: Create a dummy subclass of Fetcher
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1430 # Step 1: Find first data row (row with actual numeric values)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1464 # Step 2: Analyze a data row to find the column structure
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1491 # Step 3: Build headers from header rows (rows before data_start_idx)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py1565 # Step 4: Build output table
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py4302 # Step 1: Extract period headers from header rows
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py4304 # Step 2: Parse each row semantically - first text is label, numbers are values
LOW…ders/congress_gov/openbb_congress_gov/utils/helpers.py784 # Step 1: Amendment base detail for description (committee report check) and text URL
LOW…ders/congress_gov/openbb_congress_gov/utils/helpers.py788 # Step 2: Fetch the /text sub-resource.
LOW…ders/congress_gov/openbb_congress_gov/utils/helpers.py799 # Step 3: Check if the amendment was printed in a committee report and fetch that text
LOW…ders/congress_gov/openbb_congress_gov/utils/helpers.py823 # Step 4: If no text versions found, fall back to the amended bill's text versions.
LOWopenbb_platform/providers/imf/openbb_imf/imf_router.py1075 # Step 1: No country selected - return country choices filtered by indicator
LOWopenbb_platform/providers/imf/openbb_imf/imf_router.py1082 # Step 2: Country selected, no frequency - return frequency choices
LOWopenbb_platform/providers/imf/openbb_imf/imf_router.py1086 # Step 3: Frequency selected, no transform - return transform choices
Cross-Language Confusion4 hits · 22 pts
SeverityFileLineSnippet
HIGHcli/openbb_cli/controllers/script_parser.py450 # If the list is non null, then we want to convert this into a parsed string that is
HIGH…b_platform/core/tests/app/logs/test_logging_service.py169 'CMD: {"route": "mock_route", "input": {}, "error": null, '
HIGH…b_platform/core/tests/app/logs/test_logging_service.py170 + '"provider": "not_passed_to_kwargs", "custom_headers": null}',
HIGH…form/providers/yfinance/tests/test_yfinance_helpers.py30 assert df.equals(MOCK_FUTURES_DATA)
Over-Commented Block9 hits · 8 pts
SeverityFileLineSnippet
LOWopenbb_platform/core/tests/app/static/test_filters.py81# - "mont" was correctly rejected: it satisfies neither Literal, so ExtraParams
LOW…nviz/openbb_finviz/utils/presets/screener_template.ini1# Author of preset: OpenBBTerminal (https://github.com/OpenBB-finance/OpenBB)
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py2221 super_row = ["", super_text]
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py5141# ABSOLUTE-POSITIONED LAYOUT REFLOW
LOW…atform/providers/sec/openbb_sec/utils/html2markdown.py6781 # These are common in SEC filings for subsection titles
LOW…ec/openbb_sec/models/management_discussion_analysis.py401
LOW…ec/openbb_sec/models/management_discussion_analysis.py1321
LOW…ec/openbb_sec/models/management_discussion_analysis.py1341 _anchor_tag = f'id="{_stub_anchor_id}"'
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply need
Overly Generic Function Names4 hits · 6 pts
SeverityFileLineSnippet
LOWcli/tests/test_argparse_translator.py137 def test_function(test_arg: int):
LOWcli/tests/test_argparse_translator.py150 def test_function(test_arg: int) -> int:
LOWopenbb_platform/core/tests/provider/utils/test_lru.py190 def my_function():
LOW…nsions/technical/openbb_technical/relative_rotation.py208def process_data(
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippet
HIGH…ions/mcp_server/openbb_mcp_server/models/mcp_config.py235 Validate an MCP configuration dictionary. Args: config_dict: The configuration dictionary to validate
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWopenbb_platform/core/openbb_core/app/command_runner.py343 # If **kwargs is in the function signature, we need to make sure to pass