`highlevel_action_parser` does not parse # properly
評估
研究方向
Start with highlevel_action_parser in browsergym/core/action/parsers.py, the pyparsing grammar that the reproduction imports. Run the snippet from the issue to see search_string return an empty list for a send_msg_to_user string containing # headings. Pull request #394 is already open against this, so read it before starting. Done means the original call parses the action and the existing parser tests still pass.
由索引模型根據 Issue 內容生成。
描述
Reproduce code
import pyparsing as pp
from typing import Any
from browsergym.core.action.parsers import highlevel_action_parser, NamedArgument
highlevel_code = 'send_msg_to_user("Personalization is a powerful driver of sales in the retail industry, especially for regional players like Lee\'s Market that serve diverse and culturally \\"specific\\" communities. Here’s how personalization can drive sales and actionable strategies tailored for Lee’s Market:\n\n## How Personalization Drives Sales in Retail\n")'
print("highlevel (original):", highlevel_action_parser.search_string(highlevel_code))
Results
highlevel (original): []
- 主要語言
- Python
- 星號
- 644
- 分支
- 134
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ServiceNow/AgentLab 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 48/100
ServiceNow/AgentLab#340 ·
-
難度 5/5 一週以上 新手友好度 25/100
ServiceNow/AgentLab#339 ·
-
難度 4/5 3-5 天 新手友好度 22/100
ServiceNow/AgentLab#331 ·
-
難度 4/5 3-5 天 新手友好度 15/100
ServiceNow/AgentLab#329 ·
-
難度 3/5 1-2 天 新手友好度 25/100
ServiceNow/AgentLab#324 · 2 個 reaction ·
查看 ServiceNow/AgentLab 的全部 Issue
相似的 Issue
-
Context/namespace resources fail in-cluster: "Invalid kube-config file. No configuration found."未關閉
難度 2/5 1-3 小時 新手友好度 76/100
-
bug documentation
難度 1/5 1 小時以內 新手友好度 88/100
awslabs/visual-asset-management-system#880 ·
維護者通常 1 天內回覆
-
netbox status: needs owner type: documentation
難度 2/5 1-3 小時 新手友好度 74/100
netbox-community/netbox#23533 ·
維護者通常 1 天內回覆
-
app: scripts status: backlog type: documentation
難度 2/5 1-3 小時 新手友好度 86/100
netbox-community/netbox-scripts#68 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 91/100
marin-community/marin#10765 ·
維護者通常 1 天內回覆