| [ | |
| { | |
| "error_type": "TypeError", | |
| "error_signature": "analysis() takes <N> positional arguments but 1 was given", | |
| "wrong_code": "c.analysis(\"수익성\")", | |
| "correct_code": "c.analysis(\"financial\", \"수익성\")", | |
| "tool_name": "analysis", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "TypeError", | |
| "error_signature": "analysis() missing 1 required positional argument", | |
| "wrong_code": "c.analysis(\"성장성\")", | |
| "correct_code": "c.analysis(\"financial\", \"성장성\")", | |
| "tool_name": "analysis", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "TypeError", | |
| "error_signature": "macro() got an unexpected keyword argument 'topic'", | |
| "wrong_code": "dartlab.macro(topic=\"종합\")", | |
| "correct_code": "dartlab.macro(\"종합\")", | |
| "tool_name": "macro", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "TypeError", | |
| "error_signature": "macro() got an unexpected keyword argument 'axis'", | |
| "wrong_code": "dartlab.macro(axis=\"사이클\")", | |
| "correct_code": "dartlab.macro(\"사이클\")", | |
| "tool_name": "macro", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "KeyError", | |
| "error_signature": "KeyError: 'cycle'", | |
| "wrong_code": "result[\"cycle\"]", | |
| "correct_code": "print(result.keys()) # 먼저 키 확인", | |
| "tool_name": "macro", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "KeyError", | |
| "error_signature": "KeyError: 'factors'", | |
| "wrong_code": "result[\"factors\"]", | |
| "correct_code": "print(result.keys()) # 먼저 키 확인", | |
| "tool_name": "macro", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "KeyError", | |
| "error_signature": "KeyError: 'narrative'", | |
| "wrong_code": "result[\"narrative\"]", | |
| "correct_code": "print(result.keys()) # 먼저 키 확인", | |
| "tool_name": "macro", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "AttributeError", | |
| "error_signature": "has no attribute 'empty'", | |
| "wrong_code": "df.empty", | |
| "correct_code": "len(df) == 0 # Polars는 .empty 없음", | |
| "tool_name": "polars", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "AttributeError", | |
| "error_signature": "has no attribute 'iterrows'", | |
| "wrong_code": "df.iterrows()", | |
| "correct_code": "df.iter_rows(named=True) # Polars 문법", | |
| "tool_name": "polars", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "AttributeError", | |
| "error_signature": "has no attribute 'sort_values'", | |
| "wrong_code": "df.sort_values(\"col\")", | |
| "correct_code": "df.sort(\"col\") # Polars 문법", | |
| "tool_name": "polars", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "AttributeError", | |
| "error_signature": "has no attribute 'to_dict'", | |
| "wrong_code": "df.to_dict()", | |
| "correct_code": "df.to_dicts() # Polars는 to_dicts()", | |
| "tool_name": "polars", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "MemoryError", | |
| "error_signature": "c.sections", | |
| "wrong_code": "c.sections", | |
| "correct_code": "c.show(\"IS\") # sections는 409MB. show(topic)으로 개별 조회", | |
| "tool_name": "company", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "TimeoutError", | |
| "error_signature": "scan join timeout", | |
| "wrong_code": "df1.join(df2, ...)", | |
| "correct_code": "# scan DataFrame join 금지 (타임아웃). 개별 scan 결과를 순차 해석", | |
| "tool_name": "scan", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "TypeError", | |
| "error_signature": "review() should be used only for explicit report requests", | |
| "wrong_code": "c.review(\"수익성\")", | |
| "correct_code": "c.analysis(\"financial\", \"수익성\") # 분석에는 analysis 사용", | |
| "tool_name": "review", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| }, | |
| { | |
| "error_type": "AttributeError", | |
| "error_signature": "has no attribute 'rename'", | |
| "wrong_code": "df.rename({\"old\": \"new\"})", | |
| "correct_code": "df.rename({\"old\": \"new\"}) # Polars rename은 동일하나 columns= 불필요", | |
| "tool_name": "polars", | |
| "frequency": 5, | |
| "last_seen": 1775313437.0288768 | |
| } | |
| ] |