Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

`highlevel_action_parser` does not parse # properly

未关闭
#296 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@shreyas1903 已经在做这个了。

开始于 2026年7月8日。

  • #394 来自 @shreyas1903 —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
22/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
python
领域
backend

调研方向

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 内容生成。

描述

bug

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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ServiceNow/AgentLab 的其他 Issue

查看 ServiceNow/AgentLab 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。