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

Backend: refactor optional binning in lineplot and the bin* family of fxns

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
停滞
技术栈
r

调研方向

Start by locating the lineplot, bin* and group* functions in the R package and compare their current arguments and behavior for numeric and date axes. Trace how unbinned results are represented, then identify the relevant tests or examples. Done means the optional binning design and the proposed bin* to group* refactor are implemented consistently without relying on placeholder bin widths.

由索引模型根据 Issue 内容生成。

描述

technical debt

so currently if you dont want the line plot binned youd have to pass it a binwidth of 0 for numeric x axes and 1 day for dates. the response you get is consistent w if the data were to have been binned, except bin start and bin end are the same value and the bin label is essentially useless.. that seems less than ideal.

additionally, the bin* family of fxns now have some members that take only an x-axis arg, and some that take both an x and y axis. that also seems less than ideal, and while on the surface unrelated to the prev problem im starting to suspect the solution to both problems might be the same..

i think to solve both these problems we should consider adding the concept of 'bin' optionally to any/all group* fxns where its even remotely relevant. if we can we should also refactor the two bin* fxns that only take an x-axis argument to take both x and y args and become group* fxns themselves. this is likely to become a bit involved and requires some careful thinking, so i didnt want to try to attach it to the lineplot deadline.

主要语言
R
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

VEuPathDB/plot.data 的其他 Issue

查看 VEuPathDB/plot.data 的全部 Issue

相似的 Issue

更多 R Issue

把新 issue 发到你的邮箱

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