Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#127 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Refatoração
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
r

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
R
Estrelas
1
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

  • Sem Dockerfile nem arquivo Docker Compose
  • Sem modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de VEuPathDB/plot.data

Todas as issues de VEuPathDB/plot.data

Issues semelhantes

Mais issues de R

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.