Running all checks... Check Results ┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Check ┃ Status ┃ Duration ┃ Details ┃ ┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ syntax │ PASS │ 1.47s │ │ │ lint │ FAIL │ 5.47s │ core/advisory/robo_advisor.py:8:121: E501 │ │ │ │ │ line too... │ │ security │ FAIL │ 8.46s │ Working... │ │ │ │ │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━... │ │ types │ FAIL │ 5.49s │ Found 340 errors in 123 files (checked 457 │ │ │ │ │ source ... │ │ tests │ FAIL │ 21.56s │ ...F.......FFFFFFF...FF....FFFFFFFFFFFFFFFF.… │ └──────────┴────────┴──────────┴───────────────────────────────────────────────┘ ==================== lint FAILED ==================== STDOUT: core/advisory/robo_advisor.py:8:121: E501 line too long (121 > 120 characters) core/advisory/robo_advisor.py:18:1: F401 'typing.List' imported but unused core/advisory/robo_advisor.py:18:1: F401 'typing.Tuple' imported but unused core/advisory/robo_advisor.py:22:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor.py:27:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor.py:31:29: E261 at least two spaces before inline comment core/advisory/robo_advisor.py:32:30: E261 at least two spaces before inline comment core/advisory/robo_advisor.py:34:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor.py:47:58: E261 at least two spaces before inline comment core/advisory/robo_advisor.py:71:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor.py:118:86: E261 at least two spaces before inline comment core/advisory/robo_advisor.py:137:1: E305 expected 2 blank lines after class or function definition, found 1 core/advisory/robo_advisor_v2.py:20:1: F401 'typing.List' imported but unused core/advisory/robo_advisor_v2.py:20:1: F401 'typing.Optional' imported but unused core/advisory/robo_advisor_v2.py:24:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor_v2.py:28:40: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:30:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor_v2.py:37:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor_v2.py:41:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:48:19: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:49:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:52:22: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:53:24: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:54:23: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:55:23: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:56:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:59:30: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:60:33: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:61:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:64:36: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:65:37: E701 multiple statements on one line (colon) core/advisory/robo_advisor_v2.py:66:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:76:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:80:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:83:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:86:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor_v2.py:95:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:100:18: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:101:121: E501 line too long (139 > 120 characters) core/advisory/robo_advisor_v2.py:106:121: E501 line too long (164 > 120 characters) core/advisory/robo_advisor_v2.py:115:18: E114 indentation is not a multiple of 4 (comment) core/advisory/robo_advisor_v2.py:115:18: E117 over-indented (comment) core/advisory/robo_advisor_v2.py:115:71: W291 trailing whitespace core/advisory/robo_advisor_v2.py:116:18: E114 indentation is not a multiple of 4 (comment) core/advisory/robo_advisor_v2.py:116:18: E117 over-indented (comment) core/advisory/robo_advisor_v2.py:116:70: W291 trailing whitespace core/advisory/robo_advisor_v2.py:117:18: E114 indentation is not a multiple of 4 (comment) core/advisory/robo_advisor_v2.py:117:18: E117 over-indented (comment) core/advisory/robo_advisor_v2.py:118:18: E111 indentation is not a multiple of 4 core/advisory/robo_advisor_v2.py:118:18: E117 over-indented core/advisory/robo_advisor_v2.py:120:18: E111 indentation is not a multiple of 4 core/advisory/robo_advisor_v2.py:120:18: E117 over-indented core/advisory/robo_advisor_v2.py:122:18: E111 indentation is not a multiple of 4 core/advisory/robo_advisor_v2.py:122:18: E117 over-indented core/advisory/robo_advisor_v2.py:127:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:129:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:137:121: E501 line too long (121 > 120 characters) core/advisory/robo_advisor_v2.py:139:14: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:155:1: E305 expected 2 blank lines after class or function definition, found 1 core/advisory/robo_advisor_v2.py:157:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:163:42: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:165:1: W293 blank line contains whitespace core/advisory/robo_advisor_v2.py:169:34: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:170:34: W291 trailing whitespace core/advisory/robo_advisor_v2.py:172:40: E261 at least two spaces before inline comment core/advisory/robo_advisor_v2.py:177:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:8:1: F401 'typing.Union' imported but unused core/advisory/robo_advisor_v3.py:10:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor_v3.py:62:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:66:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:74:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:80:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:86:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:89:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:98:1: E302 expected 2 blank lines, found 1 core/advisory/robo_advisor_v3.py:106:50: E261 at least two spaces before inline comment core/advisory/robo_advisor_v3.py:135:1: E305 expected 2 blank lines after class or function definition, found 1 core/advisory/robo_advisor_v3.py:138:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:145:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:152:1: W293 blank line contains whitespace core/advisory/robo_advisor_v3.py:156:1: W293 blank line contains whitespace core/agents/agent_base.py:7:1: F401 'warnings' imported but unused core/agents/agent_base.py:11:1: F401 'core.schemas.hnasp.PersonaDynamics' imported but unused core/agents/agent_base.py:11:121: E501 line too long (162 > 120 characters) core/agents/agent_base.py:39:121: E501 line too long (127 > 120 characters) core/agents/agent_base.py:47:29: E261 at least two spaces before inline comment core/agents/agent_base.py:59:121: E501 line too long (121 > 120 characters) core/agents/agent_base.py:71:62: E261 at least two spaces before inline comment core/agents/agent_base.py:103:39: E261 at least two spaces before inline comment core/agents/agent_base.py:110:5: E303 too many blank lines (2) core/agents/agent_base.py:143:58: E261 at least two spaces before inline comment core/agents/agent_base.py:178:1: W293 blank line contains whitespace core/agents/agent_base.py:214:121: E501 line too long (128 > 120 characters) core/agents/agent_base.py:228:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:228:18: E117 over-indented core/agents/agent_base.py:229:18: E114 indentation is not a multiple of 4 (comment) core/agents/agent_base.py:230:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:231:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:262:45: E261 at least two spaces before inline comment core/agents/agent_base.py:297:121: E501 line too long (121 > 120 characters) core/agents/agent_base.py:302:121: E501 line too long (127 > 120 characters) core/agents/agent_base.py:335:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:335:18: E117 over-indented core/agents/agent_base.py:336:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:339:5: E303 too many blank lines (2) core/agents/agent_base.py:359:5: E303 too many blank lines (2) core/agents/agent_base.py:359:121: E501 line too long (126 > 120 characters) core/agents/agent_base.py:377:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:377:18: E117 over-indented core/agents/agent_base.py:378:18: E111 indentation is not a multiple of 4 core/agents/agent_base.py:379:18: E111 indentation is not a multiple of 4 core/agents/agent_forge.py:3:1: F401 'os' imported but unused core/agents/agent_forge.py:6:1: F401 'importlib' imported but unused core/agents/agent_forge.py:7:1: F401 'yaml' imported but unused core/agents/agent_forge.py:184:32: F821 undefined name 'json' core/agents/agent_forge.py:185:33: F821 undefined name 'json' core/agents/algo_trading_agent.py:1:1: E265 block comment should start with '# ' core/agents/algo_trading_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/alternative_data_agent.py:4:1: F401 'nltk' imported but unused core/agents/alternative_data_agent.py:8:1: F401 'yfinance as yf' imported but unused core/agents/alternative_data_agent.py:18:1: E302 expected 2 blank lines, found 1 core/agents/anomaly_detection_agent.py:1:1: E265 block comment should start with '# ' core/agents/anomaly_detection_agent.py:22:1: E302 expected 2 blank lines, found 1 core/agents/anomaly_detection_agent.py:65:121: E501 line too long (333 > 120 characters) core/agents/anomaly_detection_agent.py:66:121: E501 line too long (396 > 120 characters) core/agents/anomaly_detection_agent.py:89:21: F841 local variable 'company_node' is assigned to but never used core/agents/anomaly_detection_agent.py:111:54: E261 at least two spaces before inline comment core/agents/anomaly_detection_agent.py:120:79: E261 at least two spaces before inline comment core/agents/anomaly_detection_agent.py:145:121: E501 line too long (126 > 120 characters) core/agents/anomaly_detection_agent.py:146:121: E501 line too long (124 > 120 characters) core/agents/anomaly_detection_agent.py:147:121: E501 line too long (121 > 120 characters) core/agents/anomaly_detection_agent.py:255:1: W293 blank line contains whitespace core/agents/anomaly_detection_agent.py:261:35: E261 at least two spaces before inline comment core/agents/anomaly_detection_agent.py:271:1: W293 blank line contains whitespace core/agents/anomaly_detection_agent.py:274:1: W293 blank line contains whitespace core/agents/anomaly_detection_agent.py:313:121: E501 line too long (142 > 120 characters) core/agents/anomaly_detection_agent.py:314:121: E501 line too long (134 > 120 characters) core/agents/anomaly_detection_agent.py:320:14: E111 indentation is not a multiple of 4 core/agents/anomaly_detection_agent.py:320:14: E117 over-indented core/agents/anomaly_detection_agent.py:362:121: E501 line too long (122 > 120 characters) core/agents/anomaly_detection_agent.py:388:121: E501 line too long (194 > 120 characters) core/agents/anomaly_detection_agent.py:400:121: E501 line too long (194 > 120 characters) core/agents/anomaly_detection_agent.py:412:121: E501 line too long (201 > 120 characters) core/agents/anomaly_detection_agent.py:423:121: E501 line too long (133 > 120 characters) core/agents/anomaly_detection_agent.py:428:9: E303 too many blank lines (2) core/agents/anomaly_detection_agent.py:456:42: E261 at least two spaces before inline comment core/agents/anomaly_detection_agent.py:479:9: F841 local variable 'market_anomalies' is assigned to but never used core/agents/anomaly_detection_agent.py:480:9: F841 local variable 'company_anomalies' is assigned to but never used core/agents/anomaly_detection_agent.py:488:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/architect_agent/agent.py:4:1: E302 expected 2 blank lines, found 1 core/agents/architect_agent/agent.py:35:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/archive_manager_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/archive_manager_agent.py:67:9: E265 block comment should start with '# ' core/agents/archive_manager_agent.py:75:9: E265 block comment should start with '# ' core/agents/archive_manager_agent.py:90:9: E265 block comment should start with '# ' core/agents/archive_manager_agent.py:94:9: E265 block comment should start with '# ' core/agents/archive_manager_agent.py:95:9: E265 block comment should start with '# ' core/agents/archive_manager_agent.py:96:9: E265 block comment should start with '# ' core/agents/behavioral_economics_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/behavioral_economics_agent.py:18:121: E501 line too long (121 > 120 characters) core/agents/behavioral_economics_agent.py:49:121: E501 line too long (163 > 120 characters) core/agents/catalyst_agent.py:5:1: F401 'datetime.datetime' imported but unused core/agents/catalyst_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/catalyst_agent.py:112:121: E501 line too long (137 > 120 characters) core/agents/catalyst_agent.py:148:121: E501 line too long (135 > 120 characters) core/agents/catalyst_agent.py:154:121: E501 line too long (127 > 120 characters) core/agents/catalyst_agent.py:181:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/catalyst_agent.py:188:2: W291 trailing whitespace core/agents/catalyst_agent.py:208:121: E501 line too long (257 > 120 characters) core/agents/catalyst_agent.py:209:121: E501 line too long (208 > 120 characters) core/agents/catalyst_agent.py:211:121: E501 line too long (182 > 120 characters) core/agents/catalyst_agent.py:212:121: E501 line too long (146 > 120 characters) core/agents/catalyst_agent.py:213:121: E501 line too long (174 > 120 characters) core/agents/catalyst_agent.py:214:121: E501 line too long (130 > 120 characters) core/agents/catalyst_agent.py:215:121: E501 line too long (159 > 120 characters) core/agents/catalyst_agent.py:225:121: E501 line too long (128 > 120 characters) core/agents/code_alchemist.py:251:121: E501 line too long (232 > 120 characters) core/agents/code_alchemist.py:261:121: E501 line too long (209 > 120 characters) core/agents/code_alchemist.py:271:121: E501 line too long (136 > 120 characters) core/agents/code_alchemist.py:304:121: E501 line too long (158 > 120 characters) core/agents/code_alchemist.py:359:10: E111 indentation is not a multiple of 4 core/agents/code_alchemist.py:359:10: E117 over-indented core/agents/code_alchemist.py:360:17: E117 over-indented core/agents/crypto_agent.py:5:1: F401 'requests' imported but unused core/agents/crypto_agent.py:19:1: F401 'time' imported but unused core/agents/crypto_agent.py:20:1: F401 'os' imported but unused core/agents/crypto_agent.py:26:1: E302 expected 2 blank lines, found 1 core/agents/crypto_agent.py:27:121: E501 line too long (198 > 120 characters) core/agents/crypto_agent.py:54:1: W293 blank line contains whitespace core/agents/crypto_agent.py:58:1: W293 blank line contains whitespace core/agents/crypto_agent.py:308:13: F821 undefined name 'logging' core/agents/crypto_agent.py:383:1: W293 blank line contains whitespace core/agents/crypto_agent.py:386:1: W391 blank line at end of file core/agents/cyclical_reasoning_agent.py:2:1: F401 'json' imported but unused core/agents/cyclical_reasoning_agent.py:11:1: E302 expected 2 blank lines, found 1 core/agents/cyclical_reasoning_agent.py:33:59: E261 at least two spaces before inline comment core/agents/cyclical_reasoning_agent.py:49:9: E303 too many blank lines (2) core/agents/cyclical_reasoning_agent.py:55:80: E261 at least two spaces before inline comment core/agents/cyclical_reasoning_agent.py:58:51: E261 at least two spaces before inline comment core/agents/data_retrieval_agent.py:6:1: F401 'typing.Union' imported but unused core/agents/data_retrieval_agent.py:6:1: F401 'typing.List' imported but unused core/agents/data_retrieval_agent.py:11:1: F401 'core.system.error_handler.DataNotFoundError' imported but unused core/agents/data_retrieval_agent.py:11:71: W291 trailing whitespace core/agents/data_retrieval_agent.py:12:1: F401 'semantic_kernel.Kernel' imported but unused core/agents/data_retrieval_agent.py:18:1: E302 expected 2 blank lines, found 1 core/agents/data_retrieval_agent.py:27:121: E501 line too long (137 > 120 characters) core/agents/data_retrieval_agent.py:32:1: W293 blank line contains whitespace core/agents/data_retrieval_agent.py:49:34: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:55:29: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:59:29: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:63:34: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:67:34: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:71:34: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:107:40: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:110:36: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:144:121: E501 line too long (135 > 120 characters) core/agents/data_retrieval_agent.py:145:121: E501 line too long (123 > 120 characters) core/agents/data_retrieval_agent.py:185:18: E111 indentation is not a multiple of 4 core/agents/data_retrieval_agent.py:185:18: E117 over-indented core/agents/data_retrieval_agent.py:185:121: E501 line too long (136 > 120 characters) core/agents/data_retrieval_agent.py:215:53: W291 trailing whitespace core/agents/data_retrieval_agent.py:218:45: W291 trailing whitespace core/agents/data_retrieval_agent.py:219:42: W291 trailing whitespace core/agents/data_retrieval_agent.py:221:121: E501 line too long (132 > 120 characters) core/agents/data_retrieval_agent.py:225:39: W291 trailing whitespace core/agents/data_retrieval_agent.py:226:121: E501 line too long (134 > 120 characters) core/agents/data_retrieval_agent.py:229:121: E501 line too long (140 > 120 characters) core/agents/data_retrieval_agent.py:233:45: W291 trailing whitespace core/agents/data_retrieval_agent.py:234:121: E501 line too long (149 > 120 characters) core/agents/data_retrieval_agent.py:236:121: E501 line too long (142 > 120 characters) core/agents/data_retrieval_agent.py:239:58: W291 trailing whitespace core/agents/data_retrieval_agent.py:241:36: W291 trailing whitespace core/agents/data_retrieval_agent.py:243:79: W291 trailing whitespace core/agents/data_retrieval_agent.py:248:58: W291 trailing whitespace core/agents/data_retrieval_agent.py:249:52: W291 trailing whitespace core/agents/data_retrieval_agent.py:250:47: W291 trailing whitespace core/agents/data_retrieval_agent.py:252:65: W291 trailing whitespace core/agents/data_retrieval_agent.py:254:37: W291 trailing whitespace core/agents/data_retrieval_agent.py:255:77: W291 trailing whitespace core/agents/data_retrieval_agent.py:258:46: W291 trailing whitespace core/agents/data_retrieval_agent.py:266:43: W291 trailing whitespace core/agents/data_retrieval_agent.py:272:43: W291 trailing whitespace core/agents/data_retrieval_agent.py:278:46: E231 missing whitespace after ':' core/agents/data_retrieval_agent.py:278:48: W291 trailing whitespace core/agents/data_retrieval_agent.py:280:53: W291 trailing whitespace core/agents/data_retrieval_agent.py:283:121: E501 line too long (131 > 120 characters) core/agents/data_retrieval_agent.py:284:121: E501 line too long (131 > 120 characters) core/agents/data_retrieval_agent.py:317:18: E111 indentation is not a multiple of 4 core/agents/data_retrieval_agent.py:317:18: E117 over-indented core/agents/data_retrieval_agent.py:369:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/data_retrieval_agent.py:410:72: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:410:121: E501 line too long (128 > 120 characters) core/agents/data_retrieval_agent.py:411:75: E701 multiple statements on one line (colon) core/agents/data_retrieval_agent.py:411:121: E501 line too long (134 > 120 characters) core/agents/data_retrieval_agent.py:412:61: E701 multiple statements on one line (colon) core/agents/data_verification_agent.py:6:1: E302 expected 2 blank lines, found 1 core/agents/data_verification_agent.py:31:17: E265 block comment should start with '# ' core/agents/data_verification_agent.py:50:13: E265 block comment should start with '# ' core/agents/data_verification_agent.py:54:9: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:1:1: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:3:1: F401 'matplotlib.pyplot as plt' imported but unused core/agents/data_visualization_agent.py:4:1: F401 'seaborn as sns' imported but unused core/agents/data_visualization_agent.py:5:1: F401 'plotly.express as px' imported but unused core/agents/data_visualization_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/data_visualization_agent.py:11:9: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:19:13: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:23:13: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:25:9: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:33:13: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:37:13: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:39:9: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:47:13: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:51:13: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:53:9: E265 block comment should start with '# ' core/agents/data_visualization_agent.py:72:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/data_visualization_agent.py:86:5: E265 block comment should start with '# ' core/agents/developer_swarm/coder_agent.py:1:1: E265 block comment should start with '# ' core/agents/developer_swarm/coder_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/developer_swarm/coder_agent.py:43:9: F841 local variable 'prompt' is assigned to but never used core/agents/developer_swarm/coder_agent.py:45:1: W293 blank line contains whitespace core/agents/developer_swarm/coder_agent.py:48:1: W293 blank line contains whitespace core/agents/developer_swarm/coder_agent.py:59:121: E501 line too long (126 > 120 characters) core/agents/developer_swarm/coder_agent.py:68:1: W293 blank line contains whitespace core/agents/developer_swarm/documentation_agent.py:1:1: E265 block comment should start with '# ' core/agents/developer_swarm/documentation_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/developer_swarm/documentation_agent.py:29:1: W293 blank line contains whitespace core/agents/developer_swarm/documentation_agent.py:34:9: F841 local variable 'prompt' is assigned to but never used core/agents/developer_swarm/documentation_agent.py:48:121: E501 line too long (127 > 120 characters) core/agents/developer_swarm/documentation_agent.py:79:121: E501 line too long (125 > 120 characters) core/agents/developer_swarm/integration_agent.py:1:1: E265 block comment should start with '# ' core/agents/developer_swarm/integration_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/developer_swarm/integration_agent.py:31:1: W293 blank line contains whitespace core/agents/developer_swarm/integration_agent.py:34:1: W293 blank line contains whitespace core/agents/developer_swarm/integration_agent.py:37:1: W293 blank line contains whitespace core/agents/developer_swarm/integration_agent.py:42:121: E501 line too long (130 > 120 characters) core/agents/developer_swarm/integration_agent.py:44:1: W293 blank line contains whitespace core/agents/developer_swarm/integration_agent.py:50:1: W293 blank line contains whitespace core/agents/developer_swarm/planner_agent.py:1:1: E265 block comment should start with '# ' core/agents/developer_swarm/planner_agent.py:7:1: F401 'typing.Optional' imported but unused core/agents/developer_swarm/planner_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/developer_swarm/reviewer_agent.py:1:1: E265 block comment should start with '# ' core/agents/developer_swarm/reviewer_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/developer_swarm/reviewer_agent.py:32:58: E261 at least two spaces before inline comment core/agents/developer_swarm/reviewer_agent.py:35:9: F841 local variable 'prompt' is assigned to but never used core/agents/developer_swarm/reviewer_agent.py:50:121: E501 line too long (124 > 120 characters) core/agents/developer_swarm/reviewer_agent.py:51:121: E501 line too long (150 > 120 characters) core/agents/developer_swarm/reviewer_agent.py:75:121: E501 line too long (123 > 120 characters) core/agents/developer_swarm/test_agent.py:1:1: E265 block comment should start with '# ' core/agents/developer_swarm/test_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/developer_swarm/test_agent.py:34:9: F841 local variable 'prompt' is assigned to but never used core/agents/developer_swarm/test_agent.py:39:1: W293 blank line contains whitespace core/agents/developer_swarm/test_agent.py:49:121: E501 line too long (131 > 120 characters) core/agents/developer_swarm/test_agent.py:50:9: F841 local variable 'generated_test_code' is assigned to but never used core/agents/developer_swarm/test_agent.py:61:1: W293 blank line contains whitespace core/agents/developer_swarm/test_agent.py:66:1: W293 blank line contains whitespace core/agents/developer_swarm/test_agent.py:85:121: E501 line too long (135 > 120 characters) core/agents/discussion_chair_agent.py:5:1: E302 expected 2 blank lines, found 1 core/agents/discussion_chair_agent.py:72:9: F841 local variable 'company_name' is assigned to but never used core/agents/discussion_chair_agent.py:73:9: F841 local variable 'financial_data' is assigned to but never used core/agents/discussion_chair_agent.py:74:9: F841 local variable 'pd_to_regulatory_rating_mapping' is assigned to but never used core/agents/discussion_chair_agent.py:75:9: F841 local variable 'credit_metrics' is assigned to but never used core/agents/discussion_chair_agent.py:76:9: F841 local variable 'dcf_forecast' is assigned to but never used core/agents/discussion_chair_agent.py:77:9: F841 local variable 'industry_analysis' is assigned to but never used core/agents/discussion_chair_agent.py:78:9: F841 local variable 'company_narrative' is assigned to but never used core/agents/discussion_chair_agent.py:79:9: F841 local variable 'initial_pd_ratings' is assigned to but never used core/agents/discussion_chair_agent.py:104:121: E501 line too long (227 > 120 characters) core/agents/discussion_chair_agent.py:108:121: E501 line too long (211 > 120 characters) core/agents/discussion_chair_agent.py:171:1: E303 too many blank lines (4) core/agents/discussion_chair_agent.py:171:1: E265 block comment should start with '# ' core/agents/discussion_chair_agent.py:173:1: F811 redefinition of unused 'json' from line 3 core/agents/discussion_chair_agent.py:173:1: E305 expected 2 blank lines after class or function definition, found 4 core/agents/discussion_chair_agent.py:173:1: E402 module level import not at top of file core/agents/discussion_chair_agent.py:174:1: E402 module level import not at top of file core/agents/discussion_chair_agent.py:176:1: F811 redefinition of unused 'DiscussionChairAgent' from line 5 core/agents/discussion_chair_agent.py:176:1: E302 expected 2 blank lines, found 1 core/agents/discussion_chair_agent.py:218:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:234:121: E501 line too long (125 > 120 characters) core/agents/discussion_chair_agent.py:240:9: F841 local variable 'financial_data' is assigned to but never used core/agents/discussion_chair_agent.py:241:9: F841 local variable 'pd_to_regulatory_rating_mapping' is assigned to but never used core/agents/discussion_chair_agent.py:242:9: F841 local variable 'credit_metrics' is assigned to but never used core/agents/discussion_chair_agent.py:243:9: F841 local variable 'dcf_forecast' is assigned to but never used core/agents/discussion_chair_agent.py:244:9: F841 local variable 'industry_analysis' is assigned to but never used core/agents/discussion_chair_agent.py:245:9: F841 local variable 'company_narrative' is assigned to but never used core/agents/discussion_chair_agent.py:246:9: F841 local variable 'initial_pd_ratings' is assigned to but never used core/agents/discussion_chair_agent.py:289:17: F541 f-string is missing placeholders core/agents/discussion_chair_agent.py:294:17: F541 f-string is missing placeholders core/agents/discussion_chair_agent.py:322:1: E303 too many blank lines (3) core/agents/discussion_chair_agent.py:322:1: E265 block comment should start with '# ' core/agents/discussion_chair_agent.py:324:1: F811 redefinition of unused 'json' from line 173 core/agents/discussion_chair_agent.py:324:1: E305 expected 2 blank lines after class or function definition, found 3 core/agents/discussion_chair_agent.py:324:1: E402 module level import not at top of file core/agents/discussion_chair_agent.py:326:1: F811 redefinition of unused 'DiscussionChairAgent' from line 176 core/agents/discussion_chair_agent.py:326:1: E302 expected 2 blank lines, found 1 core/agents/discussion_chair_agent.py:392:9: F841 local variable 'company_name' is assigned to but never used core/agents/discussion_chair_agent.py:396:9: F841 local variable 'dcf_forecast' is assigned to but never used core/agents/discussion_chair_agent.py:398:9: F841 local variable 'company_narrative' is assigned to but never used core/agents/discussion_chair_agent.py:400:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:403:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:406:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:409:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:412:121: E501 line too long (128 > 120 characters) core/agents/discussion_chair_agent.py:417:121: E501 line too long (211 > 120 characters) core/agents/discussion_chair_agent.py:439:9: F841 local variable 'all_data' is assigned to but never used core/agents/discussion_chair_agent.py:447:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:450:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:453:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:455:121: E501 line too long (137 > 120 characters) core/agents/discussion_chair_agent.py:456:121: E501 line too long (126 > 120 characters) core/agents/discussion_chair_agent.py:475:1: W293 blank line contains whitespace core/agents/discussion_chair_agent.py:513:1: W391 blank line at end of file core/agents/echo_agent.py:9:1: E302 expected 2 blank lines, found 1 core/agents/echo_agent.py:157:1: W391 blank line at end of file core/agents/event_driven_risk_agent.py:11:1: E302 expected 2 blank lines, found 1 core/agents/event_driven_risk_agent.py:19:43: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:19:44: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:41:33: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:41:34: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:55:48: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:62:26: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:62:27: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:65:26: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:65:27: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:82:64: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:82:65: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:109:121: E501 line too long (121 > 120 characters) core/agents/event_driven_risk_agent.py:120:50: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:120:51: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:122:57: E231 missing whitespace after ':' core/agents/event_driven_risk_agent.py:137:23: E261 at least two spaces before inline comment core/agents/event_driven_risk_agent.py:137:24: E262 inline comment should start with '# ' core/agents/event_driven_risk_agent.py:138:11: E111 indentation is not a multiple of 4 core/agents/event_driven_risk_agent.py:145:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/event_driven_risk_agent.py:147:121: E501 line too long (138 > 120 characters) core/agents/financial_modeling_agent.py:1:1: E265 block comment should start with '# ' core/agents/financial_modeling_agent.py:6:1: F401 'scipy.stats' imported but unused core/agents/financial_modeling_agent.py:9:1: F401 'openpyxl' imported but unused core/agents/financial_modeling_agent.py:14:1: E302 expected 2 blank lines, found 1 core/agents/financial_modeling_agent.py:17:121: E501 line too long (124 > 120 characters) core/agents/financial_modeling_agent.py:20:121: E501 line too long (145 > 120 characters) core/agents/financial_modeling_agent.py:51:121: E501 line too long (147 > 120 characters) core/agents/financial_modeling_agent.py:116:121: E501 line too long (132 > 120 characters) core/agents/financial_modeling_agent.py:142:121: E501 line too long (126 > 120 characters) core/agents/financial_modeling_agent.py:213:121: E501 line too long (159 > 120 characters) core/agents/financial_modeling_agent.py:269:121: E501 line too long (158 > 120 characters) core/agents/financial_modeling_agent.py:277:121: E501 line too long (140 > 120 characters) core/agents/financial_modeling_agent.py:283:121: E501 line too long (126 > 120 characters) core/agents/financial_modeling_agent.py:286:121: E501 line too long (131 > 120 characters) core/agents/financial_modeling_agent.py:287:121: E501 line too long (124 > 120 characters) core/agents/financial_modeling_agent.py:291:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/financial_modeling_agent.py:293:121: E501 line too long (136 > 120 characters) core/agents/financial_modeling_agent.py:359:121: E501 line too long (154 > 120 characters) core/agents/financial_modeling_agent.py:381:5: E303 too many blank lines (2) core/agents/financial_modeling_agent.py:389:121: E501 line too long (140 > 120 characters) core/agents/financial_modeling_agent.py:393:121: E501 line too long (126 > 120 characters) core/agents/financial_modeling_agent.py:395:66: E261 at least two spaces before inline comment core/agents/financial_modeling_agent.py:395:67: E262 inline comment should start with '# ' core/agents/financial_modeling_agent.py:397:45: E261 at least two spaces before inline comment core/agents/financial_modeling_agent.py:397:46: E262 inline comment should start with '# ' core/agents/financial_modeling_agent.py:399:73: E261 at least two spaces before inline comment core/agents/financial_modeling_agent.py:399:74: E262 inline comment should start with '# ' core/agents/financial_modeling_agent.py:402:121: E501 line too long (131 > 120 characters) core/agents/financial_modeling_agent.py:403:121: E501 line too long (158 > 120 characters) core/agents/financial_modeling_agent.py:413:37: E231 missing whitespace after ',' core/agents/financial_modeling_agent.py:413:41: E231 missing whitespace after ',' core/agents/financial_modeling_agent.py:413:45: E231 missing whitespace after ',' core/agents/financial_modeling_agent.py:413:50: E231 missing whitespace after ',' core/agents/fundamental_analyst_agent.py:3:1: F401 'csv' imported but unused core/agents/fundamental_analyst_agent.py:4:1: F401 'os' imported but unused core/agents/fundamental_analyst_agent.py:8:1: F401 'pandas as pd' imported but unused core/agents/fundamental_analyst_agent.py:9:1: F401 'numpy as np' imported but unused core/agents/fundamental_analyst_agent.py:10:1: F401 'scipy.stats' imported but unused core/agents/fundamental_analyst_agent.py:14:35: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:15:15: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:16:1: F401 'yaml' imported but unused core/agents/fundamental_analyst_agent.py:16:12: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:21:32: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:28:1: E302 expected 2 blank lines, found 1 core/agents/fundamental_analyst_agent.py:33:121: E501 line too long (151 > 120 characters) core/agents/fundamental_analyst_agent.py:54:1: E302 expected 2 blank lines, found 1 core/agents/fundamental_analyst_agent.py:72:5: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:83:14: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:83:14: E117 over-indented core/agents/fundamental_analyst_agent.py:83:121: E501 line too long (154 > 120 characters) core/agents/fundamental_analyst_agent.py:87:14: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:87:14: E117 over-indented core/agents/fundamental_analyst_agent.py:88:14: E114 indentation is not a multiple of 4 (comment) core/agents/fundamental_analyst_agent.py:89:14: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:90:14: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:91:18: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:91:121: E501 line too long (209 > 120 characters) core/agents/fundamental_analyst_agent.py:91:142: E231 missing whitespace after ',' core/agents/fundamental_analyst_agent.py:92:18: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:97:72: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:101:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:105:13: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:107:75: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:111:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:113:28: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:114:34: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:115:38: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:116:33: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:157:29: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:158:36: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:218:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:223:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:228:121: E501 line too long (125 > 120 characters) core/agents/fundamental_analyst_agent.py:229:121: E501 line too long (131 > 120 characters) core/agents/fundamental_analyst_agent.py:235:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:239:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:240:121: E501 line too long (195 > 120 characters) core/agents/fundamental_analyst_agent.py:243:13: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:243:121: E501 line too long (131 > 120 characters) core/agents/fundamental_analyst_agent.py:243:121: E225 missing whitespace around operator core/agents/fundamental_analyst_agent.py:247:102: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:247:121: E501 line too long (128 > 120 characters) core/agents/fundamental_analyst_agent.py:249:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:253:22: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:254:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:259:5: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:270:62: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:271:57: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:272:58: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:273:61: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:273:71: E225 missing whitespace around operator core/agents/fundamental_analyst_agent.py:274:116: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:274:121: E501 line too long (151 > 120 characters) core/agents/fundamental_analyst_agent.py:274:126: E225 missing whitespace around operator core/agents/fundamental_analyst_agent.py:274:127: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:279:22: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:280:24: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:281:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:286:5: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:287:39: E128 continuation line under-indented for visual indent core/agents/fundamental_analyst_agent.py:288:39: E128 continuation line under-indented for visual indent core/agents/fundamental_analyst_agent.py:289:39: E128 continuation line under-indented for visual indent core/agents/fundamental_analyst_agent.py:296:59: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:301:121: E501 line too long (122 > 120 characters) core/agents/fundamental_analyst_agent.py:306:121: E501 line too long (132 > 120 characters) core/agents/fundamental_analyst_agent.py:307:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:309:54: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:319:78: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:323:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:324:121: E501 line too long (154 > 120 characters) core/agents/fundamental_analyst_agent.py:326:121: E501 line too long (123 > 120 characters) core/agents/fundamental_analyst_agent.py:330:40: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:331:121: E501 line too long (154 > 120 characters) core/agents/fundamental_analyst_agent.py:332:36: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:333:121: E501 line too long (160 > 120 characters) core/agents/fundamental_analyst_agent.py:335:121: E501 line too long (143 > 120 characters) core/agents/fundamental_analyst_agent.py:336:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:354:41: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:358:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:361:14: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:361:14: E117 over-indented core/agents/fundamental_analyst_agent.py:363:14: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:363:14: E117 over-indented core/agents/fundamental_analyst_agent.py:363:25: F541 f-string is missing placeholders core/agents/fundamental_analyst_agent.py:365:109: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:366:31: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:374:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:384:5: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:389:5: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:394:5: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:403:121: E501 line too long (128 > 120 characters) core/agents/fundamental_analyst_agent.py:407:75: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:412:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:414:66: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:415:121: E501 line too long (143 > 120 characters) core/agents/fundamental_analyst_agent.py:419:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:423:90: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:424:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:426:100: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:427:111: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:427:121: E501 line too long (128 > 120 characters) core/agents/fundamental_analyst_agent.py:428:93: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:429:81: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:430:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:436:121: E501 line too long (134 > 120 characters) core/agents/fundamental_analyst_agent.py:437:121: E501 line too long (151 > 120 characters) core/agents/fundamental_analyst_agent.py:441:121: E501 line too long (124 > 120 characters) core/agents/fundamental_analyst_agent.py:442:104: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:442:121: E501 line too long (155 > 120 characters) core/agents/fundamental_analyst_agent.py:443:121: E501 line too long (246 > 120 characters) core/agents/fundamental_analyst_agent.py:445:81: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:446:18: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:446:18: E117 over-indented core/agents/fundamental_analyst_agent.py:446:121: E501 line too long (143 > 120 characters) core/agents/fundamental_analyst_agent.py:447:18: E111 indentation is not a multiple of 4 core/agents/fundamental_analyst_agent.py:448:65: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:449:121: E501 line too long (188 > 120 characters) core/agents/fundamental_analyst_agent.py:456:43: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:458:57: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:458:121: E501 line too long (131 > 120 characters) core/agents/fundamental_analyst_agent.py:459:121: E501 line too long (145 > 120 characters) core/agents/fundamental_analyst_agent.py:462:22: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:463:51: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:464:121: E501 line too long (139 > 120 characters) core/agents/fundamental_analyst_agent.py:467:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:470:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:471:121: E501 line too long (126 > 120 characters) core/agents/fundamental_analyst_agent.py:473:41: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:478:121: E501 line too long (146 > 120 characters) core/agents/fundamental_analyst_agent.py:480:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:486:95: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:488:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:500:31: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:507:121: E501 line too long (127 > 120 characters) core/agents/fundamental_analyst_agent.py:520:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:525:121: E501 line too long (172 > 120 characters) core/agents/fundamental_analyst_agent.py:535:121: E501 line too long (128 > 120 characters) core/agents/fundamental_analyst_agent.py:538:13: E303 too many blank lines (2) core/agents/fundamental_analyst_agent.py:538:39: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:543:121: E501 line too long (148 > 120 characters) core/agents/fundamental_analyst_agent.py:555:102: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:555:121: E501 line too long (145 > 120 characters) core/agents/fundamental_analyst_agent.py:559:80: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:571:50: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:572:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:576:97: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:578:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:582:121: E501 line too long (122 > 120 characters) core/agents/fundamental_analyst_agent.py:583:104: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:584:114: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:585:53: E231 missing whitespace after ',' core/agents/fundamental_analyst_agent.py:585:56: E231 missing whitespace after ',' core/agents/fundamental_analyst_agent.py:585:84: E231 missing whitespace after ',' core/agents/fundamental_analyst_agent.py:586:116: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:588:121: E501 line too long (140 > 120 characters) core/agents/fundamental_analyst_agent.py:595:57: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:597:82: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:602:68: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:609:41: E261 at least two spaces before inline comment core/agents/fundamental_analyst_agent.py:610:74: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:613:44: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:622:121: E501 line too long (162 > 120 characters) core/agents/fundamental_analyst_agent.py:629:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:632:9: E301 expected 1 blank line, found 0 core/agents/fundamental_analyst_agent.py:633:27: E701 multiple statements on one line (colon) core/agents/fundamental_analyst_agent.py:640:121: E501 line too long (123 > 120 characters) core/agents/fundamental_analyst_agent.py:641:1: W293 blank line contains whitespace core/agents/fundamental_analyst_agent.py:646:86: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:647:87: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:648:78: W291 trailing whitespace core/agents/fundamental_analyst_agent.py:652:77: W291 trailing whitespace core/agents/geopolitical_risk_agent.py:5:1: E302 expected 2 blank lines, found 1 core/agents/geopolitical_risk_agent.py:13:9: E265 block comment should start with '# ' core/agents/geopolitical_risk_agent.py:18:9: E265 block comment should start with '# ' core/agents/geopolitical_risk_agent.py:24:13: E265 block comment should start with '# ' core/agents/geopolitical_risk_agent.py:34:9: E265 block comment should start with '# ' core/agents/geopolitical_risk_agent.py:38:9: E265 block comment should start with '# ' core/agents/geopolitical_risk_agent.py:41:5: E265 block comment should start with '# ' core/agents/hnasp_agent.py:12:1: E302 expected 2 blank lines, found 1 core/agents/hnasp_agent.py:25:37: E261 at least two spaces before inline comment core/agents/hnasp_agent.py:39:1: E302 expected 2 blank lines, found 1 core/agents/hnasp_agent.py:44:121: E501 line too long (124 > 120 characters) core/agents/hnasp_agent.py:48:48: E261 at least two spaces before inline comment core/agents/hnasp_agent.py:51:42: E261 at least two spaces before inline comment core/agents/industry_specialist_agent.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/consumer_discretionary.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/consumer_discretionary.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/consumer_discretionary.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:59:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:65:13: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:70:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:74:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:78:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:82:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_discretionary.py:86:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/consumer_staples.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/consumer_staples.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/consumer_staples.py:87:9: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/energy.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/energy.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:34:121: E501 line too long (122 > 120 characters) core/agents/industry_specialists/energy.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/energy.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/financials.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/financials.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:59:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:65:13: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:70:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:74:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:78:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:82:9: E265 block comment should start with '# ' core/agents/industry_specialists/financials.py:86:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/healthcare.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/healthcare.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/healthcare.py:87:9: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/industrials.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/industrials.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/industrials.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/materials.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/materials.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/materials.py:87:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/real_estate.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/real_estate.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:33:121: E501 line too long (124 > 120 characters) core/agents/industry_specialists/real_estate.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/real_estate.py:87:9: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/technology.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/technology.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:65:13: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:70:9: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:74:9: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:78:9: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:82:9: E265 block comment should start with '# ' core/agents/industry_specialists/technology.py:86:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/telecommunication_services.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/telecommunication_services.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/telecommunication_services.py:87:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:3:1: F401 'pandas as pd' imported but unused core/agents/industry_specialists/utilities.py:6:1: E302 expected 2 blank lines, found 1 core/agents/industry_specialists/utilities.py:29:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:36:13: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:60:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:66:13: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:71:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:75:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:79:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:83:9: E265 block comment should start with '# ' core/agents/industry_specialists/utilities.py:87:9: E265 block comment should start with '# ' core/agents/knowledge_contribution_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/knowledge_contribution_agent.py:26:121: E501 line too long (122 > 120 characters) core/agents/knowledge_contribution_agent.py:33:121: E501 line too long (135 > 120 characters) core/agents/legal_agent.py:5:1: E302 expected 2 blank lines, found 1 core/agents/lexica_agent.py:4:1: F401 'bs4.BeautifulSoup' imported but unused core/agents/lexica_agent.py:6:1: E302 expected 2 blank lines, found 1 core/agents/lexica_agent.py:30:9: E265 block comment should start with '# ' core/agents/lexica_agent.py:36:13: E265 block comment should start with '# ' core/agents/lexica_agent.py:41:9: E265 block comment should start with '# ' core/agents/lexica_agent.py:59:9: E265 block comment should start with '# ' core/agents/lexica_agent.py:77:9: E265 block comment should start with '# ' core/agents/lexica_agent.py:90:5: E265 block comment should start with '# ' core/agents/lingua_maestro.py:23:1: E302 expected 2 blank lines, found 1 core/agents/lingua_maestro.py:71:46: E701 multiple statements on one line (colon) core/agents/lingua_maestro.py:72:47: E701 multiple statements on one line (colon) core/agents/lingua_maestro.py:74:13: E722 do not use bare 'except' core/agents/machine_learning_model_training_agent.py:1:1: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:3:1: F401 'pandas as pd' imported but unused core/agents/machine_learning_model_training_agent.py:4:1: F401 'sklearn.model_selection.train_test_split' imported but unused core/agents/machine_learning_model_training_agent.py:5:1: F401 'sklearn.linear_model.LinearRegression' imported but unused core/agents/machine_learning_model_training_agent.py:6:1: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/machine_learning_model_training_agent.py:12:9: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:19:9: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:27:9: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:36:13: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:40:13: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:42:9: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:49:9: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:57:9: E265 block comment should start with '# ' core/agents/machine_learning_model_training_agent.py:83:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/macroeconomic_analysis_agent.py:4:1: F401 'typing.List' imported but unused core/agents/macroeconomic_analysis_agent.py:4:1: F401 'typing.Optional' imported but unused core/agents/macroeconomic_analysis_agent.py:9:1: E302 expected 2 blank lines, found 1 core/agents/macroeconomic_analysis_agent.py:28:73: E261 at least two spaces before inline comment core/agents/macroeconomic_analysis_agent.py:86:35: E261 at least two spaces before inline comment core/agents/macroeconomic_analysis_agent.py:104:26: E701 multiple statements on one line (colon) core/agents/macroeconomic_analysis_agent.py:108:25: E701 multiple statements on one line (colon) core/agents/macroeconomic_analysis_agent.py:109:25: E701 multiple statements on one line (colon) core/agents/market_sentiment_agent.py:2:1: F401 'typing.Optional' imported but unused core/agents/market_sentiment_agent.py:11:1: E302 expected 2 blank lines, found 1 core/agents/market_sentiment_agent.py:51:62: E261 at least two spaces before inline comment core/agents/market_sentiment_agent.py:124:27: E701 multiple statements on one line (colon) core/agents/market_sentiment_agent.py:125:45: E701 multiple statements on one line (colon) core/agents/market_sentiment_agent.py:136:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/meta_19_agent.py:3:1: F401 'typing.Optional' imported but unused core/agents/meta_19_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_19_agent.py:49:68: E261 at least two spaces before inline comment core/agents/meta_19_agent.py:55:70: E261 at least two spaces before inline comment core/agents/meta_19_agent.py:86:1: W293 blank line contains whitespace core/agents/meta_19_agent.py:91:121: E501 line too long (129 > 120 characters) core/agents/meta_19_agent.py:102:121: E501 line too long (128 > 120 characters) core/agents/meta_19_agent.py:108:1: W293 blank line contains whitespace core/agents/meta_agents/counterparty_risk_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/credit_risk_assessment_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/crisis_simulation_agent.py:17:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/crisis_simulation_agent.py:119:61: E261 at least two spaces before inline comment core/agents/meta_agents/crisis_simulation_agent.py:136:121: E501 line too long (251 > 120 characters) core/agents/meta_agents/crisis_simulation_agent.py:163:121: E501 line too long (172 > 120 characters) core/agents/meta_agents/narrative_summarization_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/odyssey_meta_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/odyssey_meta_agent.py:47:121: E501 line too long (131 > 120 characters) core/agents/meta_agents/persona_communication_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/portfolio_monitoring_ews_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/meta_agents/sentiment_analysis_meta_agent.py:4:1: E302 expected 2 blank lines, found 1 core/agents/meta_cognitive_agent.py:5:1: E302 expected 2 blank lines, found 1 core/agents/natural_language_generation_agent.py:1:1: E265 block comment should start with '# ' core/agents/natural_language_generation_agent.py:5:1: E302 expected 2 blank lines, found 1 core/agents/natural_language_generation_agent.py:35:13: E265 block comment should start with '# ' core/agents/natural_language_generation_agent.py:39:13: E265 block comment should start with '# ' core/agents/natural_language_generation_agent.py:41:9: E265 block comment should start with '# ' core/agents/natural_language_generation_agent.py:60:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/news_bot.py:2:1: F401 'requests' imported but unused core/agents/news_bot.py:5:1: F401 'nltk.sentiment.SentimentIntensityAnalyzer' imported but unused core/agents/news_bot.py:10:1: F401 'numpy as np' imported but unused core/agents/news_bot.py:11:1: F401 'sklearn.cluster.KMeans' imported but unused core/agents/news_bot.py:14:1: F401 'sklearn.metrics.pairwise_distances_argmin_min' imported but unused core/agents/news_bot.py:17:18: E261 at least two spaces before inline comment core/agents/news_bot.py:18:1: F811 redefinition of unused 'time' from line 7 core/agents/news_bot.py:18:12: E261 at least two spaces before inline comment core/agents/news_bot.py:19:30: E261 at least two spaces before inline comment core/agents/news_bot.py:42:1: F811 redefinition of unused 'nltk' from line 4 core/agents/news_bot.py:42:12: E261 at least two spaces before inline comment core/agents/news_bot.py:45:1: E302 expected 2 blank lines, found 1 core/agents/news_bot.py:49:1: W293 blank line contains whitespace core/agents/news_bot.py:55:1: W293 blank line contains whitespace core/agents/news_bot.py:59:70: E261 at least two spaces before inline comment core/agents/news_bot.py:62:1: W293 blank line contains whitespace core/agents/news_bot.py:78:37: E261 at least two spaces before inline comment core/agents/news_bot.py:95:72: E261 at least two spaces before inline comment core/agents/news_bot.py:109:47: E261 at least two spaces before inline comment core/agents/news_bot.py:118:60: E261 at least two spaces before inline comment core/agents/news_bot.py:121:1: W293 blank line contains whitespace core/agents/news_bot.py:125:44: E261 at least two spaces before inline comment core/agents/news_bot.py:129:64: E261 at least two spaces before inline comment core/agents/news_bot.py:133:65: E261 at least two spaces before inline comment core/agents/news_bot.py:137:64: E261 at least two spaces before inline comment core/agents/news_bot.py:141:69: E261 at least two spaces before inline comment core/agents/news_bot.py:144:68: E261 at least two spaces before inline comment core/agents/news_bot.py:148:63: E261 at least two spaces before inline comment core/agents/news_bot.py:159:1: W293 blank line contains whitespace core/agents/news_bot.py:171:61: E261 at least two spaces before inline comment core/agents/news_bot.py:183:121: E501 line too long (131 > 120 characters) core/agents/news_bot.py:193:5: E303 too many blank lines (2) core/agents/news_bot.py:193:62: E261 at least two spaces before inline comment core/agents/news_bot.py:195:33: E701 multiple statements on one line (colon) core/agents/news_bot.py:206:44: E261 at least two spaces before inline comment core/agents/news_bot.py:215:60: E261 at least two spaces before inline comment core/agents/news_bot.py:217:33: E701 multiple statements on one line (colon) core/agents/news_bot.py:234:66: E261 at least two spaces before inline comment core/agents/news_bot.py:236:33: E701 multiple statements on one line (colon) core/agents/news_bot.py:253:65: E261 at least two spaces before inline comment core/agents/news_bot.py:255:33: E701 multiple statements on one line (colon) core/agents/news_bot.py:272:60: E261 at least two spaces before inline comment core/agents/news_bot.py:274:33: E701 multiple statements on one line (colon) core/agents/news_bot.py:291:75: E261 at least two spaces before inline comment core/agents/news_bot.py:319:80: E261 at least two spaces before inline comment core/agents/news_bot.py:335:101: E261 at least two spaces before inline comment core/agents/news_bot.py:338:1: W293 blank line contains whitespace core/agents/news_bot.py:341:1: W293 blank line contains whitespace core/agents/news_bot.py:345:49: E261 at least two spaces before inline comment core/agents/news_bot.py:346:1: W293 blank line contains whitespace core/agents/news_bot.py:358:46: E261 at least two spaces before inline comment core/agents/news_bot.py:374:23: E261 at least two spaces before inline comment core/agents/news_bot.py:379:34: E261 at least two spaces before inline comment core/agents/news_bot.py:398:28: E261 at least two spaces before inline comment core/agents/news_bot.py:404:23: E261 at least two spaces before inline comment core/agents/news_bot.py:409:1: W293 blank line contains whitespace core/agents/news_bot.py:412:1: W293 blank line contains whitespace core/agents/news_bot.py:425:1: W293 blank line contains whitespace core/agents/news_bot.py:427:67: E261 at least two spaces before inline comment core/agents/news_bot.py:430:88: E261 at least two spaces before inline comment core/agents/news_bot.py:433:1: W293 blank line contains whitespace core/agents/news_bot.py:436:1: W293 blank line contains whitespace core/agents/news_bot.py:440:57: E261 at least two spaces before inline comment core/agents/news_bot.py:445:51: E261 at least two spaces before inline comment core/agents/news_bot.py:446:73: E261 at least two spaces before inline comment core/agents/news_bot.py:458:1: W293 blank line contains whitespace core/agents/news_bot.py:474:66: E261 at least two spaces before inline comment core/agents/news_bot.py:493:22: E261 at least two spaces before inline comment core/agents/news_bot.py:496:26: E111 indentation is not a multiple of 4 core/agents/news_bot.py:496:26: E117 over-indented core/agents/news_bot.py:497:26: E111 indentation is not a multiple of 4 core/agents/news_bot.py:502:5: E303 too many blank lines (2) core/agents/news_bot.py:504:5: E301 expected 1 blank line, found 0 core/agents/news_bot.py:524:121: E501 line too long (122 > 120 characters) core/agents/news_bot.py:532:121: E501 line too long (125 > 120 characters) core/agents/news_bot.py:544:48: E261 at least two spaces before inline comment core/agents/news_bot.py:553:68: E261 at least two spaces before inline comment core/agents/news_bot.py:557:121: E501 line too long (185 > 120 characters) core/agents/news_bot.py:557:171: E261 at least two spaces before inline comment core/agents/news_bot.py:566:37: E261 at least two spaces before inline comment core/agents/news_bot.py:568:18: E261 at least two spaces before inline comment core/agents/news_bot.py:575:5: E303 too many blank lines (2) core/agents/news_bot.py:592:37: E261 at least two spaces before inline comment core/agents/news_bot.py:599:36: E261 at least two spaces before inline comment core/agents/news_bot.py:610:51: E261 at least two spaces before inline comment core/agents/news_bot.py:637:121: E501 line too long (121 > 120 characters) core/agents/news_bot.py:639:36: E261 at least two spaces before inline comment core/agents/news_bot.py:657:121: E501 line too long (156 > 120 characters) core/agents/news_bot.py:678:121: E501 line too long (125 > 120 characters) core/agents/news_bot.py:680:121: E501 line too long (131 > 120 characters) core/agents/news_bot.py:685:121: E501 line too long (131 > 120 characters) core/agents/news_bot.py:705:121: E501 line too long (133 > 120 characters) core/agents/news_bot.py:712:38: E261 at least two spaces before inline comment core/agents/news_bot.py:712:121: E501 line too long (122 > 120 characters) core/agents/news_bot.py:714:40: E261 at least two spaces before inline comment core/agents/news_bot.py:718:51: E261 at least two spaces before inline comment core/agents/news_bot.py:734:44: E261 at least two spaces before inline comment core/agents/news_bot.py:735:121: E501 line too long (137 > 120 characters) core/agents/news_bot.py:740:33: E261 at least two spaces before inline comment core/agents/news_bot.py:752:32: E261 at least two spaces before inline comment core/agents/news_bot.py:759:121: E501 line too long (158 > 120 characters) core/agents/news_bot.py:760:34: E261 at least two spaces before inline comment core/agents/news_bot.py:769:121: E501 line too long (150 > 120 characters) core/agents/news_bot.py:770:121: E501 line too long (154 > 120 characters) core/agents/news_bot.py:773:121: E501 line too long (157 > 120 characters) core/agents/news_bot.py:806:121: E501 line too long (127 > 120 characters) core/agents/news_bot.py:815:22: E261 at least two spaces before inline comment core/agents/news_bot.py:832:58: E261 at least two spaces before inline comment core/agents/news_bot.py:837:66: E261 at least two spaces before inline comment core/agents/news_bot.py:838:81: E261 at least two spaces before inline comment core/agents/news_bot.py:842:68: E261 at least two spaces before inline comment core/agents/news_bot.py:844:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/news_bot.py:846:5: F811 redefinition of unused 'json' from line 9 core/agents/news_bot.py:847:5: F811 redefinition of unused 'asyncio' from line 3 core/agents/news_bot.py:884:121: E501 line too long (138 > 120 characters) core/agents/news_bot.py:890:121: E501 line too long (152 > 120 characters) core/agents/news_bot.py:936:5: E303 too many blank lines (2) core/agents/news_bot.py:944:121: E501 line too long (122 > 120 characters) core/agents/news_bot.py:947:47: E261 at least two spaces before inline comment core/agents/news_bot.py:961:14: E111 indentation is not a multiple of 4 core/agents/news_bot.py:961:14: E117 over-indented core/agents/news_bot.py:961:121: E501 line too long (126 > 120 characters) core/agents/news_bot.py:962:14: E111 indentation is not a multiple of 4 core/agents/news_bot.py:963:121: E501 line too long (125 > 120 characters) core/agents/news_bot.py:981:78: E261 at least two spaces before inline comment core/agents/news_bot.py:989:33: E261 at least two spaces before inline comment core/agents/news_bot.py:990:121: E501 line too long (121 > 120 characters) core/agents/news_bot.py:1008:10: E261 at least two spaces before inline comment core/agents/news_bot.py:1024:22: E261 at least two spaces before inline comment core/agents/news_bot.py:1049:1: W391 blank line at end of file core/agents/newsletter_layout_specialist_agent.py:3:1: E265 block comment should start with '# ' core/agents/newsletter_layout_specialist_agent.py:13:9: E265 block comment should start with '# ' core/agents/newsletter_layout_specialist_agent.py:21:1: W293 blank line contains whitespace core/agents/newsletter_layout_specialist_agent.py:38:13: E265 block comment should start with '# ' core/agents/newsletter_layout_specialist_agent.py:43:9: E265 block comment should start with '# ' core/agents/newsletter_layout_specialist_agent.py:48:9: E265 block comment should start with '# ' core/agents/newsletter_layout_specialist_agent.py:49:16: F821 undefined name 'chart_image_code' core/agents/orchestrators/credit_risk_orchestrator.py:6:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/creditsentry_orchestrator.py:22:121: E501 line too long (399 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:27:121: E501 line too long (125 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:28:121: E501 line too long (629 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:29:121: E501 line too long (181 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:31:121: E501 line too long (200 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:32:121: E501 line too long (195 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:33:121: E501 line too long (227 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:39:121: E501 line too long (151 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:53:121: E501 line too long (148 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:54:121: E501 line too long (223 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:55:121: E501 line too long (167 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:56:121: E501 line too long (125 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:57:121: E501 line too long (263 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:58:121: E501 line too long (282 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:64:121: E501 line too long (147 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:65:121: E501 line too long (548 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:66:121: E501 line too long (533 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:67:121: E501 line too long (485 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:73:121: E501 line too long (195 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:74:121: E501 line too long (128 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:75:121: E501 line too long (276 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:76:121: E501 line too long (158 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:79:121: E501 line too long (136 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:105:121: E501 line too long (320 > 120 characters) core/agents/orchestrators/creditsentry_orchestrator.py:106:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:110:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:112:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:120:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:130:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:134:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:136:1: W293 blank line contains whitespace core/agents/orchestrators/creditsentry_orchestrator.py:143:121: E501 line too long (338 > 120 characters) core/agents/orchestrators/hybrid_orchestrator.py:10:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/meta_orchestrator.py:16:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/odyssey_hub_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/parallel_orchestrator.py:8:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/parallel_orchestrator.py:14:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/parallel_orchestrator.py:50:10: W292 no newline at end of file core/agents/orchestrators/task.py:3:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/task.py:14:31: E261 at least two spaces before inline comment core/agents/orchestrators/task.py:32:18: W292 no newline at end of file core/agents/orchestrators/workflow.py:4:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/workflow.py:26:79: W292 no newline at end of file core/agents/orchestrators/workflow_manager.py:5:1: E302 expected 2 blank lines, found 1 core/agents/orchestrators/workflow_manager.py:61:23: W292 no newline at end of file core/agents/portfolio_optimization_agent.py:8:1: F401 'typing.List' imported but unused core/agents/portfolio_optimization_agent.py:13:1: E302 expected 2 blank lines, found 1 core/agents/portfolio_optimization_agent.py:38:1: E302 expected 2 blank lines, found 1 core/agents/portfolio_optimization_agent.py:57:14: E111 indentation is not a multiple of 4 core/agents/portfolio_optimization_agent.py:57:14: E117 over-indented core/agents/portfolio_optimization_agent.py:87:40: E701 multiple statements on one line (colon) core/agents/portfolio_optimization_agent.py:145:14: E111 indentation is not a multiple of 4 core/agents/portfolio_optimization_agent.py:145:14: E117 over-indented core/agents/portfolio_optimization_agent.py:145:18: E261 at least two spaces before inline comment core/agents/portfolio_optimization_agent.py:154:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/prediction_market_agent.py:4:1: F401 'numpy as np' imported but unused core/agents/prediction_market_agent.py:5:1: F401 'pandas as pd' imported but unused core/agents/prediction_market_agent.py:6:1: F401 'sklearn.linear_model.LinearRegression' imported but unused core/agents/prediction_market_agent.py:8:1: F401 'statsmodels.api as sm' imported but unused core/agents/prediction_market_agent.py:18:1: E302 expected 2 blank lines, found 1 core/agents/prompt_generation_agent.py:2:1: F401 'typing.Optional' imported but unused core/agents/prompt_generation_agent.py:6:1: E302 expected 2 blank lines, found 1 core/agents/prompt_generation_agent.py:23:9: F841 local variable 'prompt_template' is assigned to but never used core/agents/prompt_generation_agent.py:24:121: E501 line too long (162 > 120 characters) core/agents/prompt_generation_agent.py:46:121: E501 line too long (133 > 120 characters) core/agents/prompt_tuner.py:6:5: F401 'langchain_core.prompts.PromptTemplate' imported but unused core/agents/prompt_tuner.py:7:1: F401 'core.utils.data_utils.send_message' imported but unused core/agents/prompt_tuner.py:7:1: F401 'core.utils.data_utils.receive_messages' imported but unused core/agents/prompt_tuner.py:11:12: E261 at least two spaces before inline comment core/agents/prompt_tuner.py:11:13: E262 inline comment should start with '# ' core/agents/prompt_tuner.py:25:1: E302 expected 2 blank lines, found 1 core/agents/prompt_tuner.py:31:1: W293 blank line contains whitespace core/agents/prompt_tuner.py:32:5: E303 too many blank lines (2) core/agents/prompt_tuner.py:44:18: E111 indentation is not a multiple of 4 core/agents/prompt_tuner.py:44:18: E117 over-indented core/agents/query_understanding_agent.py:4:1: F401 'core.utils.config_utils.load_config' imported but unused core/agents/query_understanding_agent.py:5:1: F401 'core.utils.token_utils.count_tokens' imported but unused core/agents/query_understanding_agent.py:9:1: F401 'asyncio' imported but unused core/agents/query_understanding_agent.py:38:121: E501 line too long (122 > 120 characters) core/agents/query_understanding_agent.py:156:121: E501 line too long (125 > 120 characters) core/agents/rag_agent.py:2:1: F401 'asyncio' imported but unused core/agents/rag_agent.py:3:1: F401 'typing.List' imported but unused core/agents/rag_agent.py:3:1: F401 'typing.Tuple' imported but unused core/agents/rag_agent.py:18:1: E302 expected 2 blank lines, found 1 core/agents/rag_agent.py:38:1: W293 blank line contains whitespace core/agents/rag_agent.py:62:1: W293 blank line contains whitespace core/agents/rag_agent.py:69:1: W293 blank line contains whitespace core/agents/rag_agent.py:86:23: F541 f-string is missing placeholders core/agents/rag_agent.py:95:1: W293 blank line contains whitespace core/agents/rag_agent.py:103:22: F541 f-string is missing placeholders core/agents/rag_agent.py:122:13: E306 expected 1 blank line before a nested definition, found 0 core/agents/rag_agent.py:158:121: E501 line too long (127 > 120 characters) core/agents/rag_agent.py:172:29: F541 f-string is missing placeholders core/agents/rag_agent.py:181:18: E114 indentation is not a multiple of 4 (comment) core/agents/rag_agent.py:181:18: E117 over-indented (comment) core/agents/rag_agent.py:182:18: E111 indentation is not a multiple of 4 core/agents/rag_agent.py:182:18: E117 over-indented core/agents/rag_agent.py:200:29: F541 f-string is missing placeholders core/agents/rag_agent.py:204:27: F541 f-string is missing placeholders core/agents/rag_agent.py:223:29: F541 f-string is missing placeholders core/agents/rag_agent.py:227:14: E111 indentation is not a multiple of 4 core/agents/rag_agent.py:227:14: E117 over-indented core/agents/red_team_agent.py:2:1: F401 'typing.List' imported but unused core/agents/red_team_agent.py:2:1: F401 'typing.Optional' imported but unused core/agents/red_team_agent.py:5:1: F401 'asyncio' imported but unused core/agents/red_team_agent.py:9:1: F401 'core.engine.states.GraphState' imported but unused core/agents/red_team_agent.py:13:1: E302 expected 2 blank lines, found 1 core/agents/red_team_agent.py:35:14: E114 indentation is not a multiple of 4 (comment) core/agents/red_team_agent.py:35:14: E117 over-indented (comment) core/agents/red_team_agent.py:36:14: E111 indentation is not a multiple of 4 core/agents/red_team_agent.py:36:14: E117 over-indented core/agents/red_team_agent.py:37:18: E114 indentation is not a multiple of 4 (comment) core/agents/red_team_agent.py:38:18: E111 indentation is not a multiple of 4 core/agents/red_team_agent.py:39:14: E114 indentation is not a multiple of 4 (comment) core/agents/red_team_agent.py:40:14: E111 indentation is not a multiple of 4 core/agents/red_team_agent.py:41:18: E111 indentation is not a multiple of 4 core/agents/red_team_agent.py:49:39: E261 at least two spaces before inline comment core/agents/red_team_agent.py:87:13: F841 local variable 'prompt' is assigned to but never used core/agents/red_team_agent.py:125:9: F841 local variable 'iteration' is assigned to but never used core/agents/red_team_agent.py:162:42: E261 at least two spaces before inline comment core/agents/reflector_agent.py:2:1: F401 'typing.List' imported but unused core/agents/reflector_agent.py:17:1: E302 expected 2 blank lines, found 1 core/agents/reflector_agent.py:26:121: E501 line too long (126 > 120 characters) core/agents/reflector_agent.py:31:14: E111 indentation is not a multiple of 4 core/agents/reflector_agent.py:31:14: E117 over-indented core/agents/reflector_agent.py:31:121: E501 line too long (131 > 120 characters) core/agents/reflector_agent.py:51:68: E261 at least two spaces before inline comment core/agents/regulatory_compliance_agent.py:1:1: E265 block comment should start with '# ' core/agents/regulatory_compliance_agent.py:4:1: F401 're' imported but unused core/agents/regulatory_compliance_agent.py:9:1: F401 'typing.Optional' imported but unused core/agents/regulatory_compliance_agent.py:10:1: F401 'asyncio' imported but unused core/agents/regulatory_compliance_agent.py:25:1: E302 expected 2 blank lines, found 1 core/agents/regulatory_compliance_agent.py:107:121: E501 line too long (123 > 120 characters) core/agents/regulatory_compliance_agent.py:209:9: F841 local variable 'e' is assigned to but never used core/agents/regulatory_compliance_agent.py:211:13: F841 local variable 'lemmas' is assigned to but never used core/agents/regulatory_compliance_agent.py:237:18: E111 indentation is not a multiple of 4 core/agents/regulatory_compliance_agent.py:237:18: E117 over-indented core/agents/regulatory_compliance_agent.py:237:121: E501 line too long (135 > 120 characters) core/agents/regulatory_compliance_agent.py:238:22: E111 indentation is not a multiple of 4 core/agents/regulatory_compliance_agent.py:239:22: E111 indentation is not a multiple of 4 core/agents/regulatory_compliance_agent.py:257:42: E261 at least two spaces before inline comment core/agents/regulatory_compliance_agent.py:258:42: E261 at least two spaces before inline comment core/agents/regulatory_compliance_agent.py:307:17: F841 local variable 'soup' is assigned to but never used core/agents/regulatory_compliance_agent.py:499:56: E261 at least two spaces before inline comment core/agents/report_generator_agent.py:9:1: E302 expected 2 blank lines, found 1 core/agents/report_generator_agent.py:15:121: E501 line too long (127 > 120 characters) core/agents/report_generator_agent.py:33:1: W293 blank line contains whitespace core/agents/report_generator_agent.py:35:1: W293 blank line contains whitespace core/agents/report_generator_agent.py:55:9: E303 too many blank lines (2) core/agents/report_generator_agent.py:57:1: W293 blank line contains whitespace core/agents/report_generator_agent.py:59:1: W293 blank line contains whitespace core/agents/result_aggregation_agent.py:4:1: F401 'typing.List' imported but unused core/agents/result_aggregation_agent.py:4:1: F401 'typing.Optional' imported but unused core/agents/result_aggregation_agent.py:6:1: F401 'core.utils.config_utils.load_config' imported but unused core/agents/result_aggregation_agent.py:31:5: E303 too many blank lines (2) core/agents/result_aggregation_agent.py:57:54: E261 at least two spaces before inline comment core/agents/risk_assessment_agent.py:2:1: F401 'typing.Union' imported but unused core/agents/risk_assessment_agent.py:6:1: F401 'datetime' imported but unused core/agents/risk_assessment_agent.py:7:1: F401 'asyncio' imported but unused core/agents/risk_assessment_agent.py:19:1: E302 expected 2 blank lines, found 1 core/agents/risk_assessment_agent.py:58:121: E501 line too long (148 > 120 characters) core/agents/risk_assessment_agent.py:111:121: E501 line too long (156 > 120 characters) core/agents/risk_assessment_agent.py:154:21: F541 f-string is missing placeholders core/agents/risk_assessment_agent.py:174:21: F541 f-string is missing placeholders core/agents/risk_assessment_agent.py:195:57: E261 at least two spaces before inline comment core/agents/risk_assessment_agent.py:233:31: E701 multiple statements on one line (colon) core/agents/risk_assessment_agent.py:240:25: E261 at least two spaces before inline comment core/agents/risk_assessment_agent.py:242:27: E261 at least two spaces before inline comment core/agents/risk_assessment_agent.py:244:27: E261 at least two spaces before inline comment core/agents/risk_assessment_agent.py:280:19: E111 indentation is not a multiple of 4 core/agents/risk_assessment_agent.py:282:19: E111 indentation is not a multiple of 4 core/agents/risk_assessment_agent.py:284:19: E111 indentation is not a multiple of 4 core/agents/risk_assessment_agent.py:302:29: E701 multiple statements on one line (colon) core/agents/risk_assessment_agent.py:315:34: E701 multiple statements on one line (colon) core/agents/risk_assessment_agent.py:322:35: E701 multiple statements on one line (colon) core/agents/risk_assessment_agent.py:324:72: E202 whitespace before ')' core/agents/sense_weaver.py:7:1: F401 'transformers.pipeline' imported but unused core/agents/sense_weaver.py:8:1: E265 block comment should start with '# ' core/agents/sense_weaver.py:10:1: E302 expected 2 blank lines, found 1 core/agents/sense_weaver.py:14:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:28:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:29:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:46:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:47:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:64:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:65:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:70:9: E265 block comment should start with '# ' core/agents/sense_weaver.py:71:9: E265 block comment should start with '# ' core/agents/skills/counterfactual_reasoning_skill.py:3:1: F401 'semantic_kernel.skill_definition.sk_description' imported but unused core/agents/skills/counterfactual_reasoning_skill.py:10:1: E302 expected 2 blank lines, found 1 core/agents/skills/hybrid_forecasting_skill.py:3:1: F401 'semantic_kernel.skill_definition.sk_description' imported but unused core/agents/skills/hybrid_forecasting_skill.py:11:1: E302 expected 2 blank lines, found 1 core/agents/skills/xai_skill.py:3:1: F401 'semantic_kernel.skill_definition.sk_description' imported but unused core/agents/skills/xai_skill.py:10:1: E302 expected 2 blank lines, found 1 core/agents/snc_analyst_agent.py:7:69: E261 at least two spaces before inline comment core/agents/snc_analyst_agent.py:7:121: E501 line too long (134 > 120 characters) core/agents/snc_analyst_agent.py:11:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:12:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:12:12: W291 trailing whitespace core/agents/snc_analyst_agent.py:13:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:13:10: E261 at least two spaces before inline comment core/agents/snc_analyst_agent.py:14:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:15:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:16:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:17:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:17:32: W291 trailing whitespace core/agents/snc_analyst_agent.py:19:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:20:1: E402 module level import not at top of file core/agents/snc_analyst_agent.py:20:35: W291 trailing whitespace core/agents/snc_analyst_agent.py:24:1: E302 expected 2 blank lines, found 1 core/agents/snc_analyst_agent.py:31:1: E302 expected 2 blank lines, found 1 core/agents/snc_analyst_agent.py:41:121: E501 line too long (185 > 120 characters) core/agents/snc_analyst_agent.py:42:121: E501 line too long (122 > 120 characters) core/agents/snc_analyst_agent.py:47:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:66:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:83:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:84:121: E501 line too long (360 > 120 characters) core/agents/snc_analyst_agent.py:88:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:89:121: E501 line too long (127 > 120 characters) core/agents/snc_analyst_agent.py:91:50: W291 trailing whitespace core/agents/snc_analyst_agent.py:92:38: W291 trailing whitespace core/agents/snc_analyst_agent.py:93:35: W291 trailing whitespace core/agents/snc_analyst_agent.py:95:47: W291 trailing whitespace core/agents/snc_analyst_agent.py:98:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:99:58: W291 trailing whitespace core/agents/snc_analyst_agent.py:100:50: W291 trailing whitespace core/agents/snc_analyst_agent.py:101:39: W291 trailing whitespace core/agents/snc_analyst_agent.py:102:41: W291 trailing whitespace core/agents/snc_analyst_agent.py:103:41: W291 trailing whitespace core/agents/snc_analyst_agent.py:106:121: E501 line too long (124 > 120 characters) core/agents/snc_analyst_agent.py:114:77: W291 trailing whitespace core/agents/snc_analyst_agent.py:119:113: W291 trailing whitespace core/agents/snc_analyst_agent.py:121:105: W291 trailing whitespace core/agents/snc_analyst_agent.py:122:106: W291 trailing whitespace core/agents/snc_analyst_agent.py:123:116: W291 trailing whitespace core/agents/snc_analyst_agent.py:129:121: E501 line too long (173 > 120 characters) core/agents/snc_analyst_agent.py:130:121: E501 line too long (170 > 120 characters) core/agents/snc_analyst_agent.py:133:121: E501 line too long (138 > 120 characters) core/agents/snc_analyst_agent.py:134:121: E501 line too long (170 > 120 characters) core/agents/snc_analyst_agent.py:136:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:142:34: W291 trailing whitespace core/agents/snc_analyst_agent.py:147:44: W291 trailing whitespace core/agents/snc_analyst_agent.py:148:57: W291 trailing whitespace core/agents/snc_analyst_agent.py:149:80: W291 trailing whitespace core/agents/snc_analyst_agent.py:150:77: W291 trailing whitespace core/agents/snc_analyst_agent.py:153:121: E501 line too long (306 > 120 characters) core/agents/snc_analyst_agent.py:166:121: E501 line too long (130 > 120 characters) core/agents/snc_analyst_agent.py:168:46: W291 trailing whitespace core/agents/snc_analyst_agent.py:172:35: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:173:38: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:174:30: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:175:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:177:74: W291 trailing whitespace core/agents/snc_analyst_agent.py:187:121: E501 line too long (188 > 120 characters) core/agents/snc_analyst_agent.py:193:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:197:14: E111 indentation is not a multiple of 4 core/agents/snc_analyst_agent.py:197:14: E117 over-indented core/agents/snc_analyst_agent.py:197:121: E501 line too long (121 > 120 characters) core/agents/snc_analyst_agent.py:204:121: E501 line too long (125 > 120 characters) core/agents/snc_analyst_agent.py:209:121: E501 line too long (131 > 120 characters) core/agents/snc_analyst_agent.py:210:121: E501 line too long (132 > 120 characters) core/agents/snc_analyst_agent.py:214:121: E501 line too long (189 > 120 characters) core/agents/snc_analyst_agent.py:226:121: E501 line too long (123 > 120 characters) core/agents/snc_analyst_agent.py:228:121: E501 line too long (139 > 120 characters) core/agents/snc_analyst_agent.py:230:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:233:101: W291 trailing whitespace core/agents/snc_analyst_agent.py:234:121: E501 line too long (143 > 120 characters) core/agents/snc_analyst_agent.py:235:121: E501 line too long (150 > 120 characters) core/agents/snc_analyst_agent.py:237:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:239:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:242:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:244:32: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:245:33: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:246:33: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:250:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:257:30: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:258:30: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:259:24: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:260:24: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:261:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:264:121: E501 line too long (200 > 120 characters) core/agents/snc_analyst_agent.py:266:121: E501 line too long (162 > 120 characters) core/agents/snc_analyst_agent.py:269:57: W291 trailing whitespace core/agents/snc_analyst_agent.py:270:32: E128 continuation line under-indented for visual indent core/agents/snc_analyst_agent.py:270:67: W291 trailing whitespace core/agents/snc_analyst_agent.py:271:32: E128 continuation line under-indented for visual indent core/agents/snc_analyst_agent.py:271:69: W291 trailing whitespace core/agents/snc_analyst_agent.py:272:32: E128 continuation line under-indented for visual indent core/agents/snc_analyst_agent.py:273:32: E128 continuation line under-indented for visual indent core/agents/snc_analyst_agent.py:274:32: E124 closing bracket does not match visual indentation core/agents/snc_analyst_agent.py:276:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:285:121: E501 line too long (159 > 120 characters) core/agents/snc_analyst_agent.py:286:121: E501 line too long (204 > 120 characters) core/agents/snc_analyst_agent.py:292:121: E501 line too long (155 > 120 characters) core/agents/snc_analyst_agent.py:295:49: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:295:121: E501 line too long (156 > 120 characters) core/agents/snc_analyst_agent.py:295:137: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:295:153: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:296:71: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:296:121: E501 line too long (148 > 120 characters) core/agents/snc_analyst_agent.py:297:121: E501 line too long (164 > 120 characters) core/agents/snc_analyst_agent.py:298:34: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:303:121: E501 line too long (137 > 120 characters) core/agents/snc_analyst_agent.py:304:121: E501 line too long (148 > 120 characters) core/agents/snc_analyst_agent.py:305:121: E501 line too long (127 > 120 characters) core/agents/snc_analyst_agent.py:311:121: E501 line too long (128 > 120 characters) core/agents/snc_analyst_agent.py:314:121: E501 line too long (152 > 120 characters) core/agents/snc_analyst_agent.py:317:49: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:317:109: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:317:121: E501 line too long (154 > 120 characters) core/agents/snc_analyst_agent.py:317:135: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:317:151: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:318:71: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:318:121: E501 line too long (146 > 120 characters) core/agents/snc_analyst_agent.py:318:133: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:319:66: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:319:118: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:319:121: E501 line too long (131 > 120 characters) core/agents/snc_analyst_agent.py:320:121: E501 line too long (201 > 120 characters) core/agents/snc_analyst_agent.py:321:34: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:326:121: E501 line too long (126 > 120 characters) core/agents/snc_analyst_agent.py:327:121: E501 line too long (142 > 120 characters) core/agents/snc_analyst_agent.py:330:121: E501 line too long (128 > 120 characters) core/agents/snc_analyst_agent.py:330:129: W291 trailing whitespace core/agents/snc_analyst_agent.py:331:121: E501 line too long (130 > 120 characters) core/agents/snc_analyst_agent.py:335:121: E501 line too long (163 > 120 characters) core/agents/snc_analyst_agent.py:338:49: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:338:110: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:338:121: E501 line too long (155 > 120 characters) core/agents/snc_analyst_agent.py:338:136: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:338:152: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:339:71: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:339:121: E501 line too long (147 > 120 characters) core/agents/snc_analyst_agent.py:339:134: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:340:121: E501 line too long (176 > 120 characters) core/agents/snc_analyst_agent.py:341:34: E701 multiple statements on one line (colon) core/agents/snc_analyst_agent.py:341:121: E501 line too long (127 > 120 characters) core/agents/snc_analyst_agent.py:373:121: E501 line too long (145 > 120 characters) core/agents/snc_analyst_agent.py:377:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/snc_analyst_agent.py:380:38: W291 trailing whitespace core/agents/snc_analyst_agent.py:382:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:389:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:390:45: W291 trailing whitespace core/agents/snc_analyst_agent.py:391:48: W291 trailing whitespace core/agents/snc_analyst_agent.py:394:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:417:40: W291 trailing whitespace core/agents/snc_analyst_agent.py:423:121: E501 line too long (137 > 120 characters) core/agents/snc_analyst_agent.py:424:59: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:424:63: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:424:103: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:424:107: E231 missing whitespace after ',' core/agents/snc_analyst_agent.py:425:121: E501 line too long (156 > 120 characters) core/agents/snc_analyst_agent.py:436:66: W291 trailing whitespace core/agents/snc_analyst_agent.py:444:17: E261 at least two spaces before inline comment core/agents/snc_analyst_agent.py:452:48: W291 trailing whitespace core/agents/snc_analyst_agent.py:458:69: E261 at least two spaces before inline comment core/agents/snc_analyst_agent.py:500:9: E301 expected 1 blank line, found 0 core/agents/snc_analyst_agent.py:502:69: W291 trailing whitespace core/agents/snc_analyst_agent.py:504:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:509:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:558:121: E501 line too long (123 > 120 characters) core/agents/snc_analyst_agent.py:564:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:570:1: W293 blank line contains whitespace core/agents/snc_analyst_agent.py:577:61: E261 at least two spaces before inline comment core/agents/specialized/counterparty_risk_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/counterparty_risk_agent.py:12:121: E501 line too long (124 > 120 characters) core/agents/specialized/covenant_analyst_agent.py:2:1: F401 'typing.List' imported but unused core/agents/specialized/covenant_analyst_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/covenant_analyst_agent.py:58:42: E261 at least two spaces before inline comment core/agents/specialized/credit_conformance_agent.py:18:1: E302 expected 2 blank lines, found 1 core/agents/specialized/credit_conformance_agent.py:24:121: E501 line too long (127 > 120 characters) core/agents/specialized/credit_sentry_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/credit_sentry_agent.py:13:121: E501 line too long (124 > 120 characters) core/agents/specialized/credit_sentry_agent.py:19:60: E261 at least two spaces before inline comment core/agents/specialized/credit_sentry_agent.py:28:67: E261 at least two spaces before inline comment core/agents/specialized/institutional_radar_agent.py:1:1: F401 'logging' imported but unused core/agents/specialized/institutional_radar_agent.py:12:1: E302 expected 2 blank lines, found 1 core/agents/specialized/institutional_radar_agent.py:18:91: E251 unexpected spaces around keyword / parameter equals core/agents/specialized/institutional_radar_agent.py:18:93: E251 unexpected spaces around keyword / parameter equals core/agents/specialized/institutional_radar_agent.py:22:55: E261 at least two spaces before inline comment core/agents/specialized/institutional_radar_agent.py:23:53: E261 at least two spaces before inline comment core/agents/specialized/institutional_trend_agent.py:2:1: F401 'os' imported but unused core/agents/specialized/institutional_trend_agent.py:4:1: F401 'pandas as pd' imported but unused core/agents/specialized/institutional_trend_agent.py:5:1: F401 'typing.List' imported but unused core/agents/specialized/institutional_trend_agent.py:5:1: F401 'typing.Optional' imported but unused core/agents/specialized/institutional_trend_agent.py:13:1: E302 expected 2 blank lines, found 1 core/agents/specialized/institutional_trend_agent.py:17:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:28:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:43:27: W291 trailing whitespace core/agents/specialized/institutional_trend_agent.py:52:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:56:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:74:55: E261 at least two spaces before inline comment core/agents/specialized/institutional_trend_agent.py:75:40: E261 at least two spaces before inline comment core/agents/specialized/institutional_trend_agent.py:92:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:101:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:107:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:110:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:114:121: E501 line too long (156 > 120 characters) core/agents/specialized/institutional_trend_agent.py:115:121: E501 line too long (141 > 120 characters) core/agents/specialized/institutional_trend_agent.py:143:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:156:59: E261 at least two spaces before inline comment core/agents/specialized/institutional_trend_agent.py:164:26: E701 multiple statements on one line (colon) core/agents/specialized/institutional_trend_agent.py:165:28: E701 multiple statements on one line (colon) core/agents/specialized/institutional_trend_agent.py:169:28: E701 multiple statements on one line (colon) core/agents/specialized/institutional_trend_agent.py:178:54: W291 trailing whitespace core/agents/specialized/institutional_trend_agent.py:179:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:182:1: W293 blank line contains whitespace core/agents/specialized/institutional_trend_agent.py:184:12: W292 no newline at end of file core/agents/specialized/management_assessment_agent.py:2:1: F401 'typing.List' imported but unused core/agents/specialized/management_assessment_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/management_assessment_agent.py:28:32: E261 at least two spaces before inline comment core/agents/specialized/management_assessment_agent.py:34:44: E261 at least two spaces before inline comment core/agents/specialized/monte_carlo_risk_agent.py:3:1: F401 'typing.List' imported but unused core/agents/specialized/monte_carlo_risk_agent.py:10:1: E302 expected 2 blank lines, found 1 core/agents/specialized/monte_carlo_risk_agent.py:72:18: E261 at least two spaces before inline comment core/agents/specialized/monte_carlo_risk_agent.py:106:23: E701 multiple statements on one line (colon) core/agents/specialized/monte_carlo_risk_agent.py:107:23: E701 multiple statements on one line (colon) core/agents/specialized/monte_carlo_risk_agent.py:127:50: E261 at least two spaces before inline comment core/agents/specialized/peer_comparison_agent.py:2:1: F401 'typing.List' imported but unused core/agents/specialized/peer_comparison_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/peer_comparison_agent.py:23:9: F841 local variable 'company_id' is assigned to but never used core/agents/specialized/portfolio_manager_agent.py:2:1: F401 'typing.List' imported but unused core/agents/specialized/portfolio_manager_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/portfolio_manager_agent.py:21:9: F841 local variable 'params' is assigned to but never used core/agents/specialized/portfolio_manager_agent.py:26:9: F841 local variable 'equity_bullish' is assigned to but never used core/agents/specialized/portfolio_manager_agent.py:26:30: E261 at least two spaces before inline comment core/agents/specialized/portfolio_manager_agent.py:37:25: E701 multiple statements on one line (colon) core/agents/specialized/portfolio_manager_agent.py:38:26: E701 multiple statements on one line (colon) core/agents/specialized/portfolio_manager_agent.py:40:14: E111 indentation is not a multiple of 4 core/agents/specialized/portfolio_manager_agent.py:40:14: E117 over-indented core/agents/specialized/quantum_scenario_agent.py:2:1: F401 'asyncio' imported but unused core/agents/specialized/quantum_scenario_agent.py:3:1: F401 'typing.Optional' imported but unused core/agents/specialized/quantum_scenario_agent.py:22:1: E302 expected 2 blank lines, found 1 core/agents/specialized/quantum_scenario_agent.py:97:121: E501 line too long (128 > 120 characters) core/agents/specialized/quantum_scenario_agent.py:110:18: E111 indentation is not a multiple of 4 core/agents/specialized/quantum_scenario_agent.py:110:18: E117 over-indented core/agents/specialized/sentinel_agent.py:8:1: E302 expected 2 blank lines, found 1 core/agents/specialized/sentinel_agent.py:13:121: E501 line too long (124 > 120 characters) core/agents/specialized/snc_rating_agent.py:2:1: F401 'typing.Optional' imported but unused core/agents/specialized/snc_rating_agent.py:9:1: E302 expected 2 blank lines, found 1 core/agents/specialized/snc_rating_agent.py:49:74: E261 at least two spaces before inline comment core/agents/specialized/snc_rating_agent.py:52:33: E701 multiple statements on one line (colon) core/agents/specialized/snc_rating_agent.py:85:121: E501 line too long (130 > 120 characters) core/agents/specialized/snc_rating_agent.py:88:69: E261 at least two spaces before inline comment core/agents/specialized/snc_rating_agent.py:95:43: E701 multiple statements on one line (colon) core/agents/specialized/snc_rating_agent.py:96:45: E701 multiple statements on one line (colon) core/agents/specialized/snc_rating_agent.py:124:55: E261 at least two spaces before inline comment core/agents/specialized/snc_rating_agent.py:126:55: E261 at least two spaces before inline comment core/agents/specialized/snc_rating_agent.py:128:55: E261 at least two spaces before inline comment core/agents/sub_agents/compliance_kyc_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/sub_agents/data_ingestion_agent.py:1:1: F401 'typing.List' imported but unused core/agents/sub_agents/data_ingestion_agent.py:9:1: E302 expected 2 blank lines, found 1 core/agents/sub_agents/data_ingestion_agent.py:13:1: W293 blank line contains whitespace core/agents/sub_agents/data_ingestion_agent.py:24:1: W293 blank line contains whitespace core/agents/sub_agents/data_ingestion_agent.py:111:10: W292 no newline at end of file core/agents/sub_agents/financial_document_agent.py:4:1: F401 'typing.Optional' imported but unused core/agents/sub_agents/financial_document_agent.py:11:1: E302 expected 2 blank lines, found 1 core/agents/sub_agents/financial_document_agent.py:57:13: F841 local variable 'raw_text' is assigned to but never used core/agents/sub_agents/financial_news_sub_agent.py:4:1: E302 expected 2 blank lines, found 1 core/agents/sub_agents/git_repo_sub_agent.py:5:1: E302 expected 2 blank lines, found 1 core/agents/sub_agents/git_repo_sub_agent.py:42:32: W292 no newline at end of file core/agents/sub_agents/internal_systems_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/sub_agents/market_alternative_data_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/supply_chain_risk_agent.py:1:1: E265 block comment should start with '# ' core/agents/supply_chain_risk_agent.py:9:1: E302 expected 2 blank lines, found 1 core/agents/supply_chain_risk_agent.py:181:1: E305 expected 2 blank lines after class or function definition, found 1 core/agents/supply_chain_risk_agent.py:200:1: W293 blank line contains whitespace core/agents/technical_analyst_agent.py:2:1: F401 'numpy as np' imported but unused core/agents/technical_analyst_agent.py:4:1: F401 'sklearn.model_selection.train_test_split' imported but unused core/agents/technical_analyst_agent.py:5:1: E265 block comment should start with '# ' core/agents/technical_analyst_agent.py:7:1: E302 expected 2 blank lines, found 1 core/agents/technical_analyst_agent.py:26:9: E265 block comment should start with '# ' core/agents/technical_analyst_agent.py:45:9: E265 block comment should start with '# ' core/agents/technical_analyst_agent.py:50:9: E265 block comment should start with '# ' core/agents/technical_analyst_agent.py:51:16: F821 undefined name 'rsi' core/agents/technical_analyst_agent.py:54:9: E265 block comment should start with '# ' core/agents/technical_analyst_agent.py:55:16: F821 undefined name 'features' core/agents/technical_analyst_agent.py:55:26: F821 undefined name 'labels' core/agents/technical_analyst_agent.py:58:9: E265 block comment should start with '# ' core/agents/technical_analyst_agent.py:59:16: F821 undefined name 'model' core/agents/technical_analyst_agent.py:62:9: E265 block comment should start with '# ' core/agents/templates/v23_template_agent.py:2:1: F401 'json' imported but unused core/agents/templates/v23_template_agent.py:3:1: F401 'typing.List' imported but unused core/agents/templates/v23_template_agent.py:3:1: F401 'typing.Optional' imported but unused core/agents/templates/v23_template_agent.py:8:1: F401 'core.utils.agent_utils.parse_json_garbage' imported but unused core/agents/templates/v23_template_agent.py:12:1: E302 expected 2 blank lines, found 1 core/agents/templates/v23_template_agent.py:15:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:26:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:35:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:42:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:45:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:50:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:55:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:59:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:66:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:71:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:99:9: F841 local variable 'query' is assigned to but never used core/agents/templates/v23_template_agent.py:113:1: W293 blank line contains whitespace core/agents/templates/v23_template_agent.py:120:1: W293 blank line contains whitespace core/analysis/complexity_formula.py:6:1: F401 'math' imported but unused core/analysis/complexity_formula.py:8:1: F401 'typing.Union' imported but unused core/analysis/complexity_formula.py:10:1: E302 expected 2 blank lines, found 1 core/analysis/complexity_formula.py:18:1: E302 expected 2 blank lines, found 1 core/analysis/complexity_formula.py:52:27: E128 continuation line under-indented for visual indent core/analysis/complexity_formula.py:53:27: E128 continuation line under-indented for visual indent core/analysis/complexity_formula.py:84:1: E302 expected 2 blank lines, found 1 core/analysis/complexity_formula.py:113:36: E261 at least two spaces before inline comment core/analysis/complexity_formula.py:133:1: E305 expected 2 blank lines after class or function definition, found 1 core/analysis/counterfactual_engine.py:6:1: E302 expected 2 blank lines, found 1 core/analysis/forecasting/hybrid_model.py:4:1: F401 'numpy as np' imported but unused core/analysis/forecasting/hybrid_model.py:10:1: E302 expected 2 blank lines, found 1 core/analysis/forecasting/hybrid_model.py:19:28: E261 at least two spaces before inline comment core/analysis/forecasting/hybrid_model.py:23:1: E302 expected 2 blank lines, found 1 core/analysis/forecasting/hybrid_model.py:76:14: E114 indentation is not a multiple of 4 (comment) core/analysis/forecasting/hybrid_model.py:76:14: E117 over-indented (comment) core/analysis/forecasting/hybrid_model.py:77:14: E114 indentation is not a multiple of 4 (comment) core/analysis/forecasting/hybrid_model.py:77:14: E117 over-indented (comment) core/analysis/forecasting/hybrid_model.py:78:14: E114 indentation is not a multiple of 4 (comment) core/analysis/forecasting/hybrid_model.py:78:14: E117 over-indented (comment) core/analysis/forecasting/hybrid_model.py:79:14: E111 indentation is not a multiple of 4 core/analysis/forecasting/hybrid_model.py:79:14: E117 over-indented core/analysis/forecasting/hybrid_model.py:87:14: E111 indentation is not a multiple of 4 core/analysis/forecasting/hybrid_model.py:87:14: E117 over-indented core/analysis/fundamental_analysis.py:3:1: F401 'pandas as pd' imported but unused core/analysis/fundamental_analysis.py:5:1: F401 'langchain.agents.Tool' imported but unused core/analysis/fundamental_analysis.py:10:1: E302 expected 2 blank lines, found 0 core/analysis/fundamental_analysis.py:10:2: F821 undefined name 'tool' core/analysis/fundamental_analysis.py:22:1: E305 expected 2 blank lines after class or function definition, found 1 core/analysis/fundamental_analysis.py:27:1: E302 expected 2 blank lines, found 1 core/analysis/fundamental_analysis.py:69:121: E501 line too long (126 > 120 characters) core/analysis/fundamental_analysis.py:71:121: E501 line too long (132 > 120 characters) core/analysis/fundamental_analysis.py:252:121: E501 line too long (124 > 120 characters) core/analysis/fundamental_analysis.py:284:121: E501 line too long (133 > 120 characters) core/analysis/fundamental_analysis.py:289:121: E501 line too long (124 > 120 characters) core/analysis/risk_assessment.py:4:1: F401 'scipy.stats.norm' imported but unused core/analysis/risk_assessment.py:5:1: F401 'pandas as pd' imported but unused core/analysis/risk_assessment.py:7:1: F401 'datetime.datetime' imported but unused core/analysis/risk_assessment.py:9:1: E302 expected 2 blank lines, found 1 core/analysis/risk_assessment.py:11:72: W291 trailing whitespace core/analysis/risk_assessment.py:12:75: W291 trailing whitespace core/analysis/risk_assessment.py:22:83: W291 trailing whitespace core/analysis/risk_assessment.py:24:81: W291 trailing whitespace core/analysis/risk_assessment.py:127:121: E501 line too long (122 > 120 characters) core/analysis/risk_assessment.py:153:87: W291 trailing whitespace core/analysis/risk_assessment.py:157:121: E501 line too long (125 > 120 characters) core/analysis/risk_assessment.py:158:121: E501 line too long (125 > 120 characters) core/analysis/risk_assessment.py:159:1: W293 blank line contains whitespace core/analysis/risk_assessment.py:171:73: W291 trailing whitespace core/analysis/risk_assessment.py:185:121: E501 line too long (127 > 120 characters) core/analysis/risk_assessment.py:212:1: W293 blank line contains whitespace core/analysis/risk_assessment.py:216:121: E501 line too long (148 > 120 characters) core/analysis/technical_analysis.py:15:1: E302 expected 2 blank lines, found 1 core/analysis/technical_analysis.py:19:1: W293 blank line contains whitespace core/analysis/technical_analysis.py:102:121: E501 line too long (123 > 120 characters) core/analysis/technical_analysis.py:133:9: E303 too many blank lines (2) core/analysis/trading_logic.py:4:1: E302 expected 2 blank lines, found 1 core/analysis/trading_logic.py:24:121: E501 line too long (133 > 120 characters) core/analysis/xai/shap_explainer.py:5:1: E302 expected 2 blank lines, found 1 core/api.py:16:1: E302 expected 2 blank lines, found 1 core/api.py:57:1: E305 expected 2 blank lines after class or function definition, found 1 core/api/deps.py:5:1: E302 expected 2 blank lines, found 1 core/api/main.py:5:1: E302 expected 2 blank lines, found 1 core/api/main.py:22:1: E302 expected 2 blank lines, found 1 core/api/main.py:26:1: E302 expected 2 blank lines, found 1 core/api/main.py:30:1: E305 expected 2 blank lines after class or function definition, found 1 core/api/routers/agents.py:8:1: E302 expected 2 blank lines, found 1 core/api/routers/agents.py:21:1: E302 expected 2 blank lines, found 1 core/api/schemas.py:4:1: E302 expected 2 blank lines, found 1 core/api/schemas.py:8:1: E302 expected 2 blank lines, found 1 core/api/server.py:4:1: F401 'asyncio' imported but unused core/api/server.py:11:1: E402 module level import not at top of file core/api/server.py:45:1: E302 expected 2 blank lines, found 1 core/api/server.py:50:1: E302 expected 2 blank lines, found 1 core/api/server.py:75:1: E302 expected 2 blank lines, found 1 core/api/server.py:79:1: E302 expected 2 blank lines, found 1 core/api/server.py:83:1: E302 expected 2 blank lines, found 1 core/api/server.py:94:1: E302 expected 2 blank lines, found 1 core/api/server.py:99:121: E501 line too long (179 > 120 characters) core/api/server.py:100:16: E261 at least two spaces before inline comment core/api/server.py:116:14: E111 indentation is not a multiple of 4 core/api/server.py:116:14: E117 over-indented core/api/server.py:118:14: E111 indentation is not a multiple of 4 core/api/server.py:118:14: E117 over-indented core/capability_monitoring/module.py:15:1: E302 expected 2 blank lines, found 1 core/capability_monitoring/module.py:83:121: E501 line too long (123 > 120 characters) core/capability_monitoring/module.py:85:121: E501 line too long (125 > 120 characters) core/capability_monitoring/module.py:124:5: E301 expected 1 blank line, found 0 core/capability_monitoring/module.py:126:5: E301 expected 1 blank line, found 0 core/capability_monitoring/module.py:130:1: E302 expected 2 blank lines, found 1 core/capability_monitoring/module.py:131:11: F541 f-string is missing placeholders core/capability_monitoring/module.py:133:11: F541 f-string is missing placeholders core/capability_monitoring/module.py:134:11: F541 f-string is missing placeholders core/capability_monitoring/module.py:138:1: E305 expected 2 blank lines after class or function definition, found 1 core/data_access/api_source.py:20:5: E303 too many blank lines (2) core/data_access/api_source.py:26:21: E261 at least two spaces before inline comment core/data_access/api_source.py:35:5: E303 too many blank lines (2) core/data_access/base_data_source.py:6:1: E302 expected 2 blank lines, found 1 core/data_access/base_data_source.py:26:7: E111 indentation is not a multiple of 4 core/data_access/base_data_source.py:27:7: E111 indentation is not a multiple of 4 core/data_access/json_file_source.py:11:1: E302 expected 2 blank lines, found 1 core/data_access/json_file_source.py:36:5: E303 too many blank lines (2) core/data_access/json_file_source.py:48:11: E111 indentation is not a multiple of 4 core/data_access/json_file_source.py:58:11: E111 indentation is not a multiple of 4 core/data_access/json_file_source.py:64:5: E303 too many blank lines (2) core/data_access/lakehouse_connector.py:2:1: F401 'typing.Any' imported but unused core/data_access/lakehouse_connector.py:7:1: E302 expected 2 blank lines, found 1 core/data_access/lakehouse_connector.py:29:13: F841 local variable 'e' is assigned to but never used core/data_access/lakehouse_connector.py:45:14: E111 indentation is not a multiple of 4 core/data_access/lakehouse_connector.py:45:14: E117 over-indented core/data_access/lakehouse_connector.py:57:9: E722 do not use bare 'except' core/data_processing/ingestion/xbrl/parser.py:11:1: F401 'typing.Optional' imported but unused core/data_processing/ingestion/xbrl/parser.py:13:1: E302 expected 2 blank lines, found 1 core/data_processing/ingestion/xbrl/parser.py:35:1: W293 blank line contains whitespace core/data_processing/ingestion/xbrl/parser.py:37:1: W293 blank line contains whitespace core/data_processing/ingestion/xbrl/parser.py:41:43: E261 at least two spaces before inline comment core/data_processing/ingestion/xbrl/parser.py:42:40: E261 at least two spaces before inline comment core/data_processing/ingestion/xbrl/parser.py:43:1: W293 blank line contains whitespace core/data_processing/ingestion/xbrl/parser.py:51:1: W293 blank line contains whitespace core/data_processing/ingestion/xbrl/parser.py:62:1: E305 expected 2 blank lines after class or function definition, found 1 core/data_processing/sequential_pipeline.py:4:1: F401 'hashlib' imported but unused core/data_processing/sequential_pipeline.py:8:1: F401 'dataclasses.asdict' imported but unused core/data_processing/sequential_pipeline.py:11:1: F401 'core.data_processing.utils.GoldStandardArtifact' imported but unused core/data_processing/sequential_pipeline.py:11:1: F401 'core.data_processing.utils.ArtifactType' imported but unused core/data_processing/sequential_pipeline.py:22:1: E302 expected 2 blank lines, found 1 core/data_processing/sequential_pipeline.py:29:39: E261 at least two spaces before inline comment core/data_processing/sequential_pipeline.py:30:29: E261 at least two spaces before inline comment core/data_processing/sequential_pipeline.py:37:1: E302 expected 2 blank lines, found 1 core/data_processing/sequential_pipeline.py:81:1: E302 expected 2 blank lines, found 1 core/data_processing/sequential_pipeline.py:111:14: E111 indentation is not a multiple of 4 core/data_processing/sequential_pipeline.py:111:14: E117 over-indented core/data_processing/sequential_pipeline.py:118:1: E302 expected 2 blank lines, found 1 core/data_processing/sequential_pipeline.py:150:1: E302 expected 2 blank lines, found 1 core/data_processing/sequential_pipeline.py:186:1: E305 expected 2 blank lines after class or function definition, found 1 core/data_processing/synthetic_data_factory.py:1:1: F401 'time' imported but unused core/data_processing/synthetic_data_factory.py:2:1: F401 'random' imported but unused core/data_processing/synthetic_data_factory.py:5:1: E302 expected 2 blank lines, found 1 core/data_processing/synthetic_data_factory.py:81:121: E501 line too long (161 > 120 characters) core/data_processing/universal_ingestor.py:4:1: F401 'glob' imported but unused core/data_processing/universal_ingestor.py:6:1: F401 'typing.Optional' imported but unused core/data_processing/universal_ingestor.py:12:1: E302 expected 2 blank lines, found 1 core/data_processing/universal_ingestor.py:39:20: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:47:49: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:48:52: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:49:29: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:61:33: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:66:28: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:67:29: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:70:31: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:70:45: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:71:32: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:71:46: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:75:63: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:76:39: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor.py:115:31: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:118:36: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:122:41: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:138:1: E302 expected 2 blank lines, found 1 core/data_processing/universal_ingestor.py:146:1: E302 expected 2 blank lines, found 1 core/data_processing/universal_ingestor.py:181:1: E302 expected 2 blank lines, found 1 core/data_processing/universal_ingestor.py:218:17: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:235:9: F841 local variable 'e' is assigned to but never used core/data_processing/universal_ingestor.py:246:23: E261 at least two spaces before inline comment core/data_processing/universal_ingestor.py:261:14: E111 indentation is not a multiple of 4 core/data_processing/universal_ingestor.py:261:14: E117 over-indented core/data_processing/universal_ingestor.py:280:17: E722 do not use bare 'except' core/data_processing/universal_ingestor.py:372:9: F841 local variable 'e' is assigned to but never used core/data_processing/universal_ingestor.py:386:1: E305 expected 2 blank lines after class or function definition, found 1 core/data_processing/universal_ingestor.py:389:36: E261 at least two spaces before inline comment core/data_processing/universal_ingestor_v2.py:7:1: F401 'datetime.datetime' imported but unused core/data_processing/universal_ingestor_v2.py:11:1: F401 'core.data_processing.utils.ArtifactType' imported but unused core/data_processing/universal_ingestor_v2.py:28:1: E302 expected 2 blank lines, found 1 core/data_processing/universal_ingestor_v2.py:34:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:40:50: E261 at least two spaces before inline comment core/data_processing/universal_ingestor_v2.py:51:13: E722 do not use bare 'except' core/data_processing/universal_ingestor_v2.py:51:19: E701 multiple statements on one line (colon) core/data_processing/universal_ingestor_v2.py:69:17: F841 local variable 'current_hash' is assigned to but never used core/data_processing/universal_ingestor_v2.py:70:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:71:84: W291 trailing whitespace core/data_processing/universal_ingestor_v2.py:73:79: W291 trailing whitespace core/data_processing/universal_ingestor_v2.py:75:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:78:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:80:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:87:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:91:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:111:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:121:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:123:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:127:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:131:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:134:1: E305 expected 2 blank lines after class or function definition, found 1 core/data_processing/universal_ingestor_v2.py:136:121: E501 line too long (124 > 120 characters) core/data_processing/universal_ingestor_v2.py:139:1: W293 blank line contains whitespace core/data_processing/universal_ingestor_v2.py:141:1: W293 blank line contains whitespace core/data_processing/utils.py:8:1: F401 'typing.List' imported but unused core/data_processing/utils.py:18:1: E302 expected 2 blank lines, found 1 core/data_processing/utils.py:27:1: E302 expected 2 blank lines, found 1 core/data_processing/utils.py:45:1: E302 expected 2 blank lines, found 1 core/data_processing/utils.py:69:20: E701 multiple statements on one line (colon) core/data_processing/utils.py:82:29: E701 multiple statements on one line (colon) core/data_processing/utils.py:83:52: E701 multiple statements on one line (colon) core/data_processing/utils.py:90:32: E701 multiple statements on one line (colon) core/data_processing/utils.py:97:28: E701 multiple statements on one line (colon) core/data_processing/utils.py:105:63: E701 multiple statements on one line (colon) core/data_processing/utils.py:106:39: E701 multiple statements on one line (colon) core/data_processing/utils.py:130:1: E302 expected 2 blank lines, found 1 core/data_processing/utils.py:164:32: E701 multiple statements on one line (colon) core/data_processing/utils.py:165:13: E722 do not use bare 'except' core/data_processing/utils.py:165:19: E701 multiple statements on one line (colon) core/data_processing/utils.py:167:20: E701 multiple statements on one line (colon) core/data_processing/utils.py:189:40: E701 multiple statements on one line (colon) core/data_processing/utils.py:190:46: E701 multiple statements on one line (colon) core/data_processing/utils.py:215:25: E701 multiple statements on one line (colon) core/data_sources/data_fetcher.py:13:1: F401 'typing.Optional' imported but unused core/data_sources/data_fetcher.py:19:1: E302 expected 2 blank lines, found 1 core/data_sources/data_fetcher.py:87:121: E501 line too long (123 > 120 characters) core/data_sources/data_fetcher.py:184:24: E127 continuation line over-indented for visual indent core/data_sources/data_fetcher.py:308:27: E701 multiple statements on one line (colon) core/data_sources/data_fetcher.py:311:18: E114 indentation is not a multiple of 4 (comment) core/data_sources/data_fetcher.py:311:18: E117 over-indented (comment) core/data_sources/data_fetcher.py:312:18: E111 indentation is not a multiple of 4 core/data_sources/data_fetcher.py:312:18: E117 over-indented core/data_sources/data_fetcher.py:314:18: E111 indentation is not a multiple of 4 core/data_sources/data_fetcher.py:314:18: E117 over-indented core/data_sources/data_sources.py:3:1: F401 'requests' imported but unused core/data_sources/data_sources.py:4:1: F401 'textblob.TextBlob' imported but unused core/data_sources/data_sources.py:6:15: E261 at least two spaces before inline comment core/data_sources/data_sources.py:7:49: E261 at least two spaces before inline comment core/data_sources/data_sources.py:8:1: E265 block comment should start with '# ' core/data_sources/data_sources.py:10:1: E302 expected 2 blank lines, found 1 core/data_sources/data_sources.py:13:29: E261 at least two spaces before inline comment core/data_sources/data_sources.py:21:121: E501 line too long (125 > 120 characters) core/data_sources/data_sources.py:23:121: E501 line too long (148 > 120 characters) core/data_sources/data_sources.py:25:1: W293 blank line contains whitespace core/data_sources/data_sources.py:26:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:45:13: E265 block comment should start with '# ' core/data_sources/data_sources.py:47:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:48:16: F821 undefined name 'headlines' core/data_sources/data_sources.py:51:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:55:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:59:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:63:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:67:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:70:5: E265 block comment should start with '# ' core/data_sources/data_sources.py:73:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:77:9: E265 block comment should start with '# ' core/data_sources/data_sources.py:80:5: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:3:1: F401 'requests' imported but unused core/data_sources/financial_news_api.py:4:1: F401 'textblob.TextBlob' imported but unused core/data_sources/financial_news_api.py:5:15: E261 at least two spaces before inline comment core/data_sources/financial_news_api.py:6:49: E261 at least two spaces before inline comment core/data_sources/financial_news_api.py:8:1: E302 expected 2 blank lines, found 1 core/data_sources/financial_news_api.py:15:23: E261 at least two spaces before inline comment core/data_sources/financial_news_api.py:20:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:21:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:22:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:23:121: E501 line too long (148 > 120 characters) core/data_sources/financial_news_api.py:25:121: E501 line too long (122 > 120 characters) core/data_sources/financial_news_api.py:28:1: W293 blank line contains whitespace core/data_sources/financial_news_api.py:32:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:33:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:34:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:35:121: E501 line too long (146 > 120 characters) core/data_sources/financial_news_api.py:40:1: W293 blank line contains whitespace core/data_sources/financial_news_api.py:41:9: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:45:29: E261 at least two spaces before inline comment core/data_sources/financial_news_api.py:50:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:51:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:52:121: E501 line too long (168 > 120 characters) core/data_sources/financial_news_api.py:61:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:62:17: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:63:121: E501 line too long (166 > 120 characters) core/data_sources/financial_news_api.py:68:1: W293 blank line contains whitespace core/data_sources/financial_news_api.py:69:9: E265 block comment should start with '# ' core/data_sources/financial_news_api.py:72:1: E302 expected 2 blank lines, found 1 core/data_sources/financial_news_api.py:76:121: E501 line too long (125 > 120 characters) core/data_sources/financial_news_api.py:77:121: E501 line too long (126 > 120 characters) core/data_sources/financial_news_api.py:83:121: E501 line too long (133 > 120 characters) core/data_sources/financial_news_api.py:85:121: E501 line too long (124 > 120 characters) core/data_sources/government_stats_api.py:4:1: F401 'pandas as pd' imported but unused core/data_sources/government_stats_api.py:5:15: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:6:49: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:8:1: E302 expected 2 blank lines, found 1 core/data_sources/government_stats_api.py:12:29: W291 trailing whitespace core/data_sources/government_stats_api.py:15:24: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:19:24: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:24:121: E501 line too long (143 > 120 characters) core/data_sources/government_stats_api.py:26:17: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:29:121: E501 line too long (143 > 120 characters) core/data_sources/government_stats_api.py:30:17: F841 local variable 'response' is assigned to but never used core/data_sources/government_stats_api.py:31:17: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:32:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:36:24: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:40:24: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:45:121: E501 line too long (149 > 120 characters) core/data_sources/government_stats_api.py:46:17: F841 local variable 'response' is assigned to but never used core/data_sources/government_stats_api.py:47:17: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:50:17: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:52:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:56:24: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:60:24: E261 at least two spaces before inline comment core/data_sources/government_stats_api.py:65:121: E501 line too long (153 > 120 characters) core/data_sources/government_stats_api.py:66:17: F841 local variable 'response' is assigned to but never used core/data_sources/government_stats_api.py:67:17: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:70:17: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:72:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:76:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:77:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:81:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:82:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:86:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:87:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:91:9: E265 block comment should start with '# ' core/data_sources/government_stats_api.py:94:5: E265 block comment should start with '# ' core/data_sources/market_data_api.py:4:1: F401 'pandas as pd' imported but unused core/data_sources/market_data_api.py:5:15: E261 at least two spaces before inline comment core/data_sources/market_data_api.py:6:49: E261 at least two spaces before inline comment core/data_sources/market_data_api.py:8:1: E302 expected 2 blank lines, found 1 core/data_sources/market_data_api.py:15:26: E261 at least two spaces before inline comment core/data_sources/market_data_api.py:29:121: E501 line too long (192 > 120 characters) core/data_sources/market_data_api.py:39:121: E501 line too long (218 > 120 characters) core/data_sources/market_data_api.py:52:121: E501 line too long (132 > 120 characters) core/data_sources/market_data_api.py:58:121: E501 line too long (250 > 120 characters) core/data_sources/market_data_api.py:60:121: E501 line too long (156 > 120 characters) core/data_sources/market_data_api.py:63:121: E501 line too long (122 > 120 characters) core/data_sources/market_data_api.py:67:121: E501 line too long (149 > 120 characters) core/data_sources/market_data_api.py:73:121: E501 line too long (143 > 120 characters) core/data_sources/market_data_api.py:74:121: E501 line too long (127 > 120 characters) core/data_sources/market_data_api.py:77:121: E501 line too long (347 > 120 characters) core/data_sources/market_data_api.py:79:121: E501 line too long (155 > 120 characters) core/data_sources/market_data_api.py:82:121: E501 line too long (122 > 120 characters) core/data_sources/market_data_api.py:84:9: E265 block comment should start with '# ' core/data_sources/market_data_api.py:88:9: E265 block comment should start with '# ' core/data_sources/market_data_api.py:89:9: E265 block comment should start with '# ' core/data_sources/market_data_api.py:93:9: E265 block comment should start with '# ' core/data_sources/market_data_api.py:96:5: E265 block comment should start with '# ' core/data_sources/political_landscape.py:9:1: F401 'typing.Optional' imported but unused core/data_sources/political_landscape.py:10:1: F401 'datetime' imported but unused core/data_sources/political_landscape.py:16:1: E302 expected 2 blank lines, found 1 core/data_sources/political_landscape.py:26:69: E261 at least two spaces before inline comment core/data_sources/political_landscape.py:193:33: E261 at least two spaces before inline comment core/data_sources/political_landscape.py:198:121: E501 line too long (151 > 120 characters) core/data_sources/political_landscape.py:212:35: E261 at least two spaces before inline comment core/data_sources/political_landscape.py:223:121: E501 line too long (151 > 120 characters) core/data_sources/political_landscape.py:241:18: E111 indentation is not a multiple of 4 core/data_sources/political_landscape.py:241:18: E117 over-indented core/data_sources/political_landscape.py:253:1: E305 expected 2 blank lines after class or function definition, found 1 core/data_sources/prediction_market_api.py:4:1: E302 expected 2 blank lines, found 1 core/data_sources/social_media_api.py:9:15: E261 at least two spaces before inline comment core/data_sources/social_media_api.py:10:49: E261 at least two spaces before inline comment core/data_sources/social_media_api.py:11:1: E265 block comment should start with '# ' core/data_sources/social_media_api.py:13:1: E302 expected 2 blank lines, found 1 core/data_sources/social_media_api.py:16:29: E261 at least two spaces before inline comment core/data_sources/social_media_api.py:24:121: E501 line too long (125 > 120 characters) core/data_sources/social_media_api.py:26:121: E501 line too long (133 > 120 characters) core/data_sources/social_media_api.py:28:1: W293 blank line contains whitespace core/data_sources/social_media_api.py:29:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:47:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:51:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:55:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:82:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:83:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:84:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:88:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:89:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:90:9: E265 block comment should start with '# ' core/data_sources/social_media_api.py:93:5: E265 block comment should start with '# ' core/data_sources/social_media_api.py:98:1: E302 expected 2 blank lines, found 1 core/data_sources/yfinance_market_data.py:3:1: F401 'pandas as pd' imported but unused core/data_sources/yfinance_market_data.py:5:1: F401 'typing.Optional' imported but unused core/data_sources/yfinance_market_data.py:9:1: E302 expected 2 blank lines, found 1 core/data_sources/yfinance_market_data.py:28:18: E111 indentation is not a multiple of 4 core/data_sources/yfinance_market_data.py:28:18: E117 over-indented core/data_sources/yfinance_market_data.py:29:18: E111 indentation is not a multiple of 4 core/embeddings/base_embedding_model.py:3:1: E302 expected 2 blank lines, found 1 core/embeddings/models/dummy_embedding_model.py:5:1: E302 expected 2 blank lines, found 1 core/embeddings/models/dummy_embedding_model.py:21:94: E261 at least two spaces before inline comment core/embeddings/models/dummy_embedding_model.py:21:121: E501 line too long (126 > 120 characters) core/embeddings/models/dummy_embedding_model.py:31:1: E305 expected 2 blank lines after class or function definition, found 1 core/embeddings/models/openai_embedding_model.py:9:1: E302 expected 2 blank lines, found 1 core/embeddings/models/openai_embedding_model.py:17:40: E261 at least two spaces before inline comment core/embeddings/models/openai_embedding_model.py:38:21: E261 at least two spaces before inline comment core/embeddings/models/openai_embedding_model.py:54:92: E261 at least two spaces before inline comment core/embeddings/models/openai_embedding_model.py:59:46: E261 at least two spaces before inline comment core/embeddings/models/openai_embedding_model.py:61:1: E305 expected 2 blank lines after class or function definition, found 1 core/embeddings/models/openai_embedding_model.py:64:49: E261 at least two spaces before inline comment core/engine/__init__.py:12:121: E501 line too long (131 > 120 characters) core/engine/agent_adapters.py:9:1: F401 'json' imported but unused core/engine/agent_adapters.py:22:1: E302 expected 2 blank lines, found 1 core/engine/agent_adapters.py:34:49: W291 trailing whitespace core/engine/agent_adapters.py:37:41: W291 trailing whitespace core/engine/agent_adapters.py:38:38: W291 trailing whitespace core/engine/agent_adapters.py:40:121: E501 line too long (128 > 120 characters) core/engine/agent_adapters.py:44:35: W291 trailing whitespace core/engine/agent_adapters.py:45:121: E501 line too long (130 > 120 characters) core/engine/agent_adapters.py:48:121: E501 line too long (136 > 120 characters) core/engine/agent_adapters.py:52:32: W291 trailing whitespace core/engine/agent_adapters.py:54:75: W291 trailing whitespace core/engine/agent_adapters.py:56:33: W291 trailing whitespace core/engine/agent_adapters.py:57:73: W291 trailing whitespace core/engine/agent_adapters.py:62:1: E302 expected 2 blank lines, found 1 core/engine/agent_adapters.py:68:1: W293 blank line contains whitespace core/engine/agent_adapters.py:72:1: W293 blank line contains whitespace core/engine/agent_adapters.py:79:18: E111 indentation is not a multiple of 4 core/engine/agent_adapters.py:79:18: E117 over-indented core/engine/agent_adapters.py:79:121: E501 line too long (125 > 120 characters) core/engine/agent_adapters.py:82:1: E302 expected 2 blank lines, found 1 core/engine/agent_adapters.py:87:1: W293 blank line contains whitespace core/engine/agent_adapters.py:90:32: W291 trailing whitespace core/engine/agent_adapters.py:92:1: W293 blank line contains whitespace core/engine/agent_adapters.py:95:82: W291 trailing whitespace core/engine/agent_adapters.py:97:1: W293 blank line contains whitespace core/engine/autonomous_self_improvement.py:12:1: F401 'random' imported but unused core/engine/autonomous_self_improvement.py:17:1: E302 expected 2 blank lines, found 1 core/engine/autonomous_self_improvement.py:26:1: E302 expected 2 blank lines, found 1 core/engine/autonomous_self_improvement.py:72:24: E261 at least two spaces before inline comment core/engine/autonomous_self_improvement.py:76:1: E302 expected 2 blank lines, found 1 core/engine/autonomous_self_improvement.py:93:1: W293 blank line contains whitespace core/engine/autonomous_self_improvement.py:97:34: E261 at least two spaces before inline comment core/engine/autonomous_self_improvement.py:104:1: W293 blank line contains whitespace core/engine/autonomous_self_improvement.py:107:1: W293 blank line contains whitespace core/engine/autonomous_self_improvement.py:110:32: E261 at least two spaces before inline comment core/engine/autonomous_self_improvement.py:111:1: W293 blank line contains whitespace core/engine/autonomous_self_improvement.py:114:1: W293 blank line contains whitespace core/engine/crisis_simulation_graph.py:16:1: F401 'random' imported but unused core/engine/crisis_simulation_graph.py:27:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:33:46: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:35:39: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:37:41: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:45:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:52:20: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:59:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:72:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:80:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:89:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:103:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:131:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:138:30: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:142:35: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:146:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:167:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:174:1: E302 expected 2 blank lines, found 1 core/engine/crisis_simulation_graph.py:198:51: E261 at least two spaces before inline comment core/engine/crisis_simulation_graph.py:204:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/cyclical_reasoning_graph.py:12:1: F401 'logging' imported but unused core/engine/cyclical_reasoning_graph.py:18:1: F401 'typing.List' imported but unused core/engine/cyclical_reasoning_graph.py:26:5: F401 'core.vertical_risk_agent.generative_risk.MarketScenario' imported but unused core/engine/cyclical_reasoning_graph.py:40:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:97:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:102:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:105:32: E261 at least two spaces before inline comment core/engine/cyclical_reasoning_graph.py:107:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:120:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:125:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/cyclical_reasoning_graph.py:141:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:148:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:169:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:175:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:181:13: E722 do not use bare 'except' core/engine/cyclical_reasoning_graph.py:183:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:185:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:199:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:205:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:216:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:223:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:227:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:255:121: E501 line too long (148 > 120 characters) core/engine/cyclical_reasoning_graph.py:263:45: E261 at least two spaces before inline comment core/engine/cyclical_reasoning_graph.py:267:33: E261 at least two spaces before inline comment core/engine/cyclical_reasoning_graph.py:278:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:285:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:292:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:299:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:307:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:311:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:314:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:317:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:322:1: E302 expected 2 blank lines, found 1 core/engine/cyclical_reasoning_graph.py:324:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:330:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:334:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:344:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:347:1: W293 blank line contains whitespace core/engine/cyclical_reasoning_graph.py:351:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/deep_dive_graph.py:2:1: F401 'typing.List' imported but unused core/engine/deep_dive_graph.py:17:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:57:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:67:39: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:72:61: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:75:42: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:88:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:116:121: E501 line too long (156 > 120 characters) core/engine/deep_dive_graph.py:123:33: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:140:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:154:121: E501 line too long (129 > 120 characters) core/engine/deep_dive_graph.py:158:41: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:177:44: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:186:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:202:38: E701 multiple statements on one line (colon) core/engine/deep_dive_graph.py:203:40: E701 multiple statements on one line (colon) core/engine/deep_dive_graph.py:209:42: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:228:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:247:5: E722 do not use bare 'except' core/engine/deep_dive_graph.py:248:18: E261 at least two spaces before inline comment core/engine/deep_dive_graph.py:269:121: E501 line too long (128 > 120 characters) core/engine/deep_dive_graph.py:278:1: E302 expected 2 blank lines, found 1 core/engine/deep_dive_graph.py:299:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/entity_utils.py:1:1: F401 'typing.Literal' imported but unused core/engine/entity_utils.py:6:1: E302 expected 2 blank lines, found 1 core/engine/entity_utils.py:13:121: E501 line too long (123 > 120 characters) core/engine/entity_utils.py:17:1: E302 expected 2 blank lines, found 1 core/engine/entity_utils.py:23:22: E261 at least two spaces before inline comment core/engine/esg_graph.py:22:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:31:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:32:16: E261 at least two spaces before inline comment core/engine/esg_graph.py:34:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:35:16: E261 at least two spaces before inline comment core/engine/esg_graph.py:37:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:45:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:53:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:61:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:69:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:95:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:120:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:137:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:144:1: E302 expected 2 blank lines, found 1 core/engine/esg_graph.py:178:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/market_sentiment_graph.py:27:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:41:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:57:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:72:23: E701 multiple statements on one line (colon) core/engine/market_sentiment_graph.py:73:26: E701 multiple statements on one line (colon) core/engine/market_sentiment_graph.py:74:9: E701 multiple statements on one line (colon) core/engine/market_sentiment_graph.py:86:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:111:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:146:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:154:1: E302 expected 2 blank lines, found 1 core/engine/market_sentiment_graph.py:179:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/meta_orchestrator.py:17:1: F401 'asyncio' imported but unused core/engine/meta_orchestrator.py:19:1: F401 'typing.Optional' imported but unused core/engine/meta_orchestrator.py:22:1: F401 'core.schemas.hnasp.HNASPState' imported but unused core/engine/meta_orchestrator.py:22:1: F401 'core.schemas.hnasp.Meta as HNASPMeta' imported but unused core/engine/meta_orchestrator.py:22:1: F401 'core.schemas.hnasp.PersonaState' imported but unused core/engine/meta_orchestrator.py:22:1: F401 'core.schemas.hnasp.LogicLayer' imported but unused core/engine/meta_orchestrator.py:22:1: F401 'core.schemas.hnasp.ContextStream' imported but unused core/engine/meta_orchestrator.py:24:1: F401 'core.engine.states.init_risk_state' imported but unused core/engine/meta_orchestrator.py:24:121: E501 line too long (127 > 120 characters) core/engine/meta_orchestrator.py:42:1: F401 'core.agents.specialized.covenant_analyst_agent.CovenantAnalystAgent' imported but unused core/engine/meta_orchestrator.py:46:121: E501 line too long (171 > 120 characters) core/engine/meta_orchestrator.py:50:1: E302 expected 2 blank lines, found 1 core/engine/meta_orchestrator.py:58:42: E261 at least two spaces before inline comment core/engine/meta_orchestrator.py:70:1: W293 blank line contains whitespace core/engine/meta_orchestrator.py:98:121: E501 line too long (128 > 120 characters) core/engine/meta_orchestrator.py:114:14: E111 indentation is not a multiple of 4 core/engine/meta_orchestrator.py:114:14: E117 over-indented core/engine/meta_orchestrator.py:159:38: W291 trailing whitespace core/engine/meta_orchestrator.py:220:36: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:221:38: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:222:42: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:298:121: E501 line too long (155 > 120 characters) core/engine/meta_orchestrator.py:314:18: E111 indentation is not a multiple of 4 core/engine/meta_orchestrator.py:314:18: E117 over-indented core/engine/meta_orchestrator.py:315:18: E111 indentation is not a multiple of 4 core/engine/meta_orchestrator.py:330:47: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:339:43: E261 at least two spaces before inline comment core/engine/meta_orchestrator.py:418:1: W293 blank line contains whitespace core/engine/meta_orchestrator.py:439:40: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:440:42: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:441:46: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:442:43: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:443:43: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:446:34: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:447:37: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:448:42: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:449:43: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:459:1: W293 blank line contains whitespace core/engine/meta_orchestrator.py:464:18: E111 indentation is not a multiple of 4 core/engine/meta_orchestrator.py:464:18: E117 over-indented core/engine/meta_orchestrator.py:477:1: W293 blank line contains whitespace core/engine/meta_orchestrator.py:488:1: W293 blank line contains whitespace core/engine/meta_orchestrator.py:520:39: E261 at least two spaces before inline comment core/engine/meta_orchestrator.py:546:36: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:547:38: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:550:62: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:565:14: E111 indentation is not a multiple of 4 core/engine/meta_orchestrator.py:565:14: E117 over-indented core/engine/meta_orchestrator.py:566:14: E111 indentation is not a multiple of 4 core/engine/meta_orchestrator.py:574:60: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:618:24: E261 at least two spaces before inline comment core/engine/meta_orchestrator.py:641:35: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:669:43: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:670:25: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:672:121: E501 line too long (159 > 120 characters) core/engine/meta_orchestrator.py:676:121: E501 line too long (164 > 120 characters) core/engine/meta_orchestrator.py:692:26: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:693:26: E701 multiple statements on one line (colon) core/engine/meta_orchestrator.py:695:121: E501 line too long (122 > 120 characters) core/engine/neuro_symbolic_planner.py:7:1: F401 'typing.Set' imported but unused core/engine/neuro_symbolic_planner.py:8:1: F401 'langgraph.graph.START' imported but unused core/engine/neuro_symbolic_planner.py:16:1: E302 expected 2 blank lines, found 1 core/engine/neuro_symbolic_planner.py:19:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:28:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:50:121: E501 line too long (134 > 120 characters) core/engine/neuro_symbolic_planner.py:59:48: E261 at least two spaces before inline comment core/engine/neuro_symbolic_planner.py:60:41: E701 multiple statements on one line (colon) core/engine/neuro_symbolic_planner.py:61:43: E701 multiple statements on one line (colon) core/engine/neuro_symbolic_planner.py:62:40: E701 multiple statements on one line (colon) core/engine/neuro_symbolic_planner.py:63:46: E701 multiple statements on one line (colon) core/engine/neuro_symbolic_planner.py:87:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:92:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:94:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:110:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:129:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:147:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:152:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:176:41: E261 at least two spaces before inline comment core/engine/neuro_symbolic_planner.py:184:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:209:26: E261 at least two spaces before inline comment core/engine/neuro_symbolic_planner.py:229:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:261:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:272:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:293:66: E261 at least two spaces before inline comment core/engine/neuro_symbolic_planner.py:341:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:359:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:362:1: W293 blank line contains whitespace core/engine/neuro_symbolic_planner.py:371:1: W293 blank line contains whitespace core/engine/planner.py:2:1: F401 'networkx as nx' imported but unused core/engine/planner.py:4:1: E302 expected 2 blank lines, found 1 core/engine/planner.py:9:28: E261 at least two spaces before inline comment core/engine/planner.py:13:67: W291 trailing whitespace core/engine/planner.py:15:1: W293 blank line contains whitespace core/engine/planner.py:21:1: W293 blank line contains whitespace core/engine/planner.py:32:65: F821 undefined name 'Any' core/engine/planner.py:39:1: W293 blank line contains whitespace core/engine/planner.py:44:1: W293 blank line contains whitespace core/engine/red_team_graph.py:13:1: E302 expected 2 blank lines, found 1 core/engine/red_team_graph.py:41:1: E302 expected 2 blank lines, found 1 core/engine/red_team_graph.py:60:1: E302 expected 2 blank lines, found 1 core/engine/red_team_graph.py:83:1: E302 expected 2 blank lines, found 1 core/engine/red_team_graph.py:93:1: E302 expected 2 blank lines, found 1 core/engine/red_team_graph.py:100:1: E302 expected 2 blank lines, found 1 core/engine/red_team_graph.py:126:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/reflector_graph.py:13:1: E302 expected 2 blank lines, found 1 core/engine/reflector_graph.py:27:1: E302 expected 2 blank lines, found 1 core/engine/reflector_graph.py:32:1: E302 expected 2 blank lines, found 1 core/engine/reflector_graph.py:45:1: E302 expected 2 blank lines, found 1 core/engine/reflector_graph.py:58:1: E302 expected 2 blank lines, found 1 core/engine/reflector_graph.py:65:1: E302 expected 2 blank lines, found 1 core/engine/reflector_graph.py:87:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/regulatory_compliance_graph.py:22:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:30:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:38:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:47:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:55:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:73:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:91:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:114:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:131:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:138:1: E302 expected 2 blank lines, found 1 core/engine/regulatory_compliance_graph.py:168:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/snc_graph.py:27:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:42:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:72:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:79:5: F841 local variable 'rationale' is assigned to but never used core/engine/snc_graph.py:87:121: E501 line too long (143 > 120 characters) core/engine/snc_graph.py:102:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:118:33: E261 at least two spaces before inline comment core/engine/snc_graph.py:122:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:128:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:140:1: E302 expected 2 blank lines, found 1 core/engine/snc_graph.py:169:1: E305 expected 2 blank lines after class or function definition, found 1 core/engine/snc_utils.py:12:1: E302 expected 2 blank lines, found 1 core/engine/snc_utils.py:15:21: E261 at least two spaces before inline comment core/engine/snc_utils.py:18:1: E302 expected 2 blank lines, found 1 core/engine/snc_utils.py:29:1: E302 expected 2 blank lines, found 1 core/engine/snc_utils.py:37:1: E302 expected 2 blank lines, found 1 core/engine/snc_utils.py:49:1: E302 expected 2 blank lines, found 1 core/engine/snc_utils.py:60:121: E501 line too long (121 > 120 characters) core/engine/states.py:5:1: E302 expected 2 blank lines, found 1 core/engine/states.py:11:1: E302 expected 2 blank lines, found 1 core/engine/states.py:18:1: E302 expected 2 blank lines, found 1 core/engine/states.py:32:1: E302 expected 2 blank lines, found 1 core/engine/states.py:34:42: W291 trailing whitespace core/engine/states.py:40:1: W293 blank line contains whitespace core/engine/states.py:42:67: E261 at least two spaces before inline comment core/engine/states.py:46:1: W293 blank line contains whitespace core/engine/states.py:50:1: W293 blank line contains whitespace core/engine/states.py:52:31: E261 at least two spaces before inline comment core/engine/states.py:54:1: E302 expected 2 blank lines, found 1 core/engine/states.py:60:35: E261 at least two spaces before inline comment core/engine/states.py:64:38: E261 at least two spaces before inline comment core/engine/states.py:65:37: E261 at least two spaces before inline comment core/engine/states.py:77:1: E302 expected 2 blank lines, found 1 core/engine/states.py:104:1: E302 expected 2 blank lines, found 1 core/engine/states.py:109:23: E261 at least two spaces before inline comment core/engine/states.py:111:34: E261 at least two spaces before inline comment core/engine/states.py:122:1: E302 expected 2 blank lines, found 1 core/engine/states.py:147:1: E302 expected 2 blank lines, found 1 core/engine/states.py:170:1: E302 expected 2 blank lines, found 1 core/engine/states.py:181:39: E261 at least two spaces before inline comment core/engine/states.py:186:22: E261 at least two spaces before inline comment core/engine/states.py:193:1: E302 expected 2 blank lines, found 1 core/engine/states.py:198:30: E261 at least two spaces before inline comment core/engine/states.py:202:38: E261 at least two spaces before inline comment core/engine/states.py:218:1: E302 expected 2 blank lines, found 1 core/engine/states.py:235:1: E302 expected 2 blank lines, found 1 core/engine/states.py:240:1: E302 expected 2 blank lines, found 1 core/engine/states.py:244:1: E302 expected 2 blank lines, found 1 core/engine/states.py:249:1: E302 expected 2 blank lines, found 1 core/engine/states.py:254:1: E302 expected 2 blank lines, found 1 core/engine/states.py:258:1: E302 expected 2 blank lines, found 1 core/engine/states.py:265:1: E302 expected 2 blank lines, found 1 core/engine/states.py:270:1: E302 expected 2 blank lines, found 1 core/engine/states.py:274:1: E302 expected 2 blank lines, found 1 core/engine/states.py:278:16: E261 at least two spaces before inline comment core/engine/states.py:279:50: E261 at least two spaces before inline comment core/engine/states.py:284:1: E302 expected 2 blank lines, found 1 core/engine/states.py:297:1: E302 expected 2 blank lines, found 1 core/engine/states.py:312:1: E302 expected 2 blank lines, found 1 core/engine/states.py:327:1: E302 expected 2 blank lines, found 1 core/engine/states.py:343:1: E302 expected 2 blank lines, found 1 core/engine/states.py:357:1: E302 expected 2 blank lines, found 1 core/engine/states.py:371:1: E302 expected 2 blank lines, found 1 core/engine/states.py:387:1: E302 expected 2 blank lines, found 1 core/engine/states.py:399:1: E302 expected 2 blank lines, found 1 core/engine/strategy_utils.py:1:1: F401 'typing.List' imported but unused core/engine/strategy_utils.py:6:1: E302 expected 2 blank lines, found 1 core/engine/strategy_utils.py:6:121: E501 line too long (123 > 120 characters) core/engine/strategy_utils.py:18:23: E261 at least two spaces before inline comment core/engine/strategy_utils.py:19:47: E261 at least two spaces before inline comment core/engine/strategy_utils.py:24:1: E302 expected 2 blank lines, found 1 core/engine/strategy_utils.py:27:23: E261 at least two spaces before inline comment core/engine/strategy_utils.py:33:14: E261 at least two spaces before inline comment core/engine/strategy_utils.py:55:19: E261 at least two spaces before inline comment core/engine/strategy_utils.py:72:121: E501 line too long (165 > 120 characters) core/engine/unified_knowledge_graph.py:33:1: E302 expected 2 blank lines, found 1 core/engine/unified_knowledge_graph.py:50:1: W293 blank line contains whitespace core/engine/unified_knowledge_graph.py:176:39: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:177:39: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:178:39: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:179:39: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:189:30: E111 indentation is not a multiple of 4 core/engine/unified_knowledge_graph.py:189:30: E117 over-indented core/engine/unified_knowledge_graph.py:192:43: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:193:43: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:194:43: E128 continuation line under-indented for visual indent core/engine/unified_knowledge_graph.py:211:30: E111 indentation is not a multiple of 4 core/engine/unified_knowledge_graph.py:211:30: E117 over-indented core/engine/valuation_utils.py:6:1: E302 expected 2 blank lines, found 1 core/engine/valuation_utils.py:6:121: E501 line too long (127 > 120 characters) core/engine/valuation_utils.py:78:1: E302 expected 2 blank lines, found 1 core/engine/valuation_utils.py:99:121: E501 line too long (124 > 120 characters) core/engine/valuation_utils.py:102:1: E302 expected 2 blank lines, found 1 core/execution_router/router.py:3:1: E302 expected 2 blank lines, found 1 core/execution_router/router.py:28:33: E261 at least two spaces before inline comment core/family_office/deal_flow.py:7:1: E302 expected 2 blank lines, found 1 core/family_office/deal_flow.py:25:14: E111 indentation is not a multiple of 4 core/family_office/deal_flow.py:25:14: E117 over-indented core/family_office/deal_flow.py:25:25: E261 at least two spaces before inline comment core/family_office/deal_flow.py:27:14: E111 indentation is not a multiple of 4 core/family_office/deal_flow.py:27:14: E117 over-indented core/family_office/deal_flow.py:30:14: E111 indentation is not a multiple of 4 core/family_office/deal_flow.py:30:14: E117 over-indented core/family_office/deal_flow.py:35:14: E111 indentation is not a multiple of 4 core/family_office/deal_flow.py:35:14: E117 over-indented core/family_office/deal_flow.py:37:14: E111 indentation is not a multiple of 4 core/family_office/deal_flow.py:37:14: E117 over-indented core/family_office/deal_flow.py:43:25: E701 multiple statements on one line (colon) core/family_office/deal_flow.py:44:22: E701 multiple statements on one line (colon) core/family_office/deal_flow.py:45:30: E701 multiple statements on one line (colon) core/family_office/deal_flow.py:47:23: E701 multiple statements on one line (colon) core/family_office/deal_flow.py:48:26: E701 multiple statements on one line (colon) core/family_office/deal_flow.py:65:121: E501 line too long (127 > 120 characters) core/family_office/governance.py:2:1: F401 'typing.Dict' imported but unused core/family_office/governance.py:2:1: F401 'typing.Any' imported but unused core/family_office/governance.py:6:1: E302 expected 2 blank lines, found 1 core/family_office/portfolio.py:7:1: E302 expected 2 blank lines, found 1 core/family_office/portfolio.py:34:57: E261 at least two spaces before inline comment core/family_office/portfolio.py:42:60: E261 at least two spaces before inline comment core/family_office/portfolio.py:43:52: E261 at least two spaces before inline comment core/family_office/portfolio.py:49:78: E261 at least two spaces before inline comment core/family_office/service.py:6:1: E302 expected 2 blank lines, found 1 core/family_office/wealth_manager.py:13:1: E302 expected 2 blank lines, found 1 core/family_office/wealth_manager.py:19:121: E501 line too long (124 > 120 characters) core/financial_data/discovery.py:2:1: F401 'typing.Optional' imported but unused core/financial_data/discovery.py:8:1: E302 expected 2 blank lines, found 1 core/financial_data/lakehouse.py:2:1: F401 'os' imported but unused core/financial_data/lakehouse.py:4:1: F401 'typing.Optional' imported but unused core/financial_data/lakehouse.py:12:1: E302 expected 2 blank lines, found 1 core/financial_data/realtime_pipe.py:11:1: E302 expected 2 blank lines, found 1 core/financial_data/realtime_pipe.py:50:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:50:14: E117 over-indented core/financial_data/realtime_pipe.py:51:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:52:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:56:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:56:14: E117 over-indented core/financial_data/realtime_pipe.py:62:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:62:14: E117 over-indented core/financial_data/realtime_pipe.py:63:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:65:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:66:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:68:14: E114 indentation is not a multiple of 4 (comment) core/financial_data/realtime_pipe.py:69:14: E114 indentation is not a multiple of 4 (comment) core/financial_data/realtime_pipe.py:70:14: E114 indentation is not a multiple of 4 (comment) core/financial_data/realtime_pipe.py:71:14: E114 indentation is not a multiple of 4 (comment) core/financial_data/realtime_pipe.py:72:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:74:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:75:18: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:76:18: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:77:14: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:78:18: E111 indentation is not a multiple of 4 core/financial_data/realtime_pipe.py:127:21: E261 at least two spaces before inline comment core/financial_data/schema.py:2:1: F401 'typing.Any' imported but unused core/financial_data/schema.py:6:1: E302 expected 2 blank lines, found 1 core/financial_data/schema.py:26:1: E302 expected 2 blank lines, found 1 core/financial_data/schema.py:29:1: E302 expected 2 blank lines, found 1 core/financial_suite/context_manager.py:8:1: E302 expected 2 blank lines, found 1 core/financial_suite/context_manager.py:44:121: E501 line too long (130 > 120 characters) core/financial_suite/context_manager.py:45:98: E261 at least two spaces before inline comment core/financial_suite/context_manager.py:45:121: E501 line too long (132 > 120 characters) core/financial_suite/engines/dcf.py:4:1: E302 expected 2 blank lines, found 1 core/financial_suite/engines/dcf.py:26:57: E261 at least two spaces before inline comment core/financial_suite/engines/dcf.py:37:121: E501 line too long (128 > 120 characters) core/financial_suite/engines/dcf.py:95:14: E114 indentation is not a multiple of 4 (comment) core/financial_suite/engines/dcf.py:95:14: E117 over-indented (comment) core/financial_suite/engines/dcf.py:96:14: E111 indentation is not a multiple of 4 core/financial_suite/engines/dcf.py:96:14: E117 over-indented core/financial_suite/engines/dcf.py:107:68: E261 at least two spaces before inline comment core/financial_suite/engines/dcf.py:126:21: E701 multiple statements on one line (colon) core/financial_suite/engines/dcf.py:140:14: E261 at least two spaces before inline comment core/financial_suite/engines/dcf.py:147:22: E261 at least two spaces before inline comment core/financial_suite/engines/dcf.py:168:96: E261 at least two spaces before inline comment core/financial_suite/engines/dcf.py:168:121: E501 line too long (130 > 120 characters) core/financial_suite/engines/dcf.py:169:84: E261 at least two spaces before inline comment core/financial_suite/engines/dcf.py:169:121: E501 line too long (127 > 120 characters) core/financial_suite/engines/solver.py:7:1: E302 expected 2 blank lines, found 1 core/financial_suite/engines/solver.py:21:20: E261 at least two spaces before inline comment core/financial_suite/engines/solver.py:24:121: E501 line too long (150 > 120 characters) core/financial_suite/engines/solver.py:53:121: E501 line too long (138 > 120 characters) core/financial_suite/engines/solver.py:54:57: E261 at least two spaces before inline comment core/financial_suite/engines/solver.py:56:121: E501 line too long (126 > 120 characters) core/financial_suite/engines/solver.py:66:31: E261 at least two spaces before inline comment core/financial_suite/engines/solver.py:68:27: E701 multiple statements on one line (colon) core/financial_suite/engines/solver.py:68:53: E261 at least two spaces before inline comment core/financial_suite/engines/solver.py:76:22: E111 indentation is not a multiple of 4 core/financial_suite/engines/solver.py:76:22: E117 over-indented core/financial_suite/engines/solver.py:81:48: E261 at least two spaces before inline comment core/financial_suite/engines/solver.py:83:55: E261 at least two spaces before inline comment core/financial_suite/engines/solver.py:113:35: E261 at least two spaces before inline comment core/financial_suite/engines/wacc.py:3:1: E302 expected 2 blank lines, found 1 core/financial_suite/interface/dependency_graph.py:1:1: F401 'typing.Callable' imported but unused core/financial_suite/interface/dependency_graph.py:1:1: F401 'typing.List' imported but unused core/financial_suite/interface/dependency_graph.py:4:1: E302 expected 2 blank lines, found 1 core/financial_suite/modules/reporting/generator.py:1:1: F401 'typing.List' imported but unused core/financial_suite/modules/reporting/generator.py:6:1: E302 expected 2 blank lines, found 1 core/financial_suite/modules/reporting/generator.py:12:64: E261 at least two spaces before inline comment core/financial_suite/modules/reporting/generator.py:16:9: F841 local variable 'base_sofr' is assigned to but never used core/financial_suite/modules/reporting/generator.py:16:25: E261 at least two spaces before inline comment core/financial_suite/modules/reporting/generator.py:54:41: E261 at least two spaces before inline comment core/financial_suite/modules/reporting/generator.py:91:121: E501 line too long (125 > 120 characters) core/financial_suite/modules/reporting/generator.py:118:121: E501 line too long (140 > 120 characters) core/financial_suite/modules/reporting/generator.py:123:101: E261 at least two spaces before inline comment core/financial_suite/modules/reporting/generator.py:123:121: E501 line too long (134 > 120 characters) core/financial_suite/modules/reporting/generator.py:127:18: F541 f-string is missing placeholders core/financial_suite/modules/reporting/generator.py:128:19: F541 f-string is missing placeholders core/financial_suite/modules/reporting/generator.py:135:19: F541 f-string is missing placeholders core/financial_suite/modules/reporting/generator.py:136:19: F541 f-string is missing placeholders core/financial_suite/modules/reporting/generator.py:138:19: F541 f-string is missing placeholders core/financial_suite/modules/reporting/generator.py:140:19: F541 f-string is missing placeholders core/financial_suite/modules/reporting/generator.py:142:19: F541 f-string is missing placeholders core/financial_suite/modules/risk/credit_model.py:5:1: E302 expected 2 blank lines, found 1 core/financial_suite/modules/risk/credit_model.py:7:121: E501 line too long (136 > 120 characters) core/financial_suite/modules/risk/credit_model.py:12:26: E261 at least two spaces before inline comment core/financial_suite/modules/risk/credit_model.py:38:9: F841 local variable 'interest_coverage' is assigned to but never used core/financial_suite/modules/risk/credit_model.py:38:57: E261 at least two spaces before inline comment core/financial_suite/modules/risk/credit_model.py:57:121: E501 line too long (138 > 120 characters) core/financial_suite/modules/risk/credit_model.py:73:24: E261 at least two spaces before inline comment core/financial_suite/modules/risk/credit_model.py:81:24: E261 at least two spaces before inline comment core/financial_suite/modules/risk/credit_model.py:110:121: E501 line too long (138 > 120 characters) core/financial_suite/modules/risk/credit_model.py:111:25: E261 at least two spaces before inline comment core/financial_suite/modules/risk/regulatory.py:4:1: E302 expected 2 blank lines, found 1 core/financial_suite/modules/risk/regulatory.py:12:22: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:13:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:14:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:15:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:16:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:17:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:18:13: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:21:22: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:22:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:23:25: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:24:25: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:25:25: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:25:42: E261 at least two spaces before inline comment core/financial_suite/modules/risk/regulatory.py:26:22: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:27:13: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:30:22: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:31:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:32:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:33:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:34:24: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:34:40: E261 at least two spaces before inline comment core/financial_suite/modules/risk/regulatory.py:35:13: E701 multiple statements on one line (colon) core/financial_suite/modules/risk/regulatory.py:35:29: E261 at least two spaces before inline comment core/financial_suite/modules/risk/regulatory.py:56:121: E501 line too long (138 > 120 characters) core/financial_suite/modules/risk/regulatory.py:60:121: E501 line too long (127 > 120 characters) core/financial_suite/modules/risk/regulatory.py:72:39: E261 at least two spaces before inline comment core/financial_suite/modules/vc/return_metrics.py:1:1: F401 'typing.Dict' imported but unused core/financial_suite/modules/vc/return_metrics.py:2:1: F401 'math' imported but unused core/financial_suite/modules/vc/return_metrics.py:4:1: E302 expected 2 blank lines, found 1 core/financial_suite/modules/vc/waterfall.py:1:1: F401 'typing.List' imported but unused core/financial_suite/modules/vc/waterfall.py:2:1: F401 'core.financial_suite.schemas.workstream_context.Security' imported but unused core/financial_suite/modules/vc/waterfall.py:4:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:2:1: F401 'typing.Dict' imported but unused core/financial_suite/schemas/workstream_context.py:6:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:11:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:16:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:36:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:39:18: E261 at least two spaces before inline comment core/financial_suite/schemas/workstream_context.py:52:40: E261 at least two spaces before inline comment core/financial_suite/schemas/workstream_context.py:54:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:57:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:70:51: E261 at least two spaces before inline comment core/financial_suite/schemas/workstream_context.py:72:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:79:1: E302 expected 2 blank lines, found 1 core/financial_suite/schemas/workstream_context.py:91:1: E302 expected 2 blank lines, found 1 core/gold_standard/advisory/black_litterman.py:18:1: E302 expected 2 blank lines, found 1 core/gold_standard/advisory/black_litterman.py:23:20: E128 continuation line under-indented for visual indent core/gold_standard/advisory/black_litterman.py:24:20: E128 continuation line under-indented for visual indent core/gold_standard/advisory/black_litterman.py:25:20: E128 continuation line under-indented for visual indent core/gold_standard/advisory/black_litterman.py:45:20: E261 at least two spaces before inline comment core/gold_standard/advisory/black_litterman.py:55:14: E111 indentation is not a multiple of 4 core/gold_standard/advisory/black_litterman.py:55:14: E117 over-indented core/gold_standard/advisory/mpt.py:9:1: F401 'typing.Tuple' imported but unused core/gold_standard/advisory/mpt.py:20:1: E302 expected 2 blank lines, found 1 core/gold_standard/advisory/mpt.py:33:37: E701 multiple statements on one line (colon) core/gold_standard/data_fetcher.py:9:1: F401 'typing.Optional' imported but unused core/gold_standard/data_fetcher.py:21:1: E302 expected 2 blank lines, found 1 core/gold_standard/data_fetcher.py:66:121: E501 line too long (129 > 120 characters) core/gold_standard/data_fetcher.py:67:121: E501 line too long (127 > 120 characters) core/gold_standard/data_fetcher.py:81:44: E261 at least two spaces before inline comment core/gold_standard/data_fetcher.py:83:62: E261 at least two spaces before inline comment core/gold_standard/data_fetcher.py:117:121: E501 line too long (122 > 120 characters) core/gold_standard/data_fetcher.py:119:30: E111 indentation is not a multiple of 4 core/gold_standard/data_fetcher.py:119:30: E117 over-indented core/gold_standard/data_fetcher.py:135:22: E701 multiple statements on one line (colon) core/gold_standard/discovery.py:9:1: F401 'typing.Optional' imported but unused core/gold_standard/discovery.py:11:1: F401 'pandas as pd' imported but unused core/gold_standard/discovery.py:20:1: E302 expected 2 blank lines, found 1 core/gold_standard/discovery.py:48:22: E701 multiple statements on one line (colon) core/gold_standard/discovery.py:63:22: E701 multiple statements on one line (colon) core/gold_standard/ingestion.py:9:1: F401 'typing.Optional' imported but unused core/gold_standard/ingestion.py:21:1: E302 expected 2 blank lines, found 1 core/gold_standard/ingestion.py:62:121: E501 line too long (129 > 120 characters) core/gold_standard/ingestion.py:63:121: E501 line too long (127 > 120 characters) core/gold_standard/ingestion.py:77:44: E261 at least two spaces before inline comment core/gold_standard/ingestion.py:79:62: E261 at least two spaces before inline comment core/gold_standard/ingestion.py:137:22: E701 multiple statements on one line (colon) core/gold_standard/qa.py:25:1: E302 expected 2 blank lines, found 1 core/gold_standard/qa.py:40:1: E302 expected 2 blank lines, found 1 core/gold_standard/qa.py:57:1: E302 expected 2 blank lines, found 1 core/gold_standard/qa.py:69:1: E302 expected 2 blank lines, found 1 core/gold_standard/qa.py:74:71: E261 at least two spaces before inline comment core/gold_standard/storage.py:10:1: F401 'typing.List' imported but unused core/gold_standard/storage.py:21:1: E302 expected 2 blank lines, found 1 core/gold_standard/trading/cleaning.py:7:1: F401 'numpy as np' imported but unused core/gold_standard/trading/cleaning.py:9:1: E302 expected 2 blank lines, found 1 core/gold_standard/trading/strategy.py:8:1: E302 expected 2 blank lines, found 1 core/hnasp/lakehouse.py:3:1: F401 'typing.Dict' imported but unused core/hnasp/lakehouse.py:4:1: F401 'datetime.datetime' imported but unused core/hnasp/lakehouse.py:7:1: E302 expected 2 blank lines, found 1 core/hnasp/lakehouse.py:60:17: E722 do not use bare 'except' core/hnasp/logic_engine.py:1:1: F401 'typing.Optional' imported but unused core/hnasp/logic_engine.py:1:1: F401 'typing.List' imported but unused core/hnasp/logic_engine.py:1:1: F401 'typing.Union' imported but unused core/hnasp/logic_engine.py:6:1: E302 expected 2 blank lines, found 1 core/hnasp/logic_engine.py:86:14: E114 indentation is not a multiple of 4 (comment) core/hnasp/logic_engine.py:86:14: E117 over-indented (comment) core/hnasp/logic_engine.py:87:14: E111 indentation is not a multiple of 4 core/hnasp/logic_engine.py:87:14: E117 over-indented core/hnasp/personality.py:2:1: F401 'typing.Dict' imported but unused core/hnasp/personality.py:2:1: F401 'typing.Any' imported but unused core/hnasp/personality.py:2:1: F401 'typing.List' imported but unused core/hnasp/personality.py:2:1: F401 'typing.Optional' imported but unused core/hnasp/personality.py:3:1: F401 'core.schemas.hnasp.Identity' imported but unused core/hnasp/personality.py:5:1: E302 expected 2 blank lines, found 1 core/hnasp/personality.py:80:18: E111 indentation is not a multiple of 4 core/hnasp/personality.py:80:18: E117 over-indented core/hnasp/state_manager.py:4:1: F401 'typing.List' imported but unused core/hnasp/state_manager.py:5:1: F401 'core.schemas.hnasp.ModelConfig' imported but unused core/hnasp/state_manager.py:5:121: E501 line too long (206 > 120 characters) core/hnasp/state_manager.py:13:1: E302 expected 2 blank lines, found 1 core/hnasp/state_manager.py:18:35: E261 at least two spaces before inline comment core/hnasp/state_manager.py:24:121: E501 line too long (138 > 120 characters) core/hnasp/state_manager.py:70:121: E501 line too long (161 > 120 characters) core/hnasp/state_manager.py:98:29: E261 at least two spaces before inline comment core/hnasp/state_manager.py:104:9: F841 local variable 'system_prompt' is assigned to but never used core/hnasp/state_manager.py:124:18: E111 indentation is not a multiple of 4 core/hnasp/state_manager.py:124:18: E117 over-indented core/hnasp/state_manager.py:126:18: E111 indentation is not a multiple of 4 core/hnasp/state_manager.py:126:18: E117 over-indented core/hnasp/state_manager.py:152:62: E261 at least two spaces before inline comment core/hnasp/state_manager.py:153:121: E501 line too long (125 > 120 characters) core/institutional_radar/analytics.py:2:1: F401 'numpy as np' imported but unused core/institutional_radar/analytics.py:3:1: F401 'typing.List' imported but unused core/institutional_radar/analytics.py:3:1: F401 'typing.Dict' imported but unused core/institutional_radar/analytics.py:3:1: F401 'typing.Optional' imported but unused core/institutional_radar/analytics.py:4:1: F401 'uuid.UUID' imported but unused core/institutional_radar/analytics.py:6:1: F401 'sqlalchemy.func' imported but unused core/institutional_radar/analytics.py:7:1: F401 'scipy.stats.zscore' imported but unused core/institutional_radar/analytics.py:8:121: E501 line too long (122 > 120 characters) core/institutional_radar/analytics.py:13:1: E302 expected 2 blank lines, found 1 core/institutional_radar/analytics.py:30:14: E111 indentation is not a multiple of 4 core/institutional_radar/analytics.py:30:14: E117 over-indented core/institutional_radar/analytics.py:32:14: E111 indentation is not a multiple of 4 core/institutional_radar/analytics.py:32:14: E117 over-indented core/institutional_radar/analytics.py:49:46: E711 comparison to None should be 'if cond is None:' core/institutional_radar/analytics.py:49:54: E261 at least two spaces before inline comment core/institutional_radar/analytics.py:85:121: E501 line too long (124 > 120 characters) core/institutional_radar/analytics.py:86:33: E261 at least two spaces before inline comment core/institutional_radar/database.py:5:1: F401 'sqlalchemy.Column' imported but unused core/institutional_radar/database.py:5:1: F401 'sqlalchemy.Integer' imported but unused core/institutional_radar/database.py:10:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:38:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:41:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:46:56: E261 at least two spaces before inline comment core/institutional_radar/database.py:52:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:65:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:73:51: E261 at least two spaces before inline comment core/institutional_radar/database.py:74:78: E261 at least two spaces before inline comment core/institutional_radar/database.py:79:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:89:1: E305 expected 2 blank lines after class or function definition, found 1 core/institutional_radar/database.py:91:1: E302 expected 2 blank lines, found 1 core/institutional_radar/database.py:94:1: E305 expected 2 blank lines after class or function definition, found 1 core/institutional_radar/ingestion.py:4:1: F401 'logging' imported but unused core/institutional_radar/ingestion.py:6:1: F401 'io.BytesIO' imported but unused core/institutional_radar/ingestion.py:8:1: F401 'typing.Dict' imported but unused core/institutional_radar/ingestion.py:10:1: F401 'core.institutional_radar.schema.FilingEvent' imported but unused core/institutional_radar/ingestion.py:11:1: F401 'core.institutional_radar.database.FundMasterDB' imported but unused core/institutional_radar/ingestion.py:16:1: E302 expected 2 blank lines, found 1 core/institutional_radar/ingestion.py:31:24: E261 at least two spaces before inline comment core/institutional_radar/ingestion.py:53:121: E501 line too long (122 > 120 characters) core/institutional_radar/ingestion.py:120:9: E722 do not use bare 'except' core/institutional_radar/ingestion.py:150:17: F841 local variable 'name' is assigned to but never used core/institutional_radar/ingestion.py:169:82: E261 at least two spaces before inline comment core/institutional_radar/ingestion.py:171:26: E111 indentation is not a multiple of 4 core/institutional_radar/ingestion.py:171:26: E117 over-indented core/institutional_radar/ingestion.py:176:22: E114 indentation is not a multiple of 4 (comment) core/institutional_radar/ingestion.py:176:22: E117 over-indented (comment) core/institutional_radar/ingestion.py:177:22: E111 indentation is not a multiple of 4 core/institutional_radar/ingestion.py:177:22: E117 over-indented core/institutional_radar/ingestion.py:179:49: E261 at least two spaces before inline comment core/institutional_radar/ingestion.py:181:38: E261 at least two spaces before inline comment core/institutional_radar/ingestion.py:187:22: E111 indentation is not a multiple of 4 core/institutional_radar/ingestion.py:236:21: F841 local variable 'xml_content' is assigned to but never used core/institutional_radar/ingestion.py:236:52: E261 at least two spaces before inline comment core/institutional_radar/ingestion.py:245:61: E261 at least two spaces before inline comment core/institutional_radar/ingestion.py:251:32: E261 at least two spaces before inline comment core/institutional_radar/reporting.py:2:1: F401 'logging' imported but unused core/institutional_radar/reporting.py:10:1: E302 expected 2 blank lines, found 1 core/institutional_radar/reporting.py:26:121: E501 line too long (160 > 120 characters) core/institutional_radar/reporting.py:60:121: E501 line too long (127 > 120 characters) core/institutional_radar/schema.py:7:1: E302 expected 2 blank lines, found 1 core/institutional_radar/schema.py:16:1: E302 expected 2 blank lines, found 1 core/institutional_radar/schema.py:26:1: E302 expected 2 blank lines, found 1 core/institutional_radar/schema.py:38:1: E302 expected 2 blank lines, found 1 core/learning/fine_tuning_driver.py:8:1: E302 expected 2 blank lines, found 1 core/libraries_and_archives/__init__.py:1:1: F821 undefined name '__init__' core/llm/base_llm_engine.py:3:1: E302 expected 2 blank lines, found 1 core/llm/engines/dummy_llm_engine.py:5:1: E302 expected 2 blank lines, found 1 core/llm/engines/dummy_llm_engine.py:15:121: E501 line too long (132 > 120 characters) core/llm/engines/dummy_llm_engine.py:34:77: E261 at least two spaces before inline comment core/llm/engines/dummy_llm_engine.py:36:24: E261 at least two spaces before inline comment core/llm/engines/dummy_llm_engine.py:44:1: E305 expected 2 blank lines after class or function definition, found 1 core/llm/engines/openai_llm_engine.py:3:10: E261 at least two spaces before inline comment core/llm/engines/openai_llm_engine.py:10:1: E302 expected 2 blank lines, found 1 core/llm/engines/openai_llm_engine.py:33:121: E501 line too long (121 > 120 characters) core/llm/engines/openai_llm_engine.py:42:121: E501 line too long (143 > 120 characters) core/llm/engines/openai_llm_engine.py:76:32: E261 at least two spaces before inline comment core/llm/engines/openai_llm_engine.py:78:21: E261 at least two spaces before inline comment core/llm/engines/openai_llm_engine.py:93:87: E261 at least two spaces before inline comment core/llm/engines/openai_llm_engine.py:99:32: E261 at least two spaces before inline comment core/llm/engines/openai_llm_engine.py:102:1: E305 expected 2 blank lines after class or function definition, found 1 core/llm/engines/openai_llm_engine.py:113:121: E501 line too long (124 > 120 characters) core/llm_plugin.py:5:1: F401 'typing.Union' imported but unused core/llm_plugin.py:32:1: E302 expected 2 blank lines, found 1 core/llm_plugin.py:36:1: E302 expected 2 blank lines, found 1 core/llm_plugin.py:40:1: E302 expected 2 blank lines, found 1 core/llm_plugin.py:45:1: E302 expected 2 blank lines, found 1 core/llm_plugin.py:54:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:89:1: W293 blank line contains whitespace core/llm_plugin.py:92:1: W293 blank line contains whitespace core/llm_plugin.py:93:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:108:26: E111 indentation is not a multiple of 4 core/llm_plugin.py:108:26: E117 over-indented core/llm_plugin.py:110:26: E111 indentation is not a multiple of 4 core/llm_plugin.py:110:26: E117 over-indented core/llm_plugin.py:111:30: E111 indentation is not a multiple of 4 core/llm_plugin.py:112:30: E111 indentation is not a multiple of 4 core/llm_plugin.py:113:34: E111 indentation is not a multiple of 4 core/llm_plugin.py:114:30: E111 indentation is not a multiple of 4 core/llm_plugin.py:115:34: E111 indentation is not a multiple of 4 core/llm_plugin.py:116:26: E111 indentation is not a multiple of 4 core/llm_plugin.py:117:30: E111 indentation is not a multiple of 4 core/llm_plugin.py:131:26: E111 indentation is not a multiple of 4 core/llm_plugin.py:131:26: E117 over-indented core/llm_plugin.py:133:26: E111 indentation is not a multiple of 4 core/llm_plugin.py:133:26: E117 over-indented core/llm_plugin.py:138:17: E722 do not use bare 'except' core/llm_plugin.py:154:1: W293 blank line contains whitespace core/llm_plugin.py:157:1: W293 blank line contains whitespace core/llm_plugin.py:168:27: E261 at least two spaces before inline comment core/llm_plugin.py:186:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:186:14: E117 over-indented core/llm_plugin.py:200:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:212:1: W293 blank line contains whitespace core/llm_plugin.py:222:52: W291 trailing whitespace core/llm_plugin.py:234:13: E722 do not use bare 'except' core/llm_plugin.py:256:9: E722 do not use bare 'except' core/llm_plugin.py:263:23: E261 at least two spaces before inline comment core/llm_plugin.py:300:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:308:121: E501 line too long (128 > 120 characters) core/llm_plugin.py:316:52: W291 trailing whitespace core/llm_plugin.py:358:99: E231 missing whitespace after ':' core/llm_plugin.py:360:41: W291 trailing whitespace core/llm_plugin.py:387:17: E722 do not use bare 'except' core/llm_plugin.py:411:69: W291 trailing whitespace core/llm_plugin.py:418:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:462:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:486:29: W291 trailing whitespace core/llm_plugin.py:495:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:495:14: E117 over-indented core/llm_plugin.py:496:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:501:1: E302 expected 2 blank lines, found 1 core/llm_plugin.py:520:81: W291 trailing whitespace core/llm_plugin.py:525:44: W291 trailing whitespace core/llm_plugin.py:528:51: W291 trailing whitespace core/llm_plugin.py:539:27: W291 trailing whitespace core/llm_plugin.py:554:121: E501 line too long (133 > 120 characters) core/llm_plugin.py:557:1: W293 blank line contains whitespace core/llm_plugin.py:567:1: W293 blank line contains whitespace core/llm_plugin.py:581:14: E114 indentation is not a multiple of 4 (comment) core/llm_plugin.py:581:14: E117 over-indented (comment) core/llm_plugin.py:582:14: E114 indentation is not a multiple of 4 (comment) core/llm_plugin.py:582:14: E117 over-indented (comment) core/llm_plugin.py:583:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:583:14: E117 over-indented core/llm_plugin.py:616:121: E501 line too long (129 > 120 characters) core/llm_plugin.py:633:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:633:14: E117 over-indented core/llm_plugin.py:634:18: E111 indentation is not a multiple of 4 core/llm_plugin.py:635:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:639:1: W293 blank line contains whitespace core/llm_plugin.py:643:14: E111 indentation is not a multiple of 4 core/llm_plugin.py:643:14: E117 over-indented core/llm_plugin.py:643:121: E501 line too long (123 > 120 characters) core/llm_plugin.py:662:101: W291 trailing whitespace core/llm_plugin.py:666:14: E114 indentation is not a multiple of 4 (comment) core/llm_plugin.py:666:14: E117 over-indented (comment) core/llm_plugin.py:688:1: W293 blank line contains whitespace core/llm_plugin.py:694:121: E501 line too long (144 > 120 characters) core/llm_plugin.py:713:1: W293 blank line contains whitespace core/llm_plugin.py:722:121: E501 line too long (129 > 120 characters) core/llm_plugin.py:726:25: E261 at least two spaces before inline comment core/llm_plugin.py:735:71: W291 trailing whitespace core/llm_plugin.py:740:1: W293 blank line contains whitespace core/llm_plugin.py:756:1: E305 expected 2 blank lines after class or function definition, found 1 core/llm_plugin.py:760:39: W291 trailing whitespace core/llm_plugin.py:769:1: W293 blank line contains whitespace core/llm_plugin.py:774:69: E261 at least two spaces before inline comment core/llm_plugin.py:777:121: E501 line too long (155 > 120 characters) core/llm_plugin.py:780:1: W293 blank line contains whitespace core/llm_plugin.py:794:1: W293 blank line contains whitespace core/llm_plugin.py:797:73: W291 trailing whitespace core/main.py:1:1: F401 'sys' imported but unused core/main.py:2:1: F401 'os' imported but unused core/main.py:12:1: E302 expected 2 blank lines, found 1 core/main.py:44:39: E261 at least two spaces before inline comment core/main.py:106:1: E302 expected 2 blank lines, found 1 core/main.py:110:1: E305 expected 2 blank lines after class or function definition, found 1 core/market_data/historical_loader.py:5:1: F401 'logging' imported but unused core/market_data/historical_loader.py:6:1: F401 'typing.Optional' imported but unused core/market_data/historical_loader.py:12:1: E302 expected 2 blank lines, found 1 core/market_data/historical_loader.py:21:121: E501 line too long (126 > 120 characters) core/market_data/historical_loader.py:45:121: E501 line too long (121 > 120 characters) core/market_data/historical_loader.py:93:14: E111 indentation is not a multiple of 4 core/market_data/historical_loader.py:93:14: E117 over-indented core/market_data/historical_loader.py:94:14: E111 indentation is not a multiple of 4 core/market_data/service.py:1:1: F401 'typing.Union' imported but unused core/market_data/service.py:29:1: W293 blank line contains whitespace core/market_data/service.py:31:77: W291 trailing whitespace core/market_data/service.py:42:1: W293 blank line contains whitespace core/market_data/service.py:44:1: W293 blank line contains whitespace core/market_data/service.py:49:1: W293 blank line contains whitespace core/market_data/service.py:57:1: W293 blank line contains whitespace core/market_data/service.py:59:1: W293 blank line contains whitespace core/market_data/service.py:68:1: W293 blank line contains whitespace core/market_data/service.py:78:60: W291 trailing whitespace core/market_data/service.py:109:42: W291 trailing whitespace core/market_data/service.py:131:1: W293 blank line contains whitespace core/market_data/service.py:142:40: W291 trailing whitespace core/market_data/service.py:161:1: W293 blank line contains whitespace core/market_data/service.py:171:50: W291 trailing whitespace core/market_data/service.py:172:1: W293 blank line contains whitespace core/market_data/service.py:176:1: W293 blank line contains whitespace core/market_data/service.py:202:42: W291 trailing whitespace core/market_data/service.py:204:37: E261 at least two spaces before inline comment core/market_data/service.py:205:1: W293 blank line contains whitespace core/market_data/service.py:215:1: W293 blank line contains whitespace core/mcp/registry.py:20:1: F401 'json' imported but unused core/mcp/registry.py:21:1: F401 'os' imported but unused core/mcp/registry.py:23:1: E302 expected 2 blank lines, found 1 core/mcp/registry.py:35:37: E261 at least two spaces before inline comment core/mcp/registry.py:106:47: E261 at least two spaces before inline comment core/mcp/registry.py:122:121: E501 line too long (140 > 120 characters) core/mcp/registry.py:125:121: E501 line too long (123 > 120 characters) core/mcp/registry.py:164:18: E131 continuation line unaligned for hanging indent core/memory/engine.py:1:1: F401 'typing.Optional' imported but unused core/memory/engine.py:4:1: F401 'datetime' imported but unused core/memory/engine.py:7:1: E302 expected 2 blank lines, found 1 core/memory/engine.py:23:121: E501 line too long (179 > 120 characters) core/memory/engine.py:88:121: E501 line too long (136 > 120 characters) core/memory/engine.py:101:29: E261 at least two spaces before inline comment core/memory/engine.py:111:121: E501 line too long (124 > 120 characters) core/memory/provo_graph.py:11:1: E302 expected 2 blank lines, found 1 core/memory/provo_graph.py:20:22: E261 at least two spaces before inline comment core/memory/provo_graph.py:92:14: E111 indentation is not a multiple of 4 core/memory/provo_graph.py:92:14: E117 over-indented core/newsletter_layout/assets/__init__.py:1:1: F821 undefined name '__init__' core/newsletter_layout/generator.py:7:1: F401 'typing.List' imported but unused core/newsletter_layout/generator.py:15:1: E302 expected 2 blank lines, found 1 core/newsletter_layout/generator.py:49:9: F841 local variable 'node_map' is assigned to but never used core/newsletter_layout/generator.py:82:43: E701 multiple statements on one line (colon) core/pricing_engine/engine.py:3:1: F401 'typing.List' imported but unused core/pricing_engine/engine.py:5:1: E302 expected 2 blank lines, found 1 core/pricing_engine/engine.py:29:121: E501 line too long (129 > 120 characters) core/pricing_engine/engine.py:53:59: E261 at least two spaces before inline comment core/procedures/autonomous_update.py:6:1: F401 'asyncio' imported but unused core/procedures/autonomous_update.py:8:1: F401 'typing.Optional' imported but unused core/procedures/autonomous_update.py:13:1: F401 'core.data_sources.data_fetcher.DataFetcher' imported but unused core/procedures/autonomous_update.py:17:1: E302 expected 2 blank lines, found 1 core/procedures/autonomous_update.py:65:35: E261 at least two spaces before inline comment core/procedures/autonomous_update.py:75:47: E701 multiple statements on one line (colon) core/product/core_valuation.py:11:1: F401 'typing.Optional' imported but unused core/product/core_valuation.py:11:1: F401 'typing.Union' imported but unused core/product/core_valuation.py:14:1: E302 expected 2 blank lines, found 1 core/product/core_valuation.py:104:14: E111 indentation is not a multiple of 4 core/product/core_valuation.py:104:14: E117 over-indented core/product/core_valuation.py:106:121: E501 line too long (157 > 120 characters) core/product/core_valuation.py:109:9: E731 do not assign a lambda expression, use a def core/product/core_valuation.py:110:9: E731 do not assign a lambda expression, use a def core/product/core_valuation.py:115:121: E501 line too long (200 > 120 characters) core/product/core_valuation.py:119:121: E501 line too long (201 > 120 characters) core/product/core_valuation.py:181:121: E501 line too long (121 > 120 characters) core/prompting/base_prompt_plugin.py:14:1: E302 expected 2 blank lines, found 1 core/prompting/base_prompt_plugin.py:28:1: E302 expected 2 blank lines, found 1 core/prompting/loader.py:5:1: F401 'typing.Dict' imported but unused core/prompting/loader.py:5:1: F401 'typing.Optional' imported but unused core/prompting/loader.py:15:1: E302 expected 2 blank lines, found 1 core/prompting/loader.py:49:26: E701 multiple statements on one line (colon) core/prompting/loader.py:73:1: E302 expected 2 blank lines, found 1 core/prompting/plugins/crisis_simulation_plugin.py:6:1: E302 expected 2 blank lines, found 1 core/prompting/plugins/crisis_simulation_plugin.py:27:121: E501 line too long (126 > 120 characters) core/prompting/plugins/financial_truth_plugin.py:6:1: E302 expected 2 blank lines, found 1 core/prompting/registry.py:5:1: E302 expected 2 blank lines, found 1 core/prompting/registry.py:28:1: E305 expected 2 blank lines after class or function definition, found 1 core/rag/document_handling.py:4:1: E302 expected 2 blank lines, found 1 core/rag/document_handling.py:9:43: E261 at least two spaces before inline comment core/rag/document_handling.py:16:1: E302 expected 2 blank lines, found 1 core/rag/document_handling.py:39:57: E261 at least two spaces before inline comment core/rag/document_handling.py:40:14: E114 indentation is not a multiple of 4 (comment) core/rag/document_handling.py:40:14: E117 over-indented (comment) core/rag/document_handling.py:41:14: E114 indentation is not a multiple of 4 (comment) core/rag/document_handling.py:41:14: E117 over-indented (comment) core/rag/document_handling.py:42:14: E114 indentation is not a multiple of 4 (comment) core/rag/document_handling.py:42:14: E117 over-indented (comment) core/rag/document_handling.py:43:14: E114 indentation is not a multiple of 4 (comment) core/rag/document_handling.py:43:14: E117 over-indented (comment) core/rag/document_handling.py:44:14: E111 indentation is not a multiple of 4 core/rag/document_handling.py:44:14: E117 over-indented core/rag/document_handling.py:44:18: E261 at least two spaces before inline comment core/rag/document_handling.py:60:53: E261 at least two spaces before inline comment core/rag/document_handling.py:61:121: E501 line too long (125 > 120 characters) core/rag/document_handling.py:63:47: E261 at least two spaces before inline comment core/rag/document_handling.py:68:36: E261 at least two spaces before inline comment core/rag/document_handling.py:71:1: E305 expected 2 blank lines after class or function definition, found 1 core/rag/document_handling.py:74:121: E501 line too long (314 > 120 characters) core/rag/document_handling.py:99:11: F541 f-string is missing placeholders core/rag/document_handling.py:105:11: F541 f-string is missing placeholders core/risk_engine/engine.py:1:1: F401 'typing.Union' imported but unused core/risk_engine/engine.py:4:1: F401 'statistics' imported but unused core/risk_engine/engine.py:23:1: W293 blank line contains whitespace core/risk_engine/engine.py:28:1: W293 blank line contains whitespace core/risk_engine/engine.py:51:39: W291 trailing whitespace core/risk_engine/engine.py:52:66: W291 trailing whitespace core/risk_engine/engine.py:53:65: W291 trailing whitespace core/risk_engine/engine.py:57:1: W293 blank line contains whitespace core/risk_engine/engine.py:60:1: W293 blank line contains whitespace core/risk_engine/engine.py:86:1: W293 blank line contains whitespace core/risk_engine/engine.py:89:1: W293 blank line contains whitespace core/risk_engine/engine.py:93:70: W291 trailing whitespace core/risk_engine/engine.py:110:39: W291 trailing whitespace core/risk_engine/engine.py:111:65: W291 trailing whitespace core/risk_engine/engine.py:112:57: W291 trailing whitespace core/risk_engine/engine.py:123:1: W293 blank line contains whitespace core/risk_engine/engine.py:190:14: E261 at least two spaces before inline comment core/risk_engine/engine.py:225:14: E261 at least two spaces before inline comment core/schemas/config_schema.py:5:1: E302 expected 2 blank lines, found 1 core/schemas/config_schema.py:17:1: E302 expected 2 blank lines, found 1 core/schemas/config_schema.py:27:1: E302 expected 2 blank lines, found 1 core/schemas/config_schema.py:35:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:6:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:12:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:17:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:22:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:27:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:32:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:36:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:40:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:50:1: E302 expected 2 blank lines, found 1 core/schemas/credit_conformance.py:57:1: E302 expected 2 blank lines, found 1 core/schemas/crisis_simulation.py:5:1: E302 expected 2 blank lines, found 1 core/schemas/crisis_simulation.py:18:121: E501 line too long (123 > 120 characters) core/schemas/crisis_simulation.py:20:121: E501 line too long (124 > 120 characters) core/schemas/crisis_simulation.py:22:1: E302 expected 2 blank lines, found 1 core/schemas/crisis_simulation.py:33:1: E302 expected 2 blank lines, found 1 core/schemas/crisis_simulation.py:44:1: E302 expected 2 blank lines, found 1 core/schemas/crisis_simulation.py:51:121: E501 line too long (121 > 120 characters) core/schemas/financial_truth.py:3:1: E302 expected 2 blank lines, found 1 core/schemas/financial_truth.py:10:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:10:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:15:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:23:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:35:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:43:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:47:57: W291 trailing whitespace core/schemas/hnasp.py:50:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:54:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:58:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:65:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:72:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:81:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:88:48: E261 at least two spaces before inline comment core/schemas/hnasp.py:91:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:97:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp.py:106:1: E305 expected 2 blank lines after class or function definition, found 1 core/schemas/hnasp.py:106:19: W292 no newline at end of file core/schemas/hnasp_v23/agent_state.py:1:1: F401 'pydantic.validator' imported but unused core/schemas/hnasp_v23/agent_state.py:2:1: F401 'typing.Optional' imported but unused core/schemas/hnasp_v23/agent_state.py:6:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp_v23/agent_state.py:12:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp_v23/agent_state.py:18:1: E302 expected 2 blank lines, found 1 core/schemas/hnasp_v23/agent_state.py:25:1: E302 expected 2 blank lines, found 1 core/schemas/market_data_schema.py:2:1: F401 'pandera.typing.DataFrame' imported but unused core/schemas/market_data_schema.py:4:1: E302 expected 2 blank lines, found 1 core/schemas/market_data_schema.py:18:23: E261 at least two spaces before inline comment core/schemas/v23_5_schema.py:2:1: F401 'typing.Optional' imported but unused core/schemas/v23_5_schema.py:7:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:12:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:20:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:25:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:29:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:36:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:40:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:45:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:50:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:55:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:60:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:66:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:71:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:76:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:82:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:89:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:95:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:99:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:106:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:113:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:119:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:126:1: E302 expected 2 blank lines, found 1 core/schemas/v23_5_schema.py:131:1: E302 expected 2 blank lines, found 1 core/settings.py:2:1: F401 'typing.List' imported but unused core/settings.py:3:1: F401 'os' imported but unused core/settings.py:5:1: E302 expected 2 blank lines, found 1 core/settings.py:43:1: E305 expected 2 blank lines after class or function definition, found 1 core/simulations/Credit_Rating_Assessment_Simulation.py:9:1: E302 expected 2 blank lines, found 1 core/simulations/Credit_Rating_Assessment_Simulation.py:27:5: E303 too many blank lines (2) core/simulations/Credit_Rating_Assessment_Simulation.py:58:121: E501 line too long (174 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:59:121: E501 line too long (268 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:78:121: E501 line too long (210 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:84:121: E501 line too long (240 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:89:121: E501 line too long (218 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:95:121: E501 line too long (240 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:98:121: E501 line too long (164 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:102:121: E501 line too long (289 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:105:121: E501 line too long (155 > 120 characters) core/simulations/Credit_Rating_Assessment_Simulation.py:110:121: E501 line too long (268 > 120 characters) core/simulations/Fraud_Detection_Simulation.py:9:1: E302 expected 2 blank lines, found 1 core/simulations/Fraud_Detection_Simulation.py:133:74: F821 undefined name 'datetime' core/simulations/Fraud_Detection_Simulation.py:135:26: F821 undefined name 'datetime' core/simulations/Fraud_Detection_Simulation.py:139:87: F821 undefined name 'datetime' core/simulations/Fraud_Detection_Simulation.py:139:121: E501 line too long (130 > 120 characters) core/simulations/Investment_Committee_Simulation.py:14:1: E302 expected 2 blank lines, found 1 core/simulations/Investment_Committee_Simulation.py:15:121: E501 line too long (137 > 120 characters) core/simulations/Investment_Committee_Simulation.py:182:121: E501 line too long (121 > 120 characters) core/simulations/Merger_Acquisition_Simulation.py:10:1: E302 expected 2 blank lines, found 1 core/simulations/Merger_Acquisition_Simulation.py:66:121: E501 line too long (130 > 120 characters) core/simulations/Merger_Acquisition_Simulation.py:135:121: E501 line too long (165 > 120 characters) core/simulations/Merger_Acquisition_Simulation.py:203:26: F821 undefined name 'datetime' core/simulations/Portfolio_Optimization_Simulation.py:12:1: E302 expected 2 blank lines, found 1 core/simulations/Portfolio_Optimization_Simulation.py:67:121: E501 line too long (121 > 120 characters) core/simulations/Portfolio_Optimization_Simulation.py:82:121: E501 line too long (168 > 120 characters) core/simulations/Portfolio_Optimization_Simulation.py:273:26: F821 undefined name 'datetime' core/simulations/Portfolio_Optimization_Simulation.py:277:121: E501 line too long (158 > 120 characters) core/simulations/Regulatory_Compliance_Simulation.py:9:1: E302 expected 2 blank lines, found 1 core/simulations/Regulatory_Compliance_Simulation.py:56:121: E501 line too long (122 > 120 characters) core/simulations/Regulatory_Compliance_Simulation.py:61:121: E501 line too long (130 > 120 characters) core/simulations/Regulatory_Compliance_Simulation.py:140:26: F821 undefined name 'datetime' core/simulations/Regulatory_Compliance_Simulation.py:144:121: E501 line too long (122 > 120 characters) core/simulations/Stress_Testing_Simulation.py:10:1: E302 expected 2 blank lines, found 1 core/simulations/Stress_Testing_Simulation.py:69:121: E501 line too long (158 > 120 characters) core/simulations/Stress_Testing_Simulation.py:123:121: E501 line too long (131 > 120 characters) core/simulations/Stress_Testing_Simulation.py:125:26: F821 undefined name 'datetime' core/simulations/Stress_Testing_Simulation.py:129:121: E501 line too long (163 > 120 characters) core/simulations/client_simulation_builder.py:5:1: F401 'sys' imported but unused core/simulations/client_simulation_builder.py:7:1: E302 expected 2 blank lines, found 1 core/simulations/client_simulation_builder.py:8:121: E501 line too long (141 > 120 characters) core/simulations/client_simulation_builder.py:16:14: E111 indentation is not a multiple of 4 core/simulations/client_simulation_builder.py:16:14: E117 over-indented core/simulations/client_simulation_builder.py:17:14: E111 indentation is not a multiple of 4 core/simulations/client_simulation_builder.py:48:1: E305 expected 2 blank lines after class or function definition, found 1 core/strategy/alpha_signals.py:1:1: F401 'typing.List' imported but unused core/strategy/alpha_signals.py:3:1: E302 expected 2 blank lines, found 1 core/strategy/alpha_signals.py:16:33: E261 at least two spaces before inline comment core/strategy/manager.py:1:1: F401 'typing.List' imported but unused core/strategy/manager.py:3:1: E302 expected 2 blank lines, found 1 core/system/agent_improvement_pipeline.py:3:1: F401 'os' imported but unused core/system/agent_improvement_pipeline.py:11:1: E302 expected 2 blank lines, found 1 core/system/agent_improvement_pipeline.py:63:121: E501 line too long (144 > 120 characters) core/system/agent_improvement_pipeline.py:83:36: E701 multiple statements on one line (colon) core/system/agent_improvement_pipeline.py:87:30: E111 indentation is not a multiple of 4 core/system/agent_improvement_pipeline.py:87:30: E117 over-indented core/system/agent_improvement_pipeline.py:88:34: E111 indentation is not a multiple of 4 core/system/agent_improvement_pipeline.py:89:34: E111 indentation is not a multiple of 4 core/system/agent_improvement_pipeline.py:95:121: E501 line too long (153 > 120 characters) core/system/agent_improvement_pipeline.py:108:121: E501 line too long (173 > 120 characters) core/system/agent_improvement_pipeline.py:109:121: E501 line too long (203 > 120 characters) core/system/agent_orchestrator.py:17:1: F401 'core.agents.query_understanding_agent.QueryUnderstandingAgent' imported but unused core/system/agent_orchestrator.py:18:1: F401 'core.agents.data_retrieval_agent.DataRetrievalAgent' imported but unused core/system/agent_orchestrator.py:19:1: F401 'core.agents.market_sentiment_agent.MarketSentimentAgent' imported but unused core/system/agent_orchestrator.py:20:1: F401 'core.agents.macroeconomic_analysis_agent.MacroeconomicAnalysisAgent' imported but unused core/system/agent_orchestrator.py:21:1: F401 'core.agents.geopolitical_risk_agent.GeopoliticalRiskAgent' imported but unused core/system/agent_orchestrator.py:22:1: F401 'core.agents.industry_specialist_agent.IndustrySpecialistAgent' imported but unused core/system/agent_orchestrator.py:23:1: F401 'core.agents.fundamental_analyst_agent.FundamentalAnalystAgent' imported but unused core/system/agent_orchestrator.py:24:1: F401 'core.agents.technical_analyst_agent.TechnicalAnalystAgent' imported but unused core/system/agent_orchestrator.py:25:1: F401 'core.agents.risk_assessment_agent.RiskAssessmentAgent' imported but unused core/system/agent_orchestrator.py:26:1: F401 'core.agents.newsletter_layout_specialist_agent.NewsletterLayoutSpecialist as NewsletterLayoutSpecialistAgent' imported but unused core/system/agent_orchestrator.py:27:1: F401 'core.agents.data_verification_agent.DataVerificationAgent' imported but unused core/system/agent_orchestrator.py:28:1: F401 'core.agents.lexica_agent.LexicaAgent' imported but unused core/system/agent_orchestrator.py:29:1: F401 'core.agents.archive_manager_agent.ArchiveManagerAgent' imported but unused core/system/agent_orchestrator.py:30:1: F401 'core.agents.agent_forge.AgentForge' imported but unused core/system/agent_orchestrator.py:31:1: F401 'core.agents.prompt_tuner.PromptTuner' imported but unused core/system/agent_orchestrator.py:32:1: F401 'core.agents.code_alchemist.CodeAlchemist' imported but unused core/system/agent_orchestrator.py:33:1: F401 'core.agents.lingua_maestro.LinguaMaestro' imported but unused core/system/agent_orchestrator.py:34:1: F401 'core.agents.sense_weaver.SenseWeaver' imported but unused core/system/agent_orchestrator.py:35:1: F401 'core.agents.snc_analyst_agent.SNCAnalystAgent' imported but unused core/system/agent_orchestrator.py:35:58: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:36:1: F401 'core.agents.behavioral_economics_agent.BehavioralEconomicsAgent' imported but unused core/system/agent_orchestrator.py:37:1: F401 'core.agents.meta_cognitive_agent.MetaCognitiveAgent' imported but unused core/system/agent_orchestrator.py:43:49: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:64:1: E402 module level import not at top of file core/system/agent_orchestrator.py:87:56: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:92:33: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:93:31: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:106:1: W293 blank line contains whitespace core/system/agent_orchestrator.py:130:48: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:147:121: E501 line too long (147 > 120 characters) core/system/agent_orchestrator.py:155:121: E501 line too long (149 > 120 characters) core/system/agent_orchestrator.py:160:121: E501 line too long (165 > 120 characters) core/system/agent_orchestrator.py:172:70: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:182:73: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:183:121: E501 line too long (148 > 120 characters) core/system/agent_orchestrator.py:185:121: E501 line too long (125 > 120 characters) core/system/agent_orchestrator.py:188:121: E501 line too long (167 > 120 characters) core/system/agent_orchestrator.py:197:121: E501 line too long (133 > 120 characters) core/system/agent_orchestrator.py:201:38: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:213:121: E501 line too long (128 > 120 characters) core/system/agent_orchestrator.py:220:121: E501 line too long (131 > 120 characters) core/system/agent_orchestrator.py:221:121: E501 line too long (143 > 120 characters) core/system/agent_orchestrator.py:223:121: E501 line too long (135 > 120 characters) core/system/agent_orchestrator.py:224:121: E501 line too long (129 > 120 characters) core/system/agent_orchestrator.py:234:5: E303 too many blank lines (2) core/system/agent_orchestrator.py:241:1: W293 blank line contains whitespace core/system/agent_orchestrator.py:246:31: E701 multiple statements on one line (colon) core/system/agent_orchestrator.py:247:35: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:251:1: W293 blank line contains whitespace core/system/agent_orchestrator.py:270:121: E501 line too long (130 > 120 characters) core/system/agent_orchestrator.py:431:121: E501 line too long (140 > 120 characters) core/system/agent_orchestrator.py:576:1: W293 blank line contains whitespace core/system/agent_orchestrator.py:584:121: E501 line too long (123 > 120 characters) core/system/agent_orchestrator.py:587:121: E501 line too long (128 > 120 characters) core/system/agent_orchestrator.py:589:121: E501 line too long (147 > 120 characters) core/system/agent_orchestrator.py:592:121: E501 line too long (131 > 120 characters) core/system/agent_orchestrator.py:594:35: E261 at least two spaces before inline comment core/system/agent_orchestrator.py:595:18: E111 indentation is not a multiple of 4 core/system/agent_orchestrator.py:595:18: E117 over-indented core/system/agent_orchestrator.py:598:17: E122 continuation line missing indentation or outdented core/system/agent_orchestrator.py:601:5: E303 too many blank lines (2) core/system/agent_orchestrator.py:643:5: F841 local variable 'limited_runtime' is assigned to but never used core/system/brokers/rabbitmq_client.py:6:1: E302 expected 2 blank lines, found 1 core/system/data_manager.py:4:1: E302 expected 2 blank lines, found 1 core/system/echo.py:6:9: E265 block comment should start with '# ' core/system/echo.py:13:9: E265 block comment should start with '# ' core/system/echo.py:20:9: E265 block comment should start with '# ' core/system/echo.py:27:9: E265 block comment should start with '# ' core/system/error_handler.py:3:1: F401 'core.utils.config_utils.load_error_codes' imported but unused core/system/error_handler.py:3:53: E261 at least two spaces before inline comment core/system/error_handler.py:5:1: E302 expected 2 blank lines, found 1 core/system/error_handler.py:66:1: E302 expected 2 blank lines, found 1 core/system/error_handler.py:75:1: E302 expected 2 blank lines, found 1 core/system/error_handler.py:86:1: E302 expected 2 blank lines, found 0 core/system/error_handler.py:87:6: E111 indentation is not a multiple of 4 core/system/error_handler.py:87:6: E117 over-indented core/system/error_handler.py:90:6: E111 indentation is not a multiple of 4 core/system/error_handler.py:95:1: E302 expected 2 blank lines, found 0 core/system/error_handler.py:96:6: E111 indentation is not a multiple of 4 core/system/error_handler.py:96:6: E117 over-indented core/system/error_handler.py:99:6: E111 indentation is not a multiple of 4 core/system/error_handler.py:101:19: F541 f-string is missing placeholders core/system/error_handler.py:107:1: E302 expected 2 blank lines, found 1 core/system/hybrid_orchestrator.py:1:1: F401 'asyncio' imported but unused core/system/hybrid_orchestrator.py:2:1: F401 'typing.Union' imported but unused core/system/hybrid_orchestrator.py:7:1: E302 expected 2 blank lines, found 1 core/system/hybrid_orchestrator.py:9:74: W291 trailing whitespace core/system/hybrid_orchestrator.py:14:33: E261 at least two spaces before inline comment core/system/hybrid_orchestrator.py:15:31: E261 at least two spaces before inline comment core/system/interaction_loop.py:34:5: E303 too many blank lines (2) core/system/interaction_loop.py:56:29: F541 f-string is missing placeholders core/system/interaction_loop.py:61:14: E114 indentation is not a multiple of 4 (comment) core/system/interaction_loop.py:61:14: E117 over-indented (comment) core/system/interaction_loop.py:67:14: E114 indentation is not a multiple of 4 (comment) core/system/interaction_loop.py:67:14: E116 unexpected indentation (comment) core/system/interaction_loop.py:72:9: E303 too many blank lines (2) core/system/interaction_loop.py:83:9: E303 too many blank lines (2) core/system/interaction_loop.py:103:17: E303 too many blank lines (2) core/system/interaction_loop.py:113:29: F541 f-string is missing placeholders core/system/interaction_loop.py:133:5: E303 too many blank lines (2) core/system/kg_cache.py:8:1: E302 expected 2 blank lines, found 1 core/system/kg_cache.py:29:34: E261 at least two spaces before inline comment core/system/kg_cache.py:31:34: E261 at least two spaces before inline comment core/system/knowledge_base.py:13:1: E302 expected 2 blank lines, found 1 core/system/learning/trace_collector.py:24:1: E302 expected 2 blank lines, found 1 core/system/learning/trace_collector.py:29:1: E302 expected 2 blank lines, found 1 core/system/learning/trace_collector.py:29:21: F821 undefined name 'BaseModel' core/system/learning/trace_collector.py:32:19: E261 at least two spaces before inline comment core/system/learning/trace_collector.py:36:1: E302 expected 2 blank lines, found 1 core/system/learning/trace_collector.py:61:1: E302 expected 2 blank lines, found 1 core/system/learning/trace_collector.py:87:1: W293 blank line contains whitespace core/system/learning/trace_collector.py:91:1: W293 blank line contains whitespace core/system/learning/trace_collector.py:113:121: E501 line too long (125 > 120 characters) core/system/learning/trace_collector.py:123:1: E305 expected 2 blank lines after class or function definition, found 1 core/system/memory_consolidator.py:5:1: F401 'json' imported but unused core/system/memory_consolidator.py:10:1: E302 expected 2 blank lines, found 1 core/system/memory_consolidator.py:54:20: F541 f-string is missing placeholders core/system/memory_consolidator.py:55:21: F541 f-string is missing placeholders core/system/memory_manager.py:12:5: F401 'numpy as np' imported but unused core/system/memory_manager.py:18:1: E302 expected 2 blank lines, found 1 core/system/memory_manager.py:103:33: E701 multiple statements on one line (colon) core/system/memory_manager.py:143:36: E261 at least two spaces before inline comment core/system/message_broker.py:8:1: E302 expected 2 blank lines, found 1 core/system/monitoring.py:4:1: E302 expected 2 blank lines, found 1 core/system/nexus_zero_orchestrator.py:2:1: F401 'asyncio' imported but unused core/system/nexus_zero_orchestrator.py:3:1: F401 'typing.List' imported but unused core/system/nexus_zero_orchestrator.py:12:1: E302 expected 2 blank lines, found 1 core/system/plugin_manager.py:7:1: E302 expected 2 blank lines, found 1 core/system/reasoning/integrity_monitor.py:15:1: F401 'typing.Optional' imported but unused core/system/reasoning/integrity_monitor.py:15:1: F401 'typing.Union' imported but unused core/system/reasoning/integrity_monitor.py:16:1: F401 'pydantic.Field' imported but unused core/system/reasoning/integrity_monitor.py:16:1: F401 'pydantic.ValidationError' imported but unused core/system/reasoning/integrity_monitor.py:17:1: F401 'numpy as np' imported but unused core/system/reasoning/integrity_monitor.py:20:1: F401 'core.utils.logging_utils.get_logger' imported but unused core/system/reasoning/integrity_monitor.py:20:48: E261 at least two spaces before inline comment core/system/reasoning/integrity_monitor.py:26:1: E302 expected 2 blank lines, found 1 core/system/reasoning/integrity_monitor.py:33:1: E302 expected 2 blank lines, found 1 core/system/reasoning/integrity_monitor.py:40:1: E302 expected 2 blank lines, found 1 core/system/reasoning/integrity_monitor.py:73:1: W293 blank line contains whitespace core/system/reasoning/integrity_monitor.py:79:1: W293 blank line contains whitespace core/system/reasoning/integrity_monitor.py:86:41: W291 trailing whitespace core/system/reasoning/integrity_monitor.py:93:121: E501 line too long (126 > 120 characters) core/system/reasoning/integrity_monitor.py:130:1: W293 blank line contains whitespace core/system/reasoning/integrity_monitor.py:152:56: W291 trailing whitespace core/system/reasoning/integrity_monitor.py:155:1: W293 blank line contains whitespace core/system/reasoning/integrity_monitor.py:161:1: W293 blank line contains whitespace core/system/reasoning/integrity_monitor.py:164:1: E305 expected 2 blank lines after class or function definition, found 1 core/system/reasoning/integrity_monitor.py:167:1: W293 blank line contains whitespace core/system/reasoning/integrity_monitor.py:172:1: W293 blank line contains whitespace core/system/repo_graph.py:5:1: F401 'typing.List' imported but unused core/system/repo_graph.py:9:1: E302 expected 2 blank lines, found 1 core/system/repo_graph.py:52:9: F841 local variable 'e' is assigned to but never used core/system/resource_manager.py:4:1: F401 'time' imported but unused core/system/resource_manager.py:6:1: E302 expected 2 blank lines, found 1 core/system/resource_manager.py:71:121: E501 line too long (122 > 120 characters) core/system/system_controller.py:4:1: F403 'from agents import *' used; unable to detect undefined names core/system/system_controller.py:4:21: E261 at least two spaces before inline comment core/system/system_controller.py:5:52: E261 at least two spaces before inline comment core/system/system_controller.py:7:1: E302 expected 2 blank lines, found 1 core/system/system_controller.py:33:5: E303 too many blank lines (2) core/system/system_controller.py:59:12: F405 'command_name' may be undefined, or defined from star imports: agents core/system/system_controller.py:60:69: F405 'command_args' may be undefined, or defined from star imports: agents core/system/system_controller.py:61:14: F405 'command_name' may be undefined, or defined from star imports: agents core/system/system_controller.py:62:71: F405 'command_args' may be undefined, or defined from star imports: agents core/system/system_controller.py:85:1: E305 expected 2 blank lines after class or function definition, found 1 core/system/system_controller.py:90:121: E501 line too long (126 > 120 characters) core/system/system_controller.py:91:34: E261 at least two spaces before inline comment core/system/task_scheduler.py:5:1: E265 block comment should start with '# ' core/system/task_scheduler.py:7:1: E302 expected 2 blank lines, found 1 core/system/task_scheduler.py:11:9: E265 block comment should start with '# ' core/system/task_scheduler.py:20:13: E265 block comment should start with '# ' core/system/task_scheduler.py:26:13: E265 block comment should start with '# ' core/system/task_scheduler.py:35:9: E265 block comment should start with '# ' core/system/task_scheduler.py:36:9: E265 block comment should start with '# ' core/system/temporal_engine.py:6:1: F401 'typing.List' imported but unused core/system/temporal_engine.py:7:1: F401 'datetime.timedelta' imported but unused core/system/temporal_engine.py:12:1: E302 expected 2 blank lines, found 1 core/system/temporal_engine.py:44:1: E302 expected 2 blank lines, found 1 core/system/temporal_engine.py:88:33: E261 at least two spaces before inline comment core/system/v22_async/async_agent_base.py:13:1: E302 expected 2 blank lines, found 1 core/system/v22_async/async_agent_base.py:18:121: E501 line too long (127 > 120 characters) core/system/v22_async/async_task.py:4:1: E302 expected 2 blank lines, found 1 core/system/v22_async/async_workflow_manager.py:11:1: E302 expected 2 blank lines, found 1 core/system/v22_async/workflow.py:2:1: F401 'typing.List' imported but unused core/system/v22_async/workflow.py:5:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:11:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:17:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:29:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:35:121: E501 line too long (138 > 120 characters) core/system/v23_graph_engine/adaptive_system_poc.py:36:121: E501 line too long (148 > 120 characters) core/system/v23_graph_engine/adaptive_system_poc.py:37:121: E501 line too long (148 > 120 characters) core/system/v23_graph_engine/adaptive_system_poc.py:38:121: E501 line too long (123 > 120 characters) core/system/v23_graph_engine/adaptive_system_poc.py:39:121: E501 line too long (133 > 120 characters) core/system/v23_graph_engine/adaptive_system_poc.py:45:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:51:121: E501 line too long (147 > 120 characters) core/system/v23_graph_engine/adaptive_system_poc.py:56:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:65:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:74:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:86:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:126:1: E305 expected 2 blank lines after class or function definition, found 1 core/system/v23_graph_engine/adaptive_system_poc.py:128:1: W293 blank line contains whitespace core/system/v23_graph_engine/adaptive_system_poc.py:132:1: W293 blank line contains whitespace core/system/v23_graph_engine/adaptive_system_poc.py:136:24: E261 at least two spaces before inline comment core/system/v23_graph_engine/adaptive_system_poc.py:137:29: E261 at least two spaces before inline comment core/system/v23_graph_engine/adaptive_system_poc.py:139:1: W293 blank line contains whitespace core/system/v23_graph_engine/adaptive_system_poc.py:143:1: W293 blank line contains whitespace core/system/v23_graph_engine/cyclical_graph_poc.py:2:1: F401 'typing.List' imported but unused core/system/v23_graph_engine/cyclical_graph_poc.py:5:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/cyclical_graph_poc.py:18:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/cyclical_graph_poc.py:27:1: W293 blank line contains whitespace core/system/v23_graph_engine/cyclical_graph_poc.py:31:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/cyclical_graph_poc.py:40:1: E302 expected 2 blank lines, found 1 core/system/v23_graph_engine/cyclical_graph_poc.py:50:1: E305 expected 2 blank lines after class or function definition, found 1 core/tools/base_tool.py:4:1: E302 expected 2 blank lines, found 1 core/tools/universal_ingestor_mcp.py:2:1: F401 'core.data_processing.universal_ingestor.ArtifactType' imported but unused core/tools/universal_ingestor_mcp.py:3:1: F401 'typing.Any' imported but unused core/tools/universal_ingestor_mcp.py:3:1: F401 'typing.Dict' imported but unused core/tools/universal_ingestor_mcp.py:7:1: E302 expected 2 blank lines, found 1 core/tools/universal_ingestor_mcp.py:15:14: E111 indentation is not a multiple of 4 core/tools/universal_ingestor_mcp.py:15:14: E117 over-indented core/tools/universal_ingestor_mcp.py:15:18: E261 at least two spaces before inline comment core/tools/universal_ingestor_mcp.py:25:14: E114 indentation is not a multiple of 4 (comment) core/tools/universal_ingestor_mcp.py:25:14: E117 over-indented (comment) core/tools/universal_ingestor_mcp.py:26:14: E111 indentation is not a multiple of 4 core/tools/universal_ingestor_mcp.py:26:14: E117 over-indented core/tools/universal_ingestor_mcp.py:27:18: E111 indentation is not a multiple of 4 core/tools/universal_ingestor_mcp.py:28:18: E111 indentation is not a multiple of 4 core/tools/web_search_tool.py:2:1: F401 'typing.Any' imported but unused core/tools/web_search_tool.py:14:1: E302 expected 2 blank lines, found 1 core/tools/web_search_tool.py:25:121: E501 line too long (126 > 120 characters) core/tools/web_search_tool.py:32:121: E501 line too long (164 > 120 characters) core/tools/web_search_tool.py:34:72: E261 at least two spaces before inline comment core/tools/web_search_tool.py:47:38: E261 at least two spaces before inline comment core/tools/web_search_tool.py:59:121: E501 line too long (196 > 120 characters) core/tools/web_search_tool.py:64:121: E501 line too long (169 > 120 characters) core/trading/hft/avellaneda_stoikov_engine.py:31:1: F401 'random' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:32:1: F401 'dataclasses.dataclass' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:32:1: F401 'dataclasses.field' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:33:1: F401 'typing.List' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:33:1: F401 'typing.Dict' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:33:1: F401 'typing.Optional' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:34:1: F401 'enum.Enum' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:38:1: F401 'core.trading.hft.hft_engine.OrderStatus' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:38:1: F401 'core.trading.hft.hft_engine.MarketTick' imported but unused core/trading/hft/avellaneda_stoikov_engine.py:43:1: E302 expected 2 blank lines, found 1 core/trading/hft/avellaneda_stoikov_engine.py:83:70: E261 at least two spaces before inline comment core/trading/hft/avellaneda_stoikov_engine.py:86:52: E261 at least two spaces before inline comment core/trading/hft/avellaneda_stoikov_engine.py:98:27: E701 multiple statements on one line (colon) core/trading/hft/avellaneda_stoikov_engine.py:99:27: E701 multiple statements on one line (colon) core/trading/hft/avellaneda_stoikov_engine.py:160:41: E701 multiple statements on one line (colon) core/trading/hft/avellaneda_stoikov_engine.py:161:41: E701 multiple statements on one line (colon) core/trading/hft/avellaneda_stoikov_engine.py:222:1: E305 expected 2 blank lines after class or function definition, found 1 core/trading/hft/hft_engine.py:23:1: F401 'dataclasses.field' imported but unused core/trading/hft/hft_engine.py:24:1: F401 'typing.Optional' imported but unused core/trading/hft/hft_engine.py:32:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:36:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:41:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:51:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:60:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:89:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:108:54: E261 at least two spaces before inline comment core/trading/hft/hft_engine.py:123:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:151:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine.py:193:17: F841 local variable 'mid_price' is assigned to but never used core/trading/hft/hft_engine.py:237:56: E261 at least two spaces before inline comment core/trading/hft/hft_engine.py:249:1: E305 expected 2 blank lines after class or function definition, found 1 core/trading/hft/hft_engine_nexus.py:45:1: F401 'sys' imported but unused core/trading/hft/hft_engine_nexus.py:48:1: F401 'typing.Optional' imported but unused core/trading/hft/hft_engine_nexus.py:48:1: F401 'typing.List' imported but unused core/trading/hft/hft_engine_nexus.py:64:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_nexus.py:73:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_nexus.py:80:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_nexus.py:119:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_nexus.py:164:36: E261 at least two spaces before inline comment core/trading/hft/hft_engine_nexus.py:198:21: E261 at least two spaces before inline comment core/trading/hft/hft_engine_nexus.py:227:1: E305 expected 2 blank lines after class or function definition, found 1 core/trading/hft/hft_engine_v2.py:8:121: E501 line too long (128 > 120 characters) core/trading/hft/hft_engine_v2.py:25:1: F401 'functools' imported but unused core/trading/hft/hft_engine_v2.py:45:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:49:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:54:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:64:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:73:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:86:9: F841 local variable 'mv' is assigned to but never used core/trading/hft/hft_engine_v2.py:97:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:100:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:103:28: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v2.py:105:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:138:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:152:24: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v2.py:153:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:178:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:181:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:198:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:209:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:212:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:236:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:243:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:247:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:252:39: W291 trailing whitespace core/trading/hft/hft_engine_v2.py:266:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v2.py:272:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:277:66: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v2.py:280:9: F841 local variable 'feed_task' is assigned to but never used core/trading/hft/hft_engine_v2.py:282:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:300:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:305:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:309:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:314:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:318:35: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v2.py:319:35: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v2.py:323:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:327:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:347:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v2.py:349:22: E111 indentation is not a multiple of 4 core/trading/hft/hft_engine_v2.py:349:22: E117 over-indented core/trading/hft/hft_engine_v2.py:349:121: E501 line too long (169 > 120 characters) core/trading/hft/hft_engine_v2.py:357:1: E305 expected 2 blank lines after class or function definition, found 1 core/trading/hft/hft_engine_v3.py:18:1: F401 'json' imported but unused core/trading/hft/hft_engine_v3.py:20:1: F401 'dataclasses.field' imported but unused core/trading/hft/hft_engine_v3.py:22:1: F401 'typing.Dict' imported but unused core/trading/hft/hft_engine_v3.py:22:1: F401 'typing.Optional' imported but unused core/trading/hft/hft_engine_v3.py:27:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:34:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:40:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:64:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:67:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:82:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:85:121: E501 line too long (121 > 120 characters) core/trading/hft/hft_engine_v3.py:88:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:106:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:108:42: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:109:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:113:53: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:114:37: W291 trailing whitespace core/trading/hft/hft_engine_v3.py:122:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:126:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:129:39: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:131:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:137:30: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:160:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:169:34: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:170:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:176:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:180:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:181:75: W291 trailing whitespace core/trading/hft/hft_engine_v3.py:187:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:190:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:194:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:197:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:201:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:213:23: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:214:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:217:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:222:1: E302 expected 2 blank lines, found 1 core/trading/hft/hft_engine_v3.py:225:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:227:46: E261 at least two spaces before inline comment core/trading/hft/hft_engine_v3.py:228:1: W293 blank line contains whitespace core/trading/hft/hft_engine_v3.py:234:1: W293 blank line contains whitespace core/trading/hft/yfinance_data_feed.py:11:1: E302 expected 2 blank lines, found 1 core/training/train_dpo.py:8:1: F401 'os' imported but unused core/training/train_dpo.py:9:1: F401 'torch' imported but unused core/training/train_dpo.py:11:1: F401 'typing.Optional' imported but unused core/training/train_dpo.py:15:5: F401 'transformers.TrainingArguments' imported but unused core/training/train_dpo.py:15:5: F401 'transformers.AutoModelForCausalLM' imported but unused core/training/train_dpo.py:16:5: F401 'trl.DPOTrainer' imported but unused core/training/train_dpo.py:20:1: E302 expected 2 blank lines, found 1 core/training/train_dpo.py:28:1: W293 blank line contains whitespace core/training/train_dpo.py:35:1: W293 blank line contains whitespace core/training/train_dpo.py:39:1: W293 blank line contains whitespace core/training/train_dpo.py:42:1: W293 blank line contains whitespace core/training/train_dpo.py:45:1: W293 blank line contains whitespace core/training/train_dpo.py:48:1: W293 blank line contains whitespace core/training/train_dpo.py:51:1: W293 blank line contains whitespace core/training/train_dpo.py:54:1: E305 expected 2 blank lines after class or function definition, found 1 core/training/train_dpo.py:61:1: W293 blank line contains whitespace core/utils/agent_utils.py:1:1: E265 block comment should start with '# ' core/utils/agent_utils.py:3:1: F401 'pika' imported but unused core/utils/agent_utils.py:5:1: F401 'core.utils.data_utils.receive_messages' imported but unused core/utils/agent_utils.py:69:5: E265 block comment should start with '# ' core/utils/agent_utils.py:125:5: E265 block comment should start with '# ' core/utils/api_utils.py:1:1: E265 block comment should start with '# ' core/utils/api_utils.py:5:1: E302 expected 2 blank lines, found 1 core/utils/config_utils.py:4:10: E261 at least two spaces before inline comment core/utils/config_utils.py:12:1: E302 expected 2 blank lines, found 1 core/utils/config_utils.py:25:31: E261 at least two spaces before inline comment core/utils/config_utils.py:27:26: E261 at least two spaces before inline comment core/utils/config_utils.py:39:1: E302 expected 2 blank lines, found 1 core/utils/config_utils.py:54:32: E261 at least two spaces before inline comment core/utils/config_utils.py:69:121: E501 line too long (131 > 120 characters) core/utils/config_utils.py:76:5: E303 too many blank lines (2) core/utils/config_utils.py:86:1: W293 blank line contains whitespace core/utils/config_utils.py:89:1: E302 expected 2 blank lines, found 1 core/utils/config_utils.py:102:1: E302 expected 2 blank lines, found 1 core/utils/config_utils.py:122:1: E305 expected 2 blank lines after class or function definition, found 1 core/utils/config_utils.py:144:13: E261 at least two spaces before inline comment core/utils/data_utils.py:1:1: E265 block comment should start with '# ' core/utils/data_utils.py:14:12: E261 at least two spaces before inline comment core/utils/data_utils.py:14:13: E262 inline comment should start with '# ' core/utils/data_utils.py:17:1: F401 'core.system.error_handler.DataNotFoundError' imported but unused core/utils/data_utils.py:83:5: E265 block comment should start with '# ' core/utils/data_utils.py:100:5: E265 block comment should start with '# ' core/utils/data_utils.py:126:5: E265 block comment should start with '# ' core/utils/data_utils.py:250:5: F841 local variable 'provider' is assigned to but never used core/utils/data_utils.py:286:34: E261 at least two spaces before inline comment core/utils/data_utils.py:286:35: E262 inline comment should start with '# ' core/utils/data_utils.py:299:27: E261 at least two spaces before inline comment core/utils/data_utils.py:299:28: E262 inline comment should start with '# ' core/utils/data_utils.py:303:1: E302 expected 2 blank lines, found 1 core/utils/data_utils.py:310:5: E265 block comment should start with '# ' core/utils/data_utils.py:310:121: E501 line too long (126 > 120 characters) core/utils/data_utils.py:327:11: E111 indentation is not a multiple of 4 core/utils/data_utils.py:327:11: E117 over-indented core/utils/data_utils.py:327:17: E275 missing whitespace after keyword core/utils/data_utils.py:328:29: E231 missing whitespace after ':' core/utils/data_utils.py:338:1: W391 blank line at end of file core/utils/formatting_utils.py:5:1: E302 expected 2 blank lines, found 1 core/utils/formatting_utils.py:6:3: E111 indentation is not a multiple of 4 core/utils/formatting_utils.py:9:3: E111 indentation is not a multiple of 4 core/utils/formatting_utils.py:11:3: E111 indentation is not a multiple of 4 core/utils/formatting_utils.py:14:3: E111 indentation is not a multiple of 4 core/utils/json_logic.py:1:1: F401 'typing.Dict' imported but unused core/utils/json_logic.py:1:1: F401 'typing.List' imported but unused core/utils/json_logic.py:1:1: F401 'typing.Union' imported but unused core/utils/json_logic.py:3:1: E302 expected 2 blank lines, found 1 core/utils/json_logic.py:30:121: E501 line too long (127 > 120 characters) core/utils/json_logic.py:63:40: E701 multiple statements on one line (colon) core/utils/json_logic.py:85:18: E701 multiple statements on one line (colon) core/utils/json_logic.py:86:19: E701 multiple statements on one line (colon) core/utils/json_logic.py:87:18: E701 multiple statements on one line (colon) core/utils/json_logic.py:88:19: E701 multiple statements on one line (colon) core/utils/json_logic.py:89:17: E701 multiple statements on one line (colon) core/utils/json_logic.py:90:18: E701 multiple statements on one line (colon) core/utils/json_logic.py:91:17: E701 multiple statements on one line (colon) core/utils/json_logic.py:92:18: E701 multiple statements on one line (colon) core/utils/json_logic.py:95:17: E701 multiple statements on one line (colon) core/utils/json_logic.py:96:18: E701 multiple statements on one line (colon) core/utils/json_logic.py:97:18: E701 multiple statements on one line (colon) core/utils/json_logic.py:98:19: E701 multiple statements on one line (colon) core/utils/json_logic.py:101:17: E701 multiple statements on one line (colon) core/utils/json_logic.py:104:22: E701 multiple statements on one line (colon) core/utils/json_logic.py:107:26: E701 multiple statements on one line (colon) core/utils/json_logic.py:109:17: E701 multiple statements on one line (colon) core/utils/json_logic.py:110:17: E701 multiple statements on one line (colon) core/utils/logging_utils.py:6:1: E302 expected 2 blank lines, found 1 core/utils/logging_utils.py:28:1: E302 expected 2 blank lines, found 1 core/utils/market_data_utils.py:4:1: F401 'json' imported but unused core/utils/market_data_utils.py:7:1: E302 expected 2 blank lines, found 1 core/utils/market_data_utils.py:28:1: E302 expected 2 blank lines, found 1 core/utils/market_data_utils.py:28:121: E501 line too long (125 > 120 characters) core/utils/reporting_utils.py:1:1: E265 block comment should start with '# ' core/utils/reporting_utils.py:4:3: E111 indentation is not a multiple of 4 core/utils/reporting_utils.py:7:3: E111 indentation is not a multiple of 4 core/utils/reporting_utils.py:10:3: E111 indentation is not a multiple of 4 core/utils/reporting_utils.py:13:3: E111 indentation is not a multiple of 4 core/utils/retry_utils.py:8:1: E302 expected 2 blank lines, found 1 core/utils/secrets_utils.py:11:1: E302 expected 2 blank lines, found 1 core/utils/secrets_utils.py:25:1: W293 blank line contains whitespace core/utils/secrets_utils.py:30:1: W293 blank line contains whitespace core/utils/secrets_utils.py:33:1: E305 expected 2 blank lines after class or function definition, found 1 core/utils/secrets_utils.py:39:1: W293 blank line contains whitespace core/utils/secrets_utils.py:43:22: F541 f-string is missing placeholders core/utils/secrets_utils.py:50:22: F541 f-string is missing placeholders core/utils/secrets_utils.py:57:22: F541 f-string is missing placeholders core/utils/secrets_utils.py:60:1: W293 blank line contains whitespace core/utils/token_utils.py:9:1: E302 expected 2 blank lines, found 1 core/utils/token_utils.py:27:56: E261 at least two spaces before inline comment core/utils/token_utils.py:73:9: F821 undefined name 'yaml' core/utils/token_utils.py:77:5: E303 too many blank lines (2) core/utils/token_utils.py:96:5: F821 undefined name 'os' core/v22_quantum_pipeline/async_loader.py:10:1: E302 expected 2 blank lines, found 1 core/v22_quantum_pipeline/async_loader.py:25:14: E111 indentation is not a multiple of 4 core/v22_quantum_pipeline/async_loader.py:25:14: E117 over-indented core/v22_quantum_pipeline/async_loader.py:26:14: E111 indentation is not a multiple of 4 core/v22_quantum_pipeline/async_loader.py:26:28: E261 at least two spaces before inline comment core/v22_quantum_pipeline/async_loader.py:44:1: E302 expected 2 blank lines, found 1 core/v22_quantum_pipeline/async_loader.py:48:121: E501 line too long (141 > 120 characters) core/v22_quantum_pipeline/async_loader.py:53:1: E302 expected 2 blank lines, found 1 core/v22_quantum_pipeline/data_expander.py:2:1: F401 'json' imported but unused core/v22_quantum_pipeline/data_expander.py:4:1: E302 expected 2 blank lines, found 1 core/v22_quantum_pipeline/data_expander.py:34:18: E114 indentation is not a multiple of 4 (comment) core/v22_quantum_pipeline/data_expander.py:34:18: E117 over-indented (comment) core/v22_quantum_pipeline/data_expander.py:35:18: E111 indentation is not a multiple of 4 core/v22_quantum_pipeline/data_expander.py:35:18: E117 over-indented core/v22_quantum_pipeline/qmc_engine.py:4:1: F401 'typing.Any' imported but unused core/v22_quantum_pipeline/qmc_engine.py:4:1: F401 'typing.Tuple' imported but unused core/v22_quantum_pipeline/qmc_engine.py:9:1: E302 expected 2 blank lines, found 1 core/v22_quantum_pipeline/qmc_engine.py:108:1: E305 expected 2 blank lines after class or function definition, found 1 core/v22_quantum_pipeline/qmc_engine.py:115:24: E261 at least two spaces before inline comment core/v22_quantum_pipeline/qmc_qiskit_poc.py:17:1: F401 'typing.List' imported but unused core/v22_quantum_pipeline/qmc_qiskit_poc.py:17:1: F401 'typing.Union' imported but unused core/v22_quantum_pipeline/qmc_qiskit_poc.py:29:5: F401 'qiskit.circuit.library.RYGate' imported but unused core/v22_quantum_pipeline/qmc_qiskit_poc.py:38:1: E302 expected 2 blank lines, found 1 core/v22_quantum_pipeline/qmc_qiskit_poc.py:160:1: E305 expected 2 blank lines after class or function definition, found 1 core/v22_quantum_pipeline/quantum_source.py:17:9: E301 expected 1 blank line, found 0 core/v23_graph_engine/data_pipeline/graph.py:2:1: F401 'typing.Any' imported but unused core/v23_graph_engine/data_pipeline/graph.py:4:1: F401 'os' imported but unused core/v23_graph_engine/data_pipeline/graph.py:6:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/data_pipeline/graph.py:14:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/data_pipeline/graph.py:33:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/data_pipeline/graph.py:36:1: W293 blank line contains whitespace core/v23_graph_engine/data_pipeline/graph.py:49:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/data_pipeline/graph.py:53:1: W293 blank line contains whitespace core/v23_graph_engine/data_pipeline/graph.py:57:1: W293 blank line contains whitespace core/v23_graph_engine/data_pipeline/state.py:2:1: F401 'dataclasses.dataclass' imported but unused core/v23_graph_engine/data_pipeline/state.py:4:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/data_pipeline/state.py:11:35: E261 at least two spaces before inline comment core/v23_graph_engine/data_pipeline/state.py:16:29: E261 at least two spaces before inline comment core/v23_graph_engine/data_pipeline/state.py:20:49: E261 at least two spaces before inline comment core/v23_graph_engine/data_pipeline/state.py:23:25: E261 at least two spaces before inline comment core/v23_graph_engine/deep_dive_graph.py:2:1: F401 'asyncio' imported but unused core/v23_graph_engine/deep_dive_graph.py:3:1: F401 'typing.List' imported but unused core/v23_graph_engine/deep_dive_graph.py:15:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/deep_dive_graph.py:148:44: E261 at least two spaces before inline comment core/v23_graph_engine/deep_dive_graph.py:172:14: E114 indentation is not a multiple of 4 (comment) core/v23_graph_engine/deep_dive_graph.py:172:14: E117 over-indented (comment) core/v23_graph_engine/deep_dive_graph.py:173:14: E114 indentation is not a multiple of 4 (comment) core/v23_graph_engine/deep_dive_graph.py:173:14: E117 over-indented (comment) core/v23_graph_engine/deep_dive_graph.py:174:14: E111 indentation is not a multiple of 4 core/v23_graph_engine/deep_dive_graph.py:174:14: E117 over-indented core/v23_graph_engine/deep_dive_graph.py:175:18: E111 indentation is not a multiple of 4 core/v23_graph_engine/deep_dive_graph.py:176:14: E111 indentation is not a multiple of 4 core/v23_graph_engine/deep_dive_graph.py:177:18: E111 indentation is not a multiple of 4 core/v23_graph_engine/deep_dive_graph.py:178:22: E111 indentation is not a multiple of 4 core/v23_graph_engine/deep_dive_graph.py:179:18: E111 indentation is not a multiple of 4 core/v23_graph_engine/odyssey_knowledge_graph.py:15:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/odyssey_knowledge_graph.py:52:14: E111 indentation is not a multiple of 4 core/v23_graph_engine/odyssey_knowledge_graph.py:52:14: E117 over-indented core/v23_graph_engine/odyssey_knowledge_graph.py:99:14: E114 indentation is not a multiple of 4 (comment) core/v23_graph_engine/odyssey_knowledge_graph.py:99:14: E117 over-indented (comment) core/v23_graph_engine/odyssey_knowledge_graph.py:100:14: E114 indentation is not a multiple of 4 (comment) core/v23_graph_engine/odyssey_knowledge_graph.py:100:14: E117 over-indented (comment) core/v23_graph_engine/odyssey_knowledge_graph.py:101:14: E111 indentation is not a multiple of 4 core/v23_graph_engine/odyssey_knowledge_graph.py:101:14: E117 over-indented core/v23_graph_engine/odyssey_knowledge_graph.py:102:18: E111 indentation is not a multiple of 4 core/v23_graph_engine/odyssey_knowledge_graph.py:113:121: E501 line too long (151 > 120 characters) core/v23_graph_engine/unified_knowledge_graph.py:4:1: F401 'typing.Optional' imported but unused core/v23_graph_engine/unified_knowledge_graph.py:8:1: E302 expected 2 blank lines, found 1 core/v23_graph_engine/unified_knowledge_graph.py:30:27: E701 multiple statements on one line (colon) core/v23_graph_engine/unified_knowledge_graph.py:75:25: E261 at least two spaces before inline comment core/v23_graph_engine/unified_knowledge_graph.py:128:78: E261 at least two spaces before inline comment core/v23_graph_engine/unified_knowledge_graph.py:170:14: E114 indentation is not a multiple of 4 (comment) core/v23_graph_engine/unified_knowledge_graph.py:170:14: E117 over-indented (comment) core/v23_graph_engine/unified_knowledge_graph.py:171:14: E111 indentation is not a multiple of 4 core/v23_graph_engine/unified_knowledge_graph.py:171:14: E117 over-indented core/v23_graph_engine/unified_knowledge_graph.py:172:18: E111 indentation is not a multiple of 4 core/v23_graph_engine/unified_knowledge_graph.py:174:14: E111 indentation is not a multiple of 4 core/v30_architecture/python_intelligence/agents/code_weaver.py:10:69: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:15:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/agents/code_weaver.py:25:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/agents/code_weaver.py:28:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:30:69: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:33:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:50:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:53:69: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:56:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:60:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:78:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:80:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:85:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:88:105: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:89:29: E128 continuation line under-indented for visual indent core/v30_architecture/python_intelligence/agents/code_weaver.py:90:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:95:113: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:96:37: E128 continuation line under-indented for visual indent core/v30_architecture/python_intelligence/agents/code_weaver.py:101:99: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:102:29: E128 continuation line under-indented for visual indent core/v30_architecture/python_intelligence/agents/code_weaver.py:111:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:122:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:127:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:129:90: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:130:29: E128 continuation line under-indented for visual indent core/v30_architecture/python_intelligence/agents/code_weaver.py:131:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:133:90: W291 trailing whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:134:29: E128 continuation line under-indented for visual indent core/v30_architecture/python_intelligence/agents/code_weaver.py:135:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:138:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:160:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:162:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:177:1: E305 expected 2 blank lines after class or function definition, found 1 core/v30_architecture/python_intelligence/agents/code_weaver.py:182:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:186:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:190:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/code_weaver.py:194:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/agents/news_bot.py:2:1: F401 'time' imported but unused core/v30_architecture/python_intelligence/agents/news_bot.py:6:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/agents/news_bot.py:38:26: E114 indentation is not a multiple of 4 (comment) core/v30_architecture/python_intelligence/agents/news_bot.py:38:26: E117 over-indented (comment) core/v30_architecture/python_intelligence/agents/news_bot.py:39:26: E111 indentation is not a multiple of 4 core/v30_architecture/python_intelligence/agents/news_bot.py:39:26: E117 over-indented core/v30_architecture/python_intelligence/agents/news_bot.py:40:26: E111 indentation is not a multiple of 4 core/v30_architecture/python_intelligence/agents/news_bot.py:45:35: E701 multiple statements on one line (colon) core/v30_architecture/python_intelligence/agents/news_bot.py:46:37: E701 multiple statements on one line (colon) core/v30_architecture/python_intelligence/agents/news_bot.py:51:27: E701 multiple statements on one line (colon) core/v30_architecture/python_intelligence/agents/news_bot.py:52:27: E701 multiple statements on one line (colon) core/v30_architecture/python_intelligence/mcp/server.py:10:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/mcp/server.py:70:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/mcp/server.py:78:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/mcp/server.py:85:1: E305 expected 2 blank lines after class or function definition, found 1 core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:4:1: F401 'typing.Union' imported but unused core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:22:69: W291 trailing whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:29:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:38:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:47:1: E302 expected 2 blank lines, found 1 core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:50:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:58:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:75:121: E501 line too long (121 > 120 characters) core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:95:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:98:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:136:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:157:40: W291 trailing whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:180:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:189:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:205:28: E261 at least two spaces before inline comment core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:207:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:228:47: W291 trailing whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:229:46: W291 trailing whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:242:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:246:18: E114 indentation is not a multiple of 4 (comment) core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:246:18: E117 over-indented (comment) core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:247:18: E111 indentation is not a multiple of 4 core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:247:18: E117 over-indented core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:247:121: E501 line too long (141 > 120 characters) core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:251:1: W293 blank line contains whitespace core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:256:1: E305 expected 2 blank lines after class or function definition, found 1 core/vectorstore/base_vector_store.py:4:1: E302 expected 2 blank lines, found 1 core/vectorstore/stores/in_memory_vector_store.py:7:1: E302 expected 2 blank lines, found 1 core/vectorstore/stores/in_memory_vector_store.py:14:58: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:28:121: E501 line too long (168 > 120 characters) core/vectorstore/stores/in_memory_vector_store.py:47:121: E501 line too long (145 > 120 characters) core/vectorstore/stores/in_memory_vector_store.py:54:28: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:63:30: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:68:54: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:75:1: E305 expected 2 blank lines after class or function definition, found 1 core/vectorstore/stores/in_memory_vector_store.py:78:16: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:92:49: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:98:50: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:110:67: E261 at least two spaces before inline comment core/vectorstore/stores/in_memory_vector_store.py:113:32: E231 missing whitespace after ',' core/vectorstore/stores/in_memory_vector_store.py:113:47: E261 at least two spaces before inline comment core/vertical_risk_agent/agents/analyst.py:4:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/analyst.py:28:52: E261 at least two spaces before inline comment core/vertical_risk_agent/agents/analyst.py:29:25: E701 multiple statements on one line (colon) core/vertical_risk_agent/agents/analyst.py:60:37: E261 at least two spaces before inline comment core/vertical_risk_agent/agents/legal.py:1:1: F401 'typing.List' imported but unused core/vertical_risk_agent/agents/legal.py:4:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/legal.py:30:121: E501 line too long (146 > 120 characters) core/vertical_risk_agent/agents/market.py:4:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/supervisor.py:1:1: F401 'typing.Dict' imported but unused core/vertical_risk_agent/agents/supervisor.py:1:1: F401 'typing.Any' imported but unused core/vertical_risk_agent/agents/supervisor.py:34:22: E701 multiple statements on one line (colon) core/vertical_risk_agent/agents/supervisor.py:50:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/supervisor.py:55:5: F841 local variable 'messages' is assigned to but never used core/vertical_risk_agent/agents/supervisor.py:66:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/supervisor.py:66:121: E501 line too long (121 > 120 characters) core/vertical_risk_agent/agents/supervisor.py:82:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/supervisor.py:93:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/agents/supervisor.py:102:1: E305 expected 2 blank lines after class or function definition, found 1 core/vertical_risk_agent/app/odyssey_app.py:13:1: E402 module level import not at top of file core/vertical_risk_agent/generative_risk.py:26:1: F401 'typing.Any' imported but unused core/vertical_risk_agent/generative_risk.py:26:1: F401 'typing.Union' imported but unused core/vertical_risk_agent/generative_risk.py:26:1: F401 'typing.Tuple' imported but unused core/vertical_risk_agent/generative_risk.py:28:1: F401 'dataclasses.dataclass' imported but unused core/vertical_risk_agent/generative_risk.py:28:1: F401 'dataclasses.field' imported but unused core/vertical_risk_agent/generative_risk.py:32:5: F401 'core.vertical_risk_agent.state.RiskFactor' imported but unused core/vertical_risk_agent/generative_risk.py:34:9: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:40:5: F401 'torch.nn.functional as F' imported but unused core/vertical_risk_agent/generative_risk.py:52:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:63:121: E501 line too long (125 > 120 characters) core/vertical_risk_agent/generative_risk.py:68:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:86:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:127:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:148:46: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:152:32: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:159:1: W293 blank line contains whitespace core/vertical_risk_agent/generative_risk.py:178:35: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:182:92: E231 missing whitespace after ',' core/vertical_risk_agent/generative_risk.py:182:95: E231 missing whitespace after ',' core/vertical_risk_agent/generative_risk.py:182:121: E501 line too long (129 > 120 characters) core/vertical_risk_agent/generative_risk.py:184:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:208:31: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:209:31: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:218:36: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:224:13: E741 ambiguous variable name 'I' core/vertical_risk_agent/generative_risk.py:225:40: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:243:63: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:287:51: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:304:52: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:322:18: E111 indentation is not a multiple of 4 core/vertical_risk_agent/generative_risk.py:322:18: E117 over-indented core/vertical_risk_agent/generative_risk.py:332:17: E122 continuation line missing indentation or outdented core/vertical_risk_agent/generative_risk.py:351:24: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:352:26: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:353:24: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:363:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:426:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/generative_risk.py:479:24: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:483:19: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:487:1: E305 expected 2 blank lines after class or function definition, found 1 core/vertical_risk_agent/generative_risk.py:497:111: E261 at least two spaces before inline comment core/vertical_risk_agent/generative_risk.py:497:121: E501 line too long (121 > 120 characters) core/vertical_risk_agent/generative_risk.py:506:36: W292 no newline at end of file core/vertical_risk_agent/ingestion/parser_router.py:1:1: F401 'os' imported but unused core/vertical_risk_agent/ingestion/parser_router.py:8:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/ingestion/parser_router.py:42:48: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/parser_router.py:48:14: E131 continuation line unaligned for hanging indent core/vertical_risk_agent/ingestion/sec_13f_handler.py:1:1: F401 'typing.Dict' imported but unused core/vertical_risk_agent/ingestion/sec_13f_handler.py:1:1: F401 'typing.Any' imported but unused core/vertical_risk_agent/ingestion/sec_13f_handler.py:1:1: F401 'typing.List' imported but unused core/vertical_risk_agent/ingestion/sec_13f_handler.py:1:1: F401 'typing.Optional' imported but unused core/vertical_risk_agent/ingestion/sec_13f_handler.py:5:1: F401 'requests' imported but unused core/vertical_risk_agent/ingestion/sec_13f_handler.py:6:1: F401 'datetime.datetime' imported but unused core/vertical_risk_agent/ingestion/sec_13f_handler.py:10:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/ingestion/sec_13f_handler.py:21:28: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/sec_13f_handler.py:31:28: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/sec_13f_handler.py:99:66: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/sec_13f_handler.py:135:121: E501 line too long (131 > 120 characters) core/vertical_risk_agent/ingestion/xbrl_handler.py:8:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/ingestion/xbrl_handler.py:24:42: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/xbrl_handler.py:27:78: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/xbrl_handler.py:55:56: E261 at least two spaces before inline comment core/vertical_risk_agent/ingestion/xbrl_handler.py:84:121: E501 line too long (156 > 120 characters) core/vertical_risk_agent/state.py:7:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:16:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:25:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:33:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:40:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:50:121: E501 line too long (121 > 120 characters) core/vertical_risk_agent/state.py:54:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:65:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/state.py:82:1: W293 blank line contains whitespace core/vertical_risk_agent/state.py:85:53: W291 trailing whitespace core/vertical_risk_agent/state.py:86:1: W293 blank line contains whitespace core/vertical_risk_agent/state.py:91:41: E261 at least two spaces before inline comment core/vertical_risk_agent/state.py:94:49: E261 at least two spaces before inline comment core/vertical_risk_agent/state.py:100:16: W292 no newline at end of file core/vertical_risk_agent/tools/agent_tools.py:6:1: F401 'typing.Optional' imported but unused core/vertical_risk_agent/tools/agent_tools.py:24:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/agent_tools.py:28:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/agent_tools.py:32:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/agent_tools.py:37:1: W293 blank line contains whitespace core/vertical_risk_agent/tools/agent_tools.py:89:121: E501 line too long (142 > 120 characters) core/vertical_risk_agent/tools/mcp_server/server.py:15:1: F401 'asyncio' imported but unused core/vertical_risk_agent/tools/mcp_server/server.py:17:1: F401 'typing.List' imported but unused core/vertical_risk_agent/tools/mcp_server/server.py:17:1: F401 'typing.Dict' imported but unused core/vertical_risk_agent/tools/mcp_server/server.py:17:1: F401 'typing.Any' imported but unused core/vertical_risk_agent/tools/mcp_server/server.py:17:1: F401 'typing.Optional' imported but unused core/vertical_risk_agent/tools/mcp_server/server.py:40:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:50:1: E305 expected 2 blank lines after class or function definition, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:56:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:71:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:85:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:93:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:101:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:114:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:129:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:144:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:150:121: E501 line too long (211 > 120 characters) core/vertical_risk_agent/tools/mcp_server/server.py:152:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:168:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:184:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:195:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:207:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:219:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:235:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:250:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:263:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:275:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server.py:290:1: E305 expected 2 blank lines after class or function definition, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:13:1: F401 'asyncio' imported but unused core/vertical_risk_agent/tools/mcp_server/server2.py:14:1: F401 'typing.List' imported but unused core/vertical_risk_agent/tools/mcp_server/server2.py:19:1: F401 'core.vertical_risk_agent.tools.agent_tools.FinancialRatio' imported but unused core/vertical_risk_agent/tools/mcp_server/server2.py:19:1: E402 module level import not at top of file core/vertical_risk_agent/tools/mcp_server/server2.py:27:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:35:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:45:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:53:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:60:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:69:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/tools/mcp_server/server2.py:80:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/training/train_dpo.py:11:1: E302 expected 2 blank lines, found 1 core/vertical_risk_agent/training/train_dpo.py:46:1: E305 expected 2 blank lines after class or function definition, found 1 core/world_simulation/__init__.py:1:1: F821 undefined name '__init__' core/world_simulation/autonomous_world_sim.py:4:1: F401 'numpy as np' imported but unused core/world_simulation/autonomous_world_sim.py:9:1: E302 expected 2 blank lines, found 1 core/world_simulation/autonomous_world_sim.py:43:71: E261 at least two spaces before inline comment core/world_simulation/autonomous_world_sim.py:43:72: E262 inline comment should start with '# ' core/world_simulation/autonomous_world_sim.py:45:71: E261 at least two spaces before inline comment core/world_simulation/autonomous_world_sim.py:45:72: E262 inline comment should start with '# ' core/world_simulation/autonomous_world_sim.py:63:1: E302 expected 2 blank lines, found 1 core/world_simulation/autonomous_world_sim.py:73:1: E302 expected 2 blank lines, found 1 core/world_simulation/autonomous_world_sim.py:83:1: E302 expected 2 blank lines, found 1 core/world_simulation/autonomous_world_sim.py:91:121: E501 line too long (132 > 120 characters) core/world_simulation/autonomous_world_sim.py:92:121: E501 line too long (169 > 120 characters) core/world_simulation/autonomous_world_sim.py:93:121: E501 line too long (152 > 120 characters) core/world_simulation/autonomous_world_sim.py:125:121: E501 line too long (124 > 120 characters) core/world_simulation/autonomous_world_sim.py:132:1: E305 expected 2 blank lines after class or function definition, found 1 core/world_simulation/autonomous_world_sim.py:139:121: E501 line too long (125 > 120 characters) core/world_simulation/autonomous_world_sim.py:140:121: E501 line too long (124 > 120 characters) core/world_simulation/autonomous_world_sim.py:155:9: F821 undefined name 'plt' core/world_simulation/autonomous_world_sim.py:156:5: F821 undefined name 'plt' core/world_simulation/autonomous_world_sim.py:157:5: F821 undefined name 'plt' core/world_simulation/autonomous_world_sim.py:158:5: F821 undefined name 'plt' core/world_simulation/autonomous_world_sim.py:159:5: F821 undefined name 'plt' core/world_simulation/autonomous_world_sim.py:160:5: F821 undefined name 'plt' core/world_simulation/config.py:5:1: F401 'typing.Dict' imported but unused core/world_simulation/config.py:7:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:14:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:23:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:35:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:44:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:49:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:54:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:59:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:64:1: E302 expected 2 blank lines, found 1 core/world_simulation/config.py:75:1: E302 expected 2 blank lines, found 1 core/world_simulation/data_manager.py:7:1: E302 expected 2 blank lines, found 1 core/world_simulation/llm_driven_sim.py:8:1: E302 expected 2 blank lines, found 1 core/world_simulation/llm_driven_sim.py:72:1: W293 blank line contains whitespace core/world_simulation/llm_driven_sim.py:93:9: E303 too many blank lines (2) core/world_simulation/wsm_v7_1.py:4:1: F401 'numpy as np' imported but unused core/world_simulation/wsm_v7_1.py:11:1: E302 expected 2 blank lines, found 1 core/world_simulation/wsm_v7_1.py:131:121: E501 line too long (123 > 120 characters) core/world_simulation/wsm_v7_1.py:133:121: E501 line too long (127 > 120 characters) core/world_simulation/wsm_v7_1.py:146:1: E305 expected 2 blank lines after class or function definition, found 1 core/xai/iqnn_cs.py:4:1: F401 'typing.Any' imported but unused core/xai/iqnn_cs.py:4:1: F401 'typing.Optional' imported but unused core/xai/iqnn_cs.py:9:1: E302 expected 2 blank lines, found 1 core/xai/iqnn_cs.py:43:14: E111 indentation is not a multiple of 4 core/xai/iqnn_cs.py:43:14: E117 over-indented core/xai/iqnn_cs.py:100:14: E111 indentation is not a multiple of 4 core/xai/iqnn_cs.py:100:14: E117 over-indented core/xai/iqnn_cs.py:102:14: E111 indentation is not a multiple of 4 core/xai/iqnn_cs.py:102:14: E117 over-indented core/xai/iqnn_cs.py:102:121: E501 line too long (128 > 120 characters) core/xai/iqnn_cs.py:107:1: E305 expected 2 blank lines after class or function definition, found 1 core/xai/state_translator.py:3:1: E302 expected 2 blank lines, found 1 core/xai/state_translator.py:12:1: W293 blank line contains whitespace core/xai/state_translator.py:15:1: W293 blank line contains whitespace core/xai/state_translator.py:21:1: W293 blank line contains whitespace core/xai/state_translator.py:24:1: W293 blank line contains whitespace ops/checks/check_lint.py:5:1: E302 expected 2 blank lines, found 1 ops/checks/check_lint.py:16:1: E305 expected 2 blank lines after class or function definition, found 1 ops/checks/check_security.py:5:1: E302 expected 2 blank lines, found 1 ops/checks/check_security.py:18:1: E305 expected 2 blank lines after class or function definition, found 1 ops/checks/check_syntax.py:5:1: E302 expected 2 blank lines, found 1 ops/checks/check_syntax.py:18:1: E305 expected 2 blank lines after class or function definition, found 1 ops/checks/check_tests.py:5:1: E302 expected 2 blank lines, found 1 ops/checks/check_tests.py:16:1: E305 expected 2 blank lines after class or function definition, found 1 ops/checks/check_types.py:5:1: E302 expected 2 blank lines, found 1 ops/checks/check_types.py:11:121: E501 line too long (121 > 120 characters) ops/checks/check_types.py:16:1: E305 expected 2 blank lines after class or function definition, found 1 ops/run_checks.py:3:1: F401 'os' imported but unused ops/run_checks.py:22:1: E302 expected 2 blank lines, found 1 ops/run_checks.py:41:1: E302 expected 2 blank lines, found 1 ops/security/audit_config.py:5:1: F401 'yaml' imported but unused ops/security/audit_config.py:21:1: E302 expected 2 blank lines, found 1 ops/security/audit_config.py:33:1: E302 expected 2 blank lines, found 1 ops/security/audit_config.py:56:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/analyze_simulation_results.py:8:1: E302 expected 2 blank lines, found 1 scripts/analyze_simulation_results.py:43:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/archive_html.py:4:1: F401 'pathlib.Path' imported but unused scripts/archive_html.py:15:1: E302 expected 2 blank lines, found 1 scripts/archive_html.py:23:1: E302 expected 2 blank lines, found 1 scripts/archive_html.py:25:5: F841 local variable 'html_files' is assigned to but never used scripts/archive_html.py:40:1: W293 blank line contains whitespace scripts/archive_html.py:46:1: W293 blank line contains whitespace scripts/archive_html.py:48:1: W293 blank line contains whitespace scripts/archive_html.py:52:1: W293 blank line contains whitespace scripts/archive_html.py:67:1: W293 blank line contains whitespace scripts/archive_html.py:68:11: F541 f-string is missing placeholders scripts/archive_html.py:72:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/archive_ui_artifacts.py:6:1: E302 expected 2 blank lines, found 1 scripts/archive_ui_artifacts.py:67:43: E261 at least two spaces before inline comment scripts/archive_ui_artifacts.py:82:121: E501 line too long (283 > 120 characters) scripts/archive_ui_artifacts.py:96:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/build_market_data.py:3:1: F401 'logging' imported but unused scripts/build_market_data.py:9:1: E402 module level import not at top of file scripts/build_market_data.py:10:1: E402 module level import not at top of file scripts/build_market_data.py:14:1: E302 expected 2 blank lines, found 1 scripts/build_market_data.py:16:121: E501 line too long (133 > 120 characters) scripts/build_market_data.py:51:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/create_agent.py:4:1: E302 expected 2 blank lines, found 1 scripts/create_agent.py:29:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/create_data_source.py:4:1: E302 expected 2 blank lines, found 1 scripts/create_data_source.py:30:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/daily_headlines.py:27:79: W291 trailing whitespace scripts/daily_headlines.py:29:1: W293 blank line contains whitespace scripts/daily_headlines.py:39:1: W293 blank line contains whitespace scripts/daily_headlines.py:44:1: W293 blank line contains whitespace scripts/daily_headlines.py:46:81: E261 at least two spaces before inline comment scripts/daily_headlines.py:49:1: W293 blank line contains whitespace scripts/daily_headlines.py:53:1: W293 blank line contains whitespace scripts/daily_headlines.py:58:76: W291 trailing whitespace scripts/daily_headlines.py:65:73: W291 trailing whitespace scripts/daily_headlines.py:73:1: E302 expected 2 blank lines, found 1 scripts/daily_headlines.py:101:1: E302 expected 2 blank lines, found 1 scripts/daily_headlines.py:121:1: W293 blank line contains whitespace scripts/daily_headlines.py:137:1: E302 expected 2 blank lines, found 1 scripts/daily_headlines.py:159:1: E302 expected 2 blank lines, found 1 scripts/daily_headlines.py:171:1: E302 expected 2 blank lines, found 1 scripts/daily_headlines.py:193:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/data_processing.py:7:1: E302 expected 2 blank lines, found 1 scripts/data_processing.py:34:5: E265 block comment should start with '# ' scripts/data_processing.py:38:1: E302 expected 2 blank lines, found 1 scripts/data_processing.py:53:5: E265 block comment should start with '# ' scripts/data_processing.py:67:1: E302 expected 2 blank lines, found 1 scripts/data_processing.py:86:9: E265 block comment should start with '# ' scripts/data_processing.py:94:1: E265 block comment should start with '# ' scripts/data_processing.py:96:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/data_processing.py:97:5: E265 block comment should start with '# ' scripts/extract_xai_reasoning.py:6:81: W291 trailing whitespace scripts/extract_xai_reasoning.py:7:78: W291 trailing whitespace scripts/extract_xai_reasoning.py:8:82: W291 trailing whitespace scripts/extract_xai_reasoning.py:20:81: W291 trailing whitespace scripts/extract_xai_reasoning.py:28:1: F401 'typing.Optional' imported but unused scripts/extract_xai_reasoning.py:32:44: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:41:121: E501 line too long (121 > 120 characters) scripts/extract_xai_reasoning.py:44:121: E501 line too long (125 > 120 characters) scripts/extract_xai_reasoning.py:45:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:64:80: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:65:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:66:121: E501 line too long (156 > 120 characters) scripts/extract_xai_reasoning.py:67:121: E501 line too long (177 > 120 characters) scripts/extract_xai_reasoning.py:67:148: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:70:94: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:70:121: E501 line too long (146 > 120 characters) scripts/extract_xai_reasoning.py:71:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:73:100: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:73:121: E501 line too long (129 > 120 characters) scripts/extract_xai_reasoning.py:76:121: E501 line too long (138 > 120 characters) scripts/extract_xai_reasoning.py:82:1: E302 expected 2 blank lines, found 1 scripts/extract_xai_reasoning.py:85:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:109:1: E302 expected 2 blank lines, found 1 scripts/extract_xai_reasoning.py:115:121: E501 line too long (130 > 120 characters) scripts/extract_xai_reasoning.py:117:121: E501 line too long (137 > 120 characters) scripts/extract_xai_reasoning.py:118:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:122:43: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:128:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:130:121: E501 line too long (164 > 120 characters) scripts/extract_xai_reasoning.py:131:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:134:29: W291 trailing whitespace scripts/extract_xai_reasoning.py:135:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:136:68: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:140:69: W291 trailing whitespace scripts/extract_xai_reasoning.py:144:75: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:154:121: E501 line too long (207 > 120 characters) scripts/extract_xai_reasoning.py:155:62: W291 trailing whitespace scripts/extract_xai_reasoning.py:159:65: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:165:74: W291 trailing whitespace scripts/extract_xai_reasoning.py:172:63: W291 trailing whitespace scripts/extract_xai_reasoning.py:174:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:179:60: W291 trailing whitespace scripts/extract_xai_reasoning.py:182:30: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:183:1: W293 blank line contains whitespace scripts/extract_xai_reasoning.py:194:47: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:199:26: E261 at least two spaces before inline comment scripts/extract_xai_reasoning.py:213:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/feed_live_data_to_ukg.py:11:1: E402 module level import not at top of file scripts/feed_live_data_to_ukg.py:12:1: E402 module level import not at top of file scripts/feed_live_data_to_ukg.py:13:1: E402 module level import not at top of file scripts/feed_live_data_to_ukg.py:17:1: E302 expected 2 blank lines, found 1 scripts/feed_live_data_to_ukg.py:52:17: E128 continuation line under-indented for visual indent scripts/feed_live_data_to_ukg.py:53:17: E128 continuation line under-indented for visual indent scripts/feed_live_data_to_ukg.py:54:17: E128 continuation line under-indented for visual indent scripts/feed_live_data_to_ukg.py:55:17: E128 continuation line under-indented for visual indent scripts/feed_live_data_to_ukg.py:56:17: E128 continuation line under-indented for visual indent scripts/feed_live_data_to_ukg.py:57:17: E128 continuation line under-indented for visual indent scripts/feed_live_data_to_ukg.py:58:13: E124 closing bracket does not match visual indentation scripts/feed_live_data_to_ukg.py:79:37: E701 multiple statements on one line (colon) scripts/feed_live_data_to_ukg.py:121:56: E261 at least two spaces before inline comment scripts/feed_live_data_to_ukg.py:123:29: E701 multiple statements on one line (colon) scripts/feed_live_data_to_ukg.py:134:61: E261 at least two spaces before inline comment scripts/feed_live_data_to_ukg.py:196:14: E111 indentation is not a multiple of 4 scripts/feed_live_data_to_ukg.py:196:14: E117 over-indented scripts/feed_live_data_to_ukg.py:207:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/fetch_historical_data.py:8:1: E402 module level import not at top of file scripts/fetch_historical_data.py:9:1: E402 module level import not at top of file scripts/fetch_historical_data.py:13:1: E302 expected 2 blank lines, found 1 scripts/fetch_historical_data.py:18:65: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:19:39: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:20:44: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:21:22: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:22:55: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:23:27: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:24:18: E261 at least two spaces before inline comment scripts/fetch_historical_data.py:34:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/fetch_market_data.py:11:1: E302 expected 2 blank lines, found 1 scripts/fetch_market_data.py:30:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_market_snapshot.py:18:1: F401 'time' imported but unused scripts/generate_market_snapshot.py:19:1: F401 'os' imported but unused scripts/generate_market_snapshot.py:21:1: F401 'math' imported but unused scripts/generate_market_snapshot.py:22:1: F401 'typing.Any' imported but unused scripts/generate_market_snapshot.py:28:41: E261 at least two spaces before inline comment scripts/generate_market_snapshot.py:30:1: E302 expected 2 blank lines, found 1 scripts/generate_market_snapshot.py:36:1: E302 expected 2 blank lines, found 1 scripts/generate_market_snapshot.py:94:1: E302 expected 2 blank lines, found 1 scripts/generate_market_snapshot.py:110:32: E701 multiple statements on one line (colon) scripts/generate_market_snapshot.py:123:1: E302 expected 2 blank lines, found 1 scripts/generate_market_snapshot.py:155:50: E261 at least two spaces before inline comment scripts/generate_market_snapshot.py:181:121: E501 line too long (138 > 120 characters) scripts/generate_market_snapshot.py:182:71: E261 at least two spaces before inline comment scripts/generate_market_snapshot.py:187:73: E261 at least two spaces before inline comment scripts/generate_market_snapshot.py:200:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_newsletter.py:1:1: F821 undefined name 'generate_newsletter' scripts/generate_newsletters.py:9:1: E402 module level import not at top of file scripts/generate_newsletters.py:10:1: E402 module level import not at top of file scripts/generate_newsletters.py:14:1: E302 expected 2 blank lines, found 1 scripts/generate_newsletters.py:63:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_omni_data.py:3:1: F401 'time' imported but unused scripts/generate_omni_data.py:15:5: F401 'core.data_processing.universal_ingestor.ArtifactType' imported but unused scripts/generate_omni_data.py:21:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:22:16: E701 multiple statements on one line (colon) scripts/generate_omni_data.py:29:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:31:121: E501 line too long (138 > 120 characters) scripts/generate_omni_data.py:35:1: W293 blank line contains whitespace scripts/generate_omni_data.py:37:27: E701 multiple statements on one line (colon) scripts/generate_omni_data.py:38:1: W293 blank line contains whitespace scripts/generate_omni_data.py:44:36: E701 multiple statements on one line (colon) scripts/generate_omni_data.py:55:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:60:1: W293 blank line contains whitespace scripts/generate_omni_data.py:63:1: W293 blank line contains whitespace scripts/generate_omni_data.py:71:121: E501 line too long (123 > 120 characters) scripts/generate_omni_data.py:75:5: F841 local variable 'e' is assigned to but never used scripts/generate_omni_data.py:78:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:88:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:91:1: W293 blank line contains whitespace scripts/generate_omni_data.py:94:1: W293 blank line contains whitespace scripts/generate_omni_data.py:108:121: E501 line too long (123 > 120 characters) scripts/generate_omni_data.py:111:47: E261 at least two spaces before inline comment scripts/generate_omni_data.py:113:9: E722 do not use bare 'except' scripts/generate_omni_data.py:113:15: E701 multiple statements on one line (colon) scripts/generate_omni_data.py:129:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:143:21: F841 local variable 'header' is assigned to but never used scripts/generate_omni_data.py:147:121: E501 line too long (143 > 120 characters) scripts/generate_omni_data.py:147:123: E261 at least two spaces before inline comment scripts/generate_omni_data.py:149:13: E722 do not use bare 'except' scripts/generate_omni_data.py:149:19: E701 multiple statements on one line (colon) scripts/generate_omni_data.py:150:1: W293 blank line contains whitespace scripts/generate_omni_data.py:159:46: E228 missing whitespace around modulo operator scripts/generate_omni_data.py:164:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:199:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:214:21: E722 do not use bare 'except' scripts/generate_omni_data.py:214:27: E701 multiple statements on one line (colon) scripts/generate_omni_data.py:217:1: E302 expected 2 blank lines, found 1 scripts/generate_omni_data.py:244:1: W293 blank line contains whitespace scripts/generate_omni_data.py:247:1: W293 blank line contains whitespace scripts/generate_omni_data.py:250:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_repo_structure.py:8:29: E261 at least two spaces before inline comment scripts/generate_repo_structure.py:14:26: E261 at least two spaces before inline comment scripts/generate_repo_structure.py:16:1: E302 expected 2 blank lines, found 1 scripts/generate_repo_structure.py:46:25: E722 do not use bare 'except' scripts/generate_repo_structure.py:47:33: E261 at least two spaces before inline comment scripts/generate_repo_structure.py:57:5: F841 local variable 'e' is assigned to but never used scripts/generate_repo_structure.py:60:1: E302 expected 2 blank lines, found 1 scripts/generate_repo_structure.py:89:14: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:89:14: E117 over-indented scripts/generate_repo_structure.py:90:18: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:91:18: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:92:18: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:100:14: E114 indentation is not a multiple of 4 (comment) scripts/generate_repo_structure.py:101:14: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:102:14: E114 indentation is not a multiple of 4 (comment) scripts/generate_repo_structure.py:103:14: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:104:14: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:106:14: E114 indentation is not a multiple of 4 (comment) scripts/generate_repo_structure.py:107:14: E111 indentation is not a multiple of 4 scripts/generate_repo_structure.py:111:37: E701 multiple statements on one line (colon) scripts/generate_repo_structure.py:180:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_showcase.py:2:1: F401 'sys' imported but unused scripts/generate_showcase.py:4:1: F401 'pathlib.Path' imported but unused scripts/generate_showcase.py:40:121: E501 line too long (150 > 120 characters) scripts/generate_showcase.py:44:121: E501 line too long (166 > 120 characters) scripts/generate_showcase.py:46:121: E501 line too long (154 > 120 characters) scripts/generate_showcase.py:49:121: E501 line too long (125 > 120 characters) scripts/generate_showcase.py:60:121: E501 line too long (181 > 120 characters) scripts/generate_showcase.py:62:121: E501 line too long (143 > 120 characters) scripts/generate_showcase.py:63:121: E501 line too long (122 > 120 characters) scripts/generate_showcase.py:85:121: E501 line too long (208 > 120 characters) scripts/generate_showcase.py:96:121: E501 line too long (163 > 120 characters) scripts/generate_showcase.py:99:121: E501 line too long (183 > 120 characters) scripts/generate_showcase.py:114:121: E501 line too long (169 > 120 characters) scripts/generate_showcase.py:133:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:137:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:141:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:145:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:165:121: E501 line too long (150 > 120 characters) scripts/generate_showcase.py:169:29: E701 multiple statements on one line (colon) scripts/generate_showcase.py:170:121: E501 line too long (148 > 120 characters) scripts/generate_showcase.py:174:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:177:121: E501 line too long (154 > 120 characters) scripts/generate_showcase.py:188:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:194:35: E701 multiple statements on one line (colon) scripts/generate_showcase.py:214:1: E302 expected 2 blank lines, found 1 scripts/generate_showcase.py:223:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_ui_data.py:4:1: F401 'random' imported but unused scripts/generate_ui_data.py:12:1: E402 module level import not at top of file scripts/generate_ui_data.py:13:1: F401 'core.data_processing.synthetic_data_factory.DataFactory' imported but unused scripts/generate_ui_data.py:13:1: E402 module level import not at top of file scripts/generate_ui_data.py:17:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:18:16: E701 multiple statements on one line (colon) scripts/generate_ui_data.py:25:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:27:25: E261 at least two spaces before inline comment scripts/generate_ui_data.py:46:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:67:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:71:1: W293 blank line contains whitespace scripts/generate_ui_data.py:93:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:105:14: E111 indentation is not a multiple of 4 scripts/generate_ui_data.py:105:14: E117 over-indented scripts/generate_ui_data.py:109:14: E111 indentation is not a multiple of 4 scripts/generate_ui_data.py:109:14: E117 over-indented scripts/generate_ui_data.py:113:14: E111 indentation is not a multiple of 4 scripts/generate_ui_data.py:113:14: E117 over-indented scripts/generate_ui_data.py:117:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:137:46: E261 at least two spaces before inline comment scripts/generate_ui_data.py:153:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data.py:206:20: E261 at least two spaces before inline comment scripts/generate_ui_data.py:224:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_ui_data_v2.py:10:1: E402 module level import not at top of file scripts/generate_ui_data_v2.py:11:1: E402 module level import not at top of file scripts/generate_ui_data_v2.py:15:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:16:16: E701 multiple statements on one line (colon) scripts/generate_ui_data_v2.py:23:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:26:25: E261 at least two spaces before inline comment scripts/generate_ui_data_v2.py:44:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:94:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:103:49: E701 multiple statements on one line (colon) scripts/generate_ui_data_v2.py:104:52: E701 multiple statements on one line (colon) scripts/generate_ui_data_v2.py:105:60: E701 multiple statements on one line (colon) scripts/generate_ui_data_v2.py:118:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:124:9: E722 do not use bare 'except' scripts/generate_ui_data_v2.py:124:15: E701 multiple statements on one line (colon) scripts/generate_ui_data_v2.py:127:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:135:78: E261 at least two spaces before inline comment scripts/generate_ui_data_v2.py:137:9: E722 do not use bare 'except' scripts/generate_ui_data_v2.py:137:15: E701 multiple statements on one line (colon) scripts/generate_ui_data_v2.py:142:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:155:14: E114 indentation is not a multiple of 4 (comment) scripts/generate_ui_data_v2.py:155:14: E117 over-indented (comment) scripts/generate_ui_data_v2.py:156:14: E111 indentation is not a multiple of 4 scripts/generate_ui_data_v2.py:156:14: E117 over-indented scripts/generate_ui_data_v2.py:161:1: W293 blank line contains whitespace scripts/generate_ui_data_v2.py:186:35: E261 at least two spaces before inline comment scripts/generate_ui_data_v2.py:192:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_data_v2.py:243:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/generate_ui_manifest.py:13:5: F401 'core.data_processing.universal_ingestor.ArtifactType' imported but unused scripts/generate_ui_manifest.py:17:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_manifest.py:36:48: E261 at least two spaces before inline comment scripts/generate_ui_manifest.py:44:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_manifest.py:53:33: E701 multiple statements on one line (colon) scripts/generate_ui_manifest.py:66:1: E302 expected 2 blank lines, found 1 scripts/generate_ui_manifest.py:90:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/initialize_comprehensive_memory.py:8:1: E402 module level import not at top of file scripts/initialize_comprehensive_memory.py:9:1: E402 module level import not at top of file scripts/initialize_comprehensive_memory.py:13:1: E302 expected 2 blank lines, found 1 scripts/initialize_comprehensive_memory.py:34:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/launch_system_pulse.py:11:1: E402 module level import not at top of file scripts/launch_system_pulse.py:12:1: E402 module level import not at top of file scripts/launch_system_pulse.py:13:1: E402 module level import not at top of file scripts/launch_system_pulse.py:32:1: E302 expected 2 blank lines, found 1 scripts/launch_system_pulse.py:40:9: F841 local variable 'orchestrator' is assigned to but never used scripts/launch_system_pulse.py:57:30: E261 at least two spaces before inline comment scripts/launch_system_pulse.py:66:32: E261 at least two spaces before inline comment scripts/load_omni_graph.py:6:1: F401 'typing.Any' imported but unused scripts/load_omni_graph.py:15:1: E302 expected 2 blank lines, found 1 scripts/load_omni_graph.py:19:1: W293 blank line contains whitespace scripts/load_omni_graph.py:25:1: W293 blank line contains whitespace scripts/load_omni_graph.py:43:53: W291 trailing whitespace scripts/load_omni_graph.py:49:1: W293 blank line contains whitespace scripts/load_omni_graph.py:63:1: W293 blank line contains whitespace scripts/load_omni_graph.py:75:1: W293 blank line contains whitespace scripts/load_omni_graph.py:81:1: W293 blank line contains whitespace scripts/load_omni_graph.py:90:1: W293 blank line contains whitespace scripts/load_omni_graph.py:98:1: W293 blank line contains whitespace scripts/load_omni_graph.py:112:33: W291 trailing whitespace scripts/load_omni_graph.py:113:1: W293 blank line contains whitespace scripts/load_omni_graph.py:117:1: W293 blank line contains whitespace scripts/load_omni_graph.py:131:1: W293 blank line contains whitespace scripts/load_omni_graph.py:139:1: W293 blank line contains whitespace scripts/load_omni_graph.py:174:121: E501 line too long (136 > 120 characters) scripts/load_omni_graph.py:176:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/load_omni_graph.py:180:1: W293 blank line contains whitespace scripts/load_omni_graph.py:183:57: W292 no newline at end of file scripts/maintenance_inject_nav.py:24:18: E261 at least two spaces before inline comment scripts/maintenance_inject_nav.py:33:1: E302 expected 2 blank lines, found 1 scripts/maintenance_inject_nav.py:41:1: E302 expected 2 blank lines, found 1 scripts/maintenance_inject_nav.py:80:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/migration/migrate_knowledge_base_1.1.0_to_2.0.0.py:3:1: E302 expected 2 blank lines, found 1 scripts/migration/migrate_knowledge_base_1.1.0_to_2.0.0.py:25:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/poc/conditional_gan_scenario_generator.py:1:1: F401 'tensorflow as tf' imported but unused scripts/poc/conditional_gan_scenario_generator.py:13:17: E261 at least two spaces before inline comment scripts/poc/conditional_gan_scenario_generator.py:14:13: E261 at least two spaces before inline comment scripts/poc/conditional_gan_scenario_generator.py:19:1: E302 expected 2 blank lines, found 1 scripts/poc/conditional_gan_scenario_generator.py:43:1: W293 blank line contains whitespace scripts/poc/conditional_gan_scenario_generator.py:45:35: E261 at least two spaces before inline comment scripts/poc/conditional_gan_scenario_generator.py:57:121: E501 line too long (139 > 120 characters) scripts/poc/conditional_gan_scenario_generator.py:96:1: E302 expected 2 blank lines, found 1 scripts/poc/conditional_gan_scenario_generator.py:115:1: E302 expected 2 blank lines, found 1 scripts/poc/conditional_gan_scenario_generator.py:131:1: E302 expected 2 blank lines, found 1 scripts/poc/conditional_gan_scenario_generator.py:164:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/poc/conditional_gan_scenario_generator.py:188:41: W291 trailing whitespace scripts/poc/synthetic_data_gan.py:1:1: F401 'tensorflow as tf' imported but unused scripts/poc/synthetic_data_gan.py:11:17: E261 at least two spaces before inline comment scripts/poc/synthetic_data_gan.py:16:1: E302 expected 2 blank lines, found 1 scripts/poc/synthetic_data_gan.py:25:57: E261 at least two spaces before inline comment scripts/poc/synthetic_data_gan.py:32:1: E302 expected 2 blank lines, found 1 scripts/poc/synthetic_data_gan.py:37:47: E261 at least two spaces before inline comment scripts/poc/synthetic_data_gan.py:44:1: E302 expected 2 blank lines, found 1 scripts/poc/synthetic_data_gan.py:46:36: E261 at least two spaces before inline comment scripts/poc/synthetic_data_gan.py:58:1: E302 expected 2 blank lines, found 1 scripts/poc/synthetic_data_gan.py:87:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/rag_agent_example.py:9:1: E402 module level import not at top of file scripts/rag_agent_example.py:10:1: E402 module level import not at top of file scripts/rag_agent_example.py:11:1: E402 module level import not at top of file scripts/rag_agent_example.py:12:1: E402 module level import not at top of file scripts/rag_agent_example.py:13:1: E402 module level import not at top of file scripts/rag_agent_example.py:18:5: F401 'semantic_kernel.connectors.ai.open_ai.OpenAIChatCompletion' imported but unused scripts/rag_agent_example.py:18:75: E261 at least two spaces before inline comment scripts/rag_agent_example.py:28:1: E402 module level import not at top of file scripts/rag_agent_example.py:53:121: E501 line too long (125 > 120 characters) scripts/rag_agent_example.py:54:121: E501 line too long (163 > 120 characters) scripts/rag_agent_example.py:55:121: E501 line too long (146 > 120 characters) scripts/rag_agent_example.py:59:86: E261 at least two spaces before inline comment scripts/rag_agent_example.py:59:121: E501 line too long (125 > 120 characters) scripts/rag_agent_example.py:88:65: E261 at least two spaces before inline comment scripts/rag_agent_example.py:109:121: E501 line too long (131 > 120 characters) scripts/rag_agent_example.py:112:5: E303 too many blank lines (2) scripts/rag_agent_example.py:123:31: E261 at least two spaces before inline comment scripts/rag_agent_example.py:124:41: E261 at least two spaces before inline comment scripts/rag_agent_example.py:138:86: E261 at least two spaces before inline comment scripts/rag_agent_example.py:145:5: E303 too many blank lines (2) scripts/rag_agent_example.py:161:82: E261 at least two spaces before inline comment scripts/rag_agent_example.py:166:121: E501 line too long (137 > 120 characters) scripts/rag_agent_example.py:169:121: E501 line too long (127 > 120 characters) scripts/rag_agent_example.py:171:121: E501 line too long (130 > 120 characters) scripts/rag_agent_example.py:172:121: E501 line too long (125 > 120 characters) scripts/report_generation.py:3:1: F401 'pandas as pd' imported but unused scripts/report_generation.py:4:1: F401 'fpdf.FPDF' imported but unused scripts/report_generation.py:5:1: F401 'matplotlib.pyplot as plt' imported but unused scripts/report_generation.py:7:1: E302 expected 2 blank lines, found 1 scripts/report_generation.py:22:5: E265 block comment should start with '# ' scripts/report_generation.py:36:5: E265 block comment should start with '# ' scripts/report_generation.py:40:1: E302 expected 2 blank lines, found 1 scripts/report_generation.py:66:5: E265 block comment should start with '# ' scripts/report_generation.py:70:1: E302 expected 2 blank lines, found 1 scripts/report_generation.py:84:5: E265 block comment should start with '# ' scripts/report_generation.py:97:5: E265 block comment should start with '# ' scripts/report_generation.py:101:1: E265 block comment should start with '# ' scripts/report_generation.py:103:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/report_generation.py:104:5: E265 block comment should start with '# ' scripts/run_adam.py:7:1: E402 module level import not at top of file scripts/run_autonomous_update.py:11:1: E402 module level import not at top of file scripts/run_autonomous_update.py:12:1: E402 module level import not at top of file scripts/run_autonomous_update.py:19:1: E302 expected 2 blank lines, found 1 scripts/run_autonomous_update.py:92:1: E302 expected 2 blank lines, found 1 scripts/run_daily_ingestion.py:10:1: E402 module level import not at top of file scripts/run_daily_ingestion.py:16:1: E302 expected 2 blank lines, found 1 scripts/run_daily_ingestion.py:64:31: W291 trailing whitespace scripts/run_daily_ingestion.py:67:14: E111 indentation is not a multiple of 4 scripts/run_daily_ingestion.py:67:14: E117 over-indented scripts/run_daily_ingestion.py:69:14: E111 indentation is not a multiple of 4 scripts/run_daily_ingestion.py:69:14: E117 over-indented scripts/run_daily_ingestion.py:74:24: W292 no newline at end of file scripts/run_gold_standard_poc.py:18:5: F401 'core.gold_standard.qa.validate_dataframe' imported but unused scripts/run_gold_standard_poc.py:23:1: E302 expected 2 blank lines, found 1 scripts/run_gold_standard_poc.py:118:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/run_llm_driven_simulation.py:9:1: E302 expected 2 blank lines, found 1 scripts/run_llm_driven_simulation.py:35:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/run_quarterly_trend_analysis_demo.py:9:1: E302 expected 2 blank lines, found 1 scripts/run_simple_simulation.py:9:1: E302 expected 2 blank lines, found 1 scripts/run_simple_simulation.py:25:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/run_simple_simulation.py:28:5: E265 block comment should start with '# ' scripts/run_simple_simulation.py:31:5: E265 block comment should start with '# ' scripts/run_v22_seed_pipeline.py:9:1: E402 module level import not at top of file scripts/run_v22_seed_pipeline.py:10:1: E402 module level import not at top of file scripts/run_v22_seed_pipeline.py:11:1: E402 module level import not at top of file scripts/run_v22_seed_pipeline.py:13:1: E302 expected 2 blank lines, found 1 scripts/run_v22_seed_pipeline.py:67:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/scan_agents_for_ui.py:6:1: F401 'pathlib.Path' imported but unused scripts/scan_agents_for_ui.py:12:1: E302 expected 2 blank lines, found 1 scripts/scan_agents_for_ui.py:33:121: E501 line too long (142 > 120 characters) scripts/scan_agents_for_ui.py:35:121: E501 line too long (126 > 120 characters) scripts/scan_agents_for_ui.py:59:121: E501 line too long (143 > 120 characters) scripts/scan_agents_for_ui.py:60:98: E261 at least two spaces before inline comment scripts/scan_agents_for_ui.py:62:95: E261 at least two spaces before inline comment scripts/scan_agents_for_ui.py:71:58: E261 at least two spaces before inline comment scripts/scan_agents_for_ui.py:72:51: E261 at least two spaces before inline comment scripts/scan_agents_for_ui.py:75:121: E501 line too long (148 > 120 characters) scripts/scan_agents_for_ui.py:82:1: E302 expected 2 blank lines, found 1 scripts/scan_agents_for_ui.py:110:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/setup_agent.py:3:1: F401 'os' imported but unused scripts/setup_agent.py:7:1: E302 expected 2 blank lines, found 1 scripts/setup_agent.py:32:9: E265 block comment should start with '# ' scripts/setup_agent.py:37:9: E265 block comment should start with '# ' scripts/setup_agent.py:38:9: E265 block comment should start with '# ' scripts/setup_agent.py:43:9: E265 block comment should start with '# ' scripts/setup_agent.py:44:9: E265 block comment should start with '# ' scripts/setup_agent.py:49:9: E265 block comment should start with '# ' scripts/setup_agent.py:50:9: E265 block comment should start with '# ' scripts/setup_agent.py:54:9: E265 block comment should start with '# ' scripts/setup_agent.py:55:9: E265 block comment should start with '# ' scripts/setup_agent.py:60:9: E265 block comment should start with '# ' scripts/setup_agent.py:61:9: E265 block comment should start with '# ' scripts/setup_agent.py:64:9: E265 block comment should start with '# ' scripts/setup_agent.py:69:9: E265 block comment should start with '# ' scripts/setup_agent.py:72:9: E265 block comment should start with '# ' scripts/setup_agent.py:75:9: E265 block comment should start with '# ' scripts/setup_agent.py:80:9: E265 block comment should start with '# ' scripts/setup_agent.py:81:9: E265 block comment should start with '# ' scripts/setup_agent.py:93:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/setup_interactive.py:13:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:20:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:28:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:38:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:48:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:72:47: E261 at least two spaces before inline comment scripts/setup_interactive.py:99:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:109:1: E302 expected 2 blank lines, found 1 scripts/setup_interactive.py:113:5: F841 local variable 'has_node' is assigned to but never used scripts/setup_interactive.py:130:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/startup_helper.py:1:1: F401 'os' imported but unused scripts/startup_helper.py:4:1: E302 expected 2 blank lines, found 1 scripts/startup_helper.py:13:9: F401 'requests' imported but unused scripts/startup_helper.py:14:9: F401 'yaml' imported but unused scripts/startup_helper.py:23:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/swarm_showcase.py:2:1: F401 'sys' imported but unused scripts/swarm_showcase.py:6:1: E302 expected 2 blank lines, found 1 scripts/swarm_showcase.py:24:62: E701 multiple statements on one line (colon) scripts/swarm_showcase.py:27:121: E501 line too long (156 > 120 characters) scripts/swarm_showcase.py:31:86: E701 multiple statements on one line (colon) scripts/swarm_showcase.py:34:121: E501 line too long (138 > 120 characters) scripts/swarm_showcase.py:40:29: F541 f-string is missing placeholders scripts/swarm_showcase.py:40:121: E501 line too long (129 > 120 characters) scripts/swarm_showcase.py:41:29: F541 f-string is missing placeholders scripts/swarm_showcase.py:42:29: F541 f-string is missing placeholders scripts/swarm_showcase.py:42:121: E501 line too long (157 > 120 characters) scripts/swarm_showcase.py:43:29: F541 f-string is missing placeholders scripts/swarm_showcase.py:46:121: E501 line too long (123 > 120 characters) scripts/swarm_showcase.py:48:86: E701 multiple statements on one line (colon) scripts/swarm_showcase.py:74:121: E501 line too long (149 > 120 characters) scripts/swarm_showcase.py:75:121: E501 line too long (133 > 120 characters) scripts/swarm_showcase.py:105:121: E501 line too long (138 > 120 characters) scripts/swarm_showcase.py:168:1: E302 expected 2 blank lines, found 1 scripts/swarm_showcase.py:191:23: E701 multiple statements on one line (colon) scripts/swarm_showcase.py:199:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/swarm_showcase_v23.py:3:1: F401 'json' imported but unused scripts/swarm_showcase_v23.py:5:1: E302 expected 2 blank lines, found 1 scripts/swarm_showcase_v23.py:68:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/test_new_agents.py:10:1: E402 module level import not at top of file scripts/test_new_agents.py:12:1: E302 expected 2 blank lines, found 1 scripts/test_new_agents.py:27:121: E501 line too long (130 > 120 characters) scripts/test_new_agents.py:29:1: W293 blank line contains whitespace scripts/test_new_agents.py:48:5: E303 too many blank lines (2) scripts/test_new_agents.py:54:1: W293 blank line contains whitespace scripts/test_new_agents_isolated.py:10:1: E402 module level import not at top of file scripts/test_new_agents_isolated.py:11:1: E402 module level import not at top of file scripts/test_new_agents_isolated.py:12:1: E402 module level import not at top of file scripts/test_new_agents_isolated.py:14:1: E302 expected 2 blank lines, found 1 scripts/test_new_agents_isolated.py:33:1: W293 blank line contains whitespace scripts/test_new_agents_isolated.py:41:121: E501 line too long (130 > 120 characters) scripts/test_new_agents_isolated.py:43:1: W293 blank line contains whitespace scripts/test_new_agents_isolated.py:58:1: W293 blank line contains whitespace scripts/test_sentiment_graph.py:28:1: E302 expected 2 blank lines, found 1 scripts/test_sentiment_graph.py:49:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/upgrade_ui_architecture.py:5:1: F401 're' imported but unused scripts/upgrade_ui_architecture.py:22:18: E261 at least two spaces before inline comment scripts/upgrade_ui_architecture.py:54:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:211:121: E501 line too long (124 > 120 characters) scripts/upgrade_ui_architecture.py:226:121: E501 line too long (140 > 120 characters) scripts/upgrade_ui_architecture.py:229:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:239:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:251:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:261:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:360:114: W291 trailing whitespace scripts/upgrade_ui_architecture.py:361:97: W291 trailing whitespace scripts/upgrade_ui_architecture.py:362:92: W291 trailing whitespace scripts/upgrade_ui_architecture.py:363:121: E501 line too long (141 > 120 characters) scripts/upgrade_ui_architecture.py:376:1: E302 expected 2 blank lines, found 1 scripts/upgrade_ui_architecture.py:381:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:383:39: W291 trailing whitespace scripts/upgrade_ui_architecture.py:385:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:388:29: E701 multiple statements on one line (colon) scripts/upgrade_ui_architecture.py:389:29: E701 multiple statements on one line (colon) scripts/upgrade_ui_architecture.py:390:29: E701 multiple statements on one line (colon) scripts/upgrade_ui_architecture.py:391:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:399:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:403:1: E302 expected 2 blank lines, found 1 scripts/upgrade_ui_architecture.py:408:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:412:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:421:1: E302 expected 2 blank lines, found 1 scripts/upgrade_ui_architecture.py:427:1: E302 expected 2 blank lines, found 1 scripts/upgrade_ui_architecture.py:434:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:438:68: E261 at least two spaces before inline comment scripts/upgrade_ui_architecture.py:440:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:444:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:450:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:453:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:458:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:466:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:470:1: E302 expected 2 blank lines, found 1 scripts/upgrade_ui_architecture.py:472:121: E501 line too long (295 > 120 characters) scripts/upgrade_ui_architecture.py:476:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:484:1: E302 expected 2 blank lines, found 1 scripts/upgrade_ui_architecture.py:486:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:489:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:494:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:508:27: E261 at least two spaces before inline comment scripts/upgrade_ui_architecture.py:516:121: E501 line too long (136 > 120 characters) scripts/upgrade_ui_architecture.py:527:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:531:1: W293 blank line contains whitespace scripts/upgrade_ui_architecture.py:536:1: E305 expected 2 blank lines after class or function definition, found 1 scripts/version_data.py:5:1: E302 expected 2 blank lines, found 1 scripts/version_data.py:40:1: E305 expected 2 blank lines after class or function definition, found 1 services/ui_backend.py:5:1: F401 'flask.request' imported but unused services/ui_backend.py:16:1: E302 expected 2 blank lines, found 1 services/ui_backend.py:20:1: E302 expected 2 blank lines, found 1 services/ui_backend.py:24:1: E302 expected 2 blank lines, found 1 services/ui_backend.py:41:1: E302 expected 2 blank lines, found 1 services/ui_backend.py:50:1: E302 expected 2 blank lines, found 1 services/ui_backend.py:59:1: E305 expected 2 blank lines after class or function definition, found 1 services/webapp/api.py:5:121: E501 line too long (125 > 120 characters) services/webapp/api.py:13:1: F401 'asyncio' imported but unused services/webapp/api.py:24:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:26:121: E501 line too long (135 > 120 characters) services/webapp/api.py:35:1: E305 expected 2 blank lines after class or function definition, found 1 services/webapp/api.py:43:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:50:1: W293 blank line contains whitespace services/webapp/api.py:57:1: W293 blank line contains whitespace services/webapp/api.py:62:56: E261 at least two spaces before inline comment services/webapp/api.py:64:1: W293 blank line contains whitespace services/webapp/api.py:94:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:104:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:114:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:123:5: E303 too many blank lines (2) services/webapp/api.py:126:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:135:1: E302 expected 2 blank lines, found 1 services/webapp/api.py:163:5: E303 too many blank lines (2) services/webapp/api.py:203:14: E111 indentation is not a multiple of 4 services/webapp/api.py:203:14: E117 over-indented services/webapp/api.py:207:14: E111 indentation is not a multiple of 4 services/webapp/api.py:207:14: E117 over-indented services/webapp/api.py:209:14: E111 indentation is not a multiple of 4 services/webapp/api.py:209:14: E117 over-indented services/webapp/api.py:212:14: F811 redefinition of unused 'asyncio' from line 13 services/webapp/api.py:212:14: E111 indentation is not a multiple of 4 services/webapp/api.py:212:14: E117 over-indented services/webapp/api.py:213:14: E111 indentation is not a multiple of 4 services/webapp/api.py:214:18: E114 indentation is not a multiple of 4 (comment) services/webapp/api.py:215:18: E111 indentation is not a multiple of 4 services/webapp/api.py:216:22: E111 indentation is not a multiple of 4 services/webapp/api.py:217:18: E111 indentation is not a multiple of 4 services/webapp/api.py:218:22: E111 indentation is not a multiple of 4 services/webapp/api.py:219:22: E111 indentation is not a multiple of 4 services/webapp/api.py:221:18: E111 indentation is not a multiple of 4 services/webapp/api.py:222:23: E114 indentation is not a multiple of 4 (comment) services/webapp/api.py:222:23: E117 over-indented (comment) services/webapp/api.py:223:23: E114 indentation is not a multiple of 4 (comment) services/webapp/api.py:223:23: E117 over-indented (comment) services/webapp/api.py:224:23: E111 indentation is not a multiple of 4 services/webapp/api.py:224:23: E117 over-indented services/webapp/api.py:225:23: E111 indentation is not a multiple of 4 services/webapp/api.py:226:18: E111 indentation is not a multiple of 4 services/webapp/api.py:227:23: E111 indentation is not a multiple of 4 services/webapp/api.py:227:23: E117 over-indented services/webapp/api.py:229:18: E111 indentation is not a multiple of 4 services/webapp/api.py:230:14: E111 indentation is not a multiple of 4 services/webapp/api.py:231:18: E111 indentation is not a multiple of 4 services/webapp/api.py:232:18: E111 indentation is not a multiple of 4 services/webapp/api.py:234:14: E111 indentation is not a multiple of 4 services/webapp/api.py:234:14: E117 over-indented services/webapp/api.py:255:5: E303 too many blank lines (2) services/webapp/api.py:280:35: E261 at least two spaces before inline comment services/webapp/api.py:303:5: E303 too many blank lines (2) services/webapp/api.py:437:5: E303 too many blank lines (2) services/webapp/api.py:447:14: E111 indentation is not a multiple of 4 services/webapp/api.py:447:14: E117 over-indented services/webapp/api.py:451:14: E111 indentation is not a multiple of 4 services/webapp/api.py:451:14: E117 over-indented services/webapp/api.py:491:121: E501 line too long (143 > 120 characters) services/webapp/api.py:493:121: E501 line too long (143 > 120 characters) services/webapp/api.py:577:121: E501 line too long (157 > 120 characters) services/webapp/api.py:613:121: E501 line too long (148 > 120 characters) services/webapp/api.py:626:121: E501 line too long (132 > 120 characters) services/webapp/api.py:639:5: E303 too many blank lines (2) services/webapp/api.py:643:5: E306 expected 1 blank line before a nested definition, found 0 services/webapp/api.py:657:1: E305 expected 2 blank lines after class or function definition, found 1 services/webapp/config.py:3:1: E302 expected 2 blank lines, found 1 services/webapp/config.py:22:1: E302 expected 2 blank lines, found 1 services/webapp/config.py:26:1: E302 expected 2 blank lines, found 1 services/webapp/config.py:31:1: E305 expected 2 blank lines after class or function definition, found 1 services/webapp/tests.py:6:1: E302 expected 2 blank lines, found 1 services/webapp/tests.py:31:5: E303 too many blank lines (2) services/webapp/tests.py:40:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:41:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:48:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:49:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:56:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:57:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:68:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:69:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:75:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:76:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:77:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:90:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:91:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:97:35: E128 continuation line under-indented for visual indent services/webapp/tests.py:98:35: E128 continuation line under-indented for visual indent services/webapp/tests.py:99:35: E128 continuation line under-indented for visual indent services/webapp/tests.py:105:35: E128 continuation line under-indented for visual indent services/webapp/tests.py:106:35: E128 continuation line under-indented for visual indent services/webapp/tests.py:107:35: E128 continuation line under-indented for visual indent services/webapp/tests.py:120:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:121:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:122:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:148:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:149:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:155:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:156:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:162:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:163:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:174:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:175:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:181:34: E128 continuation line under-indented for visual indent services/webapp/tests.py:214:38: E128 continuation line under-indented for visual indent services/webapp/tests.py:215:38: E128 continuation line under-indented for visual indent tests/api/test_service_state.py:3:1: F401 'unittest.mock.MagicMock' imported but unused tests/api/test_service_state.py:4:1: F811 redefinition of unused 'pytest' from line 1 tests/api/test_service_state.py:7:1: E402 module level import not at top of file tests/api/test_service_state.py:8:1: E402 module level import not at top of file tests/api/test_service_state.py:11:1: E302 expected 2 blank lines, found 1 tests/api/test_service_state.py:18:1: E302 expected 2 blank lines, found 1 tests/api/test_service_state.py:58:44: E261 at least two spaces before inline comment tests/api/test_service_state.py:76:1: E302 expected 2 blank lines, found 1 tests/api/test_service_state.py:81:10: E111 indentation is not a multiple of 4 tests/api/test_service_state.py:81:10: E117 over-indented tests/api/test_service_state.py:84:43: E261 at least two spaces before inline comment tests/api/test_service_state.py:87:10: E111 indentation is not a multiple of 4 tests/api/test_service_state.py:88:10: E111 indentation is not a multiple of 4 tests/conftest.py:29:1: E302 expected 2 blank lines, found 1 tests/optimizers/test_core_optimizers.py:3:1: E402 module level import not at top of file tests/optimizers/test_core_optimizers.py:5:1: E302 expected 2 blank lines, found 1 tests/optimizers/test_core_optimizers.py:37:1: E302 expected 2 blank lines, found 1 tests/optimizers/test_core_optimizers.py:57:1: E302 expected 2 blank lines, found 1 tests/test_adk_data_pipeline.py:6:1: E302 expected 2 blank lines, found 1 tests/test_adk_data_pipeline.py:69:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_agent_base.py:3:1: F401 'asyncio' imported but unused tests/test_agent_base.py:6:1: E302 expected 2 blank lines, found 1 tests/test_agent_base.py:14:1: E302 expected 2 blank lines, found 1 tests/test_agent_base.py:19:47: E261 at least two spaces before inline comment tests/test_agent_base.py:21:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_agent_loading_fix.py:6:1: F401 'logging' imported but unused tests/test_agent_loading_fix.py:31:121: E501 line too long (122 > 120 characters) tests/test_agent_loading_fix.py:56:1: E402 module level import not at top of file tests/test_agent_loading_fix.py:58:1: E302 expected 2 blank lines, found 1 tests/test_agent_loading_fix.py:62:55: E261 at least two spaces before inline comment tests/test_agent_loading_fix.py:65:43: E261 at least two spaces before inline comment tests/test_agent_loading_fix.py:104:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_agent_orchestrator.py:3:1: F401 'sys' imported but unused tests/test_agent_orchestrator.py:8:1: F401 'core.system.error_handler.AgentNotFoundError' imported but unused tests/test_agent_orchestrator.py:11:1: E302 expected 2 blank lines, found 1 tests/test_agent_orchestrator.py:15:1: E302 expected 2 blank lines, found 1 tests/test_agent_orchestrator.py:29:48: E261 at least two spaces before inline comment tests/test_agent_orchestrator.py:33:35: E231 missing whitespace after ':' tests/test_agent_orchestrator.py:52:24: E201 whitespace after '{' tests/test_agent_orchestrator.py:52:95: E202 whitespace before '}' tests/test_agent_orchestrator.py:55:43: E201 whitespace after '{' tests/test_agent_orchestrator.py:55:114: E202 whitespace before '}' tests/test_agent_orchestrator.py:65:5: E303 too many blank lines (2) tests/test_agent_orchestrator.py:98:5: E303 too many blank lines (2) tests/test_agent_orchestrator.py:111:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_agents.py:4:1: F401 'unittest.mock.AsyncMock' imported but unused tests/test_agents.py:8:1: F401 'core.agents.industry_specialist_agent.IndustrySpecialistAgent' imported but unused tests/test_agents.py:9:1: F401 'core.agents.fundamental_analyst_agent.FundamentalAnalystAgent' imported but unused tests/test_agents.py:10:1: F401 'core.agents.technical_analyst_agent.TechnicalAnalystAgent as TechnicalAnalyst' imported but unused tests/test_agents.py:11:1: F401 'core.agents.risk_assessment_agent.RiskAssessmentAgent as RiskAssessor' imported but unused tests/test_agents.py:12:1: F401 'core.agents.newsletter_layout_specialist_agent.NewsletterLayoutSpecialist' imported but unused tests/test_agents.py:13:1: F401 'core.agents.data_verification_agent.DataVerificationAgent' imported but unused tests/test_agents.py:14:1: F401 'core.agents.lexica_agent.LexicaAgent' imported but unused tests/test_agents.py:15:1: F401 'core.agents.archive_manager_agent.ArchiveManagerAgent' imported but unused tests/test_agents.py:16:1: F401 'core.agents.echo_agent.EchoAgent' imported but unused tests/test_agents.py:18:1: E265 block comment should start with '# ' tests/test_agents.py:20:1: E302 expected 2 blank lines, found 1 tests/test_agents.py:66:1: E302 expected 2 blank lines, found 1 tests/test_agents.py:79:84: E261 at least two spaces before inline comment tests/test_agents.py:80:90: E261 at least two spaces before inline comment tests/test_agents.py:110:9: E265 block comment should start with '# ' tests/test_agents.py:120:1: E265 block comment should start with '# ' tests/test_agents.py:122:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_anomaly_detection_agent.py:3:1: F401 'numpy as np' imported but unused tests/test_anomaly_detection_agent.py:11:1: E402 module level import not at top of file tests/test_anomaly_detection_agent.py:12:1: F401 'core.engine.unified_knowledge_graph.UnifiedKnowledgeGraph' imported but unused tests/test_anomaly_detection_agent.py:12:1: E402 module level import not at top of file tests/test_anomaly_detection_agent.py:14:1: E302 expected 2 blank lines, found 1 tests/test_anomaly_detection_agent.py:17:41: W291 trailing whitespace tests/test_anomaly_detection_agent.py:39:52: W291 trailing whitespace tests/test_anomaly_detection_agent.py:48:46: E261 at least two spaces before inline comment tests/test_anomaly_detection_agent.py:107:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_anomaly_detection_agent.py:108:20: W292 no newline at end of file tests/test_api_log_privacy.py:6:1: F401 'unittest.mock.patch' imported but unused tests/test_api_log_privacy.py:34:1: E402 module level import not at top of file tests/test_api_log_privacy.py:36:1: E302 expected 2 blank lines, found 1 tests/test_api_log_privacy.py:65:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_api_v23_wiring.py:10:1: E302 expected 2 blank lines, found 1 tests/test_api_v23_wiring.py:42:59: E261 at least two spaces before inline comment tests/test_api_v23_wiring.py:60:22: E111 indentation is not a multiple of 4 tests/test_api_v23_wiring.py:60:22: E117 over-indented tests/test_api_v23_wiring.py:63:22: E111 indentation is not a multiple of 4 tests/test_api_v23_wiring.py:63:22: E117 over-indented tests/test_api_v23_wiring.py:84:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_architect_modules.py:4:1: F401 'asyncio' imported but unused tests/test_architect_modules.py:9:1: E402 module level import not at top of file tests/test_architect_modules.py:10:1: E402 module level import not at top of file tests/test_architect_modules.py:12:1: E302 expected 2 blank lines, found 1 tests/test_architect_modules.py:22:1: E302 expected 2 blank lines, found 1 tests/test_architect_modules.py:44:1: E302 expected 2 blank lines, found 1 tests/test_architect_modules.py:58:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_awo_planner.py:8:1: E402 module level import not at top of file tests/test_awo_planner.py:10:1: E302 expected 2 blank lines, found 1 tests/test_awo_planner.py:38:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_code_alchemist.py:4:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_code_alchemist.py:5:1: F401 'json' imported but unused tests/test_code_alchemist.py:11:1: E402 module level import not at top of file tests/test_code_alchemist.py:13:1: E302 expected 2 blank lines, found 1 tests/test_code_alchemist.py:42:14: E111 indentation is not a multiple of 4 tests/test_code_alchemist.py:42:14: E117 over-indented tests/test_code_alchemist.py:42:121: E501 line too long (148 > 120 characters) tests/test_code_alchemist.py:54:14: E111 indentation is not a multiple of 4 tests/test_code_alchemist.py:54:14: E117 over-indented tests/test_code_alchemist.py:54:51: E261 at least two spaces before inline comment tests/test_code_alchemist.py:135:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_code_gen.py:2:1: F401 'asyncio' imported but unused tests/test_code_gen.py:3:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_code_gen.py:6:1: E302 expected 2 blank lines, found 1 tests/test_code_gen.py:9:63: F841 local variable 'MockLLM' is assigned to but never used tests/test_config_utils.py:7:1: F401 'logging' imported but unused tests/test_config_utils.py:14:1: E302 expected 2 blank lines, found 1 tests/test_config_utils.py:19:43: W291 trailing whitespace tests/test_config_utils.py:50:61: E261 at least two spaces before inline comment tests/test_config_utils.py:53:37: E261 at least two spaces before inline comment tests/test_config_utils.py:55:1: W293 blank line contains whitespace tests/test_config_utils.py:71:22: W291 trailing whitespace tests/test_config_utils.py:72:1: W293 blank line contains whitespace tests/test_config_utils.py:74:1: W293 blank line contains whitespace tests/test_config_utils.py:76:1: W293 blank line contains whitespace tests/test_config_utils.py:84:5: E303 too many blank lines (2) tests/test_config_utils.py:91:121: E501 line too long (134 > 120 characters) tests/test_config_utils.py:92:51: W291 trailing whitespace tests/test_config_utils.py:98:1: W293 blank line contains whitespace tests/test_config_utils.py:100:1: W293 blank line contains whitespace tests/test_config_utils.py:109:1: W293 blank line contains whitespace tests/test_config_utils.py:119:5: E303 too many blank lines (2) tests/test_config_utils.py:122:46: W291 trailing whitespace tests/test_config_utils.py:123:28: W291 trailing whitespace tests/test_config_utils.py:129:1: W293 blank line contains whitespace tests/test_config_utils.py:132:1: W293 blank line contains whitespace tests/test_config_utils.py:134:1: W293 blank line contains whitespace tests/test_config_utils.py:139:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_cors_security.py:8:1: E402 module level import not at top of file tests/test_cors_security.py:10:1: E302 expected 2 blank lines, found 1 tests/test_cors_security.py:16:1: E302 expected 2 blank lines, found 1 tests/test_cors_security.py:26:1: E302 expected 2 blank lines, found 1 tests/test_crisis_simulation_agent.py:7:1: E302 expected 2 blank lines, found 1 tests/test_crisis_simulation_agent.py:57:121: E501 line too long (164 > 120 characters) tests/test_crisis_simulation_agent.py:66:121: E501 line too long (269 > 120 characters) tests/test_crisis_simulation_agent.py:72:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_cyclical_agents.py:4:1: F401 'unittest.mock.Mock' imported but unused tests/test_cyclical_agents.py:4:1: F401 'unittest.mock.call' imported but unused tests/test_cyclical_agents.py:9:1: E302 expected 2 blank lines, found 1 tests/test_cyclical_agents.py:14:17: F841 local variable 'mock_broker_instance' is assigned to but never used tests/test_cyclical_agents.py:87:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_data_retrieval_agent.py:4:1: F401 'unittest.mock.mock_open' imported but unused tests/test_data_retrieval_agent.py:6:1: F401 'core.system.error_handler.DataNotFoundError' imported but unused tests/test_data_retrieval_agent.py:6:1: F401 'core.system.error_handler.InvalidInputError' imported but unused tests/test_data_retrieval_agent.py:9:1: E302 expected 2 blank lines, found 1 tests/test_data_retrieval_agent.py:14:21: E231 missing whitespace after ':' tests/test_data_retrieval_agent.py:16:17: E122 continuation line missing indentation or outdented tests/test_data_retrieval_agent.py:17:17: E122 continuation line missing indentation or outdented tests/test_data_retrieval_agent.py:18:17: E122 continuation line missing indentation or outdented tests/test_data_retrieval_agent.py:24:14: E131 continuation line unaligned for hanging indent tests/test_data_retrieval_agent.py:26:39: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:27:54: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:30:46: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:32:82: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:32:83: E262 inline comment should start with '# ' tests/test_data_retrieval_agent.py:37:121: E501 line too long (129 > 120 characters) tests/test_data_retrieval_agent.py:42:82: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:42:83: E262 inline comment should start with '# ' tests/test_data_retrieval_agent.py:52:82: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:52:83: E262 inline comment should start with '# ' tests/test_data_retrieval_agent.py:56:1: W293 blank line contains whitespace tests/test_data_retrieval_agent.py:65:55: E231 missing whitespace after ':' tests/test_data_retrieval_agent.py:68:50: E231 missing whitespace after ':' tests/test_data_retrieval_agent.py:71:5: E303 too many blank lines (2) tests/test_data_retrieval_agent.py:74:82: E261 at least two spaces before inline comment tests/test_data_retrieval_agent.py:74:83: E262 inline comment should start with '# ' tests/test_data_retrieval_agent.py:96:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_data_sources.py:7:1: E302 expected 2 blank lines, found 1 tests/test_data_sources.py:18:17: E265 block comment should start with '# ' tests/test_data_sources.py:30:29: F821 undefined name 'Mock' tests/test_data_sources.py:46:9: E265 block comment should start with '# ' tests/test_data_sources.py:51:9: E265 block comment should start with '# ' tests/test_data_sources.py:58:9: E265 block comment should start with '# ' tests/test_data_sources.py:63:9: E265 block comment should start with '# ' tests/test_data_sources.py:68:9: E265 block comment should start with '# ' tests/test_data_sources.py:70:5: E265 block comment should start with '# ' tests/test_data_sources.py:72:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_data_utils.py:12:1: E302 expected 2 blank lines, found 1 tests/test_data_utils.py:52:10: E111 indentation is not a multiple of 4 tests/test_data_utils.py:52:10: E117 over-indented tests/test_data_utils.py:54:10: E111 indentation is not a multiple of 4 tests/test_data_utils.py:74:45: E261 at least two spaces before inline comment tests/test_data_utils.py:87:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_dcf_valuation.py:9:1: F401 'core.engine.valuation_utils.get_price_targets' imported but unused tests/test_dcf_valuation.py:9:1: E402 module level import not at top of file tests/test_dcf_valuation.py:11:1: E302 expected 2 blank lines, found 1 tests/test_dcf_valuation.py:59:41: E261 at least two spaces before inline comment tests/test_dcf_valuation.py:71:65: E261 at least two spaces before inline comment tests/test_dcf_valuation.py:72:59: E261 at least two spaces before inline comment tests/test_dcf_valuation.py:79:75: E261 at least two spaces before inline comment tests/test_dcf_valuation.py:83:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_financial_data.py:9:1: E302 expected 2 blank lines, found 1 tests/test_financial_data.py:97:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_financial_platform.py:9:1: E402 module level import not at top of file tests/test_financial_platform.py:10:1: E402 module level import not at top of file tests/test_financial_platform.py:11:1: F401 'src.config.DEFAULT_ASSUMPTIONS' imported but unused tests/test_financial_platform.py:11:1: E402 module level import not at top of file tests/test_financial_platform.py:13:1: E302 expected 2 blank lines, found 1 tests/test_financial_platform.py:33:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_financial_suite.py:2:1: F401 'json' imported but unused tests/test_financial_suite.py:3:1: F401 'os' imported but unused tests/test_financial_suite.py:7:1: E302 expected 2 blank lines, found 1 tests/test_financial_suite.py:44:33: E261 at least two spaces before inline comment tests/test_financial_suite.py:47:33: W605 invalid escape sequence '\ ' tests/test_financial_suite.py:48:42: W605 invalid escape sequence '\ ' tests/test_financial_suite.py:50:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_financial_truth_plugin.py:2:1: F401 'os' imported but unused tests/test_financial_truth_plugin.py:8:1: E302 expected 2 blank lines, found 1 tests/test_financial_truth_plugin.py:26:46: E261 at least two spaces before inline comment tests/test_financial_truth_plugin.py:46:121: E501 line too long (124 > 120 characters) tests/test_financial_truth_plugin.py:75:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_gold_standard.py:3:1: F401 'numpy as np' imported but unused tests/test_gold_standard.py:10:1: E402 module level import not at top of file tests/test_gold_standard.py:11:1: E402 module level import not at top of file tests/test_gold_standard.py:13:1: E302 expected 2 blank lines, found 1 tests/test_gold_standard.py:17:23: E261 at least two spaces before inline comment tests/test_gold_standard.py:37:13: F401 'pandera' imported but unused tests/test_gold_standard.py:54:33: E261 at least two spaces before inline comment tests/test_gold_standard.py:59:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_hft_nexus.py:2:1: F401 'struct' imported but unused tests/test_hft_nexus.py:6:1: E302 expected 2 blank lines, found 1 tests/test_hft_nexus.py:67:1: E302 expected 2 blank lines, found 1 tests/test_hft_nexus.py:88:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_historical_loader.py:2:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_historical_loader.py:7:1: F401 'core.schemas.market_data_schema.MarketDataSchema' imported but unused tests/test_historical_loader.py:9:1: E302 expected 2 blank lines, found 1 tests/test_historical_loader.py:63:37: E261 at least two spaces before inline comment tests/test_historical_loader.py:95:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_hnasp.py:2:1: F401 'json' imported but unused tests/test_hnasp.py:5:1: F401 'core.schemas.hnasp.Turn' imported but unused tests/test_hnasp.py:11:1: E302 expected 2 blank lines, found 1 tests/test_hnasp.py:27:121: E501 line too long (166 > 120 characters) tests/test_hnasp.py:61:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_institutional_radar.py:2:1: F401 'os' imported but unused tests/test_institutional_radar.py:3:1: F401 'shutil' imported but unused tests/test_institutional_radar.py:4:1: F401 'asyncio' imported but unused tests/test_institutional_radar.py:7:1: F401 'core.institutional_radar.database.engine' imported but unused tests/test_institutional_radar.py:8:1: F401 'core.institutional_radar.schema.HoldingDetail' imported but unused tests/test_institutional_radar.py:10:1: E302 expected 2 blank lines, found 1 tests/test_institutional_radar.py:113:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_interaction_loop.py:13:1: E302 expected 2 blank lines, found 1 tests/test_interaction_loop.py:32:9: E303 too many blank lines (2) tests/test_interaction_loop.py:43:71: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:43:73: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:43:87: E261 at least two spaces before inline comment tests/test_interaction_loop.py:43:88: E262 inline comment should start with '# ' tests/test_interaction_loop.py:49:77: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:49:79: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:49:110: E261 at least two spaces before inline comment tests/test_interaction_loop.py:49:121: E501 line too long (124 > 120 characters) tests/test_interaction_loop.py:54:110: E261 at least two spaces before inline comment tests/test_interaction_loop.py:54:121: E501 line too long (135 > 120 characters) tests/test_interaction_loop.py:55:72: E261 at least two spaces before inline comment tests/test_interaction_loop.py:61:71: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:61:73: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:66:77: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:66:79: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:69:9: E303 too many blank lines (2) tests/test_interaction_loop.py:80:56: E261 at least two spaces before inline comment tests/test_interaction_loop.py:81:78: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:81:80: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:90:71: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:90:73: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:92:77: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:92:79: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:92:121: E501 line too long (123 > 120 characters) tests/test_interaction_loop.py:100:5: E303 too many blank lines (2) tests/test_interaction_loop.py:104:71: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:104:73: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:127:71: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:127:73: E251 unexpected spaces around keyword / parameter equals tests/test_interaction_loop.py:129:90: E261 at least two spaces before inline comment tests/test_interaction_loop.py:133:85: E261 at least two spaces before inline comment tests/test_interaction_loop.py:135:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_interaction_loop_fixes.py:24:1: E302 expected 2 blank lines, found 1 tests/test_interaction_loop_fixes.py:37:9: F841 local variable 'e' is assigned to but never used tests/test_interaction_loop_fixes.py:51:19: E261 at least two spaces before inline comment tests/test_interaction_loop_fixes.py:62:21: E261 at least two spaces before inline comment tests/test_interaction_loop_fixes.py:64:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_knowledge_base.py:6:1: E302 expected 2 blank lines, found 1 tests/test_knowledge_base.py:31:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_legacy_api_security.py:19:1: E402 module level import not at top of file tests/test_legacy_api_security.py:21:1: E302 expected 2 blank lines, found 1 tests/test_legacy_api_security.py:45:75: E261 at least two spaces before inline comment tests/test_legacy_api_security.py:46:62: E261 at least two spaces before inline comment tests/test_legacy_api_security.py:50:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_live_data_fetcher.py:8:1: E302 expected 2 blank lines, found 1 tests/test_live_data_fetcher.py:58:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_memory_integration.py:4:1: F401 'json' imported but unused tests/test_memory_integration.py:5:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_memory_integration.py:13:1: E302 expected 2 blank lines, found 1 tests/test_memory_integration.py:45:5: F841 local variable 'result2' is assigned to but never used tests/test_memory_integration.py:52:121: E501 line too long (126 > 120 characters) tests/test_memory_integration.py:59:10: E111 indentation is not a multiple of 4 tests/test_memory_integration.py:59:10: E117 over-indented tests/test_odyssey_flow.py:9:1: E402 module level import not at top of file tests/test_odyssey_flow.py:10:1: E402 module level import not at top of file tests/test_odyssey_flow.py:12:1: E302 expected 2 blank lines, found 1 tests/test_odyssey_flow.py:59:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_odyssey_graph_integration.py:7:1: E402 module level import not at top of file tests/test_odyssey_graph_integration.py:9:1: E302 expected 2 blank lines, found 1 tests/test_odyssey_graph_integration.py:77:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_political_landscape.py:7:1: E302 expected 2 blank lines, found 1 tests/test_political_landscape.py:53:121: E501 line too long (136 > 120 characters) tests/test_political_landscape.py:84:1: E302 expected 2 blank lines, found 1 tests/test_political_landscape.py:99:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_prompt_framework.py:6:1: F401 'datetime.datetime' imported but unused tests/test_prompt_framework.py:7:1: F401 'typing.Dict' imported but unused tests/test_prompt_framework.py:7:1: F401 'typing.Any' imported but unused tests/test_prompt_framework.py:13:1: E402 module level import not at top of file tests/test_prompt_framework.py:14:1: E402 module level import not at top of file tests/test_prompt_framework.py:18:1: E302 expected 2 blank lines, found 1 tests/test_prompt_framework.py:23:1: E302 expected 2 blank lines, found 1 tests/test_prompt_framework.py:27:1: E302 expected 2 blank lines, found 1 tests/test_prompt_framework.py:36:1: E302 expected 2 blank lines, found 1 tests/test_prompt_framework.py:145:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_quantum_capabilities.py:7:1: E302 expected 2 blank lines, found 1 tests/test_quantum_capabilities.py:47:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_query_understanding_agent.py:8:1: E302 expected 2 blank lines, found 1 tests/test_query_understanding_agent.py:47:5: E303 too many blank lines (2) tests/test_query_understanding_agent.py:54:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_regulatory_compliance_agent_integration.py:27:1: E302 expected 2 blank lines, found 1 tests/test_regulatory_compliance_agent_integration.py:62:121: E501 line too long (132 > 120 characters) tests/test_regulatory_compliance_agent_integration.py:76:18: E111 indentation is not a multiple of 4 tests/test_regulatory_compliance_agent_integration.py:76:18: E117 over-indented tests/test_regulatory_compliance_agent_integration.py:103:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_regulatory_compliance_guidance.py:18:1: E402 module level import not at top of file tests/test_regulatory_compliance_guidance.py:20:1: E302 expected 2 blank lines, found 1 tests/test_regulatory_compliance_guidance.py:27:121: E501 line too long (130 > 120 characters) tests/test_regulatory_compliance_guidance.py:50:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_regulatory_learning.py:2:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_regulatory_learning.py:5:1: F401 'json' imported but unused tests/test_regulatory_learning.py:10:1: E402 module level import not at top of file tests/test_regulatory_learning.py:12:1: E302 expected 2 blank lines, found 1 tests/test_regulatory_learning.py:29:121: E501 line too long (124 > 120 characters) tests/test_regulatory_learning.py:33:67: F841 local variable 'mock_file' is assigned to but never used tests/test_regulatory_learning.py:97:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_result_aggregation_agent.py:7:1: E302 expected 2 blank lines, found 1 tests/test_result_aggregation_agent.py:34:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_secrets_utils.py:3:1: F401 'logging' imported but unused tests/test_secrets_utils.py:13:1: E302 expected 2 blank lines, found 1 tests/test_secrets_utils.py:20:44: E261 at least two spaces before inline comment tests/test_secrets_utils.py:30:66: E261 at least two spaces before inline comment tests/test_secrets_utils.py:32:1: W293 blank line contains whitespace tests/test_secrets_utils.py:41:1: W293 blank line contains whitespace tests/test_secrets_utils.py:43:121: E501 line too long (126 > 120 characters) tests/test_secrets_utils.py:52:121: E501 line too long (131 > 120 characters) tests/test_secrets_utils.py:54:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_simulation_security.py:5:1: E302 expected 2 blank lines, found 1 tests/test_simulation_security.py:19:34: E128 continuation line under-indented for visual indent tests/test_simulation_security.py:20:34: E128 continuation line under-indented for visual indent tests/test_simulation_security.py:34:35: E128 continuation line under-indented for visual indent tests/test_simulation_security.py:40:35: E128 continuation line under-indented for visual indent tests/test_social_media_api_fix.py:3:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_social_media_api_fix.py:8:1: E302 expected 2 blank lines, found 1 tests/test_social_media_api_fix.py:10:71: W291 trailing whitespace tests/test_social_media_api_fix.py:19:1: W293 blank line contains whitespace tests/test_social_media_api_fix.py:28:1: W293 blank line contains whitespace tests/test_social_media_api_fix.py:35:38: E261 at least two spaces before inline comment tests/test_system.py:4:1: F401 'yaml' imported but unused tests/test_system.py:7:1: F401 'unittest.mock.Mock' imported but unused tests/test_system.py:35:1: E402 module level import not at top of file tests/test_system.py:37:1: E302 expected 2 blank lines, found 1 tests/test_system.py:120:121: E501 line too long (143 > 120 characters) tests/test_system.py:127:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_token_utils.py:6:1: E302 expected 2 blank lines, found 1 tests/test_token_utils.py:19:82: E261 at least two spaces before inline comment tests/test_token_utils.py:23:94: E261 at least two spaces before inline comment tests/test_token_utils.py:27:84: E261 at least two spaces before inline comment tests/test_token_utils.py:31:85: E261 at least two spaces before inline comment tests/test_token_utils.py:35:84: E261 at least two spaces before inline comment tests/test_token_utils.py:37:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_v21_orchestrator_loading.py:8:1: E402 module level import not at top of file tests/test_v21_orchestrator_loading.py:9:1: E402 module level import not at top of file tests/test_v21_orchestrator_loading.py:11:1: E302 expected 2 blank lines, found 1 tests/test_v21_orchestrator_loading.py:15:74: W291 trailing whitespace tests/test_v21_orchestrator_loading.py:19:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:23:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:28:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:31:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:35:121: E501 line too long (126 > 120 characters) tests/test_v21_orchestrator_loading.py:36:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:38:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:40:121: E501 line too long (152 > 120 characters) tests/test_v21_orchestrator_loading.py:41:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:44:69: E261 at least two spaces before inline comment tests/test_v21_orchestrator_loading.py:45:72: E261 at least two spaces before inline comment tests/test_v21_orchestrator_loading.py:46:87: E261 at least two spaces before inline comment tests/test_v21_orchestrator_loading.py:47:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:49:1: W293 blank line contains whitespace tests/test_v21_orchestrator_loading.py:53:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_v23_5_pipeline.py:2:1: F401 'asyncio' imported but unused tests/test_v23_5_pipeline.py:3:1: F401 'unittest.mock.MagicMock' imported but unused tests/test_v23_5_pipeline.py:6:1: E302 expected 2 blank lines, found 1 tests/test_v23_5_pipeline.py:9:63: F841 local variable 'MockLLM' is assigned to but never used tests/test_v23_5_schema.py:1:1: F401 'core.schemas.v23_5_schema.V23KnowledgeGraph' imported but unused tests/test_v23_5_schema.py:2:1: F401 'json' imported but unused tests/test_v23_5_schema.py:4:1: E302 expected 2 blank lines, found 1 tests/test_v23_5_schema.py:17:42: E201 whitespace after '{' tests/test_v23_5_schema.py:17:116: E202 whitespace before '}' tests/test_v23_5_schema.py:72:30: E201 whitespace after '{' tests/test_v23_5_schema.py:72:121: E501 line too long (138 > 120 characters) tests/test_v23_5_schema.py:72:137: E202 whitespace before '}' tests/test_v23_5_schema.py:96:9: F841 local variable 'model' is assigned to but never used tests/test_v23_5_schema.py:103:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_v23_architect.py:15:121: E501 line too long (122 > 120 characters) tests/test_v23_architect.py:16:14: E127 continuation line over-indented for visual indent tests/test_v23_architect.py:21:1: E402 module level import not at top of file tests/test_v23_architect.py:22:1: E402 module level import not at top of file tests/test_v23_architect.py:23:121: E501 line too long (126 > 120 characters) tests/test_v23_architect.py:26:1: E302 expected 2 blank lines, found 1 tests/test_v23_architect.py:30:1: E302 expected 2 blank lines, found 1 tests/test_v23_architect.py:50:121: E501 line too long (128 > 120 characters) tests/test_v23_architect.py:57:52: E261 at least two spaces before inline comment tests/test_v23_architect.py:78:17: F841 local variable 'result' is assigned to but never used tests/test_v23_architect.py:90:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_v23_ingestion.py:6:1: F401 'datetime.datetime' imported but unused tests/test_v23_ingestion.py:6:1: F401 'datetime.timedelta' imported but unused tests/test_v23_ingestion.py:17:1: E302 expected 2 blank lines, found 1 tests/test_v23_ingestion.py:29:22: E261 at least two spaces before inline comment tests/test_v23_ingestion.py:54:36: E261 at least two spaces before inline comment tests/test_v23_ingestion.py:94:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_v30_architecture.py:8:1: E402 module level import not at top of file tests/test_v30_architecture.py:9:1: E402 module level import not at top of file tests/test_v30_architecture.py:10:1: E402 module level import not at top of file tests/test_v30_architecture.py:11:1: E402 module level import not at top of file tests/test_v30_architecture.py:13:1: E302 expected 2 blank lines, found 1 tests/test_v30_architecture.py:48:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_workflow_system.py:12:1: E302 expected 2 blank lines, found 1 tests/test_workflow_system.py:48:9: F841 local variable 'results' is assigned to but never used tests/test_workflow_system.py:85:1: E305 expected 2 blank lines after class or function definition, found 1 tests/test_workflow_system.py:86:20: W292 no newline at end of file tests/validate_ukg_seed.py:5:1: E302 expected 2 blank lines, found 1 tests/validate_ukg_seed.py:50:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_agents_v23.py:9:1: E402 module level import not at top of file tests/verify_agents_v23.py:10:1: E402 module level import not at top of file tests/verify_agents_v23.py:11:1: E402 module level import not at top of file tests/verify_agents_v23.py:12:1: E402 module level import not at top of file tests/verify_agents_v23.py:14:1: E302 expected 2 blank lines, found 1 tests/verify_agents_v23.py:32:5: F841 local variable 'red_team' is assigned to but never used tests/verify_apex_engine.py:4:1: F401 'unittest.mock.MagicMock' imported but unused tests/verify_apex_engine.py:9:1: E402 module level import not at top of file tests/verify_apex_engine.py:10:1: E402 module level import not at top of file tests/verify_apex_engine.py:12:1: E302 expected 2 blank lines, found 1 tests/verify_apex_engine.py:30:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_deep_dive.py:12:1: E402 module level import not at top of file tests/verify_deep_dive.py:13:1: E402 module level import not at top of file tests/verify_deep_dive.py:15:1: E302 expected 2 blank lines, found 1 tests/verify_deep_dive.py:37:121: E501 line too long (138 > 120 characters) tests/verify_fo_superapp.py:9:1: E302 expected 2 blank lines, found 1 tests/verify_fo_superapp.py:97:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_news_bot_async.py:1:1: F401 'asyncio' imported but unused tests/verify_news_bot_async.py:10:1: E402 module level import not at top of file tests/verify_news_bot_async.py:12:1: E302 expected 2 blank lines, found 1 tests/verify_news_bot_async.py:21:14: E111 indentation is not a multiple of 4 tests/verify_news_bot_async.py:21:14: E117 over-indented tests/verify_news_bot_async.py:22:1: W293 blank line contains whitespace tests/verify_news_bot_async.py:27:121: E501 line too long (126 > 120 characters) tests/verify_news_bot_async.py:32:1: W293 blank line contains whitespace tests/verify_news_bot_async.py:36:1: W293 blank line contains whitespace tests/verify_news_bot_async.py:42:1: W293 blank line contains whitespace tests/verify_news_bot_async.py:48:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_snc_graph.py:5:1: F401 'json' imported but unused tests/verify_snc_graph.py:7:1: E302 expected 2 blank lines, found 1 tests/verify_snc_graph.py:42:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_tier2_conformance.py:3:1: F401 'unittest.mock.AsyncMock' imported but unused tests/verify_tier2_conformance.py:4:1: F401 'json' imported but unused tests/verify_tier2_conformance.py:6:1: F401 'core.schemas.credit_conformance.CreditConformanceReport' imported but unused tests/verify_tier2_conformance.py:8:1: E302 expected 2 blank lines, found 1 tests/verify_tier2_conformance.py:28:121: E501 line too long (145 > 120 characters) tests/verify_tier2_conformance.py:94:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_v21_config.py:8:1: E402 module level import not at top of file tests/verify_v21_config.py:10:1: E302 expected 2 blank lines, found 1 tests/verify_v21_config.py:17:1: W293 blank line contains whitespace tests/verify_v21_config.py:22:1: W293 blank line contains whitespace tests/verify_v21_config.py:25:121: E501 line too long (128 > 120 characters) tests/verify_v21_config.py:26:1: W293 blank line contains whitespace tests/verify_v21_config.py:30:121: E501 line too long (122 > 120 characters) tests/verify_v21_config.py:31:1: W293 blank line contains whitespace tests/verify_v21_config.py:33:121: E501 line too long (140 > 120 characters) tests/verify_v21_config.py:34:1: W293 blank line contains whitespace tests/verify_v21_config.py:37:1: W293 blank line contains whitespace tests/verify_v21_config.py:41:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_v23_full.py:4:1: F401 'json' imported but unused tests/verify_v23_full.py:10:1: E402 module level import not at top of file tests/verify_v23_full.py:11:1: E402 module level import not at top of file tests/verify_v23_full.py:12:1: E402 module level import not at top of file tests/verify_v23_full.py:13:1: E402 module level import not at top of file tests/verify_v23_full.py:18:1: E302 expected 2 blank lines, found 1 tests/verify_v23_full.py:21:1: W293 blank line contains whitespace tests/verify_v23_full.py:24:1: W293 blank line contains whitespace tests/verify_v23_full.py:37:1: W293 blank line contains whitespace tests/verify_v23_full.py:57:1: E302 expected 2 blank lines, found 1 tests/verify_v23_full.py:60:1: W293 blank line contains whitespace tests/verify_v23_full.py:63:1: W293 blank line contains whitespace tests/verify_v23_full.py:70:1: W293 blank line contains whitespace tests/verify_v23_full.py:74:1: W293 blank line contains whitespace tests/verify_v23_full.py:78:1: E302 expected 2 blank lines, found 1 tests/verify_v23_full.py:103:1: E302 expected 2 blank lines, found 1 tests/verify_v23_graph.py:8:1: E402 module level import not at top of file tests/verify_v23_graph.py:9:1: E402 module level import not at top of file tests/verify_v23_graph.py:11:1: E302 expected 2 blank lines, found 1 tests/verify_v23_graph.py:20:1: E302 expected 2 blank lines, found 1 tests/verify_v23_graph.py:23:1: W293 blank line contains whitespace tests/verify_v23_graph.py:27:1: W293 blank line contains whitespace tests/verify_v23_graph.py:29:1: W293 blank line contains whitespace tests/verify_v23_graph.py:34:1: W293 blank line contains whitespace tests/verify_v23_graph.py:39:1: W293 blank line contains whitespace tests/verify_v23_graph.py:43:1: W293 blank line contains whitespace tests/verify_v23_graph.py:49:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_v23_orchestration.py:9:1: E402 module level import not at top of file tests/verify_v23_orchestration.py:10:1: E402 module level import not at top of file tests/verify_v23_orchestration.py:11:1: F401 'core.engine.states.init_risk_state' imported but unused tests/verify_v23_orchestration.py:11:1: E402 module level import not at top of file tests/verify_v23_orchestration.py:16:1: E302 expected 2 blank lines, found 1 tests/verify_v23_orchestration.py:19:1: W293 blank line contains whitespace tests/verify_v23_orchestration.py:21:35: E261 at least two spaces before inline comment tests/verify_v23_orchestration.py:22:29: E261 at least two spaces before inline comment tests/verify_v23_orchestration.py:23:41: E261 at least two spaces before inline comment tests/verify_v23_orchestration.py:25:1: W293 blank line contains whitespace tests/verify_v23_orchestration.py:30:1: W293 blank line contains whitespace tests/verify_v23_orchestration.py:37:1: E302 expected 2 blank lines, found 1 tests/verify_v23_orchestration.py:40:1: E305 expected 2 blank lines after class or function definition, found 1 tests/verify_v23_updates.py:11:1: E302 expected 2 blank lines, found 1 tests/verify_v23_updates.py:16:43: E261 at least two spaces before inline comment tests/verify_v23_updates.py:24:1: E302 expected 2 blank lines, found 1 tests/verify_v23_updates.py:49:1: E302 expected 2 blank lines, found 1 tests/verify_v23_updates.py:65:1: E302 expected 2 blank lines, found 1 tests/verify_v23_updates.py:75:1: E305 expected 2 blank lines after class or function definition, found 1 Running lint: /home/jules/.pyenv/versions/3.12.12/bin/flake8 core services scripts tests ops Lint check failed. STDERR: :47: SyntaxWarning: invalid escape sequence '\ ' :48: SyntaxWarning: invalid escape sequence '\ ' ==================== security FAILED ==================== STDOUT: Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:07 Run started:2025-12-20 20:08:46.938260+00:00 Test results: >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/event_driven_risk_agent.py:44:27 43 try: 44 response = requests.get(self.news_api_url, params=params) 45 response.raise_for_status() # Raise HTTPError for bad responses (4xx or 5xx) -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/lexica_agent.py:47:19 46 url = f"https://www.googleapis.com/customsearch/v1?key=YOUR_API_KEY&cx=YOUR_SEARCH_ENGINE_ID&q={query}" 47 response = requests.get(url) 48 if response.status_code == 200: -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/lexica_agent.py:65:19 64 url = f"https://newsapi.org/v2/everything?q={query}&apiKey=YOUR_API_KEY" 65 response = requests.get(url) 66 if response.status_code == 200: -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/lexica_agent.py:83:19 82 url = f"https://cloud.iexapis.com/stable/stock/{query}/quote?token=YOUR_API_KEY" 83 response = requests.get(url) 84 if response.status_code == 200: -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/agents/news_bot.py:84:41 83 model_name_finbert = "ProsusAI/finbert" 84 self.finbert_tokenizer = AutoTokenizer.from_pretrained(model_name_finbert) 85 self.finbert_model = AutoModelForSequenceClassification.from_pretrained(model_name_finbert) -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/agents/news_bot.py:85:37 84 self.finbert_tokenizer = AutoTokenizer.from_pretrained(model_name_finbert) 85 self.finbert_model = AutoModelForSequenceClassification.from_pretrained(model_name_finbert) 86 print(f"FinBERT model ({model_name_finbert}) loaded successfully.") -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/agents/news_bot.py:96:44 95 model_name_summarizer = "sshleifer/distilbart-cnn-12-6" # Using a smaller model due to space constraints 96 self.summarizer_tokenizer = AutoTokenizer.from_pretrained(model_name_summarizer) 97 self.summarizer_model = AutoModelForSeq2SeqLM.from_pretrained(model_name_summarizer) -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/agents/news_bot.py:97:40 96 self.summarizer_tokenizer = AutoTokenizer.from_pretrained(model_name_summarizer) 97 self.summarizer_model = AutoModelForSeq2SeqLM.from_pretrained(model_name_summarizer) 98 print(f"Summarization model ({model_name_summarizer}) loaded successfully.") -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/sub_agents/financial_news_sub_agent.py:16:23 15 try: 16 response = requests.get(self.base_url, params=params) 17 response.raise_for_status() # Raise an exception for bad status codes -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/supply_chain_risk_agent.py:35:19 34 35 response = requests.get(self.base_url, params=params) 36 if response.status_code == 200: -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/agents/supply_chain_risk_agent.py:49:23 48 for url in self.web_scraping_urls: 49 response = requests.get(url) 50 if response.status_code == 200: -------------------------------------------------- >> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue. Severity: Medium Confidence: High CWE: CWE-502 (https://cwe.mitre.org/data/definitions/502.html) More Info: https://bandit.readthedocs.io/en/1.9.2/blacklists/blacklist_calls.html#b301-pickle Location: core/analysis/technical_analysis.py:198:20 197 with open(model_path, 'rb') as f: 198 model = pickle.load(f) 199 return model -------------------------------------------------- >> Issue: [B201:flask_debug_true] A Flask app appears to be run with debug=True, which exposes the Werkzeug debugger and allows the execution of arbitrary code. Severity: High Confidence: Medium CWE: CWE-94 (https://cwe.mitre.org/data/definitions/94.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b201_flask_debug_true.html Location: core/api.py:58:4 57 if __name__ == "__main__": 58 app.run(debug=True) -------------------------------------------------- >> Issue: [B104:hardcoded_bind_all_interfaces] Possible binding to all interfaces. Severity: Medium Confidence: Medium CWE: CWE-605 (https://cwe.mitre.org/data/definitions/605.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b104_hardcoded_bind_all_interfaces.html Location: core/api/main.py:28:42 27 import uvicorn 28 uvicorn.run("core.api.main:app", host="0.0.0.0", port=8000, reload=False) 29 -------------------------------------------------- >> Issue: [B314:blacklist] Using xml.etree.ElementTree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.etree.ElementTree.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called Severity: Medium Confidence: High CWE: CWE-20 (https://cwe.mitre.org/data/definitions/20.html) More Info: https://bandit.readthedocs.io/en/1.9.2/blacklists/blacklist_calls.html#b313-b320-xml-bad-elementtree Location: core/data_processing/ingestion/xbrl/parser.py:33:15 32 """ 33 tree = ET.parse(file_path) 34 root = tree.getroot() -------------------------------------------------- >> Issue: [B324:hashlib] Use of weak MD5 hash for security. Consider usedforsecurity=False Severity: High Confidence: High CWE: CWE-327 (https://cwe.mitre.org/data/definitions/327.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b324_hashlib.html Location: core/data_processing/universal_ingestor_v2.py:63:31 62 raw_text = None 63 current_hash = hashlib.md5(filepath.encode()).hexdigest() 64 else: -------------------------------------------------- >> Issue: [B324:hashlib] Use of weak MD5 hash for security. Consider usedforsecurity=False Severity: High Confidence: High CWE: CWE-327 (https://cwe.mitre.org/data/definitions/327.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b324_hashlib.html Location: core/data_processing/utils.py:65:15 64 content = content.encode('utf-8') 65 return hashlib.md5(content).hexdigest() 66 -------------------------------------------------- >> Issue: [B324:hashlib] Use of weak MD5 hash for security. Consider usedforsecurity=False Severity: High Confidence: High CWE: CWE-327 (https://cwe.mitre.org/data/definitions/327.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b324_hashlib.html Location: core/data_processing/utils.py:267:29 266 metadata=meta, 267 content_hash=hashlib.md5(filepath.encode()).hexdigest() 268 ) -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/government_stats_api.py:25:27 24 url = f"https://apps.bea.gov/api/data/?&UserID={bea_key}&method=GetData&datasetname=NIPA&TableName=T10101&frequency=A&year=ALL" 25 response = requests.get(url) 26 #... (process the response and extract GDP data) -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/government_stats_api.py:30:27 29 url = f"https://apps.bea.gov/api/data/?&UserID={bea_key}&method=GetData&datasetname=NIPA&TableName=T10101&frequency=Q&year=ALL" 30 response = requests.get(url) 31 #... (process the response and extract GDP data) -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/government_stats_api.py:46:27 45 url = f"https://api.bls.gov/publicAPI/v2/timeseries/data/?registrationkey={bls_key}&seriesid=CUUR0000SA0&startyear=2020&endyear=2025" 46 response = requests.get(url) 47 #... (process the response and extract CPI data) -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/government_stats_api.py:66:27 65 url = f"https://api.bls.gov/publicAPI/v2/timeseries/data/?registrationkey={bls_key}&seriesid=PCU333---333---&startyear=2020&endyear=2025" 66 response = requests.get(url) 67 #... (process the response and extract PPI data) -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/market_data_api.py:26:31 25 url = f"https://cloud.iexapis.com/stable/stock/{symbol}/chart/1m?token={iex_key}" 26 response = requests.get(url) 27 if response.status_code == 200: -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/market_data_api.py:36:31 35 url = f"https://cloud.iexapis.com/stable/stock/{symbol}/intraday-prices?token={iex_key}" 36 response = requests.get(url) 37 if response.status_code == 200: -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/market_data_api.py:53:31 52 url = f"https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol={symbol}&apikey={alpha_vantage_key}" 53 response = requests.get(url) 54 if response.status_code == 200: -------------------------------------------------- >> Issue: [B113:request_without_timeout] Call to requests without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b113_request_without_timeout.html Location: core/data_sources/market_data_api.py:68:31 67 url = f"https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol={symbol}&interval=5min&apikey={alpha_vantage_key}" 68 response = requests.get(url) 69 if response.status_code == 200: -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/llm_plugin.py:373:34 372 from transformers import AutoTokenizer 373 self._tokenizer = AutoTokenizer.from_pretrained(self.model_name) 374 except ImportError: -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/llm_plugin.py:386:34 385 try: 386 self._model = AutoModelForSeq2SeqLM.from_pretrained(self.model_name) 387 except: -------------------------------------------------- >> Issue: [B615:huggingface_unsafe_download] Unsafe Hugging Face Hub download without revision pinning in from_pretrained() Severity: Medium Confidence: High CWE: CWE-494 (https://cwe.mitre.org/data/definitions/494.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b615_huggingface_unsafe_download.html Location: core/llm_plugin.py:388:34 387 except: 388 self._model = AutoModelForCausalLM.from_pretrained(self.model_name) 389 except ImportError: -------------------------------------------------- >> Issue: [B608:hardcoded_sql_expressions] Possible SQL injection vector through string-based query construction. Severity: Medium Confidence: Low CWE: CWE-89 (https://cwe.mitre.org/data/definitions/89.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b608_hardcoded_sql_expressions.html Location: core/mcp/registry.py:149:18 148 # Note: lakehouse.execute returns JSON string 149 query = f"SELECT * FROM financials WHERE ticker = '{ticker}' AND year >= {start_year}" 150 return self.lakehouse.execute(query) -------------------------------------------------- >> Issue: [B608:hardcoded_sql_expressions] Possible SQL injection vector through string-based query construction. Severity: Medium Confidence: Low CWE: CWE-89 (https://cwe.mitre.org/data/definitions/89.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b608_hardcoded_sql_expressions.html Location: core/memory/engine.py:88:16 87 88 sql = f"SELECT content, category, tags, timestamp FROM memories WHERE {' OR '.join(conditions)} ORDER BY timestamp DESC LIMIT ?" 89 params.append(limit) -------------------------------------------------- >> Issue: [B701:jinja2_autoescape_false] By default, jinja2 sets autoescape to False. Consider using autoescape=True or use the select_autoescape function to mitigate XSS vulnerabilities. Severity: High Confidence: High CWE: CWE-94 (https://cwe.mitre.org/data/definitions/94.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b701_jinja2_autoescape_false.html Location: core/newsletter_layout/generator.py:20:19 19 def __init__(self, template_dir: str = TEMPLATE_DIR): 20 self.env = Environment(loader=FileSystemLoader(template_dir)) 21 self.snapshot_dir = "data/snapshots" -------------------------------------------------- >> Issue: [B314:blacklist] Using xml.etree.ElementTree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.etree.ElementTree.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called Severity: Medium Confidence: High CWE: CWE-20 (https://cwe.mitre.org/data/definitions/20.html) More Info: https://bandit.readthedocs.io/en/1.9.2/blacklists/blacklist_calls.html#b313-b320-xml-bad-elementtree Location: core/vertical_risk_agent/ingestion/sec_13f_handler.py:66:19 65 try: 66 tree = ET.parse(file_path) 67 root = tree.getroot() -------------------------------------------------- >> Issue: [B314:blacklist] Using xml.etree.ElementTree.parse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.etree.ElementTree.parse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called Severity: Medium Confidence: High CWE: CWE-20 (https://cwe.mitre.org/data/definitions/20.html) More Info: https://bandit.readthedocs.io/en/1.9.2/blacklists/blacklist_calls.html#b313-b320-xml-bad-elementtree Location: core/vertical_risk_agent/ingestion/xbrl_handler.py:50:19 49 try: 50 tree = ET.parse(file_path) 51 root = tree.getroot() -------------------------------------------------- >> Issue: [B201:flask_debug_true] A Flask app appears to be run with debug=True, which exposes the Werkzeug debugger and allows the execution of arbitrary code. Severity: High Confidence: Medium CWE: CWE-94 (https://cwe.mitre.org/data/definitions/94.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b201_flask_debug_true.html Location: services/ui_backend.py:62:4 61 # Host 0.0.0.0 is important for some environments 62 app.run(host='0.0.0.0', port=5000, debug=True) -------------------------------------------------- >> Issue: [B104:hardcoded_bind_all_interfaces] Possible binding to all interfaces. Severity: Medium Confidence: Medium CWE: CWE-605 (https://cwe.mitre.org/data/definitions/605.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b104_hardcoded_bind_all_interfaces.html Location: services/ui_backend.py:62:17 61 # Host 0.0.0.0 is important for some environments 62 app.run(host='0.0.0.0', port=5000, debug=True) -------------------------------------------------- >> Issue: [B201:flask_debug_true] A Flask app appears to be run with debug=True, which exposes the Werkzeug debugger and allows the execution of arbitrary code. Severity: High Confidence: Medium CWE: CWE-94 (https://cwe.mitre.org/data/definitions/94.html) More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/b201_flask_debug_true.html Location: services/webapp/api.py:661:4 660 db.create_all() 661 socketio.run(app, debug=True, port=5001) -------------------------------------------------- Code scanned: Total lines of code: 36850 Total lines skipped (#nosec): 0 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0 Run metrics: Total issues (by severity): Undefined: 0 Low: 133 Medium: 30 High: 7 Total issues (by confidence): Undefined: 0 Low: 17 Medium: 7 High: 146 Files skipped (0): Running security check: /home/jules/.pyenv/versions/3.12.12/bin/bandit -r -ll -x tests,venv,env,.venv,node_modules core services scripts ops Security check failed. STDERR: [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO running on Python 3.12.12 ==================== types FAILED ==================== STDOUT: Found 340 errors in 123 files (checked 457 source files) Running type check: /home/jules/.local/bin/mypy --ignore-missing-imports --follow-imports=skip --install-types --non-interactive core services scripts ops Type check failed. STDERR: scripts/generate_newsletter.py:1: error: Name "generate_newsletter" is not defined [name-defined] core/world_simulation/__init__.py:1: error: Name "__init__" is not defined [name-defined] core/v22_quantum_pipeline/quantum_source.py:50: error: Name "QuantumMarketGenerator" already defined on line 37 [no-redef] core/newsletter_layout/assets/__init__.py:1: error: Name "__init__" is not defined [name-defined] core/llm/base_llm_engine.py:5: error: Incompatible default for argument "context" (default has type "None", argument has type "str") [assignment] core/llm/base_llm_engine.py:5: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/llm/base_llm_engine.py:5: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/libraries_and_archives/__init__.py:1: error: Name "__init__" is not defined [name-defined] core/engine/planner.py:32: error: Name "Any" is not defined [name-defined] core/engine/planner.py:32: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any") core/engine/planner.py:37: error: Need type annotation for "graph_config" [var-annotated] core/analysis/fundamental_analysis.py:10: error: Name "tool" is not defined [name-defined] core/agents/data_visualization_agent.py:74: error: Need type annotation for "data" [var-annotated] core/agents/orchestrators/task.py:4: error: Incompatible default for argument "dependencies" (default has type "None", argument has type "list[str]") [assignment] core/agents/orchestrators/task.py:4: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/orchestrators/task.py:4: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/orchestrators/workflow.py:16: error: Need type annotation for "graph" [var-annotated] core/v23_graph_engine/data_pipeline/graph.py:38: error: Unsupported right operand type for in ("dict[Any, Any] | None") [operator] core/system/learning/trace_collector.py:29: error: Name "BaseModel" is not defined [name-defined] core/system/learning/trace_collector.py:66: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/engine/states.py:387: error: Incompatible default for argument "context" (default has type "None", argument has type "dict[Any, Any]") [assignment] core/engine/states.py:387: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/engine/states.py:387: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/states.py:401: error: Missing keys ("legal_entity", "management_assessment", "competitive_positioning") for TypedDict "EntityEcosystem" [typeddict-item] core/engine/states.py:402: error: Missing keys ("fundamentals", "valuation_engine") for TypedDict "EquityAnalysis" [typeddict-item] core/engine/states.py:403: error: Missing keys ("snc_rating_model", "cds_market_implied_rating", "covenant_risk_analysis") for TypedDict "CreditAnalysis" [typeddict-item] core/engine/states.py:404: error: Missing keys ("monte_carlo_default_prob", "quantum_scenarios", "trading_dynamics") for TypedDict "SimulationEngine" [typeddict-item] core/engine/states.py:405: error: Missing keys ("m_and_a_posture", "final_verdict") for TypedDict "StrategicSynthesis" [typeddict-item] core/data_processing/universal_ingestor.py:111: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] core/data_processing/universal_ingestor.py:112: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] core/data_processing/universal_ingestor.py:123: error: Incompatible types in assignment (expression has type "bool", target has type "str") [assignment] core/data_processing/universal_ingestor.py:129: error: Incompatible types in assignment (expression has type "list[Any]", target has type "str") [assignment] core/data_processing/universal_ingestor.py:132: error: Incompatible types in assignment (expression has type "list[Any]", target has type "str") [assignment] core/data_processing/universal_ingestor.py:152: error: Incompatible default for argument "metadata" (default has type "None", argument has type "dict[str, Any]") [assignment] core/data_processing/universal_ingestor.py:152: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/data_processing/universal_ingestor.py:152: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/data_processing/universal_ingestor.py:153: error: Incompatible default for argument "conviction_score" (default has type "None", argument has type "float") [assignment] core/data_processing/universal_ingestor.py:153: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/data_processing/universal_ingestor.py:153: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/data_processing/universal_ingestor.py:165: error: Cannot determine type of "conviction_score" [has-type] core/data_processing/universal_ingestor.py:177: error: Cannot determine type of "conviction_score" [has-type] core/data_processing/universal_ingestor.py:187: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/data_access/lakehouse_connector.py:32: error: Signature of "execute" incompatible with supertype "core.tools.base_tool.BaseTool" [override] core/data_access/lakehouse_connector.py:32: note: Superclass: core/data_access/lakehouse_connector.py:32: note: def execute(self, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] core/data_access/lakehouse_connector.py:32: note: Subclass: core/data_access/lakehouse_connector.py:32: note: def execute(self, sql_query: str) -> str core/analysis/risk_assessment.py:68: error: Incompatible types in assignment (expression has type "float", target has type "dict[str, Any]") [assignment] core/analysis/risk_assessment.py:73: error: Incompatible types in assignment (expression has type "float", target has type "dict[str, Any]") [assignment] core/analysis/risk_assessment.py:78: error: Incompatible types in assignment (expression has type "str", target has type "dict[str, Any]") [assignment] core/analysis/risk_assessment.py:85: error: Incompatible types in assignment (expression has type "list[str]", target has type "dict[str, Any]") [assignment] core/analysis/risk_assessment.py:192: error: Unsupported operand types for < ("float" and "None") [operator] core/analysis/risk_assessment.py:192: note: Left operand is of type "Any | None" core/advisory/robo_advisor_v2.py:43: error: Function "builtins.any" is not valid as a type [valid-type] core/advisory/robo_advisor_v2.py:43: note: Perhaps you meant "typing.Any" instead of "any"? core/advisory/robo_advisor_v2.py:70: error: Function "builtins.any" is not valid as a type [valid-type] core/advisory/robo_advisor_v2.py:70: note: Perhaps you meant "typing.Any" instead of "any"? core/advisory/robo_advisor_v2.py:124: error: Function "builtins.any" is not valid as a type [valid-type] core/advisory/robo_advisor_v2.py:124: note: Perhaps you meant "typing.Any" instead of "any"? core/advisory/robo_advisor.py:41: error: Function "builtins.any" is not valid as a type [valid-type] core/advisory/robo_advisor.py:41: note: Perhaps you meant "typing.Any" instead of "any"? core/advisory/robo_advisor.py:54: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] core/advisory/robo_advisor.py:94: error: Function "builtins.any" is not valid as a type [valid-type] core/advisory/robo_advisor.py:94: note: Perhaps you meant "typing.Any" instead of "any"? scripts/generate_ui_manifest.py:15: error: Cannot assign to a type [misc] scripts/generate_ui_manifest.py:15: error: Incompatible types in assignment (expression has type "None", variable has type "type[UniversalIngestor]") [assignment] core/vertical_risk_agent/agents/supervisor.py:8: error: Name "StateGraph" already defined (possibly by an import) [no-redef] core/vertical_risk_agent/agents/supervisor.py:34: error: Name "MemorySaver" already defined (possibly by an import) [no-redef] core/tools/universal_ingestor_mcp.py:17: error: Signature of "execute" incompatible with supertype "core.tools.base_tool.BaseTool" [override] core/tools/universal_ingestor_mcp.py:17: note: Superclass: core/tools/universal_ingestor_mcp.py:17: note: def execute(self, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] core/tools/universal_ingestor_mcp.py:17: note: Subclass: core/tools/universal_ingestor_mcp.py:17: note: def execute(self, query: str, filter: str = ...) -> str core/memory/engine.py:14: error: Incompatible default for argument "db_path" (default has type "None", argument has type "str") [assignment] core/memory/engine.py:14: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/memory/engine.py:14: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/memory/engine.py:56: error: Incompatible default for argument "tags" (default has type "None", argument has type "list[str]") [assignment] core/memory/engine.py:56: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/memory/engine.py:56: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/memory/engine.py:89: error: Argument 1 to "append" of "list" has incompatible type "int"; expected "str" [arg-type] core/financial_suite/modules/vc/waterfall.py:29: error: Generator has incompatible item type "float | None"; expected "bool" [misc] core/financial_suite/modules/vc/waterfall.py:99: error: Generator has incompatible item type "float | None"; expected "bool" [misc] core/financial_suite/modules/vc/waterfall.py:103: error: Unsupported operand types for / ("None" and "int") [operator] core/financial_suite/modules/vc/waterfall.py:103: note: Left operand is of type "float | None" core/financial_suite/engines/wacc.py:31: error: Incompatible default for argument "tax_rate_override" (default has type "None", argument has type "float") [assignment] core/financial_suite/engines/wacc.py:31: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/financial_suite/engines/wacc.py:31: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/financial_suite/engines/dcf.py:15: error: Need type annotation for "revenue" (hint: "revenue: list[] = ...") [var-annotated] core/data_processing/ingestion/xbrl/parser.py:47: error: Argument 1 to "float" has incompatible type "str | None"; expected "str | Buffer | SupportsFloat | SupportsIndex" [arg-type] scripts/generate_omni_data.py:17: error: Cannot assign to a type [misc] scripts/generate_omni_data.py:17: error: Incompatible types in assignment (expression has type "None", variable has type "type[UniversalIngestor]") [assignment] scripts/extract_xai_reasoning.py:121: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] scripts/extract_xai_reasoning.py:122: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] scripts/extract_xai_reasoning.py:144: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] services/webapp/config.py:7: error: Need type annotation for "CORS_ALLOWED_ORIGINS" (hint: "CORS_ALLOWED_ORIGINS: list[] = ...") [var-annotated] core/xai/iqnn_cs.py:23: error: Incompatible default for argument "feature_names" (default has type "None", argument has type "list[str]") [assignment] core/xai/iqnn_cs.py:23: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/xai/iqnn_cs.py:23: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/world_simulation/autonomous_world_sim.py:154: error: "object" has no attribute "__iter__"; maybe "__dir__" or "__str__"? (not iterable) [attr-defined] core/world_simulation/autonomous_world_sim.py:155: error: Name "plt" is not defined [name-defined] core/world_simulation/autonomous_world_sim.py:156: error: Name "plt" is not defined [name-defined] core/world_simulation/autonomous_world_sim.py:157: error: Name "plt" is not defined [name-defined] core/world_simulation/autonomous_world_sim.py:158: error: Name "plt" is not defined [name-defined] core/world_simulation/autonomous_world_sim.py:159: error: Name "plt" is not defined [name-defined] core/world_simulation/autonomous_world_sim.py:160: error: Name "plt" is not defined [name-defined] core/vertical_risk_agent/ingestion/xbrl_handler.py:89: error: Incompatible types in assignment (expression has type "float", target has type "int") [assignment] core/v30_architecture/python_intelligence/mcp/server.py:16: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/v30_architecture/python_intelligence/mcp/server.py:17: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/v30_architecture/python_intelligence/mcp/server.py:70: error: Incompatible default for argument "price" (default has type "None", argument has type "float") [assignment] core/v30_architecture/python_intelligence/mcp/server.py:70: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/v30_architecture/python_intelligence/mcp/server.py:70: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/v22_quantum_pipeline/qmc_engine.py:77: error: Dict entry 4 has incompatible type "str": "str"; expected "str": "float" [dict-item] core/tools/web_search_tool.py:34: error: Incompatible default for argument "query" (default has type "None", argument has type "str") [assignment] core/tools/web_search_tool.py:34: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/tools/web_search_tool.py:34: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/tools/web_search_tool.py:34: error: Incompatible default for argument "url" (default has type "None", argument has type "str") [assignment] core/system/message_broker.py:13: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/system/memory_manager.py:43: error: Incompatible default for argument "metrics" (default has type "None", argument has type "dict[str, Any]") [assignment] core/system/memory_manager.py:43: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/system/memory_manager.py:43: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/system/memory_manager.py:96: error: Need type annotation for "history_cache" (hint: "history_cache: list[] = ...") [var-annotated] core/system/memory_manager.py:119: error: Incompatible default for argument "metrics" (default has type "None", argument has type "dict[str, Any]") [assignment] core/system/memory_manager.py:119: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/system/memory_manager.py:119: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/system/knowledge_base.py:58: error: "str" has no attribute "decode"; maybe "encode"? [attr-defined] core/system/knowledge_base.py:70: error: Function "builtins.any" is not valid as a type [valid-type] core/system/knowledge_base.py:70: note: Perhaps you meant "typing.Any" instead of "any"? core/system/v23_graph_engine/adaptive_system_poc.py:47: error: Value of type "PlanOnGraph | None" is not indexable [index] core/system/v23_graph_engine/adaptive_system_poc.py:50: error: Value of type "dict[str, Any] | None" is not indexable [index] core/system/v23_graph_engine/adaptive_system_poc.py:51: error: Value of type "dict[str, Any] | None" is not indexable [index] core/system/v23_graph_engine/adaptive_system_poc.py:67: error: Value of type "PlanOnGraph | None" is not indexable [index] core/system/v23_graph_engine/adaptive_system_poc.py:71: error: Value of type "dict[str, Any] | None" is not indexable [index] core/system/v23_graph_engine/adaptive_system_poc.py:71: error: Unsupported target for indexed assignment ("dict[str, Any] | None") [index] core/system/v23_graph_engine/adaptive_system_poc.py:76: error: Value of type "PlanOnGraph | None" is not indexable [index] core/system/v23_graph_engine/adaptive_system_poc.py:116: error: Value of type "dict[str, Any] | None" is not indexable [index] core/risk_engine/engine.py:119: error: Dict entry 2 has incompatible type "str": "str"; expected "str": "float" [dict-item] core/risk_engine/engine.py:143: error: Dict entry 2 has incompatible type "str": "str"; expected "str": "float" [dict-item] core/pricing_engine/engine.py:11: error: Incompatible default for argument "config" (default has type "None", argument has type "dict[str, Any]") [assignment] core/pricing_engine/engine.py:11: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/pricing_engine/engine.py:11: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/pricing_engine/engine.py:49: error: Dict entry 0 has incompatible type "str": "str"; expected "str": "float" [dict-item] core/pricing_engine/engine.py:50: error: Dict entry 1 has incompatible type "str": "str"; expected "str": "float" [dict-item] core/pricing_engine/engine.py:54: error: Dict entry 5 has incompatible type "str": "str"; expected "str": "float" [dict-item] core/memory/provo_graph.py:51: error: Incompatible default for argument "inputs" (default has type "None", argument has type "list[str]") [assignment] core/memory/provo_graph.py:51: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/memory/provo_graph.py:51: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/memory/provo_graph.py:79: error: Incompatible default for argument "generated_by" (default has type "None", argument has type "str") [assignment] core/memory/provo_graph.py:79: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/memory/provo_graph.py:79: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/market_data/service.py:35: error: Need type annotation for "cache" [var-annotated] core/llm/engines/openai_llm_engine.py:32: error: Incompatible default for argument "context" (default has type "None", argument has type "str") [assignment] core/llm/engines/openai_llm_engine.py:32: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/llm/engines/openai_llm_engine.py:32: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/llm/engines/dummy_llm_engine.py:14: error: Incompatible default for argument "context" (default has type "None", argument has type "str") [assignment] core/llm/engines/dummy_llm_engine.py:14: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/llm/engines/dummy_llm_engine.py:14: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/financial_data/lakehouse.py:103: error: Incompatible default for argument "region" (default has type "None", argument has type "str") [assignment] core/financial_data/lakehouse.py:103: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/financial_data/lakehouse.py:103: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/valuation_utils.py:6: error: Incompatible default for argument "scenario" (default has type "None", argument has type "dict[str, Any]") [assignment] core/engine/valuation_utils.py:6: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/engine/valuation_utils.py:6: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/strategy_utils.py:20: error: Incompatible return value type (got "Literal['Target']", expected "Literal['Buyer', 'Seller', 'Neutral']") [return-value] core/engine/snc_graph.py:112: error: Unsupported left operand type for + ("None") [operator] core/engine/snc_graph.py:112: note: Left operand is of type "str | None" core/engine/regulatory_compliance_graph.py:119: error: Unsupported left operand type for + ("None") [operator] core/engine/regulatory_compliance_graph.py:119: note: Left operand is of type "str | None" core/engine/reflector_graph.py:25: error: Incompatible return value type (got "tuple[list[str], float]", expected "dict[str, Any]") [return-value] core/engine/reflector_graph.py:36: error: Unsupported operand types for > ("str" and "float") [operator] core/engine/esg_graph.py:125: error: Unsupported left operand type for + ("None") [operator] core/engine/esg_graph.py:125: note: Left operand is of type "str | None" core/data_processing/utils.py:117: error: Dict entry 0 has incompatible type "str": "int"; expected "str": "str" [dict-item] core/data_processing/utils.py:118: error: Dict entry 1 has incompatible type "str": "int"; expected "str": "str" [dict-item] core/data_processing/utils.py:120: error: Dict entry 2 has incompatible type "str": "list[Any]"; expected "str": "str" [dict-item] core/data_processing/utils.py:121: error: Dict entry 3 has incompatible type "str": "list[Any]"; expected "str": "str" [dict-item] core/data_processing/utils.py:124: error: Incompatible types in assignment (expression has type "list[Any]", target has type "str") [assignment] core/data_processing/utils.py:237: error: Incompatible default for argument "raw_text" (default has type "None", argument has type "str") [assignment] core/data_processing/utils.py:237: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/data_processing/utils.py:237: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/financial_modeling_agent.py:20: error: Incompatible default for argument "config" (default has type "None", argument has type "dict[str, Any]") [assignment] core/agents/financial_modeling_agent.py:20: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/financial_modeling_agent.py:20: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/financial_modeling_agent.py:217: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] core/agents/financial_modeling_agent.py:221: error: "FinancialModelingAgent" has no attribute "calculate_dcf"; maybe "calculate_npv"? [attr-defined] core/agents/financial_modeling_agent.py:226: error: Incompatible return value type (got "tuple[None, dict[str, Any], dict[str, Any]]", expected "tuple[float, dict[str, Any], dict[str, Any]]") [return-value] core/agents/financial_modeling_agent.py:413: error: "FinancialModelingAgent" has no attribute "calculate_wacc" [attr-defined] core/agents/discussion_chair_agent.py:176: error: Name "DiscussionChairAgent" already defined on line 5 [no-redef] core/agents/discussion_chair_agent.py:326: error: Name "DiscussionChairAgent" already defined on line 5 [no-redef] core/llm_plugin.py:358: error: Incompatible default for argument "api_key" (default has type "None", argument has type "str") [assignment] core/llm_plugin.py:358: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/llm_plugin.py:358: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/llm_plugin.py:662: error: Argument "api_key" to "HuggingFaceLLM" has incompatible type "str | None"; expected "str" [arg-type] core/llm_plugin.py:669: error: "object" not callable [operator] core/v23_graph_engine/odyssey_knowledge_graph.py:112: error: "object" has no attribute "append" [attr-defined] core/v23_graph_engine/odyssey_knowledge_graph.py:113: error: "object" has no attribute "append" [attr-defined] core/system/memory_consolidator.py:49: error: Need type annotation for "node_types" (hint: "node_types: dict[, ] = ...") [var-annotated] core/financial_suite/context_manager.py:9: error: Incompatible default for argument "context_path" (default has type "None", argument has type "str") [assignment] core/financial_suite/context_manager.py:9: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/financial_suite/context_manager.py:9: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/financial_suite/context_manager.py:9: error: Incompatible default for argument "context_obj" (default has type "None", argument has type "WorkstreamContext") [assignment] core/financial_suite/context_manager.py:19: error: Need type annotation for "results" (hint: "results: dict[, ] = ...") [var-annotated] core/data_processing/sequential_pipeline.py:63: error: Cannot call function of unknown type [operator] core/data_processing/sequential_pipeline.py:133: error: Item "None" of "dict[str, Any] | None" has no attribute "get" [union-attr] core/data_processing/sequential_pipeline.py:134: error: Item "None" of "dict[str, Any] | None" has no attribute "get" [union-attr] core/data_processing/sequential_pipeline.py:135: error: Item "None" of "dict[str, Any] | None" has no attribute "get" [union-attr] core/data_processing/sequential_pipeline.py:136: error: Item "None" of "dict[str, Any] | None" has no attribute "get" [union-attr] core/data_processing/sequential_pipeline.py:137: error: Item "None" of "dict[str, Any] | None" has no attribute "get" [union-attr] core/agents/anomaly_detection_agent.py:330: error: Missing return statement [empty-body] core/agents/anomaly_detection_agent.py:489: error: Need type annotation for "config" (hint: "config: dict[, ] = ...") [var-annotated] core/world_simulation/llm_driven_sim.py:71: error: "BaseLLMEngine" has no attribute "generate" [attr-defined] core/world_simulation/llm_driven_sim.py:93: error: Incompatible return value type (got "list[dict[str, Any]]", expected "dict[str, Any]") [return-value] core/utils/token_utils.py:73: error: Name "yaml" is not defined [name-defined] core/utils/token_utils.py:80: error: Argument 2 to "check_token_limit" has incompatible type "dict[str, Any] | None"; expected "dict[Any, Any]" [arg-type] core/utils/token_utils.py:86: error: Argument 2 to "check_token_limit" has incompatible type "dict[str, Any] | None"; expected "dict[Any, Any]" [arg-type] core/utils/token_utils.py:91: error: Argument 2 to "check_token_limit" has incompatible type "dict[str, Any] | None"; expected "dict[Any, Any]" [arg-type] core/utils/token_utils.py:96: error: Name "os" is not defined [name-defined] core/prompting/plugins/financial_truth_plugin.py:27: error: Item "None" of "Any | None" has no attribute "render" [union-attr] core/prompting/plugins/crisis_simulation_plugin.py:30: error: Item "None" of "Any | None" has no attribute "render" [union-attr] core/newsletter_layout/generator.py:78: error: Need type annotation for "news_by_ticker" (hint: "news_by_ticker: dict[, ] = ...") [var-annotated] core/newsletter_layout/generator.py:94: error: Incompatible default for argument "output_path" (default has type "None", argument has type "str") [assignment] core/newsletter_layout/generator.py:94: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/newsletter_layout/generator.py:94: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/institutional_radar/reporting.py:11: error: Incompatible default for argument "llm_plugin" (default has type "None", argument has type "LLMPlugin") [assignment] core/institutional_radar/reporting.py:11: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/institutional_radar/reporting.py:11: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/financial_suite/interface/dependency_graph.py:19: error: Function "builtins.any" is not valid as a type [valid-type] core/financial_suite/interface/dependency_graph.py:19: note: Perhaps you meant "typing.Any" instead of "any"? core/agents/event_driven_risk_agent.py:18: error: Need type annotation for "event_data" (hint: "event_data: dict[, ] = ...") [var-annotated] core/agents/event_driven_risk_agent.py:44: error: Argument "params" to "get" has incompatible type "dict[str, object]"; expected "SupportsItems[str | bytes | int | float, str | bytes | int | float | Iterable[str | bytes | int | float] | None] | tuple[str | bytes | int | float, str | bytes | int | float | Iterable[str | bytes | int | float] | None] | Iterable[tuple[str | bytes | int | float, str | bytes | int | float | Iterable[str | bytes | int | float] | None]] | str | bytes | None" [arg-type] core/system/monitoring.py:2: error: Module "core.utils.data_utils" has no attribute "send_alert" [attr-defined] core/agents/prompt_tuner.py:283: error: Missing positional arguments "orchestrator", "knowledge_base" in call to "PromptTuner" [call-arg] core/agents/prompt_tuner.py:297: error: "PromptTuner" has no attribute "enhance_prompt" [attr-defined] core/data_processing/universal_ingestor_v2.py:33: error: Need type annotation for "current_state" (hint: "current_state: dict[, ] = ...") [var-annotated] core/vertical_risk_agent/generative_risk.py:138: error: Incompatible default for argument "model_path" (default has type "None", argument has type "str") [assignment] core/vertical_risk_agent/generative_risk.py:138: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/vertical_risk_agent/generative_risk.py:138: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/vertical_risk_agent/generative_risk.py:190: error: Incompatible default for argument "model_path" (default has type "None", argument has type "str") [assignment] core/vertical_risk_agent/generative_risk.py:190: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/vertical_risk_agent/generative_risk.py:190: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/vertical_risk_agent/generative_risk.py:369: error: Incompatible default for argument "model_path" (default has type "None", argument has type "str") [assignment] core/vertical_risk_agent/generative_risk.py:369: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/vertical_risk_agent/generative_risk.py:369: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/vertical_risk_agent/generative_risk.py:436: error: Incompatible default for argument "model_path" (default has type "None", argument has type "str") [assignment] core/vertical_risk_agent/generative_risk.py:436: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/vertical_risk_agent/generative_risk.py:436: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:18: error: Incompatible types in assignment (expression has type "MockMCPServer", variable has type "MCPServer") [assignment] core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:60: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:61: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:145: error: Argument 2 to "hasattr" has incompatible type "Any | None"; expected "str" [arg-type] core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:146: error: Argument 2 to "getattr" has incompatible type "Any | None"; expected "str" [arg-type] core/v30_architecture/python_intelligence/orchestrator/v30_orchestrator.py:250: error: Dict entry 1 has incompatible type "str": "dict[str, Any]"; expected "str": "str" [dict-item] core/trading/hft/hft_engine_v2.py:271: error: Need type annotation for "market_queue" [var-annotated] core/trading/hft/hft_engine.py:128: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/trading/hft/hft_engine.py:129: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/trading/hft/hft_engine.py:154: error: Need type annotation for "market_queue" [var-annotated] core/system/temporal_engine.py:52: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/agents/agent_base.py:17: error: All conditional function variants must have identical signatures [misc] core/agents/agent_base.py:17: note: Original: core/agents/agent_base.py:17: note: def jsonLogic(tests: Any, data: Any = ...) -> Any core/agents/agent_base.py:17: note: Redefinition: core/agents/agent_base.py:17: note: def jsonLogic(rules: Any, data: Any) -> Any core/agents/agent_base.py:145: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] scripts/rag_agent_example.py:9: error: Module "core.agents.agent_base" has no attribute "Agent" [attr-defined] core/trading/hft/avellaneda_stoikov_engine.py:54: error: Need type annotation for "market_queue" [var-annotated] core/trading/hft/avellaneda_stoikov_engine.py:71: error: Need type annotation for "price_history" (hint: "price_history: list[] = ...") [var-annotated] core/engine/deep_dive_graph.py:221: error: Value of "simulation_engine" has incompatible type "dict[str, Collection[Collection[str]]]"; expected "SimulationEngine" [typeddict-item] core/agents/risk_assessment_agent.py:111: error: Argument 1 to "assess_investment_risk" of "RiskAssessmentAgent" has incompatible type "Any | None"; expected "str" [arg-type] core/agents/risk_assessment_agent.py:133: error: Incompatible types in assignment (expression has type "str", target has type "float") [assignment] core/agents/risk_assessment_agent.py:134: error: Incompatible types in assignment (expression has type "list[str]", target has type "float") [assignment] core/agents/risk_assessment_agent.py:137: error: Incompatible types in assignment (expression has type "str", target has type "float") [assignment] core/engine/cyclical_reasoning_graph.py:28: error: Cannot assign to a type [misc] core/engine/cyclical_reasoning_graph.py:28: error: Incompatible types in assignment (expression has type "None", variable has type "type[GenerativeRiskEngine]") [assignment] core/engine/cyclical_reasoning_graph.py:37: error: Cannot assign to a type [misc] core/engine/cyclical_reasoning_graph.py:37: error: Incompatible types in assignment (expression has type "None", variable has type "type[RiskAssessmentAgent]") [assignment] core/engine/cyclical_reasoning_graph.py:127: error: Function "RiskAssessmentAgent" could always be true in boolean context [truthy-function] core/engine/cyclical_reasoning_graph.py:130: error: Incompatible types in assignment (expression has type "None", variable has type "RiskAssessmentAgent") [assignment] core/engine/cyclical_reasoning_graph.py:134: error: Function "GenerativeRiskEngine" could always be true in boolean context [truthy-function] core/engine/cyclical_reasoning_graph.py:137: error: Incompatible types in assignment (expression has type "None", variable has type "GenerativeRiskEngine") [assignment] core/engine/cyclical_reasoning_graph.py:229: error: Unsupported right operand type for in ("str | None") [operator] core/engine/cyclical_reasoning_graph.py:252: error: Item "None" of "str | None" has no attribute "lower" [union-attr] core/engine/cyclical_reasoning_graph.py:291: error: Unsupported left operand type for + ("None") [operator] core/engine/cyclical_reasoning_graph.py:291: note: Left operand is of type "str | None" core/agents/regulatory_compliance_agent.py:380: error: Need type annotation for "violation_counts" (hint: "violation_counts: dict[, ] = ...") [var-annotated] core/agents/regulatory_compliance_agent.py:457: error: Incompatible default for argument "transactions" (default has type "None", argument has type "list[dict[Any, Any]]") [assignment] core/agents/regulatory_compliance_agent.py:457: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/regulatory_compliance_agent.py:457: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/reflector_agent.py:26: error: Incompatible default for argument "context" (default has type "None", argument has type "dict[str, Any]") [assignment] core/agents/reflector_agent.py:26: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/reflector_agent.py:26: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/red_team_agent.py:22: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/rag_agent.py:42: error: Need type annotation for "tools" (hint: "tools: dict[, ] = ...") [var-annotated] core/agents/rag_agent.py:43: error: Incompatible types in assignment (expression has type "str", variable has type "HNASPState") [assignment] core/agents/rag_agent.py:81: error: Incompatible types in assignment (expression has type "str", variable has type "HNASPState") [assignment] core/agents/rag_agent.py:105: error: Incompatible types in assignment (expression has type "str", variable has type "HNASPState") [assignment] core/agents/rag_agent.py:122: error: Name "Document" already defined (possibly by an import) [no-redef] core/agents/rag_agent.py:128: error: All conditional function variants must have identical signatures [misc] core/agents/rag_agent.py:128: note: Original: core/agents/rag_agent.py:128: note: def chunk_text(text: str, chunk_size: int, chunk_overlap: int = ...) -> list[str] core/agents/rag_agent.py:128: note: Redefinition: core/agents/rag_agent.py:128: note: def chunk_text(text: Any, chunk_size: Any, chunk_overlap: Any) -> Any core/agents/rag_agent.py:139: error: Incompatible types in assignment (expression has type "str", variable has type "HNASPState") [assignment] core/agents/rag_agent.py:146: error: Incompatible types in assignment (expression has type "str", variable has type "HNASPState") [assignment] core/agents/rag_agent.py:165: error: Incompatible types in assignment (expression has type "str", variable has type "HNASPState") [assignment] core/agents/rag_agent.py:218: error: Missing return statement [return] core/agents/query_understanding_agent.py:105: error: "LLMPlugin" has no attribute "get_completion" [attr-defined] core/agents/query_understanding_agent.py:121: error: Signature of "run_semantic_kernel_skill" incompatible with supertype "core.agents.agent_base.AgentBase" [override] core/agents/query_understanding_agent.py:121: note: Superclass: core/agents/query_understanding_agent.py:121: note: def run_semantic_kernel_skill(self, skill_collection_name: str, skill_name: str, input_vars: dict[str, str]) -> Coroutine[Any, Any, str] core/agents/query_understanding_agent.py:121: note: Subclass: core/agents/query_understanding_agent.py:121: note: def run_semantic_kernel_skill(self, skill_name: str, input_vars: dict[str, str]) -> Coroutine[Any, Any, str] core/agents/portfolio_optimization_agent.py:48: error: Need type annotation for "history" [var-annotated] core/agents/news_bot.py:78: error: Need type annotation for "seen_alert_urls" (hint: "seen_alert_urls: set[] = ...") [var-annotated] core/agents/news_bot.py:639: error: Need type annotation for "conflicting_sentiments" (hint: "conflicting_sentiments: dict[, ] = ...") [var-annotated] core/agents/news_bot.py:1003: error: Value of type "Any | None" is not indexable [index] core/agents/meta_19_agent.py:48: error: "object" has no attribute "extend" [attr-defined] core/agents/meta_19_agent.py:49: error: Unsupported operand types for - ("object" and "float") [operator] core/agents/meta_19_agent.py:54: error: "object" has no attribute "extend" [attr-defined] core/agents/meta_19_agent.py:55: error: Unsupported operand types for - ("object" and "float") [operator] core/agents/meta_19_agent.py:58: error: No overload variant of "max" matches argument types "float", "object" [call-overload] core/agents/meta_19_agent.py:58: note: Possible overload variants: core/agents/meta_19_agent.py:58: note: def [SupportsRichComparisonT: SupportsDunderLT[Any] | SupportsDunderGT[Any]] max(SupportsRichComparisonT, SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, key: None = ...) -> SupportsRichComparisonT core/agents/meta_19_agent.py:58: note: def [_T] max(_T, _T, /, *_args: _T, key: Callable[[_T], SupportsDunderLT[Any] | SupportsDunderGT[Any]]) -> _T core/agents/meta_19_agent.py:58: note: def [SupportsRichComparisonT: SupportsDunderLT[Any] | SupportsDunderGT[Any]] max(Iterable[SupportsRichComparisonT], /, *, key: None = ...) -> SupportsRichComparisonT core/agents/meta_19_agent.py:58: note: def [_T] max(Iterable[_T], /, *, key: Callable[[_T], SupportsDunderLT[Any] | SupportsDunderGT[Any]]) -> _T core/agents/meta_19_agent.py:58: note: def [SupportsRichComparisonT: SupportsDunderLT[Any] | SupportsDunderGT[Any], _T] max(Iterable[SupportsRichComparisonT], /, *, key: None = ..., default: _T) -> SupportsRichComparisonT | _T core/agents/meta_19_agent.py:58: note: def [_T1, _T2] max(Iterable[_T1], /, *, key: Callable[[_T1], SupportsDunderLT[Any] | SupportsDunderGT[Any]], default: _T2) -> _T1 | _T2 core/agents/fundamental_analyst_agent.py:155: error: Too many arguments for "send_message" of "FundamentalAnalystAgent" [call-arg] core/agents/fundamental_analyst_agent.py:155: error: Argument 1 to "send_message" of "FundamentalAnalystAgent" has incompatible type "str"; expected "dict[str, Any]" [arg-type] core/agents/fundamental_analyst_agent.py:256: error: Incompatible return value type (got "dict[str, Any | None]", expected "dict[str, float]") [return-value] core/agents/fundamental_analyst_agent.py:555: error: Missing return statement [empty-body] core/agents/fundamental_analyst_agent.py:555: note: If the method is meant to be abstract, use @abc.abstractmethod core/agents/fundamental_analyst_agent.py:563: error: Signature of "send_message" incompatible with supertype "core.agents.agent_base.AgentBase" [override] core/agents/fundamental_analyst_agent.py:563: note: Superclass: core/agents/fundamental_analyst_agent.py:563: note: def send_message(self, target_agent: str, message: dict[str, Any], timeout: float = ...) -> Coroutine[Any, Any, dict[str, Any] | None] core/agents/fundamental_analyst_agent.py:563: note: Subclass: core/agents/fundamental_analyst_agent.py:563: note: def send_message(self, message: dict[str, Any]) -> Any core/agents/data_retrieval_agent.py:37: error: Incompatible types in assignment (expression has type "None", variable has type "KnowledgeBase") [assignment] core/agents/data_retrieval_agent.py:318: error: Incompatible return value type (got "dict[str, Any] | list[Any] | None", expected "dict[str, Any] | None") [return-value] core/agents/cyclical_reasoning_agent.py:64: error: Incompatible return value type (got "None", expected "dict[str, Any]") [return-value] core/agents/code_alchemist.py:192: error: "LLMPlugin" has no attribute "get_completion" [attr-defined] core/agents/code_alchemist.py:252: error: "LLMPlugin" has no attribute "get_completion" [attr-defined] core/agents/code_alchemist.py:262: error: "LLMPlugin" has no attribute "get_completion" [attr-defined] core/agents/code_alchemist.py:272: error: "LLMPlugin" has no attribute "get_completion" [attr-defined] core/agents/code_alchemist.py:305: error: "LLMPlugin" has no attribute "get_completion" [attr-defined] core/agents/behavioral_economics_agent.py:40: error: Incompatible types in assignment (expression has type "list[dict[str, str]]", target has type "Sequence[str]") [assignment] core/agents/behavioral_economics_agent.py:44: error: Incompatible types in assignment (expression has type "list[dict[str, str]]", target has type "Sequence[str]") [assignment] core/agents/agent_forge.py:65: error: Argument 1 to "create_agent" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "str" [arg-type] core/agents/agent_forge.py:66: error: Argument 2 to "create_agent" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "str" [arg-type] core/agents/agent_forge.py:67: error: Argument 3 to "create_agent" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "str" [arg-type] core/agents/agent_forge.py:68: error: Argument 4 to "create_agent" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "list[dict[str, Any]]" [arg-type] core/agents/agent_forge.py:69: error: Argument 5 to "create_agent" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "list[str]" [arg-type] core/agents/agent_forge.py:70: error: Argument 6 to "create_agent" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "list[str]" [arg-type] core/agents/agent_forge.py:73: error: Incompatible return value type (got "list[str]", expected "str | None") [return-value] core/agents/agent_forge.py:75: error: Argument 1 to "get_template" of "AgentForge" has incompatible type "dict[str, Any] | None"; expected "str" [arg-type] core/agents/agent_forge.py:184: error: Name "json" is not defined [name-defined] core/agents/agent_forge.py:185: error: Name "json" is not defined [name-defined] core/agents/agent_forge.py:259: error: Argument 1 to "load_config" has incompatible type "Path"; expected "str" [arg-type] core/agents/agent_forge.py:270: error: Argument 1 to "save_config" has incompatible type "Path"; expected "dict[str, Any]" [arg-type] core/agents/agent_forge.py:270: error: Argument 2 to "save_config" has incompatible type "dict[str, Any]"; expected "str" [arg-type] core/agents/agent_forge.py:281: error: Argument 1 to "load_config" has incompatible type "Path"; expected "str" [arg-type] core/agents/agent_forge.py:295: error: Argument 1 to "save_config" has incompatible type "Path"; expected "dict[str, Any]" [arg-type] core/agents/agent_forge.py:295: error: Argument 2 to "save_config" has incompatible type "dict[str, Any]"; expected "str" [arg-type] core/agents/agent_forge.py:297: error: Signature of "run_semantic_kernel_skill" incompatible with supertype "core.agents.agent_base.AgentBase" [override] core/agents/agent_forge.py:297: note: Superclass: core/agents/agent_forge.py:297: note: def run_semantic_kernel_skill(self, skill_collection_name: str, skill_name: str, input_vars: dict[str, str]) -> Coroutine[Any, Any, str] core/agents/agent_forge.py:297: note: Subclass: core/agents/agent_forge.py:297: note: def run_semantic_kernel_skill(self, skill_name: str, input_vars: dict[str, str]) -> Coroutine[Any, Any, str] core/agents/templates/v23_template_agent.py:8: error: Module "core.utils.agent_utils" has no attribute "parse_json_garbage" [attr-defined] core/agents/templates/v23_template_agent.py:32: error: Argument 1 to "__init__" of "AsyncAgentBase" has incompatible type "str"; expected "dict[str, Any]" [arg-type] core/agents/templates/v23_template_agent.py:49: error: "TemplateAgent" has no attribute "agent_id" [attr-defined] core/agents/templates/v23_template_agent.py:49: error: "AsyncTask" has no attribute "task_id" [attr-defined] core/agents/templates/v23_template_agent.py:54: error: "AsyncTask" has no attribute "input_data" [attr-defined] core/agents/templates/v23_template_agent.py:58: error: "AsyncTask" has no attribute "input_data" [attr-defined] core/agents/templates/v23_template_agent.py:61: error: "TemplateAgent" has no attribute "llm_engine" [attr-defined] core/agents/templates/v23_template_agent.py:78: error: "TemplateAgent" has no attribute "agent_id" [attr-defined] core/agents/templates/v23_template_agent.py:87: error: "TemplateAgent" has no attribute "agent_id" [attr-defined] core/agents/templates/v23_template_agent.py:90: error: "TemplateAgent" has no attribute "agent_id" [attr-defined] core/agents/templates/v23_template_agent.py:105: error: "TemplateAgent" has no attribute "system_prompt" [attr-defined] core/agents/specialized/quantum_scenario_agent.py:96: error: Module "core.schemas.v23_5_schema" has no attribute "MacroEvent" [attr-defined] core/agents/specialized/quantum_scenario_agent.py:99: error: "GenerativeRiskEngine" has no attribute "generate_stress_scenario"; maybe "generate_scenarios"? [attr-defined] core/agents/specialized/institutional_trend_agent.py:24: error: Incompatible default for argument "config" (default has type "None", argument has type "dict[str, Any]") [assignment] core/agents/specialized/institutional_trend_agent.py:24: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/specialized/institutional_trend_agent.py:24: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/specialized/institutional_trend_agent.py:118: error: "Sequence[str]" has no attribute "append" [attr-defined] core/agents/specialized/institutional_radar_agent.py:18: error: Incompatible default for argument "constitution" (default has type "None", argument has type "dict[str, Any]") [assignment] core/agents/specialized/institutional_radar_agent.py:18: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/specialized/institutional_radar_agent.py:18: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/specialized/institutional_radar_agent.py:25: error: Incompatible default for argument "year" (default has type "None", argument has type "int") [assignment] core/agents/specialized/institutional_radar_agent.py:25: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/specialized/institutional_radar_agent.py:25: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/specialized/institutional_radar_agent.py:25: error: Incompatible default for argument "quarter" (default has type "None", argument has type "int") [assignment] core/agents/specialized/institutional_radar_agent.py:25: error: Incompatible default for argument "ciks" (default has type "None", argument has type "list[str]") [assignment] core/agents/orchestrators/odyssey_hub_agent.py:59: error: Argument 1 to "_semantic_grounding" of "OdysseyHubAgent" has incompatible type "Any | None"; expected "str" [arg-type] core/agents/orchestrators/odyssey_hub_agent.py:63: error: Argument 1 to "_delegate_to_spokes" of "OdysseyHubAgent" has incompatible type "Any | None"; expected "str" [arg-type] core/agents/orchestrators/odyssey_hub_agent.py:66: error: Argument 1 to "_synthesize_verdict" of "OdysseyHubAgent" has incompatible type "Any | None"; expected "str" [arg-type] core/agents/orchestrators/odyssey_hub_agent.py:126: error: Value of type "Collection[str]" is not indexable [index] core/agents/orchestrators/meta_orchestrator.py:24: error: Incompatible default for argument "initial_state" (default has type "None", argument has type "dict[str, Any]") [assignment] core/agents/orchestrators/meta_orchestrator.py:24: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/agents/orchestrators/meta_orchestrator.py:24: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/agents/orchestrators/creditsentry_orchestrator.py:114: error: Need type annotation for "results" (hint: "results: dict[, ] = ...") [var-annotated] core/agents/meta_agents/crisis_simulation_agent.py:44: error: Incompatible types in assignment (expression has type "None", variable has type "CrisisSimulationPlugin") [assignment] core/agents/meta_agents/crisis_simulation_agent.py:47: error: Incompatible types in assignment (expression has type "None", variable has type "CrisisSimulationPlugin") [assignment] core/agents/developer_swarm/test_agent.py:18: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/developer_swarm/test_agent.py:31: error: Item "None" of "str | None" has no attribute "replace" [union-attr] core/agents/developer_swarm/test_agent.py:55: error: Item "None" of "str | None" has no attribute "replace" [union-attr] core/agents/developer_swarm/reviewer_agent.py:18: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/developer_swarm/planner_agent.py:20: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/developer_swarm/integration_agent.py:18: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/developer_swarm/documentation_agent.py:18: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/developer_swarm/documentation_agent.py:31: error: Item "None" of "str | None" has no attribute "replace" [union-attr] core/agents/developer_swarm/coder_agent.py:18: error: Property "name" defined in "AgentBase" is read-only [misc] core/agents/developer_swarm/coder_agent.py:71: error: Dict entry 0 has incompatible type "str": "Any | None"; expected "str": "str" [dict-item] core/v23_graph_engine/deep_dive_graph.py:65: error: Incompatible return value type (got "OmniscientNodes", expected "dict[str, Any]") [return-value] core/system/nexus_zero_orchestrator.py:33: error: Incompatible default for argument "data_payload" (default has type "None", argument has type "dict[str, Any]") [assignment] core/system/nexus_zero_orchestrator.py:33: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/system/nexus_zero_orchestrator.py:33: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/system/agent_orchestrator.py:104: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/system/agent_orchestrator.py:127: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/system/agent_orchestrator.py:130: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] core/system/agent_orchestrator.py:368: error: Item "None" of "Any | None" has no attribute "run_async" [union-attr] core/system/agent_orchestrator.py:369: error: Item "None" of "Any | None" has no attribute "skills" [union-attr] core/system/agent_orchestrator.py:542: error: Incompatible return value type (got "Any | None", expected "dict[str, Any]") [return-value] core/system/agent_orchestrator.py:549: error: "AgentOrchestrator" has no attribute "create_agent"; maybe "get_agent"? [attr-defined] core/system/agent_orchestrator.py:553: error: "AgentOrchestrator" has no attribute "register_agent"; maybe "register_agent_skills"? [attr-defined] core/engine/neuro_symbolic_planner.py:198: error: Need type annotation for "adj_list" [var-annotated] core/engine/neuro_symbolic_planner.py:284: error: Incompatible types in assignment (expression has type "object", variable has type "str") [assignment] core/engine/neuro_symbolic_planner.py:340: error: Item "None" of "PlanOnGraph | None" has no attribute "get" [union-attr] core/engine/agent_adapters.py:20: error: Cannot assign to a type [misc] core/engine/agent_adapters.py:20: error: Incompatible types in assignment (expression has type "None", variable has type "type[RiskAssessmentAgent]") [assignment] core/engine/agent_adapters.py:67: error: Function "LegacyRAA" could always be true in boolean context [truthy-function] core/system/interaction_loop.py:47: error: Missing positional argument "config" in call to "check_token_limit" [call-arg] core/simulations/__init__.py:1: error: Module "core.simulations.Credit_Rating_Assessment_Simulation" has no attribute "Credit_Rating_Assessment_Simulation"; maybe "CreditRatingAssessmentSimulation"? [attr-defined] core/simulations/__init__.py:2: error: Module "core.simulations.Fraud_Detection_Simulation" has no attribute "Fraud_Detection_Simulation"; maybe "FraudDetectionSimulation"? [attr-defined] core/simulations/__init__.py:3: error: Module "core.simulations.Investment_Committee_Simulation" has no attribute "Investment_Committee_Simulation"; maybe "InvestmentCommitteeSimulation"? [attr-defined] core/simulations/__init__.py:4: error: Module "core.simulations.Merger_Acquisition_Simulation" has no attribute "Merger_Acquisition_Simulation"; maybe "MergerAcquisitionSimulation"? [attr-defined] core/simulations/__init__.py:5: error: Module "core.simulations.Portfolio_Optimization_Simulation" has no attribute "Portfolio_Optimization_Simulation"; maybe "PortfolioOptimizationSimulation"? [attr-defined] core/simulations/__init__.py:6: error: Module "core.simulations.Regulatory_Compliance_Simulation" has no attribute "Regulatory_Compliance_Simulation"; maybe "RegulatoryComplianceSimulation"? [attr-defined] core/simulations/__init__.py:7: error: Module "core.simulations.Stress_Testing_Simulation" has no attribute "Stress_Testing_Simulation"; maybe "StressTestingSimulation"? [attr-defined] core/engine/meta_orchestrator.py:51: error: Incompatible default for argument "legacy_orchestrator" (default has type "None", argument has type "AgentOrchestrator") [assignment] core/engine/meta_orchestrator.py:51: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/engine/meta_orchestrator.py:51: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/meta_orchestrator.py:57: error: Incompatible types in assignment (expression has type "None", variable has type "AgentOrchestrator") [assignment] core/engine/meta_orchestrator.py:63: error: Incompatible default for argument "context" (default has type "None", argument has type "dict[str, Any]") [assignment] core/engine/meta_orchestrator.py:63: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/engine/meta_orchestrator.py:63: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/meta_orchestrator.py:157: error: Incompatible default for argument "context" (default has type "None", argument has type "dict[str, Any]") [assignment] core/engine/meta_orchestrator.py:157: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/engine/meta_orchestrator.py:157: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/meta_orchestrator.py:209: error: Incompatible default for argument "context" (default has type "None", argument has type "dict[str, Any]") [assignment] core/engine/meta_orchestrator.py:209: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True core/engine/meta_orchestrator.py:209: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase core/engine/meta_orchestrator.py:322: error: Need type annotation for "multiples" (hint: "multiples: dict[, ] = ...") [var-annotated] core/engine/meta_orchestrator.py:324: error: Too many arguments for "execute" of "PeerComparisonAgent" [call-arg] core/engine/meta_orchestrator.py:359: error: Missing positional arguments "capital_structure", "enterprise_value" in call to "execute" of "SNCRatingAgent" [call-arg] core/engine/meta_orchestrator.py:359: error: Argument 1 to "execute" of "SNCRatingAgent" has incompatible type "dict[str, list[dict[str, object]] | Any | float]"; expected "dict[str, float]" [arg-type] core/engine/meta_orchestrator.py:377: error: Too many arguments for "execute" of "MonteCarloRiskAgent" [call-arg] core/engine/meta_orchestrator.py:380: error: Too many arguments for "execute" of "QuantumScenarioAgent" [call-arg] core/engine/meta_orchestrator.py:388: error: Too many arguments for "execute" of "PortfolioManagerAgent" [call-arg] core/engine/meta_orchestrator.py:647: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] services/webapp/api.py:79: error: Name "db.Model" is not defined [name-defined] services/webapp/api.py:94: error: Name "db.Model" is not defined [name-defined] services/webapp/api.py:104: error: Name "db.Model" is not defined [name-defined] services/webapp/api.py:114: error: Name "db.Model" is not defined [name-defined] services/webapp/api.py:126: error: Name "db.Model" is not defined [name-defined] core/vertical_risk_agent/tools/agent_tools.py:16: error: Cannot assign to a type [misc] core/vertical_risk_agent/tools/agent_tools.py:16: error: Incompatible types in assignment (expression has type "None", variable has type "type[GenerativeRiskEngine]") [assignment] core/vertical_risk_agent/tools/agent_tools.py:17: error: Cannot assign to a type [misc] core/vertical_risk_agent/tools/agent_tools.py:17: error: Incompatible types in assignment (expression has type "None", variable has type "type[QuantumMonteCarloEngine]") [assignment] core/vertical_risk_agent/tools/agent_tools.py:22: error: Cannot assign to a type [misc] core/vertical_risk_agent/tools/agent_tools.py:22: error: Incompatible types in assignment (expression has type "None", variable has type "type[MetaOrchestrator]") [assignment] core/vertical_risk_agent/tools/agent_tools.py:43: error: Function "MetaOrchestrator" could always be true in boolean context [truthy-function] core/vertical_risk_agent/tools/agent_tools.py:93: error: Function "QuantumMonteCarloEngine" could always be true in boolean context [truthy-function] core/vertical_risk_agent/tools/agent_tools.py:108: error: Function "GenerativeRiskEngine" could always be true in boolean context [truthy-function] core/vertical_risk_agent/tools/mcp_server/server.py:5: error: Name "FastMCP" already defined (possibly by an import) [no-redef] core/vertical_risk_agent/tools/mcp_server/server.py:28: error: Cannot assign to a type [misc] core/vertical_risk_agent/tools/mcp_server/server.py:28: error: Incompatible types in assignment (expression has type "None", variable has type "type[GenerativeRiskEngine]") [assignment] core/vertical_risk_agent/tools/mcp_server/server.py:29: error: Cannot assign to a type [misc] core/vertical_risk_agent/tools/mcp_server/server.py:29: error: Incompatible types in assignment (expression has type "None", variable has type "type[QuantumMonteCarloEngine]") [assignment] core/vertical_risk_agent/tools/mcp_server/server.py:35: error: Cannot assign to a type [misc] core/vertical_risk_agent/tools/mcp_server/server.py:35: error: Incompatible types in assignment (expression has type "None", variable has type "type[MetaOrchestrator]") [assignment] core/vertical_risk_agent/tools/mcp_server/server.py:42: error: Function "MetaOrchestrator" could always be true in boolean context [truthy-function] core/vertical_risk_agent/tools/mcp_server/server.py:200: error: Function "QuantumMonteCarloEngine" could always be true in boolean context [truthy-function] core/vertical_risk_agent/tools/mcp_server/server.py:212: error: Function "GenerativeRiskEngine" could always be true in boolean context [truthy-function] core/api/server.py:19: error: Cannot assign to a type [misc] core/api/server.py:19: error: Incompatible types in assignment (expression has type "None", variable has type "type[MetaOrchestrator]") [assignment] core/api/server.py:20: error: Cannot assign to a type [misc] core/api/server.py:20: error: Incompatible types in assignment (expression has type "None", variable has type "type[AgentOrchestrator]") [assignment] core/vertical_risk_agent/tools/mcp_server/server2.py:5: error: Name "FastMCP" already defined (possibly by an import) [no-redef] core/api/routers/agents.py:15: error: Argument "context" to "route_request" of "MetaOrchestrator" has incompatible type "dict[str, Any] | None"; expected "dict[str, Any]" [arg-type] ==================== tests FAILED ==================== STDOUT: ...F.......FFFFFFF...FF....FFFFFFFFFFFFFFFF.EE...F.FFF.F.FFF.....F...... [ 40%] ..FF.........F......FFFF....F.FFFFFFF..FFFFFFF......FF...............FFF [ 80%] FFF.FFFF.FF.FF..FFFFF.FFFFF...FF.F [100%] ==================================== ERRORS ==================================== ____________________ ERROR at setup of test_cors_restricted ____________________ @pytest.fixture def client(): app.config['TESTING'] = True > with app.test_client() as client: ^^^^^^^^^^^^^^^^^ tests/test_cors_security.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , use_cookies = True, kwargs = {}, cls = None def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient: """Creates a test client for this application. For information about unit testing head over to :doc:`/testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a ``with`` block to defer the closing down of the context until the end of the ``with`` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' Additionally, you may pass optional keyword arguments that will then be passed to the application's :attr:`test_client_class` constructor. For example:: from flask.testing import FlaskClient class CustomClient(FlaskClient): def __init__(self, *args, **kwargs): self._authentication = kwargs.pop("authentication") super(CustomClient,self).__init__( *args, **kwargs) app.test_client_class = CustomClient client = app.test_client(authentication='Basic ....') See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for ``with`` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. .. versionchanged:: 0.11 Added `**kwargs` to support passing additional keyword arguments to the constructor of :attr:`test_client_class`. """ cls = self.test_client_class if cls is None: > from .testing import FlaskClient as cls E ModuleNotFoundError: No module named 'flask.testing'; 'flask' is not a package /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/flask/app.py:722: ModuleNotFoundError _____________________ ERROR at setup of test_cors_allowed ______________________ @pytest.fixture def client(): app.config['TESTING'] = True > with app.test_client() as client: ^^^^^^^^^^^^^^^^^ tests/test_cors_security.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , use_cookies = True, kwargs = {}, cls = None def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient: """Creates a test client for this application. For information about unit testing head over to :doc:`/testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a ``with`` block to defer the closing down of the context until the end of the ``with`` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' Additionally, you may pass optional keyword arguments that will then be passed to the application's :attr:`test_client_class` constructor. For example:: from flask.testing import FlaskClient class CustomClient(FlaskClient): def __init__(self, *args, **kwargs): self._authentication = kwargs.pop("authentication") super(CustomClient,self).__init__( *args, **kwargs) app.test_client_class = CustomClient client = app.test_client(authentication='Basic ....') See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for ``with`` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. .. versionchanged:: 0.11 Added `**kwargs` to support passing additional keyword arguments to the constructor of :attr:`test_client_class`. """ cls = self.test_client_class if cls is None: > from .testing import FlaskClient as cls E ModuleNotFoundError: No module named 'flask.testing'; 'flask' is not a package /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/flask/app.py:722: ModuleNotFoundError =================================== FAILURES =================================== ______________________ TestAgentBase.test_init_attributes ______________________ self = def test_init_attributes(self): config = {"name": "TestAgent", "description": "Test Description"} > agent = MockAgent(config=config) ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_agent_base.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = config = {'description': 'Test Description', 'name': 'TestAgent'} def __init__(self, config): super().__init__(config) > self.name = config.get("name") ^^^^^^^^^ E AttributeError: property 'name' of 'MockAgent' object has no setter tests/test_agent_base.py:9: AttributeError _______________ TestMarketSentimentAgent.test_analyze_sentiment ________________ self = async def test_analyze_sentiment(self): """Test analyzing market sentiment.""" self.agent.news_api.get_headlines.return_value = (["Headline"], 0.5) self.agent.prediction_market_api.get_market_sentiment.return_value = 0.5 self.agent.social_media_api.get_social_media_sentiment.return_value = 0.5 self.agent.web_traffic_api.get_web_traffic_sentiment.return_value = 0.5 > sentiment, details = await self.agent.analyze_sentiment() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_agents.py:41: TypeError ______ TestMarketSentimentAgent.test_analyze_sentiment_with_negative_news ______ self = async def test_analyze_sentiment_with_negative_news(self): """Test analyzing market sentiment with negative news.""" self.agent.news_api.get_headlines.return_value = (["Negative"], -1.0) self.agent.prediction_market_api.get_market_sentiment.return_value = 0.0 self.agent.social_media_api.get_social_media_sentiment.return_value = 0.0 self.agent.web_traffic_api.get_web_traffic_sentiment.return_value = 0.0 > sentiment, details = await self.agent.analyze_sentiment() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_agents.py:62: TypeError ______ TestMarketSentimentAgent.test_analyze_sentiment_with_positive_news ______ self = async def test_analyze_sentiment_with_positive_news(self): """Test analyzing market sentiment with positive news.""" self.agent.news_api.get_headlines.return_value = (["Positive"], 1.0) self.agent.prediction_market_api.get_market_sentiment.return_value = 0.0 self.agent.social_media_api.get_social_media_sentiment.return_value = 0.0 self.agent.web_traffic_api.get_web_traffic_sentiment.return_value = 0.0 > sentiment, details = await self.agent.analyze_sentiment() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_agents.py:51: TypeError ________ TestMacroeconomicAnalysisAgent.test_analyze_macroeconomic_data ________ self = mock_send_message = @patch('core.agents.macroeconomic_analysis_agent.send_message') def test_analyze_macroeconomic_data(self, mock_send_message): """Test analyzing macroeconomic data.""" # Mock the data source's responses self.agent.data_sources['government_stats_api'].get_gdp.return_value = None # Completed assignment self.agent.data_sources['government_stats_api'].get_inflation.return_value = None # Completed assignment insights = self.agent.analyze_macroeconomic_data() > self.assertIsInstance(insights, dict) # Check if insights is a dictionary ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: is not an instance of tests/test_agents.py:83: AssertionError _ TestMacroeconomicAnalysisAgent.test_analyze_macroeconomic_data_with_high_gdp_growth _ self = mock_send_message = @patch('core.agents.macroeconomic_analysis_agent.send_message') def test_analyze_macroeconomic_data_with_high_gdp_growth(self, mock_send_message): """Test analyzing macroeconomic data with high GDP growth.""" # Mock the data source's responses with high GDP growth self.agent.data_sources['government_stats_api'].get_gdp.return_value = {'value': 2.5} self.agent.data_sources['government_stats_api'].get_inflation.return_value = {'value': 3.1} insights = self.agent.analyze_macroeconomic_data() > self.assertEqual(insights['GDP_growth_trend'], 'positive') # Check if GDP growth trend is positive ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: != 'positive' tests/test_agents.py:98: AssertionError ___________ TestGeopoliticalRiskAgent.test_assess_geopolitical_risks ___________ self = mock_send_message = @patch('core.agents.geopolitical_risk_agent.send_message') def test_assess_geopolitical_risks(self, mock_send_message): """Test assessing geopolitical risks.""" #... (mock data sources and their responses) risk_assessments = self.agent.assess_geopolitical_risks() > self.assertIsInstance(risk_assessments, dict) E AssertionError: is not an instance of tests/test_agents.py:113: AssertionError ___________ TestAnomalyDetectionAgent.test_detect_company_anomalies ____________ self = def test_detect_company_anomalies(self): # Create data with an anomaly # Row 2 (index 2) has huge debt and low equity data = { 'revenue': [1000.0, 1100.0, 1200.0, 1300.0, 1400.0, 1500.0, 1600.0, 1700.0], 'net_income': [100.0, 110.0, 120.0, 130.0, 140.0, 150.0, 160.0, 170.0], 'total_assets': [5000.0, 5200.0, 5500.0, 5800.0, 6000.0, 6200.0, 6400.0, 6600.0], 'shareholders_equity': [2000.0, 2100.0, 100.0, 2300.0, 2400.0, 2500.0, 2600.0, 2700.0], 'current_assets': [1000.0, 1050.0, 1100.0, 1150.0, 1200.0, 1250.0, 1300.0, 1350.0], 'current_liabilities': [500.0, 520.0, 550.0, 580.0, 600.0, 620.0, 640.0, 660.0], 'inventory': [200.0, 210.0, 220.0, 230.0, 240.0, 250.0, 260.0, 270.0], 'total_debt': [1500.0, 1550.0, 6000.0, 1650.0, 1700.0, 1750.0, 1800.0, 1850.0] } # Overwrite internal data with test data self.agent.company_data = pd.DataFrame(data) > anomalies = self.agent.detect_company_anomalies() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_anomaly_detection_agent.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ core/agents/anomaly_detection_agent.py:441: in detect_company_anomalies outliers_zscore_revenue = self._detect_outliers_zscore(self.company_data['revenue'], threshold=2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ core/agents/anomaly_detection_agent.py:166: in _detect_outliers_zscore z_scores = np.abs(stats.zscore(data)) ^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/stats/_stats_py.py:2768: in zscore return zmap(a, a, axis=axis, ddof=ddof, nan_policy=nan_policy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/stats/_stats_py.py:2929: in zmap mn = _xp_mean(compare, axis=axis, keepdims=True, nan_policy=nan_policy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/stats/_stats_py.py:10943: in _xp_mean lazy = is_lazy_array(x) ^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/_lib/array_api_compat/common/_helpers.py:998: in is_lazy_array res = _is_lazy_cls(cls) ^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/_lib/array_api_compat/common/_helpers.py:957: in _is_lazy_cls _issubclass_fast(cls, "numpy", "ndarray") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , modname = 'numpy', clsname = 'ndarray' @lru_cache(100) def _issubclass_fast(cls: type, modname: str, clsname: str) -> bool: try: mod = sys.modules[modname] except KeyError: return False parent_cls = getattr(mod, clsname) > return issubclass(cls, parent_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: issubclass() arg 2 must be a class, a tuple of classes, or a union /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/_lib/array_api_compat/common/_helpers.py:72: TypeError __________________________ TestLogLeak.test_log_leak ___________________________ self = def setUp(self): > self.app = app.test_client() ^^^^^^^^^^^^^^^^^ tests/test_api_log_privacy.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , use_cookies = True, kwargs = {}, cls = None def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient: """Creates a test client for this application. For information about unit testing head over to :doc:`/testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a ``with`` block to defer the closing down of the context until the end of the ``with`` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' Additionally, you may pass optional keyword arguments that will then be passed to the application's :attr:`test_client_class` constructor. For example:: from flask.testing import FlaskClient class CustomClient(FlaskClient): def __init__(self, *args, **kwargs): self._authentication = kwargs.pop("authentication") super(CustomClient,self).__init__( *args, **kwargs) app.test_client_class = CustomClient client = app.test_client(authentication='Basic ....') See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for ``with`` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. .. versionchanged:: 0.11 Added `**kwargs` to support passing additional keyword arguments to the constructor of :attr:`test_client_class`. """ cls = self.test_client_class if cls is None: > from .testing import FlaskClient as cls E ModuleNotFoundError: No module named 'flask.testing'; 'flask' is not a package /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/flask/app.py:722: ModuleNotFoundError ____________ TestAdaptiveAPIReal.test_adaptive_query_initialization ____________ self = def test_adaptive_query_initialization(self): """ Verifies that create_app successfully imports and initializes MetaOrchestrator without crashing, confirming the file structure and signatures are correct. """ # Mock heavy dependencies with patch.dict(sys.modules, { 'semantic_kernel': MagicMock(), 'semantic_kernel.connectors.ai.open_ai': MagicMock(), 'neo4j': MagicMock(), 'redis': MagicMock(), 'pika': MagicMock(), 'spacy': MagicMock(), 'transformers': MagicMock(), 'torch': MagicMock(), 'tensorflow': MagicMock(), 'dowhy': MagicMock() }): # Patch internals with patch('core.utils.config_utils.load_config') as mock_load_config, \ patch('core.system.agent_orchestrator.MessageBroker') as mock_mb, \ patch('core.system.agent_orchestrator.LLMPlugin') as mock_llm_plugin: # Setup internal mocks mock_load_config.return_value = { 'agents': { 'QueryUnderstandingAgent': {'name': 'QueryUnderstandingAgent'} } } mock_mb.get_instance.return_value = MagicMock() mock_llm_plugin.return_value = MagicMock() # Mock the instance # Import api inside the patch context try: from services.webapp.api import create_app import services.webapp.api as api_module except ImportError as e: self.fail(f"Import failed: {e}") # Reset globals to ensure clean state api_module.agent_orchestrator = None api_module.meta_orchestrator = None # Create app app = create_app('default') # Check if globals are initialized if api_module.agent_orchestrator is None: self.fail("AgentOrchestrator is None. Initialization block failed.") if api_module.meta_orchestrator is None: self.fail("MetaOrchestrator is None. Initialization block failed.") # Verify the type/class name > self.assertEqual(api_module.agent_orchestrator.__class__.__name__, 'AgentOrchestrator') E AssertionError: 'MagicMock' != 'AgentOrchestrator' E - MagicMock E + AgentOrchestrator tests/test_api_v23_wiring.py:66: AssertionError ___________ TestAWOPlanner.test_parse_natural_language_plan_numbered ___________ self = def test_parse_natural_language_plan_numbered(self): text = """ Here is the plan: 1. Ingest data from SEC. 2. Calculate DCF. 3. Verify with PROV-O. """ plan = self.planner.parse_natural_language_plan(text) > self.assertEqual(len(plan['steps']), 3) E AssertionError: 0 != 3 tests/test_awo_planner.py:28: AssertionError ______________ TestCodeAlchemist.test_construct_generation_prompt ______________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_construct_generation_prompt(self, MockLLMPlugin): agent = CodeAlchemist(self.config) # Mock system prompt template if not loaded (for environment consistency) if not agent.system_prompt_template: agent.system_prompt_template = "Intent: {{intent}} Context: {{context}} Constraints: {{constraints}} Knowledge: {{relevant_knowledge}}" prompt = agent.construct_generation_prompt( intent="Test Intent", context={"env": "test"}, constraints={"fast": True}, relevant_knowledge="Know stuff" ) > self.assertIn("Test Intent", prompt) E AssertionError: 'Test Intent' not found in tests/test_code_alchemist.py:50: AssertionError _______________ TestCodeAlchemist.test_deploy_to_cloud_function ________________ self = async def test_deploy_to_cloud_function(self): # Since this method is simulated, we just verify it returns True agent = CodeAlchemist(self.config) > success = await agent.deploy_to_cloud_function("print('hello')", function_name="test-func") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_code_alchemist.py:132: TypeError ________________ TestCodeAlchemist.test_extract_json_resilience ________________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_extract_json_resilience(self, MockLLMPlugin): agent = CodeAlchemist(self.config) # Test clean JSON res1 = agent._extract_json('{"key": "value"}') > self.assertEqual(res1, {"key": "value"}) E AssertionError: != {'key': 'value'} tests/test_code_alchemist.py:77: AssertionError ____________________ TestCodeAlchemist.test_full_validation ____________________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_full_validation(self, MockLLMPlugin): # Setup mock to return all analysis mock_llm_instance = MockLLMPlugin.return_value # We need to simulate multiple calls to get_completion for different prompts async def side_effect(prompt): if "security" in prompt: return '{"security_vulnerabilities": [], "security_score": 95}' elif "time/space" in prompt: return '{"time_complexity": "O(n)", "space_complexity": "O(1)"}' else: return '{"semantic_errors": null}' mock_llm_instance.get_completion.side_effect = side_effect agent = CodeAlchemist(self.config) code = "def fast_secure(): pass" > result = await agent.validate_code(code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_code_alchemist.py:123: TypeError ____________________ TestCodeAlchemist.test_initialization _____________________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_initialization(self, MockLLMPlugin): agent = CodeAlchemist(self.config) > self.assertEqual(agent.validation_tool_url, "http://test-url") E AssertionError: != 'http://test-url' tests/test_code_alchemist.py:23: AssertionError __________________ TestCodeAlchemist.test_load_system_prompt ___________________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_load_system_prompt(self, MockLLMPlugin): agent = CodeAlchemist(self.config) prompt = agent._load_system_prompt() if prompt: > self.assertIn("Code Alchemist", prompt) E AssertionError: 'Code Alchemist' not found in tests/test_code_alchemist.py:32: AssertionError _____________________ TestCodeAlchemist.test_optimize_code _____________________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_optimize_code(self, MockLLMPlugin): # Setup mock for optimization mock_llm_instance = MockLLMPlugin.return_value # Mock responses mock_llm_instance.get_completion = AsyncMock(return_value='```python\ndef optimized(): pass\n```') agent = CodeAlchemist(self.config) code = "def slow(): pass" > optimized = await agent.optimize_code(code, optimization_strategies=["performance"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_code_alchemist.py:101: TypeError ________________ TestCodeAlchemist.test_validate_code_semantics ________________ self = MockLLMPlugin = @patch('core.agents.code_alchemist.LLMPlugin') async def test_validate_code_semantics(self, MockLLMPlugin): # Setup mock to return semantic analysis JSON mock_llm_instance = MockLLMPlugin.return_value mock_llm_instance.get_completion = AsyncMock(return_value='{"semantic_errors": null}') agent = CodeAlchemist(self.config) # Test valid code syntax code = "def foo(): return 1" > result = await agent.validate_code(code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_code_alchemist.py:66: TypeError ____________________________ test_code_gen_pipeline ____________________________ @pytest.mark.asyncio async def test_code_gen_pipeline(): # Mock LLMPlugin to avoid API key requirements and AgentOrchestrator initialization issues with patch('core.system.agent_orchestrator.LLMPlugin') as MockLLM: orchestrator = MetaOrchestrator() # Trigger Code Gen query = "Generate code to calculate fibonacci sequence in python" # Verify complexity assessment complexity = orchestrator._assess_complexity(query) > assert complexity == "CODE_GEN" E AssertionError: assert == 'CODE_GEN' tests/test_code_gen.py:17: AssertionError _____________ TestConfigUtils.test_load_app_config_agent_override ______________ self = mock_load_config_func = @patch('core.utils.config_utils.load_config') def test_load_app_config_agent_override(self, mock_load_config_func): def side_effect_loader(filepath): # The order of loading is defined in load_app_config # settings.yaml is loaded, then agents.yaml is loaded. # The 'agents' key from agents.yaml should overwrite the 'agents' key from settings.yaml if 'config/settings.yaml' == filepath: return {'settings_specific': 'value', 'agents': {'agent1': {'param_a': 'original_value', 'param_c': 'settings_only'}}} elif 'config/agents.yaml' == filepath: return {'agents': {'agent1': {'param_a': 'overridden_value', 'param_b': 'agents_only'}}} # Return empty for other files to isolate the test and prevent NoneType errors on .update() return {} mock_load_config_func.side_effect = side_effect_loader app_config = load_app_config() # Check that 'settings_specific' from settings.yaml is present (not overwritten) > self.assertIn('settings_specific', app_config) E AssertionError: 'settings_specific' not found in {'api': {'host': '0.0.0.0', 'port': 5000}, 'knowledge_graph': {'path': 'data/knowledge_graph.json'}, 'data_sources': {'news_api': {'api_key': None}, 'twitter_api': {'consumer_key': None, 'consumer_secret': None, 'access_token': None, 'access_token_secret': None}, 'fred_api': {'api_key': None}, 'ecb_api': {'api_key': None}, 'political_risk_api': {'api_key': None}, 'industry_reports_api': {'api_key': None}, 'company_filings_api': {'api_key': None}, 'financial_statements_api': {'api_key': None}, 'market_data_api': {'api_key': None}}, 'analysis_modules': {'fundamental_analysis': {'valuation_method': 'dcf'}, 'technical_analysis': {'indicators': ['rsi', 'macd']}}, 'reporting': {'format': 'json'}, 'logging': {'level': 'INFO', 'destination': 'stdout', 'log_file_path': '/app/logs/cacm-adk.log', 'format': 'json'}, 'tasks': [{'name': 'generate_daily_newsletter', 'schedule': 'daily', 'parameters': {'recipients': ['user1@example.com', 'user2@example.com']}}, {'name': 'update_market_data', 'schedule': 'hourly'}, {'name': 'perform_weekly_analysis', 'schedule': 'weekly', 'parameters': None}], 'resource_limits': {'cpu_limit': 80, 'memory_limit': 80}, 'token_limit': 4096, 'api_base_url': 'http://localhost:5000', 'system': {'name': 'Adam v19.0', 'log_level': 'INFO', 'data_dir': 'data/', 'output_dir': 'outputs/'}, 'agents': {'QueryUnderstandingAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Query Understanding Agent', 'description': 'Analyzes user queries to determine relevant agents.', 'expertise': ['query analysis', 'agent selection'], 'prompt_template': 'Based on the following user query, identify the most relevant agents to handle the request.\nReturn a list of agent names. If no agents are relevant, return an empty list.\nAvailable Agents: {available_agents}\n\nUser Query: {user_query}\n\nRelevant Agents:\n'}, 'ReportGeneratorAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Report Generator Agent', 'description': 'Generates reports based on the analysis of other agents.', 'expertise': ['report generation', 'data synthesis']}, 'DataRetrievalAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Data Retrieval Agent', 'description': 'Retrieves data from various sources based on requests.', 'expertise': ['data access', 'data retrieval']}, 'ResultAggregationAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Result Aggregation Agent', 'description': 'Combines results from multiple agents.', 'expertise': ['data aggregation', 'result summarization']}, 'market_sentiment_agent': {'communication_style': 'concise and insightful with a touch of humor', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Market Whisperer', 'description': 'A keen observer of market sentiment, adept at deciphering the collective wisdom and emotions of the crowd.', 'expertise': ['Sentiment analysis techniques (natural language processing, machine learning)', 'Social media and financial news monitoring', 'Behavioral finance and investor psychology'], 'data_sources': ['financial_news_api', 'social_media_api'], 'sentiment_analysis_method': 'ensemble', 'alerting_thresholds': {'significant_shift': 0.2}, 'input_schema': {'query': {'type': 'string', 'description': 'The search query for sentiment analysis.', 'required': True}, 'source': {'type': 'select', 'options': ['news', 'social_media', 'all'], 'default': 'all', 'description': 'The source to analyze.'}}}, 'macroeconomic_analysis_agent': {'communication_style': 'data-driven and insightful with clear explanations', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Economic Oracle', 'description': 'A master of macroeconomic analysis, adept at interpreting economic indicators, forecasting trends, and understanding their impact on financial markets.', 'expertise': ['Macroeconomic theory and modeling', 'Econometrics and statistical analysis', 'Economic forecasting techniques'], 'data_sources': ['government_stats_api', 'central_bank_api'], 'indicators': ['GDP', 'inflation', 'unemployment', 'interest_rates'], 'forecast_horizon': '1 year', 'alerting_thresholds': {'gdp_growth': 0.5, 'inflation_rate': 0.2}}, 'geopolitical_risk_agent': {'communication_style': 'concise and actionable with clear risk assessments', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Global Sentinel', 'description': 'A vigilant guardian, assessing geopolitical risks and their potential impact on global financial markets.', 'expertise': ['Political science and international relations', 'Risk assessment frameworks and methodologies', 'Geopolitical analysis and forecasting'], 'data_sources': ['news_api', 'political_databases', 'intelligence_reports'], 'risk_assessment_framework': 'multi-factor', 'alerting_thresholds': {'high_risk_event': 0.8}}, 'industry_specialist_agent': {'technology': {'communication_style': 'enthusiastic and informative with a focus on future potential', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Tech Visionary', 'description': "A technology enthusiast with a deep understanding of the industry's trends, innovations, and competitive landscape.", 'expertise': ['Emerging technologies (AI, cloud computing, blockchain)', 'Technology market analysis and forecasting', 'Competitive analysis of tech companies'], 'data_sources': ['technology_news_api', 'technology_market_data'], 'focus_areas': ['AI', 'cloud_computing', 'cybersecurity'], 'alerting_thresholds': {'emerging_trend': 0.7}}, 'healthcare': {'communication_style': 'analytical and precise with a focus on evidence-based insights', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Medical Sage', 'description': "A healthcare expert with a deep understanding of the industry's trends, innovations, regulations, and key players.", 'expertise': ['Drug development and clinical trials', 'Medical devices and diagnostics', 'Healthcare policy and regulations'], 'data_sources': ['healthcare_news_api', 'clinical_trial_databases', 'fda_filings'], 'focus_areas': ['drug_development', 'medical_devices', 'healthcare_policy'], 'alerting_thresholds': {'clinical_trial_results': 0.9}}, 'energy': {'communication_style': 'data-driven and insightful with a focus on market dynamics', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Energy Guru', 'description': "An energy expert with a deep understanding of the industry's trends, innovations, and regulations.", 'expertise': ['Renewable energy technologies and trends', 'Oil and gas exploration and production', 'Energy market analysis and forecasting'], 'data_sources': ['energy_news_api', 'energy_market_data', 'government_energy_reports'], 'focus_areas': ['renewable_energy', 'oil_and_gas', 'energy_infrastructure'], 'alerting_thresholds': {'energy_price_change': 0.1}}, 'financials': {'communication_style': 'concise and insightful with a focus on regulatory impact', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Financial Maestro', 'description': "A financial expert with a deep understanding of the industry's trends, regulations, and key players.", 'expertise': ['Banking and financial institutions', 'Insurance and risk management', 'Investment banking and asset management'], 'data_sources': ['financial_news_api', 'financial_market_data', 'regulatory_filings'], 'focus_areas': ['banking', 'insurance', 'asset_management'], 'alerting_thresholds': {'financial_regulation_change': 0.8}}, 'industrials': {'communication_style': 'data-driven and insightful with a focus on economic trends', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Industrialist', 'description': 'An expert in the industrials sector, with a deep understanding of manufacturing, supply chains, and economic trends.', 'expertise': ['Manufacturing processes and technologies', 'Supply chain management and logistics', 'Industrial automation and robotics'], 'data_sources': ['industrials_news_api', 'economic_data', 'manufacturing_reports'], 'focus_areas': ['manufacturing', 'aerospace', 'construction'], 'alerting_thresholds': {'economic_indicator_change': 0.05}}, 'materials': {'communication_style': 'analytical and precise with a focus on market fundamentals', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Materials Maven', 'description': 'An expert in the materials sector, with a deep understanding of commodity markets, supply chains, and sustainability.', 'expertise': ['Mining and resource extraction', 'Materials science and engineering', 'Sustainability and environmental impact'], 'data_sources': ['materials_news_api', 'commodity_market_data', 'sustainability_reports'], 'focus_areas': ['mining', 'metals', 'chemicals'], 'alerting_thresholds': {'commodity_price_change': 0.15}}, 'consumer_discretionary': {'communication_style': 'engaging and insightful with a focus on consumer trends', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Trendsetter', 'description': 'An expert in consumer discretionary trends, analyzing consumer behavior, brand loyalty, and market dynamics.', 'expertise': ['Consumer psychology and behavior', 'Brand management and marketing', 'Retail and e-commerce trends'], 'data_sources': ['consumer_surveys', 'social_media_trends', 'retail_sales_data'], 'focus_areas': ['fashion', 'restaurants', 'travel', 'entertainment'], 'alerting_thresholds': {'consumer_sentiment_change': 0.1}}, 'consumer_staples': {'communication_style': 'analytical and data-driven with a focus on market stability', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Needs Analyst', 'description': 'An expert in consumer staples, analyzing essential goods and services, supply chain dynamics, and pricing trends.', 'expertise': ['Demand and supply analysis for essential goods', 'Pricing strategies and consumer behavior', 'Supply chain management and logistics'], 'data_sources': ['consumer_spending_data', 'commodity_prices', 'supply_chain_reports'], 'focus_areas': ['food_and_beverage', 'household_products', 'personal_care'], 'alerting_thresholds': {'supply_chain_disruption': 0.7}}, 'utilities': {'communication_style': 'detailed and informative with a focus on regulatory impact', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Infrastructure Inspector', 'description': 'An expert in the utilities sector, analyzing infrastructure, regulation, and market trends.', 'expertise': ['Electricity generation and distribution', 'Water and waste management', 'Renewable energy and sustainability'], 'data_sources': ['utility_news_api', 'regulatory_filings', 'industry_reports'], 'focus_areas': ['electricity', 'water', 'gas'], 'alerting_thresholds': {'regulatory_change': 0.8}}, 'real_estate': {'communication_style': 'data-driven and insightful with a focus on market trends', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Property Pundit', 'description': 'An expert in real estate markets, analyzing property values, investment trends, and development projects.', 'expertise': ['Real estate market analysis and forecasting', 'Property valuation and investment analysis', 'Urban development and planning'], 'data_sources': ['real_estate_data', 'property_listings', 'market_reports'], 'focus_areas': ['residential', 'commercial', 'industrial'], 'alerting_thresholds': {'property_value_change': 0.1}}, 'telecommunications': {'communication_style': 'technical and informative with a focus on industry trends', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Network Navigator', 'description': 'An expert in the telecommunications industry, analyzing network infrastructure, service offerings, and competitive landscape.', 'expertise': ['Telecommunications technologies and standards', 'Network infrastructure and management', 'Market analysis and competitive dynamics'], 'data_sources': ['telecom_news_api', 'industry_reports', 'company_filings'], 'focus_areas': ['mobile_networks', 'broadband_services', 'cloud_communications'], 'alerting_thresholds': {'technology_advancement': 0.7}}}, 'fundamental_analyst_agent': {'communication_style': 'analytical and precise with detailed financial analysis', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Financial Detective', 'description': 'A meticulous analyst, uncovering the hidden value and risks in financial statements and company filings.', 'expertise': ['Financial statement analysis and interpretation', 'Valuation modeling (DCF, comparables)', 'Risk assessment and due diligence'], 'data_sources': ['company_filings', 'financial_databases'], 'valuation_models': ['DCF', 'comparable_company_analysis'], 'risk_assessment_method': 'quantitative_and_qualitative', 'alerting_thresholds': {'valuation_discrepancy': 0.2}, 'peers': ['DataRetrievalAgent']}, 'technical_analyst_agent': {'communication_style': 'visual and concise with clear trading recommendations', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Chart Whisperer', 'description': 'A master of technical analysis, deciphering patterns and signals in price charts and technical indicators.', 'expertise': ['Chart pattern recognition (e.g., head and shoulders, double top/bottom)', 'Technical indicator analysis (e.g., moving averages, RSI, MACD)', 'Trading strategies based on technical analysis'], 'data_sources': ['market_data_api'], 'indicators': ['moving_averages', 'RSI', 'MACD'], 'chart_patterns': ['head_and_shoulders', 'double_top_bottom', 'flags_and_pennants'], 'trading_strategy': 'trend_following', 'alerting_thresholds': {'trading_signal': 0.7}}, 'risk_assessment_agent': {'communication_style': 'clear and informative with detailed risk reports', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': [{'field': 'financial_data.revenue', 'type': 'float', 'min': 0}, {'field': 'market_data.trading_volume', 'type': 'integer', 'min': 0}, {'field': 'loan_details.loan_amount', 'type': 'float', 'min': 0}]}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage', 'market_risk_calculation_time', 'credit_risk_calculation_time', 'overall_risk_score_drift']}, 'persona': 'Risk Guardian', 'description': 'A cautious and vigilant protector, assessing and mitigating investment risks across various asset classes and portfolios.', 'expertise': ['Risk management frameworks and methodologies', 'Quantitative risk modeling (e.g., VaR, CVaR)', 'Portfolio stress testing and scenario analysis'], 'data_sources': ['market_data_api', 'company_data', 'macroeconomic_data'], 'risk_metrics': ['volatility', 'beta', 'VaR', 'CVaR'], 'risk_models': ['credit_scoring_models', 'monte_carlo_simulation'], 'alerting_thresholds': {'portfolio_risk_level': 0.8, 'market_risk_level': 0.6, 'credit_risk_level': 0.7, 'liquidity_risk_level': 0.5}, 'knowledge_base_path': 'adam/data/risk_rating_mapping.json', 'debug_mode': False, 'risk_weights': {'market_risk': 0.2, 'credit_risk': 0.3, 'liquidity_risk': 0.1, 'operational_risk': 0.1, 'geopolitical_risk': 0.1, 'industry_risk': 0.1, 'economic_risk': 0.05, 'volatility_risk': 0.025, 'currency_risk': 0.025}}, 'newsletter_layout_specialist_agent': {'communication_style': 'engaging and informative with a clear narrative structure', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Narrative Weaver', 'description': 'A master storyteller, crafting compelling and informative investment narratives from market data and insights.', 'expertise': ['Financial writing and communication', 'Data visualization and presentation', 'Newsletter design and layout'], 'data_sources': ['all agents'], 'template': 'dynamic', 'visualization_tools': ['charts', 'graphs', 'tables']}, 'data_verification_agent': {'communication_style': 'precise and reliable with clear explanations of data discrepancies', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Truth Seeker', 'description': 'A meticulous fact-checker, ensuring data accuracy, reliability, and consistency across all sources.', 'expertise': ['Data validation and verification techniques', 'Statistical analysis and anomaly detection', 'Source credibility assessment'], 'data_sources': ['all data sources'], 'verification_methods': ['cross-referencing', 'data type validation', 'outlier detection', 'source credibility assessment'], 'alerting_thresholds': {'data_discrepancy': 0.05}}, 'lexica_agent': {'communication_style': 'informative and concise with relevant search results', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'type': 'rag-agent', 'persona': 'Knowledge Navigator', 'description': 'A master of information retrieval, navigating the vast sea of data and knowledge to find the most relevant and accurate information.', 'expertise': ['Information retrieval and knowledge management', 'Search engine optimization (SEO)', 'Natural language processing (NLP)'], 'data_sources': ['web pages', 'news articles', 'reports', 'databases'], 'search_methods': ['keyword-based search', 'natural language processing (NLP)', 'semantic analysis'], 'alerting_thresholds': {'search_relevance': 0.8}}, 'archive_manager_agent': {'communication_style': 'organized and efficient with clear summaries of archived data', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Memory Keeper', 'description': 'A meticulous organizer, preserving and managing the collective knowledge, history, and data of Adam v17.0.', 'expertise': ['Data archiving and preservation', 'Version control and data management', 'Access control and security'], 'data_storage': ['market_overviews', 'company_recommendations', 'newsletters', 'reports'], 'data_management_methods': ['version_control', 'data_backup_and_recovery', 'access_control'], 'alerting_thresholds': {'storage_capacity': 0.9}}, 'echo_agent': {'communication_style': 'conversational and helpful', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': "Adam's Echo", 'description': 'A reflection of Adam v17.0, simulating a chatbot UI and providing a user-friendly interface for interacting with the system.', 'expertise': ['Natural language understanding (NLU)', 'Conversational AI', 'User interface design'], 'ui_type': 'chatbot', 'expert_network': ['3 corporations', '5-7 sub-organizations per corporation', '3 experts per team'], 'reasoning_methods': ['GRPO', 'chain-of-thought']}, 'portfolio_optimization_agent': {'communication_style': 'analytical and strategic with clear portfolio recommendations', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Portfolio Architect', 'description': 'A master strategist, optimizing portfolios for maximum returns and minimal risk, considering user preferences and constraints.', 'expertise': ['Portfolio optimization techniques (e.g., mean-variance, Black-Litterman)', 'Risk management and diversification strategies', 'Investment portfolio analysis and evaluation'], 'data_sources': ['market_data_api', 'risk_models'], 'optimization_method': 'mean-variance', 'constraints': ['risk_tolerance', 'investment_horizon', 'diversification_requirements'], 'alerting_thresholds': {'portfolio_performance_deviation': 0.1}}, 'agent_forge': {'communication_style': 'creative and analytical with a focus on agent capabilities', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Agent Smith', 'description': "A master craftsman, forging new agents and refining existing ones to expand Adam's capabilities and adapt to new challenges.", 'expertise': ['Agent design and development', 'Prompt engineering and optimization', 'Code generation and analysis'], 'data_sources': ['agent_templates', 'knowledge_graph'], 'agent_creation_methods': ['template-based', 'user-defined'], 'prompt_refinement_methods': ['feedback-driven', 'performance-based'], 'alerting_thresholds': {'agent_performance_deviation': 0.2}}, 'prompt_tuner': {'communication_style': 'clear and concise with a focus on effective communication', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Prompt Whisperer', 'description': 'A language artist, fine-tuning prompts and communication to enhance clarity, efficiency, and user engagement.', 'expertise': ['Natural language processing (NLP)', 'Prompt engineering and optimization', 'Communication style adaptation'], 'data_sources': ['agent_prompts', 'user_feedback'], 'prompt_tuning_methods': ['feedback-driven', 'context-aware', 'style-based'], 'alerting_thresholds': {'prompt_effectiveness': 0.7}}, 'code_alchemist': {'communication_style': 'technical and precise with a focus on code quality', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Code Weaver', 'description': 'A master of code, transforming and optimizing algorithms to enhance efficiency, performance, and scalability.', 'expertise': ['Code analysis and optimization', 'Algorithm design and implementation', 'Software engineering best practices'], 'data_sources': ['agent_code', 'performance_metrics'], 'code_optimization_methods': ['refactoring', 'performance_tuning', 'parallelization'], 'alerting_thresholds': {'code_complexity': 0.8}}, 'lingua_maestro': {'communication_style': 'adaptable and culturally sensitive', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Language Maestro', 'description': 'A polyglot, facilitating seamless communication across different languages and cultural contexts.', 'expertise': ['Multilingual translation and interpretation', 'Cross-cultural communication', 'Language localization'], 'data_sources': ['language_models', 'translation_apis'], 'translation_methods': ['machine_translation', 'human_translation'], 'alerting_thresholds': {'translation_accuracy': 0.9}}, 'sense_weaver': {'communication_style': 'holistic and insightful with a focus on multi-sensory integration', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Multimodal Maestro', 'description': 'A master of perception, weaving together insights from multiple senses and modalities to create a richer understanding of the world.', 'expertise': ['Multimodal data processing and analysis', 'Sensor fusion and integration', 'Human-computer interaction'], 'data_sources': ['visual_data', 'audio_data', 'text_data', 'sensor_data'], 'multimodal_integration_methods': ['data_fusion', 'cross-modal_learning'], 'alerting_thresholds': {'multimodal_coherence': 0.7}}, 'data_visualization_agent': {'communication_style': 'visual and informative with a focus on clarity and storytelling', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Visual Storyteller', 'description': 'A master of data visualization, transforming complex data and insights into clear, concise, and engaging visuals.', 'expertise': ['Data visualization principles and best practices', 'Charting and graphing techniques', 'Interactive visualization tools and libraries'], 'data_sources': ['all agents'], 'visualization_types': ['charts (line, bar, pie, scatter)', 'graphs (network, treemap)', 'maps (choropleth, heatmap)']}, 'natural_language_generation_agent': {'communication_style': 'clear, concise, and engaging with a focus on storytelling', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Eloquent Narrator', 'description': "A wordsmith, generating human-readable reports, summaries, and narratives from Adam's data and insights.", 'expertise': ['Natural language generation (NLG) techniques', 'Financial writing and reporting', 'Storytelling and narrative design'], 'data_sources': ['all agents']}, 'machine_learning_model_training_agent': {'communication_style': 'technical and informative with a focus on model performance', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Model Master', 'description': "An AI expert, training and optimizing machine learning models to enhance Adam's predictive capabilities and adaptability.", 'expertise': ['Machine learning algorithms and techniques', 'Model training and evaluation', 'Hyperparameter tuning and optimization'], 'data_sources': ['historical_data', 'real-time_data', 'agent_feedback']}, 'legal_agent': {'communication_style': 'formal and precise with clear legal explanations', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Legal Eagle', 'description': 'An expert in legal and regulatory matters, ensuring compliance and mitigating legal risks.', 'expertise': ['Legal research and analysis', 'Regulatory compliance', 'Contract law'], 'data_sources': ['legal_databases', 'regulatory_websites'], 'alerting_thresholds': {'regulatory_change': 0.8}}, 'financial_modeling_agent': {'communication_style': 'analytical and data-driven with clear model explanations', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Model Builder', 'description': 'A skilled financial modeler, creating and analyzing models for valuation, forecasting, and risk assessment.', 'expertise': ['Financial modeling techniques', 'Valuation and forecasting', 'Sensitivity analysis and scenario planning'], 'data_sources': ['financial_databases', 'company_filings'], 'modeling_tools': ['spreadsheets', 'programming_languages (Python, R)'], 'alerting_thresholds': {'model_accuracy': 0.9}}, 'supply_chain_risk_agent': {'communication_style': 'proactive and informative with clear risk mitigation strategies', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Supply Chain Guardian', 'description': 'An expert in supply chain management, identifying and mitigating risks to ensure business continuity.', 'expertise': ['Supply chain risk assessment', 'Logistics and transportation', 'Inventory management'], 'data_sources': ['supply_chain_databases', 'industry_reports', 'news_sources'], 'risk_assessment_framework': 'multi-factor', 'alerting_thresholds': {'supply_chain_disruption': 0.7}}, 'algo_trading_agent': {'communication_style': 'data-driven and concise with clear trading signals', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Algorithmic Trader', 'description': 'A master of algorithmic trading, developing and executing trading strategies based on market data and quantitative analysis.', 'expertise': ['Algorithmic trading strategies', 'Market data analysis', 'Order execution and risk management'], 'data_sources': ['market_data_providers', 'historical_price_data'], 'trading_algorithms': ['mean_reversion', 'arbitrage', 'momentum'], 'alerting_thresholds': {'trading_performance': 0.05}}, 'discussion_chair_agent': {'communication_style': 'neutral and objective with clear summaries and action items', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Discussion Moderator', 'description': 'A skilled facilitator, guiding discussions, summarizing key points, and ensuring effective decision-making.', 'expertise': ['Facilitation and moderation techniques', 'Communication and interpersonal skills', 'Decision-making processes'], 'data_sources': ['all_agents']}, 'anomaly_detection_agent': {'communication_style': 'concise and informative with clear explanations of detected anomalies', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Anomaly Hunter', 'description': 'A vigilant observer, constantly scanning data for unusual patterns and anomalies that could signal potential risks or opportunities.', 'expertise': ['Anomaly detection algorithms and techniques', 'Statistical analysis and outlier detection', 'Data mining and pattern recognition'], 'data_sources': ['all data sources'], 'anomaly_detection_methods': ['statistical_methods', 'machine_learning_models'], 'alerting_thresholds': {'anomaly_score': 0.8}}, 'regulatory_compliance_agent': {'communication_style': 'formal and precise with clear explanations of compliance requirements', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Compliance Officer', 'description': 'A meticulous rule-follower, ensuring adherence to all applicable regulations and guidelines.', 'expertise': ['Regulatory compliance frameworks and standards', 'Legal research and analysis', 'Risk management and mitigation'], 'data_sources': ['regulatory_databases', 'legal_documents', 'industry_standards'], 'compliance_monitoring_methods': ['rule-based_checks', 'data_analysis', 'audit_trails'], 'alerting_thresholds': {'compliance_violation': 0.9}}, 'snc_analyst_agent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'SNC Examiner', 'description': 'Analyzes Shared National Credits based on regulatory guidelines.', 'expertise': ['SNC analysis', 'regulatory interpretation', 'credit risk'], 'comptrollers_handbook_SNC': {'primary_repayment_source': "sustainable source of cash under the borrower's control", 'substandard_definition': 'inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged', 'doubtful_definition': 'all the weaknesses inherent in one classified substandard with the added characteristic that the weaknesses make collection or liquidation in full, highly questionable and improbable', 'loss_definition': 'uncollectible and of such little value that their continuance as bankable assets is not warranted', 'repayment_capacity_period': 7, 'nonaccrual_status': 'asset is maintained on a cash basis because of deterioration in the financial condition of the borrower', 'capitalization_of_interest': 'interest may be capitalized only when the borrower is creditworthy and has the ability to repay the debt in the normal course of business'}, 'occ_guidelines_SNC': {'nonaccrual_status': 'asset is maintained on a cash basis because of deterioration in the financial condition of the borrower', 'capitalization_of_interest': 'interest may be capitalized only when the borrower is creditworthy and has the ability to repay the debt in the normal course of business'}}, 'news_bot_agent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'News Bot', 'description': 'A bot that monitors news sources and reports on relevant events.', 'expertise': ['news aggregation', 'event detection', 'information filtering'], 'data_sources': [], 'alerting_thresholds': {}}, 'credit_sentry_agents': {'orchestrator': {'CreditSentryOrchestrator': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'CreditSentry', 'description': 'The Orchestrator/Supervisor Agent. This is the central nervous system of the copilot.', 'expertise': ['orchestration', 'delegation', 'synthesis']}}, 'meta_agents': {'CreditRiskAssessmentAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Credit Risk Assessor', 'description': 'Conducts a comprehensive commercial credit analysis.', 'expertise': ['credit analysis', 'financial modeling', 'risk assessment']}, 'PortfolioMonitoringEWSAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Portfolio Sentinel', 'description': 'Provides continuous, real-time surveillance of the entire credit portfolio.', 'expertise': ['portfolio monitoring', 'early warning systems', 'covenant tracking']}, 'NarrativeSummarizationAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Narrative Weaver', 'description': 'Bridges the gap between complex, quantitative machine output and clear, concise human understanding.', 'expertise': ['narrative generation', 'summarization', 'data visualization']}, 'PersonaCommunicationAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Communications Specialist', 'description': 'Tailors the presentation of the final output to the specific needs, role, and authority level of the human user.', 'expertise': ['persona-based communication', 'output formatting']}, 'CounterpartyRiskAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Counterparty Risk Analyst', 'description': 'Quantifies the complex, contingent risks associated with derivative transactions.', 'expertise': ['counterparty credit risk', 'PFE calculation', 'wrong-way risk']}}, 'sub_agents': {'FinancialDocumentAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Financial Document Extractor', 'description': 'Automates the ingestion and structuring of financial information from documents.', 'expertise': ['OCR', 'document parsing', 'data extraction']}, 'ComplianceKYCAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Compliance & KYC Officer', 'description': 'Automates the essential checks required for client onboarding and ongoing monitoring.', 'expertise': ['KYC', 'AML', 'regulatory checks']}, 'MarketAlternativeDataAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Market & Alt-Data Analyst', 'description': 'Scans and ingests a wide spectrum of both structured and unstructured information from the public domain.', 'expertise': ['market data', 'alternative data', 'web scraping']}, 'InternalSystemsAgent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Internal Systems Connector', 'description': "Serves as the secure and reliable conduit to the financial institution's own internal systems of record.", 'expertise': ['internal data access', 'API integration']}}}, 'behavioral_economics_agent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Cognitive Bias Detector', 'description': 'Analyzes market data and user interactions for signs of cognitive biases and irrational behavior.', 'expertise': ['cognitive bias detection', 'behavioral analysis', 'market psychology'], 'bias_patterns': {'market': {'herding': ['everyone is buying', 'fear of missing out', 'FOMO'], 'recency_bias': ['recent performance', 'short-term trend']}, 'user': {'confirmation_bias': ['confirm my belief', 'evidence for my view']}}}, 'meta_cognitive_agent': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}, 'persona': 'Logical Consistency Guardian', 'description': 'Monitors the reasoning and outputs of other agents to ensure logical consistency, coherence, and alignment with core principles.', 'expertise': ['logical fallacy detection', 'consistency checking', 'reasoning validation'], 'logical_fallacies': {'appeal_to_authority': ['\\b(expert|authority|source) says\\b', '\\b(studies|research) shows?\\b'], 'hasty_generalization': ['\\b(always|never|everyone|no one) (is|are|does|do)\\b'], 'false_cause': ['\\b(happened after|coincidence|caused by)\\b']}, 'positive_keywords': ['\\b(strong buy|outperform|bullish|upward trend|high confidence|positive outlook)\\b'], 'negative_keywords': ['\\b(high risk|underperform|bearish|downward trend|low confidence|negative outlook|risky)\\b']}}, 'simulations': {'credit_rating_assessment': {'enabled': True, 'default_agents': ['fundamental_analysis_agent', 'risk_assessment_agent']}}, 'plugins': {'example_plugin': {'enabled': True, 'setting1': 'value1', 'setting2': 'value2'}}, 'default': {'communication_style': 'concise', 'knowledge_graph_integration': True, 'api_integration': True, 'update_frequency': 'daily', 'refinement_method': 'user_feedback', 'xai': {'enabled': True, 'method': 'shap'}, 'data_validation': {'enabled': True, 'rules': ['data_type_check', 'range_check', 'consistency_check']}, 'monitoring': {'enabled': True, 'metrics': ['response_time', 'accuracy', 'resource_usage']}}, 'skills': {'data_analysis': {'agents': ['market_sentiment_agent', 'macroeconomic_analysis_agent']}, 'risk_management': {'agents': ['risk_assessment_agent', 'geopolitical_risk_agent']}}, 'alerting': {'enabled': True, 'channels': ['email', 'sms', 'push_notification']}, 'communication': {'message_queue': {'enabled': True, 'host': 'localhost'}, 'api': {'enabled': True}}, 'user_preferences': None, 'updating': None, 'refinement': None, 'workflows': [{'name': 'investment_analysis_workflow', 'description': 'Analyze investment opportunities and generate recommendations.', 'trigger': 'user_query', 'steps': [{'agent': 'QueryUnderstandingAgent', 'input': 'user_query', 'output': 'relevant_agents', 'next_steps': [{'condition': 'len(relevant_agents) > 0', 'next_step': 'parallel_data_retrieval'}, {'condition': 'len(relevant_agents) == 0', 'next_step': 'handle_no_relevant_agents'}]}, {'name': 'parallel_data_retrieval', 'type': 'parallel', 'steps': [{'agent': '{agent}', 'input': 'user_query', 'output': '{agent}_data', 'loop_variable': 'agent', 'loop_source': 'relevant_agents'}]}, {'agent': 'ResultAggregationAgent', 'input': '{agent}_data', 'input_mapping': '[{% for agent in relevant_agents %}\n {{ agent }}_data\n{%- if not loop.last -%}, {%- endif -%} {%- endfor -%}]', 'output': 'aggregated_results', 'next_step': 'newsletter_generation'}, {'agent': 'NewsletterLayoutSpecialistAgent', 'input': 'aggregated_results', 'output': 'newsletter_content', 'next_step': 'end'}, {'name': 'handle_no_relevant_agents', 'agent': 'QueryUnderstandingAgent', 'input': 'user_query', 'output': 'error_message', 'next_step': 'end'}, {'name': 'end', 'type': 'end'}]}, {'name': 'risk_assessment_workflow', 'description': 'Perform a comprehensive risk assessment.', 'trigger': 'risk_assessment_request', 'steps': [{'agent': 'QueryUnderstandingAgent', 'input': 'risk_assessment_request', 'output': 'relevant_risk_agents', 'next_steps': [{'condition': 'len(relevant_risk_agents) > 0', 'next_step': 'parallel_risk_analysis'}, {'condition': 'len(relevant_risk_agents) == 0', 'next_step': 'handle_no_relevant_agents'}]}, {'name': 'parallel_risk_analysis', 'type': 'parallel', 'steps': [{'agent': '{risk_agent}', 'input': 'risk_assessment_request', 'output': '{risk_agent}_risk_data', 'loop_variable': 'risk_agent', 'loop_source': 'relevant_risk_agents'}]}, {'agent': 'RiskAssessmentAgent', 'input': '{risk_agent}_risk_data', 'input_mapping': '[{% for risk_agent in relevant_risk_agents %}\n {{ risk_agent }}_risk_data\n{%- if not loop.last -%}, {%- endif -%} {%- endfor -%}]', 'output': 'overall_risk_assessment', 'next_step': 'end'}, {'name': 'end', 'type': 'end'}]}, {'name': 'report_generation_workflow', 'description': 'Generate a report based on a user query.', 'trigger': 'user_query', 'steps': [{'agent': 'QueryUnderstandingAgent', 'input': 'user_query', 'output': 'relevant_agents', 'next_steps': [{'condition': 'len(relevant_agents) > 0', 'next_step': 'parallel_data_retrieval'}, {'condition': 'len(relevant_agents) == 0', 'next_step': 'handle_no_relevant_agents'}]}, {'name': 'parallel_data_retrieval', 'type': 'parallel', 'steps': [{'agent': '{agent}', 'input': 'user_query', 'output': '{agent}_data', 'loop_variable': 'agent', 'loop_source': 'relevant_agents'}]}, {'agent': 'ResultAggregationAgent', 'input': '{agent}_data', 'input_mapping': '[{% for agent in relevant_agents %}\n {{ agent }}_data\n{%- if not loop.last -%}, {%- endif -%} {%- endfor -%}]', 'output': 'aggregated_results', 'next_step': 'generate_report'}, {'name': 'generate_report', 'agent': 'ReportGeneratorAgent', 'input': 'aggregated_results', 'output': 'final_report', 'next_step': 'end'}, {'name': 'handle_no_relevant_agents', 'agent': 'QueryUnderstandingAgent', 'input': 'user_query', 'output': 'error_message', 'next_step': 'end'}, {'name': 'end', 'type': 'end'}]}], 'financial_news_api': {'bloomberg': None, 'reuters': None}, 'social_media_api': {'twitter': {'consumer_key': None, 'consumer_secret': None, 'access_token': None, 'access_token_secret': None}, 'facebook': None}, 'government_stats_api': {'bea_api_key': None, 'bls_api_key': None}, 'market_data_api': {'iex_cloud': None, 'alpha_vantage': None}, 'agent_settings': {'agent_id': 'CACM_Builder_Agent_v1', 'interface_type': 'Conversational_LLM', 'llm_provider': 'VertexAI', 'llm_model': 'gemini-1.5-pro-latest', 'api_key_env_var': 'CACM_ADK_LLM_API_KEY', 'max_context_tokens': 8192, 'default_persona': 'Expert Credit Analyst Assistant'}, 'ontology_service': {'type': 'Remote', 'endpoint_uri': 'https://ontology.yourcorp.com/credit_analysis/v2.1/', 'authentication': 'API_Key', 'auth_key_env_var': 'ONTOLOGY_SERVICE_API_KEY', 'cache_duration_minutes': 60}, 'template_library': {'type': 'Git_Repository', 'repository_url': 'https://git.yourcorp.com/cacm-templates.git', 'branch': 'main', 'access_token_env_var': 'GIT_ACCESS_TOKEN', 'local_sync_path': '/app/data/templates/'}, 'validation_service': {'schema_endpoint': 'https://validators.yourcorp.com/cacm/schema/v2.1/validate', 'semantic_endpoint': 'https://validators.yourcorp.com/cacm/semantic/v2.1/validate'}, 'compute_catalog': {'type': 'API_Endpoint', 'endpoint_uri': 'https://infra.yourcorp.com/compute-capabilities/v1/catalog', 'authentication': 'Service_Account'}, 'default_output_format': 'JSON-LD', 'cacm_registry': {'type': 'API_Endpoint', 'endpoint_uri': 'https://registry.yourcorp.com/cacm/v1/', 'authentication': 'OAuth'}, 'permissions_service': {'endpoint_uri': 'https://auth.yourcorp.com/permissions/check'}, 'feature_flags': {'enable_advanced_workflow_suggestions': True, 'enable_auto_documentation': False, 'use_beta_ontology_terms': False}, 'errors': {'DataNotFoundError': {'code': 101, 'message': 'The requested data could not be found.'}, 'AgentNotFoundError': {'code': 102, 'message': 'The requested agent is not registered.'}, 'InvalidInputError': {'code': 103, 'message': 'The input provided is invalid or could not be processed.'}, 'ConfigurationError': {'code': 104, 'message': 'A configuration error occurred.'}, 'FileReadError': {'code': 105, 'message': 'An error occurred while reading a file.'}, 'WorkflowExecutionError': {'code': 106, 'message': 'An error occurred while running the workflow.'}, 'AgentExecutionError': {'code': 107, 'message': 'An error occurred while running the agent.'}, 'LLMPluginError': {'code': 108, 'message': 'An error occurred with the LLM Plugin.'}}, 'version': 1.0, 'entities': {'Company': {'properties': {'name': 'str', 'sector': 'str', 'financials': 'dict', 'risk_rating': 'str'}}, 'Market': {'properties': {'name': 'str', 'region': 'str', 'sentiment': 'str'}}, 'Individual': {'properties': {'name': 'str', 'role': 'str', 'expertise': 'list'}}, 'Financial_Instrument': {'properties': {'name': 'str', 'type': 'str', 'market_data': 'dict'}}, 'Economic_Indicator': {'properties': {'name': 'str', 'value': 'number', 'date': 'date'}}, 'News_and_Events': {'properties': {'title': 'str', 'description': 'str', 'date': 'date', 'impact': 'str'}}}, 'relationships': {'is_subsidiary_of': {'source': 'Company', 'target': 'Company'}, 'competes_with': {'source': 'Company', 'target': 'Company'}, 'is_related_to': {'source': 'Entity', 'target': 'Entity'}, 'impacts': {'source': 'Entity', 'target': 'Entity'}}, 'constraints': {'unique_company_name': {'entity': 'Company', 'property': 'name'}, 'valid_risk_ratings': {'entity': 'Company', 'property': 'risk_rating', 'values': ['low', 'medium', 'high']}}, 'provider': 'mock', 'openai_model_name': 'gpt-4-turbo-preview', 'openai_temperature': 0.7, 'openai_max_tokens': 4096, 'anthropic_model_name': 'claude-3-opus-20240229', 'gemini_model_name': 'gemini-1.5-pro-latest', 'cohere_model_name': 'command-r-plus', 'huggingface_model_name': 'google/flan-t5-large', 'huggingface_use_pipeline': True, 'huggingface_device_map': 'auto', 'mock_model_name': 'apex-architect-mock-v1', 'mock_latency_ms': 50, 'security_policies': {'enforce_https': True, 'mask_pii': True, 'log_prompts': False, 'max_cost_per_day': 50.0, 'alert_on_key_exposure': True}, 'human_oversight': {'require_approval_for': ['execute_trade', 'publish_report', 'wire_transfer'], 'notification_channel': 'slack-ops', 'escalation_contact': 'ciso@adam-finance.net'}, 'machine_parameters': {'max_retries': 3, 'timeout_seconds': 60, 'cache_ttl_seconds': 3600, 'circuit_breaker_threshold': 5}, 'template': 'default', 'styles': {'font_family': 'sans-serif', 'font_size': '12px', 'primary_color': '#007bff', 'secondary_color': '#6c757d'}, 'sections': {'market_mayhem': {'title': 'Market Mayhem', 'show_sentiment_chart': True, 'show_macro_indicators': True}, 'key_news_and_events': {'title': 'Key News & Events', 'max_items': 5}, 'top_investment_ideas': {'title': 'Top Investment Ideas', 'max_ideas': 3, 'show_risk_assessment': True}, 'notable_signals_and_rumors': {'title': 'Notable Signals & Rumors', 'max_items': 3}, 'policy_impact_geopolitical_outlook': {'title': 'Policy Impact & Geopolitical Outlook', 'show_geopolitical_risk_map': True}, 'disclaimer': {'text': 'The information and recommendations provided in this newsletter are for informational purposes only and should not be construed as financial advice. Investing involves risk, and you could lose money. Consult with a qualified financial advisor before making any investment decisions.'}, 'deals_and_corporate_actions': {'title': 'Deals & Corporate Actions', 'max_items': 3}, 'earnings_watch': {'title': 'Earnings Watch', 'max_items': 5}, 'thematic_deep_dive': {'title': 'Thematic Deep Dive', 'topic': 'Artificial Intelligence'}, 'fun_tidbits_and_quotes': {'title': 'Fun Tidbits & Quotes'}, 'quirky_sign_off': {'text': 'Stay curious, stay invested!'}}, 'report_style': 'formal', 'company_report': {'sections': ['company_overview', 'financial_summary', 'fundamental_analysis', 'technical_analysis', 'risk_assessment', 'investment_thesis'], 'financial_summary': {'metrics': ['revenue', 'earnings_per_share', 'debt_to_equity_ratio']}, 'fundamental_analysis': {'valuation_models': ['dcf', 'comparable_company_analysis']}, 'risk_assessment': {'risk_factors': ['market_risk', 'credit_risk', 'liquidity_risk']}}, 'industry_report': {'sections': ['industry_overview', 'key_trends', 'competitive_landscape', 'growth_drivers', 'risks_and_challenges'], 'key_trends': ['trend_1', 'trend_2', 'trend_3'], 'competitive_landscape': {'companies': ['company_a', 'company_b', 'company_c']}}} tests/test_config_utils.py:102: AssertionError _______________ TestConfigUtils.test_load_app_config_basic_merge _______________ self = mock_load_config_func = @patch('core.utils.config_utils.load_config') def test_load_app_config_basic_merge(self, mock_load_config_func): def side_effect_loader(filepath): if 'api.yaml' in filepath: return {'api': {'host': 'test_host', 'port': 8080}} elif 'logging.yaml' in filepath: return {'logging': {'level': 'TEST_DEBUG'}} return {} mock_load_config_func.side_effect = side_effect_loader app_config = load_app_config() self.assertIn('api', app_config) > self.assertEqual(app_config['api']['host'], 'test_host') E AssertionError: '0.0.0.0' != 'test_host' E - 0.0.0.0 E + test_host tests/test_config_utils.py:78: AssertionError ________ TestConfigUtils.test_load_app_config_file_not_found_continues _________ self = mock_load_config_func = @patch('core.utils.config_utils.load_config') def test_load_app_config_file_not_found_continues(self, mock_load_config_func): def side_effect_loader(filepath): if 'config/api.yaml' == filepath: return None elif 'config/logging.yaml' == filepath: return {'logging': {'level': 'INFO_FROM_LOGGING_YAML'}} return {} mock_load_config_func.side_effect = side_effect_loader > with self.assertLogs(logger=None, level='WARNING') as cm: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_config_utils.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level WARNING or higher triggered on root _________________ TestConfigUtils.test_load_config_empty_yaml __________________ self = def test_load_config_empty_yaml(self): filepath = self._create_temp_yaml_file("empty.yaml") # Creates an empty file > with self.assertLogs(logger=None, level='WARNING') as cm: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_config_utils.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level WARNING or higher triggered on root ________________ TestConfigUtils.test_load_config_invalid_yaml _________________ self = def test_load_config_invalid_yaml(self): filepath = self._create_temp_yaml_file("invalid.yaml", content_str="key: value\n bad_indent: - item1") > with self.assertLogs(logger=None, level='ERROR') as cm: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_config_utils.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level ERROR or higher triggered on root ______________ TestConfigUtils.test_load_config_non_existent_file ______________ self = def test_load_config_non_existent_file(self): # Logging is done to the root logger by default in config_utils > with self.assertLogs(logger=None, level='ERROR') as cm: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_config_utils.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level ERROR or higher triggered on root ___________________ TestCyclicalAgents.test_reflector_agent ____________________ self = def test_reflector_agent(self): async def run_test(): # Mock the MessageBroker with patch('core.system.v22_async.async_agent_base.MessageBroker') as MockMessageBroker: mock_broker_instance = MockMessageBroker.get_instance.return_value # Instantiate the agent agent = ReflectorAgent(config={}) # Define a task task = {'payload': 'test'} # Execute the agent result = await agent.execute(task) # Assert the result self.assertEqual(result, task) # Run the async test > asyncio.run(run_test()) tests/test_cyclical_agents.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:195: in run return runner.run(main) ^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:118: in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/base_events.py:691: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ tests/test_cyclical_agents.py:26: in run_test self.assertEqual(result, task) E AssertionError: {'original_content_snippet': 'test...', 'cr[179 chars]ION'} != {'payload': 'test'} E + {'payload': 'test'} E - {'critique_notes': ['Content seems too brief for a detailed analysis.', E - 'No explicit sources cited. Risk of hallucination.'], E - 'original_content_snippet': 'test...', E - 'quality_score': 6.5, E - 'verification_status': 'NEEDS_REVISION'} _________________ TestDataRetrievalAgent.test_execute_kb_query _________________ self = mock_load_config = @patch('core.utils.config_utils.load_config') async def test_execute_kb_query(self, mock_load_config): mock_load_config.side_effect = [self.mock_config, {}] agent = DataRetrievalAgent(config={'knowledge_base': self.mock_kb}) result = await agent.execute({'data_type': 'access_knowledge_base', 'query': 'test_key'}) > self.assertEqual(result, "Test Value") E AssertionError: None != 'Test Value' tests/test_data_retrieval_agent.py:86: AssertionError _______________ TestDataRetrievalAgent.test_execute_risk_rating ________________ self = mock_load_data = mock_load_config = @patch('core.utils.config_utils.load_config') @patch('core.utils.data_utils.load_data') async def test_execute_risk_rating(self, mock_load_data, mock_load_config): mock_load_config.side_effect = [self.mock_config, self.mock_data_sources] #return config then data_source mock_load_data.return_value = {"ABC": "low"} agent = DataRetrievalAgent(config=self.mock_config) result = await agent.execute({'data_type': 'get_risk_rating', 'company_id': 'ABC'}) > self.assertEqual(result, "low") E AssertionError: None != 'low' tests/test_data_retrieval_agent.py:78: AssertionError _________________ TestDataRetrievalAgent.test_get_market_data __________________ self = mock_load_data = mock_load_config = @patch('core.utils.config_utils.load_config') @patch('core.utils.data_utils.load_data') def test_get_market_data(self, mock_load_data, mock_load_config): mock_load_config.side_effect = [self.mock_config, self.mock_data_sources] # return config then data_source mock_load_data.return_value = {"market_trends":["test"]} agent = DataRetrievalAgent(config=self.mock_config) result = agent.get_market_data() > self.assertEqual(result, {"market_trends":["test"]}) E AssertionError: None != {'market_trends': ['test']} tests/test_data_retrieval_agent.py:68: AssertionError ______________ TestDataRetrievalAgent.test_get_risk_rating_found _______________ self = mock_load_data = mock_load_config = @patch('core.utils.config_utils.load_config') @patch('core.utils.data_utils.load_data') # Mock load_data def test_get_risk_rating_found(self, mock_load_data, mock_load_config): mock_load_config.side_effect = [self.mock_config, self.mock_data_sources] #return config then data_source mock_load_data.return_value = {"ABC": "low", "DEF": "medium"} # Mocked data agent = DataRetrievalAgent(config=self.mock_config) rating = agent.get_risk_rating("ABC") > self.assertEqual(rating, "low") E AssertionError: None != 'low' tests/test_data_retrieval_agent.py:36: AssertionError ______________ TestDataSources.test_get_financial_news_headlines _______________ self = mock_get = @patch('core.data_sources.data_sources.requests.get') def test_get_financial_news_headlines(self, mock_get): """Test fetching financial news headlines.""" # Check if simulated data is being used if isinstance(self.data_sources.api_keys.get('financial_news_api'), dict) and \ 'simulated' in self.data_sources.api_keys['financial_news_api']: # Mock the API response with simulated data mock_response = Mock() mock_response.status_code = 200 mock_response.json.return_value = { 'articles': [ {'title': 'Tech Stock Soars on Earnings Report'}, {'title': 'Market Dips Amid Inflation Concerns'} ] } mock_get.return_value = mock_response else: # Use actual API keys and make real API calls pass # No need to mock the response > headlines = self.data_sources.get_financial_news_headlines(source="bloomberg", keywords=["technology"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_data_sources.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source = 'bloomberg', keywords = ['technology'], sentiment = None def get_financial_news_headlines(self, source="bloomberg", keywords=None, sentiment=None): if source == "bloomberg": #... (fetch and process news headlines from Bloomberg API) pass # Placeholder for actual implementation #... (add more news sources) > return headlines ^^^^^^^^^ E NameError: name 'headlines' is not defined core/data_sources/data_sources.py:48: NameError ___________________ TestDataSources.test_get_historical_news ___________________ self = mock_get = @patch('core.data_sources.data_sources.requests.get') def test_get_historical_news(self, mock_get): """Test fetching historical news data.""" #... (mock API response or use actual API based on configuration) historical_news = self.data_sources.get_historical_news( source="reuters", keywords=["inflation"], start_date="2023-01-01", end_date="2023-12-31" ) > self.assertIsNotNone(historical_news) E AssertionError: unexpectedly None tests/test_data_sources.py:56: AssertionError _______________________ TestDataSources.test_get_tweets ________________________ self = mock_search_tweets = @patch('core.data_sources.data_sources.tweepy.API.search_tweets') def test_get_tweets(self, mock_search_tweets): """Test fetching tweets from Twitter.""" #... (mock API response or use actual API based on configuration) tweets = self.data_sources.get_tweets(query="$AAPL", sentiment="positive") > self.assertIsNotNone(tweets) E AssertionError: unexpectedly None tests/test_data_sources.py:66: AssertionError ________________ TestDataUtils.test_load_data_unsupported_type _________________ self = def test_load_data_unsupported_type(self): with self.assertRaises(InvalidInputError) as context: > load_data({"type": "unsupported", "path": "some_file.xyz"}) tests/test_data_utils.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def load_data(source_config: Dict[str, Any], cache: bool = True) -> Optional[Union[Dict[str, Any], List[Any]]]: """ Loads data from a file (JSON or CSV) or a placeholder for an API, based on configuration. Args: source_config: A dictionary with 'type', 'path' (for files), 'provider' (for APIs). cache: Whether to use the in-memory cache. Returns: The loaded data, or None if an error occurs. """ data_type = source_config.get("type") file_path = source_config.get("path") provider = source_config.get("provider") # For API calls if data_type == "api": # Placeholder for API calls. In a real implementation, you'd have separate # API client classes (as discussed before) to handle the specifics of each API. logging.warning("API data source not yet implemented. Returning placeholder data.") return _get_api_placeholder_data(source_config) # Use a helper function if not file_path: logging.error("Invalid source configuration: 'path' is required for file-based sources.") raise InvalidInputError("Missing 'path' in source_config") file_path = Path(file_path) if not file_path.exists(): logging.error(f"Data file not found: {file_path}") > raise FileReadError(str(file_path), "File not found") E core.system.error_handler.FileReadError: Error Code 105: Error reading file 'some_file.xyz': File not found core/utils/data_utils.py:265: FileReadError ___________________ TestFinancialData.test_lakehouse_ingest ____________________ self = mock_ticker_class = @patch('core.financial_data.lakehouse.yf.Ticker') def test_lakehouse_ingest(self, mock_ticker_class): # Mock Ticker mock_ticker = MagicMock() # Create a sample DataFrame data = { 'Open': [100.0, 101.0], 'High': [102.0, 103.0], 'Low': [99.0, 100.0], 'Close': [101.0, 102.0], 'Volume': [1000, 2000], 'Dividends': [0.0, 0.0], 'Stock Splits': [0.0, 0.0] } index = pd.to_datetime(['2023-01-01', '2023-01-02']) > df = pd.DataFrame(data, index=index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_financial_data.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/frame.py:782: in __init__ mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:503: in dict_to_mgr return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:119: in arrays_to_mgr arrays, refs = _homogenize(arrays, index, dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:630: in _homogenize com.require_length_match(val, index) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([100., 101.]), index = Index([], dtype='object') def require_length_match(data, index: Index) -> None: """ Check the length of data matches the length of the index. """ if len(data) != len(index): > raise ValueError( "Length of values " f"({len(data)}) " "does not match length of index " f"({len(index)})" ) E ValueError: Length of values (2) does not match length of index (0) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/common.py:573: ValueError ___________________ TestFinancialData.test_metadata_storage ____________________ self = def test_metadata_storage(self): ticker = MarketTicker(symbol='AAPL', shortname='Apple', sector='Tech') > self.lakehouse.store_metadata([ticker]) tests/test_financial_data.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ core/financial_data/lakehouse.py:122: in store_metadata df = pd.DataFrame(data) ^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/frame.py:863: in __init__ mgr = arrays_to_mgr( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:119: in arrays_to_mgr arrays, refs = _homogenize(arrays, index, dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:630: in _homogenize com.require_length_match(val, index) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([], dtype=float64), index = RangeIndex(start=0, stop=1, step=1) def require_length_match(data, index: Index) -> None: """ Check the length of data matches the length of the index. """ if len(data) != len(index): > raise ValueError( "Length of values " f"({len(data)}) " "does not match length of index " f"({len(index)})" ) E ValueError: Length of values (0) does not match length of index (1) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/common.py:573: ValueError _____________________ TestGoldStandard.test_qa_validation ______________________ self = def test_qa_validation(self): try: import pandera except ImportError: self.skipTest("Pandera not installed") df = pd.DataFrame({ 'Open': [100.0], 'High': [105.0], 'Low': [95.0], 'Close': [100.0], 'Volume': [1000.0] }, index=pd.to_datetime(['2023-01-01'])) df.index.name = "Date" # Should pass try: > validate_dataframe(df) tests/test_gold_standard.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ core/gold_standard/qa.py:53: in validate_dataframe raise e core/gold_standard/qa.py:50: in validate_dataframe return schema.validate(df) ^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/api/pandas/container.py:117: in validate return self._validate( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/api/pandas/container.py:137: in _validate return self.get_backend(check_obj).validate( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/backends/pandas/container.py:105: in validate error_handler = self.run_checks_and_handle_errors( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/backends/pandas/container.py:171: in run_checks_and_handle_errors results = check(*args) ^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/backends/pandas/container.py:227: in run_schema_component_checks result = schema_component.validate( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/api/dataframe/components.py:148: in validate return self.get_backend(check_obj).validate( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/backends/pandas/components.py:112: in validate check_obj[column_name] = check_obj[column_name].fillna( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/generic.py:7316: in fillna value, method = validate_fillna_kwargs(value, method) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ value = None, method = None, validate_scalar_dict_value = True def validate_fillna_kwargs(value, method, validate_scalar_dict_value: bool = True): """ Validate the keyword arguments to 'fillna'. This checks that exactly one of 'value' and 'method' is specified. If 'method' is specified, this validates that it's a valid method. Parameters ---------- value, method : object The 'value' and 'method' keyword arguments for 'fillna'. validate_scalar_dict_value : bool, default True Whether to validate that 'value' is a scalar or dict. Specifically, validate that it is not a list or tuple. Returns ------- value, method : object """ from pandas.core.missing import clean_fill_method if value is None and method is None: > raise ValueError("Must specify a fill 'value' or 'method'.") E ValueError: Must specify a fill 'value' or 'method'. /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/util/_validators.py:293: ValueError During handling of the above exception, another exception occurred: self = def test_qa_validation(self): try: import pandera except ImportError: self.skipTest("Pandera not installed") df = pd.DataFrame({ 'Open': [100.0], 'High': [105.0], 'Low': [95.0], 'Close': [100.0], 'Volume': [1000.0] }, index=pd.to_datetime(['2023-01-01'])) df.index.name = "Date" # Should pass try: validate_dataframe(df) except Exception as e: > self.fail(f"Validation raised validation error: {e}") E AssertionError: Validation raised validation error: Must specify a fill 'value' or 'method'. tests/test_gold_standard.py:50: AssertionError _______________ TestHistoricalLoader.test_fetch_history_multiple _______________ self = mock_download = @patch('core.market_data.historical_loader.yf.download') def test_fetch_history_multiple(self, mock_download): # Mock multiple ticker response (MultiIndex columns) # Columns: (Price, Ticker) index = pd.to_datetime(['2023-01-01', '2023-01-02']) columns = pd.MultiIndex.from_product([['AAPL', 'MSFT'], ['Open', 'Close']], names=['Ticker', 'Price']) data = [[100, 101, 200, 201], [102, 103, 202, 203]] > df_mock = pd.DataFrame(data, index=index, columns=columns) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_historical_loader.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/frame.py:863: in __init__ mgr = arrays_to_mgr( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:119: in arrays_to_mgr arrays, refs = _homogenize(arrays, index, dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:630: in _homogenize com.require_length_match(val, index) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([100, 102]), index = Index([], dtype='object') def require_length_match(data, index: Index) -> None: """ Check the length of data matches the length of the index. """ if len(data) != len(index): > raise ValueError( "Length of values " f"({len(data)}) " "does not match length of index " f"({len(index)})" ) E ValueError: Length of values (2) does not match length of index (0) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/common.py:573: ValueError ________________ TestHistoricalLoader.test_fetch_history_single ________________ self = mock_download = @patch('core.market_data.historical_loader.yf.download') def test_fetch_history_single(self, mock_download): # Mock single ticker response data = { 'Open': [100.0, 101.0], 'High': [102.0, 103.0], 'Low': [99.0, 100.0], 'Close': [101.0, 102.0], 'Volume': [1000, 2000], 'Adj Close': [101.0, 102.0] } > df_mock = pd.DataFrame(data, index=pd.to_datetime(['2023-01-01', '2023-01-02'])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_historical_loader.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/frame.py:782: in __init__ mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:503: in dict_to_mgr return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:119: in arrays_to_mgr arrays, refs = _homogenize(arrays, index, dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:630: in _homogenize com.require_length_match(val, index) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([100., 101.]), index = Index([], dtype='object') def require_length_match(data, index: Index) -> None: """ Check the length of data matches the length of the index. """ if len(data) != len(index): > raise ValueError( "Length of values " f"({len(data)}) " "does not match length of index " f"({len(index)})" ) E ValueError: Length of values (2) does not match length of index (0) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/common.py:573: ValueError __________________ TestHistoricalLoader.test_save_to_parquet ___________________ self = def test_save_to_parquet(self): data = { 'Date': pd.to_datetime(['2023-01-01']), 'Ticker': ['AAPL'], 'Open': [100.0], 'High': [105.0], 'Low': [95.0], 'Close': [102.0], 'Volume': [1000000.0] } > df = pd.DataFrame(data) ^^^^^^^^^^^^^^^^^^ tests/test_historical_loader.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/frame.py:782: in __init__ mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:503: in dict_to_mgr return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:119: in arrays_to_mgr arrays, refs = _homogenize(arrays, index, dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:630: in _homogenize com.require_length_match(val, index) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([], dtype=float64), index = RangeIndex(start=0, stop=1, step=1) def require_length_match(data, index: Index) -> None: """ Check the length of data matches the length of the index. """ if len(data) != len(index): > raise ValueError( "Length of values " f"({len(data)}) " "does not match length of index " f"({len(index)})" ) E ValueError: Length of values (0) does not match length of index (1) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/common.py:573: ValueError ___________________ TestHistoricalLoader.test_validate_data ____________________ self = def test_validate_data(self): # Create valid dataframe data = { 'Date': pd.to_datetime(['2023-01-01']), 'Ticker': ['AAPL'], 'Open': [100.0], 'High': [105.0], 'Low': [95.0], 'Close': [102.0], 'Volume': [1000000.0] } > df = pd.DataFrame(data) ^^^^^^^^^^^^^^^^^^ tests/test_historical_loader.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/frame.py:782: in __init__ mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:503: in dict_to_mgr return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:119: in arrays_to_mgr arrays, refs = _homogenize(arrays, index, dtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/internals/construction.py:630: in _homogenize com.require_length_match(val, index) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([], dtype=float64), index = RangeIndex(start=0, stop=1, step=1) def require_length_match(data, index: Index) -> None: """ Check the length of data matches the length of the index. """ if len(data) != len(index): > raise ValueError( "Length of values " f"({len(data)}) " "does not match length of index " f"({len(index)})" ) E ValueError: Length of values (0) does not match length of index (1) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandas/core/common.py:573: ValueError ____________________ TestInstitutionalRadar.test_analytics _____________________ self = def test_analytics(self): analytics = InstitutionalRadarAnalytics(self.session) # Mocking data via analytics requires data in DB. # Since ingestion mock puts data, we can try to query it. # But ingestion mock in 'ingestion.py' might not insert meaningful data for analytics # if the XML parsing returns empty or dummy. # Let's manually insert a holding for testing analytics. # We need a filing first from core.institutional_radar.database import FilingEventDB, HoldingDetailDB from datetime import date import uuid filing_id = uuid.uuid4() fe = FilingEventDB( filing_id=filing_id, cik='0000000001', report_period=date(2025, 9, 30), filing_date=date(2025, 11, 14), accession_number='000-000', is_amendment=False ) self.session.add(fe) hd = HoldingDetailDB( holding_id=uuid.uuid4(), filing_id=filing_id, cusip='AAPL', shares=1000, value=200000, put_call=None ) self.session.add(hd) self.session.commit() # Run Analytics df = analytics.get_quarterly_holdings(2025, 3) self.assertFalse(df.empty) > self.assertEqual(len(df), 1) E AssertionError: 2 != 1 tests/test_institutional_radar.py:78: AssertionError ____________ TestInteractionLoop.test_process_input_agent_not_found ____________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff450ea8c20> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError ____________ TestInteractionLoop.test_process_input_data_not_found _____________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff4519c4c80> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError ____________ TestInteractionLoop.test_process_input_invalid_command ____________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff4519c5d30> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError _______________ TestInteractionLoop.test_process_input_kb_query ________________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff4519d8920> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError ____________ TestInteractionLoop.test_process_input_multiple_agents ____________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff4519daff0> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError ______________ TestInteractionLoop.test_process_input_risk_query _______________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff4519da390> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError _______________ TestInteractionLoop.test_process_input_updatekb ________________ self = def setUp(self): self.mock_config = { "interaction_loop": { "max_iterations": 5, "reprompt_strategy": "retry" }, "agents": { "QueryUnderstandingAgent": {}, "DataRetrievalAgent": {}, "ResultAggregationAgent": {} } } > self.mock_orchestrator = MagicMock(spec=AgentOrchestrator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_interaction_loop.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:2139: in __init__ _safe_super(MagicMixin, self).__init__(*args, **kw) /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:1121: in __init__ _safe_super(CallableMixin, self).__init__( /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:460: in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError('_mock_methods') raised in repr()] MagicMock object at 0x7ff4519db560> spec = spec_set = None, _spec_as_instance = False, _eat_self = False def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False, _eat_self=False): if _is_instance_mock(spec): > raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]') E unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=] /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:511: InvalidSpecError ________________ TestKnowledgeBase.test_query_case_insensitive _________________ self = def test_query_case_insensitive(self): self.kb.update("TeSt_KeY", "test_value") result = self.kb.query("test_key") > self.assertEqual(result, "test_value") E AssertionError: != 'test_value' tests/test_knowledge_base.py:29: AssertionError __________________ TestKnowledgeBase.test_query_existing_key ___________________ self = def test_query_existing_key(self): self.kb.update("test_key", "test_value") result = self.kb.query("test_key") > self.assertEqual(result, "test_value") E AssertionError: != 'test_value' tests/test_knowledge_base.py:14: AssertionError _________________ TestKnowledgeBase.test_query_nonexistent_key _________________ self = def test_query_nonexistent_key(self): result = self.kb.query("nonexistent_key") > self.assertIsNone(result) E AssertionError: is not None tests/test_knowledge_base.py:18: AssertionError ________________________ TestKnowledgeBase.test_update _________________________ self = def test_update(self): self.kb.update("test_key", "initial_value") self.kb.update("test_key", "updated_value") result = self.kb.query("test_key") > self.assertEqual(result, "updated_value") E AssertionError: != 'updated_value' tests/test_knowledge_base.py:24: AssertionError ____________________ TestCoreApiSecurity.test_error_leakage ____________________ self = def setUp(self): > self.app = app.test_client() ^^^^^^^^^^^^^^^^^ tests/test_legacy_api_security.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , use_cookies = True, kwargs = {}, cls = None def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient: """Creates a test client for this application. For information about unit testing head over to :doc:`/testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a ``with`` block to defer the closing down of the context until the end of the ``with`` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' Additionally, you may pass optional keyword arguments that will then be passed to the application's :attr:`test_client_class` constructor. For example:: from flask.testing import FlaskClient class CustomClient(FlaskClient): def __init__(self, *args, **kwargs): self._authentication = kwargs.pop("authentication") super(CustomClient,self).__init__( *args, **kwargs) app.test_client_class = CustomClient client = app.test_client(authentication='Basic ....') See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for ``with`` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. .. versionchanged:: 0.11 Added `**kwargs` to support passing additional keyword arguments to the constructor of :attr:`test_client_class`. """ cls = self.test_client_class if cls is None: > from .testing import FlaskClient as cls E ModuleNotFoundError: No module named 'flask.testing'; 'flask' is not a package /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/flask/app.py:722: ModuleNotFoundError _______________ TestDataFetcher.test_fetch_historical_data_daily _______________ self = def test_fetch_historical_data_daily(self): print(f"\nTesting fetch_historical_data (daily) for {self.ticker}...") data = self.fetcher.fetch_historical_data(self.ticker, period="5d", interval="1d") print(f"Data received: {len(data)} records") self.assertIsInstance(data, list) > self.assertTrue(data, "Historical data (daily) is empty") E AssertionError: [] is not true : Historical data (daily) is empty tests/test_live_data_fetcher.py:31: AssertionError ----------------------------- Captured stdout call ----------------------------- Testing fetch_historical_data (daily) for SPY... Data received: 0 records _____________ TestDataFetcher.test_fetch_historical_data_intraday ______________ self = def test_fetch_historical_data_intraday(self): print(f"\nTesting fetch_historical_data (intraday) for {self.ticker}...") # 1m data for 1d data = self.fetcher.fetch_historical_data(self.ticker, period="1d", interval="1h") print(f"Data received: {len(data)} records") self.assertIsInstance(data, list) > self.assertTrue(data, "Historical data (intraday) is empty") E AssertionError: [] is not true : Historical data (intraday) is empty tests/test_live_data_fetcher.py:43: AssertionError ----------------------------- Captured stdout call ----------------------------- Testing fetch_historical_data (intraday) for SPY... Data received: 0 records ___________ TestPoliticalLandscapeLoader.test_load_landscape_failure ___________ self = mock_get = @patch('core.data_sources.political_landscape.requests.get') def test_load_landscape_failure(self, mock_get): # Simulate network error mock_get.side_effect = Exception("Network Down") loader = PoliticalLandscapeLoader() landscape = loader.load_landscape() self.assertIn("US", landscape) # Should fall back to default data > self.assertIn("Executive orders on energy production.", landscape["US"]["recent_developments"][0]) E AssertionError: 'Executive orders on energy production.' not found in '[White House] Fact Sheet: President Donald J. Trump Takes Action to Win the 6G Race' tests/test_political_landscape.py:82: AssertionError ___________ TestPoliticalLandscapeLoader.test_load_landscape_success ___________ self = mock_get = @patch('core.data_sources.political_landscape.requests.get') def test_load_landscape_success(self, mock_get): # Mock Reuters response mock_response_reuters = MagicMock() mock_response_reuters.status_code = 200 mock_response_reuters.text = """

Political Article 1 - A very long headline for testing purposes

Political Article 2 - Another very long headline for testing purposes

""" # Mock White House response mock_response_wh = MagicMock() mock_response_wh.status_code = 200 mock_response_wh.text = """

WH Update 1: Official Statement

""" # Set up side_effect for requests.get to return different responses based on URL def side_effect(url, headers=None, timeout=None): if "reuters" in url: return mock_response_reuters elif "whitehouse" in url: return mock_response_wh return MagicMock(status_code=404) mock_get.side_effect = side_effect loader = PoliticalLandscapeLoader() landscape = loader.load_landscape() self.assertIn("US", landscape) self.assertEqual(landscape["US"]["president"], "Donald Trump") self.assertEqual(landscape["US"]["party"], "Republican") # Verify Context Layering self.assertIn("context_layering", landscape["US"]) self.assertEqual(landscape["US"]["context_layering"]["historical_context"]["previous_administration"]["president"], "Joe Biden") # Verify Geopolitical Dynamics self.assertIn("geopolitical_dynamics", landscape["US"]) self.assertIn("US_China_Decoupling", landscape["US"]["geopolitical_dynamics"]) # Verify Impact Ledger ledger = landscape["US"]["geopolitical_dynamics"]["US_China_Decoupling"]["impact_ledger"] self.assertIn("first_order", ledger) self.assertIn("second_order", ledger) self.assertIn("third_order", ledger) # Check if developments were scraped developments = landscape["US"]["recent_developments"] # We expect formatted strings like "[Reuters] ..." > self.assertTrue(any("Political Article 1" in d for d in developments)) E AssertionError: False is not true tests/test_political_landscape.py:69: AssertionError ______________ TestResultAggregationAgent.test_execute_empty_list ______________ self = def setUp(self): > self.agent = ResultAggregationAgent() ^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ResultAggregationAgent.__init__() missing 1 required positional argument: 'config' tests/test_result_aggregation_agent.py:10: TypeError _____________ TestResultAggregationAgent.test_execute_mixed_types ______________ self = def setUp(self): > self.agent = ResultAggregationAgent() ^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ResultAggregationAgent.__init__() missing 1 required positional argument: 'config' tests/test_result_aggregation_agent.py:10: TypeError ___________ TestResultAggregationAgent.test_execute_multiple_results ___________ self = def setUp(self): > self.agent = ResultAggregationAgent() ^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ResultAggregationAgent.__init__() missing 1 required positional argument: 'config' tests/test_result_aggregation_agent.py:10: TypeError ____________ TestResultAggregationAgent.test_execute_single_result _____________ self = def setUp(self): > self.agent = ResultAggregationAgent() ^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ResultAggregationAgent.__init__() missing 1 required positional argument: 'config' tests/test_result_aggregation_agent.py:10: TypeError ______________ TestResultAggregationAgent.test_execute_with_error ______________ self = def setUp(self): > self.agent = ResultAggregationAgent() ^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ResultAggregationAgent.__init__() missing 1 required positional argument: 'config' tests/test_result_aggregation_agent.py:10: TypeError ________________ TestSecretsUtils.test_get_api_key_empty_value _________________ self = @patch.dict(os.environ, {'TEST_API_KEY_EMPTY': ''}, clear=True) def test_get_api_key_empty_value(self): """Test that get_api_key returns None and logs a warning for an empty string value.""" > with self.assertLogs(logger=None, level='WARNING') as cm: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_secrets_utils.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level WARNING or higher triggered on root _________________ TestSecretsUtils.test_get_api_key_not_exists _________________ self = @patch.dict(os.environ, {}, clear=True) # Ensure the key is not set def test_get_api_key_not_exists(self): """Test that get_api_key returns None and logs a warning if the key does not exist.""" # Ensure 'TEST_API_KEY_NOT_EXISTS' is not in os.environ (covered by patch.dict with clear=True) # The logger in secrets_utils.py uses logging.warning, which goes to the root logger. # We need to capture logs from the logger where secrets_utils.py issues them. # If secrets_utils.py does `logging.getLogger(__name__)`, then it's 'core.utils.secrets_utils'. # If it does `logging.warning()`, it's the root logger. # The current implementation of secrets_utils.py uses `logging.warning`, # so we capture from the root logger. > with self.assertLogs(logger=None, level='WARNING') as cm: # logger=None captures root logger ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_secrets_utils.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level WARNING or higher triggered on root ______________ TestSecretsUtils.test_get_api_key_whitespace_value ______________ self = @patch.dict(os.environ, {'TEST_API_KEY_WHITESPACE': ' '}, clear=True) def test_get_api_key_whitespace_value(self): """Test that get_api_key returns None and logs a warning for a whitespace-only string value.""" > with self.assertLogs(logger=None, level='WARNING') as cm: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_secrets_utils.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/_log.py:84: in __exit__ self._raiseFailure( E AssertionError: no logs of level WARNING or higher triggered on root ____________ SimulationSecurityTestCase.test_run_invalid_simulation ____________ self = def setUp(self): self.app = create_app('testing') self.app_context = self.app.app_context() self.app_context.push() db.create_all() > self.client = self.app.test_client() ^^^^^^^^^^^^^^^^^^^^^^ tests/test_simulation_security.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , use_cookies = True, kwargs = {} cls = None def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient: """Creates a test client for this application. For information about unit testing head over to :doc:`/testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a ``with`` block to defer the closing down of the context until the end of the ``with`` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' Additionally, you may pass optional keyword arguments that will then be passed to the application's :attr:`test_client_class` constructor. For example:: from flask.testing import FlaskClient class CustomClient(FlaskClient): def __init__(self, *args, **kwargs): self._authentication = kwargs.pop("authentication") super(CustomClient,self).__init__( *args, **kwargs) app.test_client_class = CustomClient client = app.test_client(authentication='Basic ....') See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for ``with`` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. .. versionchanged:: 0.11 Added `**kwargs` to support passing additional keyword arguments to the constructor of :attr:`test_client_class`. """ cls = self.test_client_class if cls is None: > from .testing import FlaskClient as cls E ModuleNotFoundError: No module named 'flask.testing'; 'flask' is not a package /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/flask/app.py:722: ModuleNotFoundError _____________ SimulationSecurityTestCase.test_run_valid_simulation _____________ self = def setUp(self): self.app = create_app('testing') self.app_context = self.app.app_context() self.app_context.push() db.create_all() > self.client = self.app.test_client() ^^^^^^^^^^^^^^^^^^^^^^ tests/test_simulation_security.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , use_cookies = True, kwargs = {} cls = None def test_client(self, use_cookies: bool = True, **kwargs: t.Any) -> FlaskClient: """Creates a test client for this application. For information about unit testing head over to :doc:`/testing`. Note that if you are testing for assertions or exceptions in your application code, you must set ``app.testing = True`` in order for the exceptions to propagate to the test client. Otherwise, the exception will be handled by the application (not visible to the test client) and the only indication of an AssertionError or other exception will be a 500 status code response to the test client. See the :attr:`testing` attribute. For example:: app.testing = True client = app.test_client() The test client can be used in a ``with`` block to defer the closing down of the context until the end of the ``with`` block. This is useful if you want to access the context locals for testing:: with app.test_client() as c: rv = c.get('/?vodka=42') assert request.args['vodka'] == '42' Additionally, you may pass optional keyword arguments that will then be passed to the application's :attr:`test_client_class` constructor. For example:: from flask.testing import FlaskClient class CustomClient(FlaskClient): def __init__(self, *args, **kwargs): self._authentication = kwargs.pop("authentication") super(CustomClient,self).__init__( *args, **kwargs) app.test_client_class = CustomClient client = app.test_client(authentication='Basic ....') See :class:`~flask.testing.FlaskClient` for more information. .. versionchanged:: 0.4 added support for ``with`` block usage for the client. .. versionadded:: 0.7 The `use_cookies` parameter was added as well as the ability to override the client to be used by setting the :attr:`test_client_class` attribute. .. versionchanged:: 0.11 Added `**kwargs` to support passing additional keyword arguments to the constructor of :attr:`test_client_class`. """ cls = self.test_client_class if cls is None: > from .testing import FlaskClient as cls E ModuleNotFoundError: No module named 'flask.testing'; 'flask' is not a package /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/flask/app.py:722: ModuleNotFoundError ________________ TestAgentOrchestrator.test_agent_interactions _________________ self = def test_agent_interactions(self): """Test interactions and data flow between agents.""" mock_fund = AsyncMock() mock_tech = AsyncMock() mock_risk = AsyncMock() mock_fund.execute.return_value = {'some_data': 'some_value'} mock_tech.execute.return_value = {'other_data': 'other_value'} mock_risk.execute.return_value = {'risk_score': 0.5} self.orchestrator.agents = { "FundamentalAnalystAgent": mock_fund, "TechnicalAnalystAgent": mock_tech, "RiskAssessmentAgent": mock_risk } self.orchestrator.workflows = { "perform_company_analysis": { "agents": ["FundamentalAnalystAgent", "TechnicalAnalystAgent", "RiskAssessmentAgent"], "dependencies": { "RiskAssessmentAgent": ["FundamentalAnalystAgent", "TechnicalAnalystAgent"] } } } > asyncio.run(self.orchestrator.execute_workflow("perform_company_analysis", initial_context={'company_data': {'name': 'Example Corp'}})) tests/test_system.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:195: in run return runner.run(main) ^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = coro = def run(self, coro, *, context=None): """Run a coroutine inside the embedded event loop.""" if not coroutines.iscoroutine(coro): > raise ValueError("a coroutine was expected, got {!r}".format(coro)) E ValueError: a coroutine was expected, got /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:89: ValueError _________________ TestAgentOrchestrator.test_execute_workflow __________________ self = mock_analyze_sentiment = mock_analyze_macroeconomic_data = @patch('core.agents.market_sentiment_agent.MarketSentimentAgent.analyze_sentiment') @patch('core.agents.macroeconomic_analysis_agent.MacroeconomicAnalysisAgent.analyze_macroeconomic_data') def test_execute_workflow(self, mock_analyze_sentiment, mock_analyze_macroeconomic_data): """Test executing different workflows.""" # Test the "generate_newsletter" workflow mock_analyze_sentiment.return_value = "positive" mock_analyze_macroeconomic_data.return_value = {'GDP_growth': 2.5, 'inflation': 2.0} self.orchestrator.workflows = { "generate_newsletter": { "agents": ["MarketSentimentAgent", "MacroeconomicAnalysisAgent"], "dependencies": {} } } mock_sentiment_agent = AsyncMock() mock_sentiment_agent.execute.return_value = "positive" mock_macro_agent = AsyncMock() mock_macro_agent.execute.return_value = {'GDP_growth': 2.5, 'inflation': 2.0} self.orchestrator.agents = { "MarketSentimentAgent": mock_sentiment_agent, "MacroeconomicAnalysisAgent": mock_macro_agent } > result = asyncio.run(self.orchestrator.execute_workflow("generate_newsletter", initial_context={})) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_system.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:195: in run return runner.run(main) ^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = coro = def run(self, coro, *, context=None): """Run a coroutine inside the embedded event loop.""" if not coroutines.iscoroutine(coro): > raise ValueError("a coroutine was expected, got {!r}".format(coro)) E ValueError: a coroutine was expected, got /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:89: ValueError _____________ TestTokenUtils.test_check_token_limit_exceeds_limit ______________ self = def test_check_token_limit_exceeds_limit(self): config = {'token_limit': 5} > self.assertFalse(check_token_limit("This is a longer text", config=config, margin=1)) # 5 <= 5-1=4 is false ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: is not false tests/test_token_utils.py:23: AssertionError ______ TestTokenUtils.test_check_token_limit_near_limit_with_margin_fail _______ self = def test_check_token_limit_near_limit_with_margin_fail(self): config = {'token_limit': 5} > self.assertFalse(check_token_limit("This is text", config=config, margin=3)) # 3 <= 5-3=2 is false ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: is not false tests/test_token_utils.py:31: AssertionError ________________ TestTokenUtils.test_count_tokens_empty_string _________________ self = def test_count_tokens_empty_string(self): > self.assertEqual(count_tokens(""), 0) E AssertionError: != 0 tests/test_token_utils.py:9: AssertionError ________________ TestTokenUtils.test_count_tokens_simple_string ________________ self = def test_count_tokens_simple_string(self): > self.assertEqual(count_tokens("hello world"), 2) E AssertionError: != 2 tests/test_token_utils.py:12: AssertionError ______________ TestTokenUtils.test_count_tokens_with_punctuation _______________ self = def test_count_tokens_with_punctuation(self): > self.assertEqual(count_tokens("hello, world!"), 4) E AssertionError: != 4 tests/test_token_utils.py:15: AssertionError ______ TestV21OrchestratorLoading.test_orchestrator_loads_all_v21_agents _______ self = def test_orchestrator_loads_all_v21_agents(self): """ Tests if the refactored AgentOrchestrator can be instantiated and correctly loads all agents from the new v21 configuration. """ print("\nVerifying Adam v21.0 Orchestrator Agent Loading...") try: # The orchestrator now loads its own config, so we just need to create it orchestrator = AgentOrchestrator() # 1. Check that the orchestrator and its agents dictionary exist self.assertIsNotNone(orchestrator, "Orchestrator should not be None.") self.assertTrue(hasattr(orchestrator, 'agents'), "Orchestrator should have an 'agents' attribute.") self.assertIsInstance(orchestrator.agents, dict, "Orchestrator 'agents' should be a dictionary.") # 2. Check that agents were actually loaded self.assertGreater(len(orchestrator.agents), 0, "The 'agents' dictionary should not be empty.") # 3. Load the config manually to get the expected list of agents app_config = load_app_config() expected_agents = app_config.get("agent_network", {}).get("agent_directory", []) expected_agent_names = [agent['name'] for agent in expected_agents if isinstance(agent, dict) and 'name' in agent] print(f"Found {len(orchestrator.agents)} loaded agents out of {len(expected_agent_names)} expected agents.") # 4. Assert that the number of loaded agents matches the number of configured agents > self.assertEqual(len(orchestrator.agents), len(expected_agent_names), "Number of loaded agents should match the number in the config file.") E AssertionError: 2 != 0 : Number of loaded agents should match the number in the config file. tests/test_v21_orchestrator_loading.py:40: AssertionError During handling of the above exception, another exception occurred: self = def test_orchestrator_loads_all_v21_agents(self): """ Tests if the refactored AgentOrchestrator can be instantiated and correctly loads all agents from the new v21 configuration. """ print("\nVerifying Adam v21.0 Orchestrator Agent Loading...") try: # The orchestrator now loads its own config, so we just need to create it orchestrator = AgentOrchestrator() # 1. Check that the orchestrator and its agents dictionary exist self.assertIsNotNone(orchestrator, "Orchestrator should not be None.") self.assertTrue(hasattr(orchestrator, 'agents'), "Orchestrator should have an 'agents' attribute.") self.assertIsInstance(orchestrator.agents, dict, "Orchestrator 'agents' should be a dictionary.") # 2. Check that agents were actually loaded self.assertGreater(len(orchestrator.agents), 0, "The 'agents' dictionary should not be empty.") # 3. Load the config manually to get the expected list of agents app_config = load_app_config() expected_agents = app_config.get("agent_network", {}).get("agent_directory", []) expected_agent_names = [agent['name'] for agent in expected_agents if isinstance(agent, dict) and 'name' in agent] print(f"Found {len(orchestrator.agents)} loaded agents out of {len(expected_agent_names)} expected agents.") # 4. Assert that the number of loaded agents matches the number of configured agents self.assertEqual(len(orchestrator.agents), len(expected_agent_names), "Number of loaded agents should match the number in the config file.") # 5. Spot-check for the presence of key agents self.assertIn("QueryUnderstandingAgent", orchestrator.agents) self.assertIn("MetaCognitiveAgent", orchestrator.agents) # A new v21 agent self.assertIn("GeopoliticalRiskAgent", orchestrator.agents) # A re-added agent self.assertIn("industry_specialist_agent_technology", orchestrator.agents) # A re-added specialized agent print("Successfully verified that the AgentOrchestrator loads the new v21 agent configuration.") except Exception as e: > self.fail(f"AgentOrchestrator instantiation or agent loading failed with an exception: {e}") E AssertionError: AgentOrchestrator instantiation or agent loading failed with an exception: 2 != 0 : Number of loaded agents should match the number in the config file. tests/test_v21_orchestrator_loading.py:51: AssertionError ----------------------------- Captured stdout call ----------------------------- Verifying Adam v21.0 Orchestrator Agent Loading... Found 2 loaded agents out of 0 expected agents. ___________________________ test_deep_dive_pipeline ____________________________ @pytest.mark.asyncio async def test_deep_dive_pipeline(): # Mock LLMPlugin to avoid API key requirements and AgentOrchestrator initialization issues with patch('core.system.agent_orchestrator.LLMPlugin') as MockLLM: orchestrator = MetaOrchestrator() # We trigger the "Deep Dive" path query = "Perform a deep dive analysis on TestCorp" context = {"simulation_depth": "Deep"} > result = await orchestrator.route_request(query, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_v23_5_pipeline.py:16: TypeError _____________ TestV23Architect.test_meta_orchestrator_routing_high _____________ self = def test_meta_orchestrator_routing_high(self): """Test routing to Adaptive Flow (HIGH complexity).""" async def run_test(): # Setup Mocks self.mock_planner_instance.discover_plan.return_value = { "steps": [{"description": "test step"}], "symbolic_plan": "MATCH (n) RETURN n" } mock_app = MagicMock() mock_app.ainvoke = AsyncMock(return_value={"human_readable_status": "Success"}) self.mock_planner_instance.to_executable_graph.return_value = mock_app # Patch _reflect_on_result to verify it's called with patch.object(self.meta, '_reflect_on_result', new_callable=AsyncMock) as mock_reflect: mock_reflect.return_value = {"status": "Reflected"} # Execute result = await self.meta.route_request("Analyze complex risk for Apple", context={}) # Verify # The query "Analyze complex risk..." should trigger HIGH complexity logic # (via "analyze", "risk" keywords) -> _run_adaptive_flow self.mock_planner_instance.discover_plan.assert_called() self.mock_planner_instance.to_executable_graph.assert_called() mock_reflect.assert_called() > asyncio.run(run_test()) tests/test_v23_architect.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:195: in run return runner.run(main) ^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/runners.py:118: in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/jules/.pyenv/versions/3.12.12/lib/python3.12/asyncio/base_events.py:691: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ async def run_test(): # Setup Mocks self.mock_planner_instance.discover_plan.return_value = { "steps": [{"description": "test step"}], "symbolic_plan": "MATCH (n) RETURN n" } mock_app = MagicMock() mock_app.ainvoke = AsyncMock(return_value={"human_readable_status": "Success"}) self.mock_planner_instance.to_executable_graph.return_value = mock_app # Patch _reflect_on_result to verify it's called with patch.object(self.meta, '_reflect_on_result', new_callable=AsyncMock) as mock_reflect: mock_reflect.return_value = {"status": "Reflected"} # Execute > result = await self.meta.route_request("Analyze complex risk for Apple", context={}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: object MagicMock can't be used in 'await' expression tests/test_v23_architect.py:78: TypeError _____________________ TestV23Architect.test_planner_logic ______________________ self = def test_planner_logic(self): """Test the updated NeuroSymbolicPlanner logic directly.""" # We instantiate a real planner here, but mock its KG with patch("core.engine.neuro_symbolic_planner.UnifiedKnowledgeGraph") as MockKG: planner = NeuroSymbolicPlanner() planner.kg = MockKG.return_value planner.kg.graph = MagicMock() # Mock shortest_path to return a valid path # We patch networkx where it is imported in the module with patch("core.engine.neuro_symbolic_planner.nx.shortest_path", return_value=["StartNode", "MidNode", "EndNode"]): # Also mock get_edge_data on the graph object planner.kg.graph.get_edge_data.return_value = {"relation": "connected_to"} plan = planner.discover_plan("StartNode", "EndNode") self.assertIsNotNone(plan) > self.assertEqual(len(plan["steps"]), 2) # 2 edges ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError: 0 != 2 tests/test_v23_architect.py:57: AssertionError ___________________ TestV23Ingestion.test_realtime_pipe_mock ___________________ self = def test_realtime_pipe_mock(self): pipe = MockRealTimePipe(lakehouse_path=str(self.lakehouse_path), flush_threshold=10) pipe.listen() # Should generate data and flush # Check files > self.assertTrue(self.lakehouse_path.exists()) E AssertionError: False is not true tests/test_v23_ingestion.py:32: AssertionError _________________ TestV23Ingestion.test_sensitivity_generator __________________ self = def test_sensitivity_generator(self): # 1. Seed data with a drop # Create a parquet file with a drop > 5% region_dir = self.lakehouse_path / "region=US" / "year=2023" region_dir.mkdir(parents=True, exist_ok=True) data = { 'symbol': ['TEST', 'TEST'], 'Open': [100.0, 100.0], 'Close': [101.0, 90.0], # 2nd day drop 10% 'Volume': [1000, 2000], 'timestamp': [pd.Timestamp('2023-01-01'), pd.Timestamp('2023-01-02')] } df = pd.DataFrame(data) df.set_index('timestamp', inplace=True) df.to_parquet(region_dir / "seed.parquet") # 2. Run Generator pipeline = AgentImprovementPipeline(None, None) output_path = Path(self.temp_dir) / "training" / "sensitivity.jsonl" pipeline.generate_sensitivity_dataset( lakehouse_path=str(self.lakehouse_path), output_path=str(output_path) ) # 3. Verify Output self.assertTrue(output_path.exists()) with open(output_path, 'r') as f: lines = f.readlines() > self.assertEqual(len(lines), 1) E AssertionError: 0 != 1 tests/test_v23_ingestion.py:75: AssertionError _______________ TestV23Ingestion.test_universal_ingestor_parquet _______________ self = def test_universal_ingestor_parquet(self): # Create a parquet file file_path = Path(self.temp_dir) / "test.parquet" df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]}) df.to_parquet(file_path) # Run Ingestor ingestor = UniversalIngestor(state_file=str(Path(self.temp_dir)/"state.json")) # scan_and_process expects a list of paths ingestor.scan_and_process([str(self.temp_dir)]) > self.assertEqual(len(ingestor.artifacts), 1) E AssertionError: 0 != 1 tests/test_v23_ingestion.py:90: AssertionError _____________ TestV30Architecture.test_orchestrator_decomposition ______________ self = def test_orchestrator_decomposition(self): res = orchestrator.process_intent("I want to buy some AAPL", "User") > self.assertEqual(res['status'], "completed") E AssertionError: 'error' != 'completed' E - error E + completed tests/test_v30_architecture.py:26: AssertionError ------------------------------ Captured log call ------------------------------- WARNING EACI_Orchestrator:v30_orchestrator.py:88 Decomposition failed: No actionable steps identified. _________ TestWorkflowSystem.test_credit_risk_orchestrator_integration _________ self = def test_credit_risk_orchestrator_integration(self): """ Tests the refactored CreditRiskOrchestrator with mocked sub-agents to ensure it correctly wires and executes a dependent workflow. """ # Mock agents and their execute methods mock_news_agent = Mock() mock_news_agent.execute = MagicMock(return_value={"news_content": "bad news"}) mock_sentiment_agent = Mock() # This mock expects the result of the news agent as a keyword argument mock_sentiment_agent.execute = MagicMock(return_value={"sentiment": "negative"}) mock_config = { "sub_agents": {"financial_news_sub_agent": mock_news_agent}, "meta_agents": {"sentiment_analysis_meta_agent": mock_sentiment_agent} } orchestrator = CreditRiskOrchestrator(config=mock_config) final_result = orchestrator.execute(query="Test Company") # Verify that the news agent was called with the initial query > mock_news_agent.execute.assert_called_once_with(query="Test Company") tests/test_workflow_system.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , args = () kwargs = {'query': 'Test Company'} msg = "Expected 'execute' to be called once. Called 0 times." def assert_called_once_with(self, /, *args, **kwargs): """assert that the mock was called exactly once and that that call was with the specified arguments.""" if not self.call_count == 1: msg = ("Expected '%s' to be called once. Called %s times.%s" % (self._mock_name or 'mock', self.call_count, self._calls_repr())) > raise AssertionError(msg) E AssertionError: Expected 'execute' to be called once. Called 0 times. /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/mock.py:960: AssertionError ________________ TestWorkflowSystem.test_parallel_orchestrator _________________ self = def test_parallel_orchestrator(self): """ Tests that the ParallelOrchestrator runs independent tasks in parallel. """ orchestrator = ParallelOrchestrator(config={}) num_tasks = 3 longest_task_duration = num_tasks # Durations are 1, 2, 3 start_time = time.time() results = orchestrator.execute(num_tasks=num_tasks) execution_time = time.time() - start_time # Check that all tasks completed > self.assertEqual(len(results['data']), num_tasks) ^^^^^^^^^^^^^^^ E TypeError: 'coroutine' object is not subscriptable tests/test_workflow_system.py:27: TypeError =============================== warnings summary =============================== ../home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2371 /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2371: PydanticDeprecatedSince211: The `__get_pydantic_core_schema__` method of the `BaseModel` class is deprecated. If you are calling `super().__get_pydantic_core_schema__` when overriding the method on a Pydantic model, consider using `handler(source)` instead. However, note that overriding this method on models can lead to unexpected side effects. Deprecated in Pydantic V2.11 to be removed in V3.0. schema = annotation_get_schema(source, get_inner_schema) ../home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/_pandas_deprecated.py:157 /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pandera/_pandas_deprecated.py:157: FutureWarning: Importing pandas-specific classes and functions from the top-level pandera module will be **removed in a future version of pandera**. If you're using pandera to validate pandas objects, we highly recommend updating your import: ``` # old import import pandera as pa # new import import pandera.pandas as pa ``` If you're using pandera to validate objects from other compatible libraries like pyspark or polars, see the supported libraries section of the documentation for more information on how to import pandera: https://pandera.readthedocs.io/en/stable/supported_libraries.html To disable this warning, set the environment variable: ``` export DISABLE_PANDERA_IMPORT_WARNING=True ``` warnings.warn(_future_warning, FutureWarning) tests/test_agent_base.py: 1 warning tests/test_agent_loading_fix.py: 2 warnings tests/test_agent_orchestrator.py: 17 warnings tests/test_crisis_simulation_agent.py: 1 warning tests/test_cyclical_agents.py: 1 warning tests/test_data_retrieval_agent.py: 7 warnings tests/test_hnasp.py: 2 warnings tests/test_odyssey_flow.py: 3 warnings tests/test_political_landscape.py: 1 warning tests/test_query_understanding_agent.py: 5 warnings tests/test_regulatory_compliance_agent_integration.py: 1 warning tests/test_regulatory_compliance_guidance.py: 1 warning tests/test_regulatory_learning.py: 3 warnings tests/test_workflow_system.py: 2 warnings /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pydantic/main.py:253: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) tests/test_hnasp.py::TestHNASP::test_agent_execution /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pydantic/main.py:519: UserWarning: Pydantic serializer warnings: PydanticSerializationUnexpectedValue(Expected `list[ExecutionTrace]` - serialized value may not be as expected [input_value=ExecutionTrace(rule_id='b...estamp=None, error=None), input_type=ExecutionTrace]) return self.__pydantic_serializer__.to_json( tests/test_prompt_framework.py::test_framework /app/core/prompting/base_prompt_plugin.py:156: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). "timestamp": datetime.utcnow().isoformat(), tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_empty_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:589: RuntimeWarning: coroutine 'TestQueryUnderstandingAgent.test_execute_empty_query' was never awaited if method() is not None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_empty_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (>) return self.run(*args, **kwds) tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_kb_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:589: RuntimeWarning: coroutine 'TestQueryUnderstandingAgent.test_execute_kb_query' was never awaited if method() is not None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_kb_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (>) return self.run(*args, **kwds) tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_risk_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:589: RuntimeWarning: coroutine 'TestQueryUnderstandingAgent.test_execute_risk_query' was never awaited if method() is not None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_risk_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (>) return self.run(*args, **kwds) tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_unknown_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:589: RuntimeWarning: coroutine 'TestQueryUnderstandingAgent.test_execute_unknown_query' was never awaited if method() is not None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_unknown_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (>) return self.run(*args, **kwds) tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_updatekb_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:589: RuntimeWarning: coroutine 'TestQueryUnderstandingAgent.test_execute_updatekb_query' was never awaited if method() is not None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_query_understanding_agent.py::TestQueryUnderstandingAgent::test_execute_updatekb_query /home/jules/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (>) return self.run(*args, **kwds) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] tests/api/test_service_state.py:5: could not import 'torch': No module named 'torch' SKIPPED [1] tests/optimizers/test_core_optimizers.py:2: could not import 'torch': No module named 'torch' ERROR tests/test_cors_security.py::test_cors_restricted - ModuleNotFoundError... ERROR tests/test_cors_security.py::test_cors_allowed - ModuleNotFoundError: N... FAILED tests/test_agent_base.py::TestAgentBase::test_init_attributes - Attrib... FAILED tests/test_agents.py::TestMarketSentimentAgent::test_analyze_sentiment FAILED tests/test_agents.py::TestMarketSentimentAgent::test_analyze_sentiment_with_negative_news FAILED tests/test_agents.py::TestMarketSentimentAgent::test_analyze_sentiment_with_positive_news FAILED tests/test_agents.py::TestMacroeconomicAnalysisAgent::test_analyze_macroeconomic_data FAILED tests/test_agents.py::TestMacroeconomicAnalysisAgent::test_analyze_macroeconomic_data_with_high_gdp_growth FAILED tests/test_agents.py::TestGeopoliticalRiskAgent::test_assess_geopolitical_risks FAILED tests/test_anomaly_detection_agent.py::TestAnomalyDetectionAgent::test_detect_company_anomalies FAILED tests/test_api_log_privacy.py::TestLogLeak::test_log_leak - ModuleNotF... FAILED tests/test_api_v23_wiring.py::TestAdaptiveAPIReal::test_adaptive_query_initialization FAILED tests/test_awo_planner.py::TestAWOPlanner::test_parse_natural_language_plan_numbered FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_construct_generation_prompt FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_deploy_to_cloud_function FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_extract_json_resilience FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_full_validation FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_initialization FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_load_system_prompt FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_optimize_code - ... FAILED tests/test_code_alchemist.py::TestCodeAlchemist::test_validate_code_semantics FAILED tests/test_code_gen.py::test_code_gen_pipeline - AssertionError: asser... FAILED tests/test_config_utils.py::TestConfigUtils::test_load_app_config_agent_override FAILED tests/test_config_utils.py::TestConfigUtils::test_load_app_config_basic_merge FAILED tests/test_config_utils.py::TestConfigUtils::test_load_app_config_file_not_found_continues FAILED tests/test_config_utils.py::TestConfigUtils::test_load_config_empty_yaml FAILED tests/test_config_utils.py::TestConfigUtils::test_load_config_invalid_yaml FAILED tests/test_config_utils.py::TestConfigUtils::test_load_config_non_existent_file FAILED tests/test_cyclical_agents.py::TestCyclicalAgents::test_reflector_agent FAILED tests/test_data_retrieval_agent.py::TestDataRetrievalAgent::test_execute_kb_query FAILED tests/test_data_retrieval_agent.py::TestDataRetrievalAgent::test_execute_risk_rating FAILED tests/test_data_retrieval_agent.py::TestDataRetrievalAgent::test_get_market_data FAILED tests/test_data_retrieval_agent.py::TestDataRetrievalAgent::test_get_risk_rating_found FAILED tests/test_data_sources.py::TestDataSources::test_get_financial_news_headlines FAILED tests/test_data_sources.py::TestDataSources::test_get_historical_news FAILED tests/test_data_sources.py::TestDataSources::test_get_tweets - Asserti... FAILED tests/test_data_utils.py::TestDataUtils::test_load_data_unsupported_type FAILED tests/test_financial_data.py::TestFinancialData::test_lakehouse_ingest FAILED tests/test_financial_data.py::TestFinancialData::test_metadata_storage FAILED tests/test_gold_standard.py::TestGoldStandard::test_qa_validation - As... FAILED tests/test_historical_loader.py::TestHistoricalLoader::test_fetch_history_multiple FAILED tests/test_historical_loader.py::TestHistoricalLoader::test_fetch_history_single FAILED tests/test_historical_loader.py::TestHistoricalLoader::test_save_to_parquet FAILED tests/test_historical_loader.py::TestHistoricalLoader::test_validate_data FAILED tests/test_institutional_radar.py::TestInstitutionalRadar::test_analytics FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_agent_not_found FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_data_not_found FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_invalid_command FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_kb_query FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_multiple_agents FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_risk_query FAILED tests/test_interaction_loop.py::TestInteractionLoop::test_process_input_updatekb FAILED tests/test_knowledge_base.py::TestKnowledgeBase::test_query_case_insensitive FAILED tests/test_knowledge_base.py::TestKnowledgeBase::test_query_existing_key FAILED tests/test_knowledge_base.py::TestKnowledgeBase::test_query_nonexistent_key FAILED tests/test_knowledge_base.py::TestKnowledgeBase::test_update - Asserti... FAILED tests/test_legacy_api_security.py::TestCoreApiSecurity::test_error_leakage FAILED tests/test_live_data_fetcher.py::TestDataFetcher::test_fetch_historical_data_daily FAILED tests/test_live_data_fetcher.py::TestDataFetcher::test_fetch_historical_data_intraday FAILED tests/test_political_landscape.py::TestPoliticalLandscapeLoader::test_load_landscape_failure FAILED tests/test_political_landscape.py::TestPoliticalLandscapeLoader::test_load_landscape_success FAILED tests/test_result_aggregation_agent.py::TestResultAggregationAgent::test_execute_empty_list FAILED tests/test_result_aggregation_agent.py::TestResultAggregationAgent::test_execute_mixed_types FAILED tests/test_result_aggregation_agent.py::TestResultAggregationAgent::test_execute_multiple_results FAILED tests/test_result_aggregation_agent.py::TestResultAggregationAgent::test_execute_single_result FAILED tests/test_result_aggregation_agent.py::TestResultAggregationAgent::test_execute_with_error FAILED tests/test_secrets_utils.py::TestSecretsUtils::test_get_api_key_empty_value FAILED tests/test_secrets_utils.py::TestSecretsUtils::test_get_api_key_not_exists FAILED tests/test_secrets_utils.py::TestSecretsUtils::test_get_api_key_whitespace_value FAILED tests/test_simulation_security.py::SimulationSecurityTestCase::test_run_invalid_simulation FAILED tests/test_simulation_security.py::SimulationSecurityTestCase::test_run_valid_simulation FAILED tests/test_system.py::TestAgentOrchestrator::test_agent_interactions FAILED tests/test_system.py::TestAgentOrchestrator::test_execute_workflow - V... FAILED tests/test_token_utils.py::TestTokenUtils::test_check_token_limit_exceeds_limit FAILED tests/test_token_utils.py::TestTokenUtils::test_check_token_limit_near_limit_with_margin_fail FAILED tests/test_token_utils.py::TestTokenUtils::test_count_tokens_empty_string FAILED tests/test_token_utils.py::TestTokenUtils::test_count_tokens_simple_string FAILED tests/test_token_utils.py::TestTokenUtils::test_count_tokens_with_punctuation FAILED tests/test_v21_orchestrator_loading.py::TestV21OrchestratorLoading::test_orchestrator_loads_all_v21_agents FAILED tests/test_v23_5_pipeline.py::test_deep_dive_pipeline - TypeError: obj... FAILED tests/test_v23_architect.py::TestV23Architect::test_meta_orchestrator_routing_high FAILED tests/test_v23_architect.py::TestV23Architect::test_planner_logic - As... FAILED tests/test_v23_ingestion.py::TestV23Ingestion::test_realtime_pipe_mock FAILED tests/test_v23_ingestion.py::TestV23Ingestion::test_sensitivity_generator FAILED tests/test_v23_ingestion.py::TestV23Ingestion::test_universal_ingestor_parquet FAILED tests/test_v30_architecture.py::TestV30Architecture::test_orchestrator_decomposition FAILED tests/test_workflow_system.py::TestWorkflowSystem::test_credit_risk_orchestrator_integration FAILED tests/test_workflow_system.py::TestWorkflowSystem::test_parallel_orchestrator 86 failed, 90 passed, 2 skipped, 61 warnings, 2 errors in 17.02s Running tests: /home/jules/.pyenv/versions/3.12.12/bin/pytest tests/ Tests failed. STDERR: /home/jules/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/unraisableexception.py:33: RuntimeWarning: coroutine 'AgentBase.__init__..wrapped_execute' was never awaited gc.collect() RuntimeWarning: Enable tracemalloc to get the object allocation traceback 4 checks failed.