FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
This report presents the forensic synthetic code analysis of AI4Finance-Foundation/FinGPT, a Jupyter Notebook project with 21,168 GitHub stars. SynthScan v2.0 examined 42,811 lines of code across 323 source files, recording 944 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 30.7 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 944 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 16 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 18 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 146 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 148 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 1 | # ── Core API ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 9 | # ── Database ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 15 | # ── Messaging ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 18 | # ── GCP ─────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 22 | # ── Auth & Security ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 26 | # ── FinGPT / ML ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 37 | # ── Data / Finance ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 44 | # ── RAG / Vector store ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 51 | # ── Observability ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 58 | # ── Testing ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 65 | # ── Dev tools ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/agent_ledger.py | 25 | # ── Enums ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/agent_ledger.py | 70 | # ── Models ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 29 | # ── Enums ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 65 | # ── Models ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 143 | # ── Amount limits ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 172 | # ── Scope constraints ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 190 | # ── Validity ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 199 | # ── Supersession chain ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/database/models/mandate.py | 211 | # ── Metadata ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/tests/unit/test_minimax_provider.py | 7 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | finogrid/tests/unit/test_minimax_provider.py | 9 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | finogrid/tests/unit/test_minimax_provider.py | 171 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | finogrid/tests/unit/test_minimax_provider.py | 173 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_minimax_provider.py | 286 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_minimax_provider.py | 288 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 101 | # ── Closed-loop intent tests ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 178 | # ── Spending rules tests ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 263 | # ── Idempotency tests ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 278 | # ── Intent sweeper tests ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 319 | # ── x402 middleware tests ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 367 | # ── Mandate model tests ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/tests/unit/test_agent_ledger.py | 436 | # ── KYA validator MCP tests ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/tests/unit/test_agent_ledger.py | 23 | # ── KYA gate tests ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/agents/ops_oversight/agent.py | 52 | # ── 1. SLA drift check ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/agents/ops_oversight/agent.py | 56 | # ── 2. Retry rate check ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/agents/ops_oversight/agent.py | 60 | # ── 3. Held tasks (compliance review backlog) ────────────────────── | COMMENT |
| MEDIUM⚡ | finogrid/agents/ops_oversight/agent.py | 69 | # ── 4. Corridor risk signals (FinGPT Forecaster) ────────────────────── | COMMENT |
| MEDIUM | finogrid/agents/ops_oversight/agent.py | 85 | # ── 5. Stablecoin depeg check (FinGPT Forecaster) ───────────────────── | COMMENT |
| MEDIUM | finogrid/agents/ops_oversight/agent.py | 98 | # ── 6. Notify if critical alerts ─────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/agents/process_improvement/agent.py | 60 | # ── FinGPT corridor risk signals ─────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/agents/process_improvement/agent.py | 74 | # ── Generate recommendations ─────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/wallet_factory/server.py | 25 | # ── Settings ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/wallet_factory/server.py | 63 | # ── Pydantic models ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/wallet_factory/server.py | 89 | # ── FastAPI app ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/kya_validator/server.py | 36 | # ── Settings ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/kya_validator/server.py | 54 | # ── Pydantic models ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/kya_validator/server.py | 77 | # ── Internal validator (MVP) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/kya_validator/server.py | 110 | # ── FastAPI app ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/plaid/server.py | 33 | # ── Settings ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/plaid/server.py | 51 | # ── Pydantic models ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/plaid/server.py | 75 | # ── Plaid client helper ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/mcp/plaid/server.py | 99 | # ── FastAPI app ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/sdk/typescript/src/types.ts | 5 | // ── Enums ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/sdk/typescript/src/types.ts | 16 | // ── Agent Account ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/sdk/typescript/src/types.ts | 53 | // ── KYA ─────────────────────────────────────────────────────────────────────── | COMMENT |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test_imports.py | 37 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data_pipeline.py | 2 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data_pipeline.py | 6 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data_pipeline.py | 8 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data_pipeline.py | 9 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data_pipeline.py | 9 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data_pipeline.py | 9 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/market_sentiment.py | 8 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/app.py | 11 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/prompt.py | 7 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/prompt.py | 9 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data.py | 17 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 1 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 2 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 5 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 6 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 17 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 20 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 20 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/train_lora.py | 20 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/AAAI-Good-Data/train_lora.py | 1 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/AAAI-Good-Data/train_lora.py | 5 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/AAAI-Good-Data/train_lora.py | 19 | CODE | |
| LOW | …caster/FinGPT-Forecaster-Chinese/Inference_datapipe.py | 4 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 3 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 4 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 5 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 6 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 10 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 11 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 1 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 2 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 2 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 5 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 6 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 17 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 20 | CODE | |
| LOW | …GPT_Forecaster/FinGPT-Forecaster-Chinese/train_lora.py | 20 | CODE | |
| LOW | …PT_MultiAgentsRAG/Evaluation_methods/MMLU/eval_mmlu.py | 2 | CODE | |
| LOW | …PT_MultiAgentsRAG/Evaluation_methods/MMLU/eval_mmlu.py | 4 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 10 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 13 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 13 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 13 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 13 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 22 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/config.py | 5 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/config.py | 6 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/timing_model.py | 12 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/reporter.py | 7 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/reporter.py | 8 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 7 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 11 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 11 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 12 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 14 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 14 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 12 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 12 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 10 | CODE | |
| 214 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test_imports.py | 8 | except Exception as e: | CODE |
| LOW⚡ | test_imports.py | 15 | except Exception as e: | CODE |
| LOW⚡ | test_imports.py | 21 | except Exception as e: | CODE |
| LOW⚡ | test_imports.py | 27 | except Exception as e: | CODE |
| LOW⚡ | test_imports.py | 33 | except Exception as e: | CODE |
| LOW⚡ | test_imports.py | 39 | except Exception as e: | CODE |
| LOW | cloud_test_fingpt.py | 26 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_Forecaster/test_api_keys.py | 26 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_Forecaster/test_api_keys.py | 42 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_Forecaster/app.py | 66 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_Forecaster/app.py | 251 | except Exception: | CODE |
| MEDIUM | fingpt/FinGPT_Forecaster/app.py | 60 | def print_gpu_utilization(): | CODE |
| MEDIUM | fingpt/FinGPT_Forecaster/app.py | 247 | def construct_prompt(ticker, curday, n_weeks, use_basics, use_market_sentiment): | CODE |
| LOW | fingpt/FinGPT_Forecaster/data.py | 233 | except Exception: | CODE |
| LOW | fingpt/FinGPT_Forecaster/data.py | 292 | except Exception: | CODE |
| LOW | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 81 | except Exception as err: | CODE |
| LOW | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 92 | except Exception as err: | CODE |
| LOW | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 105 | except Exception as err: | CODE |
| LOW | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 121 | except Exception as err: | CODE |
| LOW | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 132 | except Exception as err: | CODE |
| LOW⚡ | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 149 | except Exception as err: | CODE |
| LOW⚡ | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 155 | except Exception as err: | CODE |
| LOW⚡ | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 165 | except Exception as err: | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/analyzers.py | 543 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 104 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 118 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 130 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 142 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 256 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 406 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 478 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 594 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 686 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 884 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/test_basic.py | 30 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/test_basic.py | 64 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/test_basic.py | 140 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/test_basic.py | 168 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/timing_model.py | 142 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/timing_model.py | 368 | except Exception as e: | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/core.py | 154 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 175 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 194 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 228 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 251 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 263 | except Exception as e: | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/core.py | 284 | except Exception as e: | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/core.py | 296 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/example_usage.py | 220 | except Exception as e: | CODE |
| MEDIUM | fingpt/FinGPT_ForexIntelligence/example_usage.py | 221 | print(f"Error running examples: {e}") | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 114 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 268 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 180 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 226 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 266 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 312 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 350 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 463 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 497 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 530 | except Exception as e: | CODE |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_forecaster_market_sentiment.py | 24 | def test_enrich_recent_market_sentiment_aggregates_recent_windows(): | CODE |
| LOW | tests/test_forecaster_market_sentiment.py | 87 | def test_enrich_recent_market_sentiment_is_noop_without_key(): | CODE |
| LOW | tests/test_forecaster_market_sentiment.py | 100 | def test_enrich_recent_market_sentiment_skips_windows_outside_supported_history(): | CODE |
| LOW | tests/test_forecaster_market_sentiment.py | 113 | def test_format_market_sentiment_prompt_renders_structured_block(): | CODE |
| LOW | tests/test_forecaster_market_sentiment.py | 136 | def test_format_market_sentiment_prompt_is_empty_without_available_data(): | CODE |
| LOW | tests/test_forecaster_market_sentiment.py | 141 | def test_dataset_csv_path_tracks_optional_sentiment_suffix(): | CODE |
| LOW | fingpt/FinGPT_Forecaster/market_sentiment.py | 106 | def _fetch_source_daily_trend( | CODE |
| LOW | fingpt/FinGPT_Forecaster/market_sentiment.py | 183 | def summarize_market_sentiment(signals): | CODE |
| LOW | fingpt/FinGPT_Forecaster/market_sentiment.py | 203 | def enrich_recent_market_sentiment( | CODE |
| LOW | fingpt/FinGPT_Forecaster/market_sentiment.py | 268 | def format_market_sentiment_prompt(value): | CODE |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/generate.py | 183 | def generate_dialogue_dataset(seed_data, instruction, output_path): | CODE |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/generate.py | 223 | def generate_summarization_dataset(seed_data, instruction, output_path): | CODE |
| LOW | …ultiAgentsRAG/Evaluation_methods/HaluEval/filtering.py | 178 | def filtering_dialogue_dataset(file1, file2, instruction, output_path): | CODE |
| LOW | …ultiAgentsRAG/Evaluation_methods/HaluEval/filtering.py | 231 | def filtering_summarization_dataset(file1, file2, instruction, output_path): | CODE |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/evaluate.py | 116 | def get_summarization_response(model, document, summary, instruction): | CODE |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/evaluate.py | 221 | def evaluation_dialogue_dataset(model, file, instruction, output_path): | CODE |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/evaluate.py | 274 | def evaluation_summarization_dataset(model, file, instruction, output_path): | CODE |
| LOW | …tiAgentsRAG/Evaluation_methods/TruthfulQA/utilities.py | 47 | def format_prompt_with_answer_strings(question, ans, preset='qa', format='general'): | CODE |
| LOW | …GPT_MultiAgentsRAG/Evaluation_methods/MMLU/gen_mmlu.py | 26 | def construct_assistant_message(completion): | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/analyzers.py | 547 | def _assess_safe_haven_demand(self) -> str: | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/analyzers.py | 551 | def _analyze_currency_impacts(self) -> Dict[str, str]: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 146 | def _calculate_sentiment_score( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 287 | def _determine_flow_sentiment( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 322 | def _analyze_currency_impacts( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 608 | def _calculate_commodity_impact( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 639 | def _identify_key_correlations( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 731 | def _calculate_strength_score(self, market_data: List[MarketData]) -> float: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/test_basic.py | 71 | def test_framework_initialization(): | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/timing_model.py | 401 | def _assess_overall_event_risk(self, events: List[Dict[str, Any]]) -> str: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/timing_model.py | 419 | def _generate_entry_recommendation( | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/core.py | 149 | def _analyze_global_sentiment(self, date: datetime) -> str: | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/core.py | 158 | def _analyze_currency_strength( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 200 | def _generate_trade_opportunities( | CODE |
| LOW⚡ | fingpt/FinGPT_ForexIntelligence/core.py | 288 | def _analyze_commodity_impacts( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/example_usage.py | 129 | def individual_components_example(): | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 118 | def _identify_strong_currencies( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 137 | def _identify_weak_currencies( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 352 | def _generate_supporting_factors( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 536 | def get_multiple_currency_data( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 179 | def _match_indicator_to_config(self, event_name: str) -> str: | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 226 | def _determine_affected_pairs( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 247 | def _determine_expected_direction( | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 267 | def _calculate_impact_confidence( | CODE |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/requests_url.py | 50 | def requests_get_for_seeking_alpha(url, subject): | CODE |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 149 | def scrape_bloomberg_article_page(url, subject): | CODE |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 236 | def scrape_market_watch_article_page(url, subject): | CODE |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 270 | def scrape_business_wire_article_page(url, subject): | CODE |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 395 | def scrape_seeking_alpha_article_page(url, subject): | CODE |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 433 | # def scrape_zero_hedge_article_page(url, subject): | COMMENT |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 514 | def scrape_twitter_through_website(url, subject): # not feasible | CODE |
| LOW⚡ | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 593 | def select_column_and_classify(): | CODE |
| LOW | …val/scrapers/market_screener/scrape_market_screener.py | 28 | def scrape_market_screen_article_page(url, subject): | CODE |
| LOW⚡ | …G/multisource_retrieval/scrapers/yahoo/scrape_yahoo.py | 59 | def scrape_yahoo_finance_article_page(url, subject): | CODE |
| LOW | …GPT_RAG/instruct-FinGPT/convert_llama_weights_to_hf.py | 75 | def compute_intermediate_size(n, ffn_dim_multiplier=1, multiple_of=256): | CODE |
| LOW | …t-FinGPT/training/supervised_finetuning/prompt_eval.py | 106 | def generate_constrastive_search(model, | CODE |
| LOW | …gpt/FinGPT_RAG/instruct-FinGPT/training/utils/utils.py | 78 | def get_optimizer_grouped_parameters(model, | CODE |
| LOW | …nGPT_RAG/instruct-FinGPT/training/utils/module/lora.py | 89 | def convert_linear_layer_to_lora(model, | CODE |
| LOW | …nGPT_RAG/instruct-FinGPT/training/utils/module/lora.py | 116 | def convert_lora_to_linear_layer(model): | CODE |
| LOW | …nGPT_RAG/instruct-FinGPT/training/utils/module/lora.py | 134 | def only_optimize_lora_parameters(model): | CODE |
| LOW | …G/instruct-FinGPT/training/utils/model/reward_model.py | 31 | def gradient_checkpointing_enable(self): | CODE |
| 138 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 21 | # ML dependencies (for GPU acceleration compatibility) | COMMENT |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 361 | # Find all the <a> tags within the specified hierarchy | COMMENT |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 461 | COMMENT | |
| LOW | …ultisource_retrieval/external_LLMs/g4f_tokenization.py | 41 | for i in range(number_of_messages): | COMMENT |
| LOW | …ultisource_retrieval/external_LLMs/g4f_tokenization.py | 61 | # for message in response: | COMMENT |
| LOW | fingpt/FinGPT_RAG/instruct-FinGPT/infer.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …GPT_RAG/instruct-FinGPT/convert_llama_weights_to_hf.py | 1 | # Copyright 2022 EleutherAI and The HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | …t-FinGPT/training/supervised_finetuning/prompt_eval.py | 161 | # num_return_sequences=args.num_return_sequences, | COMMENT |
| LOW | …ding/chatgpt-trading-v2/pyfolio/interesting_periods.py | 1 | # | COMMENT |
| LOW | …thers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/pos.py | 1 | # | COMMENT |
| LOW | …FinGPT_Trading/chatgpt-trading-v2/pyfolio/deprecate.py | 1 | """Utilities for marking deprecated functions.""" | COMMENT |
| LOW | …nGPT_Trading/chatgpt-trading-v2/pyfolio/perf_attrib.py | 1 | # | COMMENT |
| LOW | …/FinGPT_Trading/chatgpt-trading-v2/pyfolio/plotting.py | 1 | # | COMMENT |
| LOW | …ers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/tears.py | 1 | # | COMMENT |
| LOW | …ers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/utils.py | 1 | # | COMMENT |
| LOW | …thers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/txn.py | 1 | # | COMMENT |
| LOW | …nGPT_Trading/chatgpt-trading-v2/pyfolio/round_trips.py | 1 | # | COMMENT |
| LOW | …inGPT_Trading/chatgpt-trading-v2/pyfolio/timeseries.py | 1 | # | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 1 | export CUDA_VISIBLE_DEVICES=0,1,2,3 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 21 | # --scheduler linear \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 41 | # deepspeed train_lora.py \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 61 | # --dataset headline-cls-instruct,finred-cls-instruct*2,ner-cls-instruct*7 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 81 | # --num_epochs 1 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 101 | # --evaluation_strategy steps \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 121 | # --max_length 512 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 141 | # --learning_rate 1e-4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 161 | # --log_interval 10 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 181 | # --batch_size 4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 201 | # --batch_size 4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 221 | # --batch_size 4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 241 | # --base_model llama2 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 261 | # --dataset data/fingpt-convfinqa \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 281 | # --batch_size 1 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 301 | # --ds_config config_hf.json \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 321 | # --dataset data/fingpt-ner \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 341 | # --dataset data/fingpt-ner \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 361 | # deepspeed train_lora.py \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 381 | # --run_name headline-chatglm2-linear \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 401 | # --dataset data/fingpt-headline \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 421 | # --batch_size 4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 441 | # --max_length 512 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 461 | # --learning_rate 1e-4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 481 | COMMENT | |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 501 | # --learning_rate 1e-4 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 521 | COMMENT | |
| LOW | fingpt/FinGPT_Benchmark/train.sh | 541 | # --run_name finred-bloom-linear \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 21 | # --max_length 512 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 41 | # --batch_size 8 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 61 | COMMENT | |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 81 | # --max_length 512 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 101 | COMMENT | |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 121 | # --max_length 512 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 141 | # --batch_size 8 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 161 | # --peft_model ../finetuned_models/MT-bloom-linear_202309211510 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 181 | # --base_model llama2 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 201 | # --max_length 2048 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 221 | # --batch_size 1 \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 241 | # --base_model qwen \ | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 261 | # --batch_size 1 | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 281 | # --peft_model ../finetuned_models/ner-chatglm2-linear_202309160238 \ | COMMENT |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fingpt/FinGPT_Forecaster/prompt.py | 110 | CODE | |
| LOW | fingpt/FinGPT_Forecaster/data.py | 175 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 193 | CODE | |
| LOW | …PT_Forecaster/FinGPT-Forecaster-Chinese/Ashare_data.py | 275 | CODE | |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/generate.py | 162 | CODE | |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/generate.py | 183 | CODE | |
| LOW | …ultiAgentsRAG/Evaluation_methods/HaluEval/filtering.py | 132 | CODE | |
| LOW | …ultiAgentsRAG/Evaluation_methods/HaluEval/filtering.py | 178 | CODE | |
| LOW | …ultiAgentsRAG/Evaluation_methods/HaluEval/filtering.py | 231 | CODE | |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/evaluate.py | 166 | CODE | |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/evaluate.py | 221 | CODE | |
| LOW | …MultiAgentsRAG/Evaluation_methods/HaluEval/evaluate.py | 274 | CODE | |
| LOW | …ltiAgentsRAG/Evaluation_methods/TruthfulQA/evaluate.py | 38 | CODE | |
| LOW | …tiAgentsRAG/Evaluation_methods/TruthfulQA/utilities.py | 102 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 287 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 444 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 814 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/__init__.py | 10 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 387 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 424 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 470 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 503 | CODE | |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 179 | CODE | |
| LOW | …v1/FinGPT_v1.0/making_dataset/tokenize_dataset_rows.py | 21 | CODE | |
| LOW | …_v1/FinGPT_v1.0/data_preparations/download_contents.py | 17 | CODE | |
| LOW | …nalysis_v1/FinGPT_v1.0/data_preparations/add_labels.py | 33 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 64 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 183 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 236 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 395 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 481 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 514 | CODE | |
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 593 | CODE | |
| LOW | …multisource_retrieval/scrapers/google/scrape_google.py | 11 | CODE | |
| LOW | …val/scrapers/market_screener/scrape_market_screener.py | 28 | CODE | |
| LOW | …gpt/FinGPT_RAG/instruct-FinGPT/training/utils/utils.py | 113 | CODE | |
| LOW | …gpt/FinGPT_RAG/instruct-FinGPT/training/utils/utils.py | 130 | CODE | |
| LOW | …_RAG/instruct-FinGPT/training/utils/data/data_utils.py | 19 | CODE | |
| LOW | …_RAG/instruct-FinGPT/training/utils/data/data_utils.py | 140 | CODE | |
| LOW | …_RAG/instruct-FinGPT/training/utils/data/data_utils.py | 447 | CODE | |
| LOW | fingpt/FinGPT_RAG/instruct-FinGPT/inference/batchbot.py | 96 | CODE | |
| LOW | …FinGPT_RAG/instruct-FinGPT/inference/batchbot_torch.py | 92 | CODE | |
| LOW | …nGPT_Trading/chatgpt-trading-v2/pyfolio/round_trips.py | 149 | CODE | |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/ner.py | 23 | CODE | |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/benchmarks.py | 27 | CODE | |
| LOW | finogrid/mcp/kya_validator/server.py | 121 | CODE | |
| LOW | finogrid/services/reconciliation/reconciler.py | 32 | CODE | |
| LOW | finogrid/services/agent_ledger_api/routers/topup.py | 17 | CODE | |
| LOW | finogrid/services/agent_ledger_api/routers/kya.py | 18 | CODE | |
| LOW | finogrid/services/agent_ledger_api/routers/kya.py | 95 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 36 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 37 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 39 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 47 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 49 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 50 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 52 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 62 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 63 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 64 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 65 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 67 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 68 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 70 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 71 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 73 | CODE | |
| MEDIUM | fingpt/FinGPT_Benchmark/benchmarks/convfinqa.py | 75 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | SETUP.md | 47 | ### Step 1: Clone the Repository | COMMENT |
| LOW | SETUP.md | 53 | ### Step 2: Create Virtual Environment (Recommended) | COMMENT |
| LOW | SETUP.md | 64 | ### Step 3: Install Dependencies | COMMENT |
| LOW⚡ | SETUP.md | 104 | ### Step 4: Verify Installation | COMMENT |
| LOW⚡ | SETUP.md | 111 | ### Step 1: Create a New Replit | COMMENT |
| LOW⚡ | SETUP.md | 117 | ### Step 2: Import the Repository | COMMENT |
| LOW⚡ | SETUP.md | 127 | ### Step 3: Configure Replit for FinGPT | COMMENT |
| LOW⚡ | SETUP.md | 158 | ### Step 4: Install Dependencies | COMMENT |
| LOW⚡ | SETUP.md | 168 | ### Step 5: Handle GPU on Replit | COMMENT |
| LOW⚡ | SETUP.md | 174 | ### Step 6: Run FinGPT | COMMENT |
| LOW⚡ | Use_Cases.md | 196 | # Step 1: Extract positions from uploaded file | COMMENT |
| LOW⚡ | Use_Cases.md | 199 | # Step 2: Get live rates from OANDA | COMMENT |
| LOW⚡ | Use_Cases.md | 202 | # Step 3: Generate netting schedule | COMMENT |
| LOW⚡ | Use_Cases.md | 205 | # Step 4: Get market context | COMMENT |
| LOW⚡ | Use_Cases.md | 209 | # Step 5: Generate hedging recommendation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | fingpt/FinGPT_ForexIntelligence/test_basic.py | 111 | # Create a sample analysis result | COMMENT |
| MEDIUM | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 604 | df["link"] = "" # Create a new column named "link" | CODE |
| MEDIUM | fingpt/FinGPT_RAG/multisource_retrieval/news_scraper.py | 605 | df["contextualized_sentence"] = "" # Create a new column named "contextualized sentence" | CODE |
| MEDIUM | …source_retrieval/sentence_processing/split_sentence.py | 29 | # Create a list of all 'http' words | COMMENT |
| MEDIUM | …val/utils/sentiment_classification_by_external_LLMs.py | 26 | df["openai_inferred_sentiment_from_RAG"] = "" # Create a new column named "classification" | CODE |
| MEDIUM | …G/multisource_retrieval/utils/classify_news_sources.py | 26 | df["classification"] = "" # Create a new column named "classification" | CODE |
| MEDIUM | fingpt/FinGPT_Benchmark/train_lora.py | 107 | # Create a timestamp for model saving | COMMENT |
| MEDIUM | fingpt/FinGPT_FinancialReportAnalysis/utils/rag.py | 274 | # Create a new DataFrame from the expanded list | COMMENT |
| MEDIUM | fingpt/FinGPT_FinancialReportAnalysis/utils/rag.py | 302 | # Create a DataFrame to store summaries with their corresponding cluster and level | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | SETUP.md | 317 | ### FinGPT-RAG | COMMENT |
| MEDIUM | fingpt/FinGPT_RAG/README.md | 53 | ### A showcase of RAG-instruction-tuned LLM | COMMENT |
| MEDIUM | fingpt/FinGPT_RAG/multisource_retrieval/README.md | 37 | ## Experiment:compare non-RAG vs. RAG sentiment classification using gpt: | COMMENT |
| MEDIUM⚡ | finogrid/requirements.txt | 44 | # ── RAG / Vector store ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | finogrid/README.md | 208 | ├── fingpt_integration/ # Sentiment, Forecaster, RAG adapters | CODE |
| MEDIUM | finogrid/docs/fingpt_usage_policy.md | 38 | ### 3. RAG Pattern (from `FinGPT_RAG/`) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …PT_MultiAgentsRAG/Evaluation_methods/MMLU/eval_mmlu.py | 28 | Parses a string containing "yes" or "no" and returns a boolean value. Args: string (str): The string t | STRING |
| HIGH | fingpt/FinGPT_Benchmark/utils.py | 25 | Generates a prompt based on a predefined template, instruction, and input. Args: template (str): The key t | STRING |
| HIGH | fingpt/FinGPT_Benchmark/utils.py | 49 | Generate a mapping for testing purposes by constructing a prompt based on given instructions and input. Args: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fingpt/FinGPT_RAG/multisource_retrieval/gui/gui.py | 6 | CODE | |
| LOW | …t-FinGPT/training/supervised_finetuning/prompt_eval.py | 103 | CODE | |
| LOW | …t-FinGPT/training/supervised_finetuning/prompt_eval.py | 123 | CODE | |
| LOW | …G/instruct-FinGPT/training/utils/model/reward_model.py | 114 | CODE | |
| LOW | fingpt/FinGPT_RAG/instruct-FinGPT/inference/batchbot.py | 93 | CODE | |
| LOW | …FinGPT_RAG/instruct-FinGPT/inference/batchbot_torch.py | 79 | CODE | |
| LOW | …FinGPT_RAG/instruct-FinGPT/inference/batchbot_torch.py | 89 | CODE | |
| LOW | fingpt/FinGPT_RAG/instruct-FinGPT/inference/chatbot.py | 70 | CODE | |
| LOW | fingpt/FinGPT_Others/shares_news_sentiment_classify.py | 123 | CODE | |
| LOW | …/FinGPT_Trading/chatgpt-trading-v2/pyfolio/plotting.py | 712 | CODE | |
| LOW | …ers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/tears.py | 55 | CODE | |
| LOW | …ers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/tears.py | 231 | CODE | |
| LOW | …ers/FinGPT_Trading/chatgpt-trading-v2/pyfolio/tears.py | 409 | CODE | |
| LOW | …nGPT_Trading/chatgpt-trading-v2/pyfolio/round_trips.py | 146 | CODE | |
| LOW | finogrid/tests/unit/test_routing_engine.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fingpt/FinGPT_ForexIntelligence/analyzers.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/timing_model.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/reporter.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/__init__.py | 56 | __all__ = [ | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/core.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/data_sources.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …t-FinGPT/training/supervised_finetuning/prompt_eval.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/FinGPT_Trading/chatgpt-trading-v2/pyfolio/__init__.py | 17 | __all__ = ['utils', 'timeseries', 'pos', 'txn', | CODE |
| LOW | …FinGPT_Trading/chatgpt-trading-v2/pyfolio/ipycompat.py | 19 | __all__ = ['read'] | CODE |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/__init__.py | 3 | __all__ = [fpb, fiqa, finred, fineval, convfinqa, headline, ner, nwgi, tfns] | CODE |
| LOW | finogrid/database/models/__init__.py | 9 | __all__ = [ | CODE |
| LOW | finogrid/corridors/__init__.py | 31 | __all__ = ["CORRIDOR_REGISTRY", "get_adapter", "CorridorAdapter"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fingpt/FinGPT_ForexIntelligence/trade_generator.py | 184 | # Check if pair is valid | COMMENT |
| LOW | …G/instruct-FinGPT/training/utils/model/reward_model.py | 89 | # Check if there is any padding otherwise take length of sequence | COMMENT |
| LOW | …_RAG/instruct-FinGPT/training/utils/data/data_utils.py | 319 | if sft_train_datasets: # Check if sft_train_datasets is not empty | CODE |
| LOW | …_RAG/instruct-FinGPT/training/utils/data/data_utils.py | 325 | if sft_eval_datasets: # Check if sft_eval_datasets is not empty | CODE |
| LOW | fingpt/FinGPT_Benchmark/utils.py | 115 | # Check if the combined length exceeds the maximum allowed length. | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/utils.py | 186 | # Check if the dataset name includes a replication factor | COMMENT |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/finred.py | 98 | # Print the results | COMMENT |
| LOW | …rvices/agent_ledger_api/middleware/payment_required.py | 112 | # Check if this path requires payment | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | SETUP.md | 233 | os.environ['OPENAI_API_KEY'] = 'your-api-key-here' | CODE |
| HIGH | fingpt/FinGPT_Forecaster/README.md | 123 | export ADANOS_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/FinGPT_Trading/chatgpt-trading-v2/pyfolio/_version.py | 13 | "error": null, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fingpt/FinGPT_Sentiment_Analysis_v3/README.md | 99 | [[4] News With GPT Instruction (NWGI)](https://huggingface.co/datasets/oliverwang15/news_with_gpt_instructions) is a dat | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pt/FinGPT_RAG/multisource_retrieval/proxies/headers.py | 71 | # if there we couldn't find any free proxies, well bummer just return an empty set | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | finogrid/services/partner_execution/executor.py | 29 | async def execute_task(self, task, db) -> bool: | CODE |