FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
This report summarizes scanner evidence for AI4Finance-Foundation/FinGPT, a Jupyter Notebook project with 21,396 GitHub stars. SynthScan examined 44,895 lines of code across 340 source files, recording 993 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 31.4 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 396 finding(s).
Are imports declared and package/API names verified? 282 finding(s).
Are wrappers, guards, and repeated structures necessary? 546 finding(s).
Which changes need focused human review? 993 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 993 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | |
| 218 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 | 67 | except Exception as e: | CODE |
| LOW | fingpt/FinGPT_Forecaster/app.py | 254 | except Exception: | CODE |
| MEDIUM | fingpt/FinGPT_Forecaster/app.py | 61 | def print_gpu_utilization(): | 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 |
| LOW | fingpt/FinGPT_ForexIntelligence/event_system.py | 107 | except Exception as e: | CODE |
| 120 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_transaction_data.py | 37 | def test_transaction_is_normalized(): | CODE |
| LOW | tests/test_transaction_data.py | 45 | def test_transactions_are_aggregated_into_features(): | CODE |
| LOW | tests/test_transaction_data.py | 64 | def test_invalid_transaction_fields_are_rejected(field, value, message): | CODE |
| LOW | tests/test_transaction_data.py | 71 | def test_mixed_symbols_cannot_be_aggregated(): | CODE |
| LOW⚡ | tests/test_quantitative_sentiment.py | 13 | def test_earnings_surprise_uses_absolute_consensus_for_misses(): | CODE |
| LOW⚡ | tests/test_quantitative_sentiment.py | 18 | def test_earnings_impact_classifies_surprise(): | CODE |
| LOW⚡ | tests/test_quantitative_sentiment.py | 24 | def test_invalid_earnings_inputs_are_rejected(): | CODE |
| LOW | tests/test_ashare_factor_benchmark.py | 35 | def test_complete_record_is_valid(self): | CODE |
| LOW | tests/test_ashare_factor_benchmark.py | 42 | def test_invalid_confidence_is_reported(self): | CODE |
| LOW | tests/test_finetune_data_validation.py | 33 | def test_valid_dataset_passes(): | CODE |
| LOW | tests/test_finetune_data_validation.py | 49 | def test_dataset_must_be_large_enough_for_split(dataset, message): | CODE |
| LOW | tests/test_finetune_data_validation.py | 54 | def test_missing_columns_are_reported(): | CODE |
| LOW | tests/test_finetune_data_validation.py | 65 | def test_invalid_sequence_length_is_reported(): | CODE |
| LOW⚡ | tests/test_market_symbols.py | 11 | def test_us_symbol_is_unchanged(): | CODE |
| LOW⚡ | tests/test_market_symbols.py | 15 | def test_india_nse_symbol_is_resolved_for_each_provider(): | CODE |
| LOW⚡ | tests/test_market_symbols.py | 23 | def test_india_bse_accepts_provider_and_yfinance_formats(): | CODE |
| LOW⚡ | tests/test_market_symbols.py | 28 | def test_invalid_market_and_empty_symbol_are_rejected(): | CODE |
| 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 |
| 156 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
| LOW | fingpt/FinGPT_Benchmark/benchmarks/evaluate.sh | 301 | COMMENT | |
| 7 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 | 19 | CODE | |
| LOW | …nalysis_v1/FinGPT_v1.0/data_preparations/add_labels.py | 74 | 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/ashare_factor.py | 16 | 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 | 127 | ### Step 4: Verify Installation | COMMENT |
| LOW⚡ | SETUP.md | 134 | ### Step 1: Create a New Replit | COMMENT |
| LOW⚡ | SETUP.md | 140 | ### Step 2: Import the Repository | COMMENT |
| LOW⚡ | SETUP.md | 150 | ### Step 3: Configure Replit for FinGPT | COMMENT |
| LOW⚡ | SETUP.md | 181 | ### Step 4: Install Dependencies | COMMENT |
| LOW⚡ | SETUP.md | 191 | ### Step 5: Handle GPU on Replit | COMMENT |
| LOW⚡ | SETUP.md | 197 | ### 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 |
|---|---|---|---|---|
| HIGH | tests/test_quantitative_sentiment.py | 28 | except ValueError: | CODE |
| HIGH | tests/test_market_symbols.py | 32 | except ValueError: | CODE |
| HIGH | …instruct-FinGPT/training/supervised_finetuning/main.py | 299 | except: | CODE |
| HIGH | …nogrid/services/ops_console/routers/ledger_explorer.py | 41 | except ValueError: | CODE |
| HIGH | …nogrid/services/ops_console/routers/ledger_explorer.py | 51 | except ValueError: | CODE |
| HIGH | …nogrid/services/ops_console/routers/ledger_explorer.py | 58 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | SETUP.md | 382 | ### FinGPT-RAG | COMMENT |
| MEDIUM | FAQ.md | 87 | ## FinGPT-RAG Questions | COMMENT |
| MEDIUM | FAQ.md | 89 | ### Will you open source the fine-tuned FinGPT with RAG that can be used directly? | COMMENT |
| MEDIUM | FAQ.md | 104 | ### Can I use only RAG method to enhance LLM's ability without fine-tuning? | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | 298 | os.environ['OPENAI_API_KEY'] = 'your-api-key-here' | CODE |
| HIGH | fingpt/FinGPT_Forecaster/README.md | 149 | export ADANOS_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …nalysis_v1/FinGPT_v1.0/data_preparations/add_labels.py | 47 | "For FinRL-Meta: git clone git@github.com:AI4Finance-Foundation/FinRL-Meta.git && cd FinRL-Meta && python se | CODE |
| 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 | 121 | [[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 |