`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
-
难度 2/5 1-3 小时 新手友好度 76/100
Graphify-Labs/graphify#4860 · 1 条评论 ·
维护者通常 1 天内回复
-
:bug: Bug
难度 2/5 1-3 小时 新手友好度 84/100
scikit-image/scikit-image#8377 ·
维护者通常 1 天内回复
-
Ingredient import validation accepts negative nutrient values and NaN可能已有人在做 @LukeSekai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
wger-project/wger#2564 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
apache/ponymail-foal#351 ·
-
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 4 天内回复