Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

FormulaGrid may stop earlier than it needs to.

Abierto
#587 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Start by locating the FormulaGrid visualizer and tracing how it iterates over pixels and sequence entries. Reproduce the linked visualization, then check whether computation stops after a fixed number of sequence values or pixels. Done when the grid attempts to compute every pixel and tests cover cases where some pixels need out-of-range sequence values.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

visualizer

Visit https://numberscope.colorado.edu/?name=OEIS+A171884&ver=0.4.0&rev=7e7b423&viz=FormulaGrid&dimensions=200&backgroundColor=000000FF&speed=1024&fillFormula=%7Bcircle%3A%0A++yellow.mix%28black%2C+1-gcd%28A%28x%29%2CA%28y%29%29%2Fsqrt%28A%28x%29A%28y%29%29%29%2C%0Amouseover%3A+%5B%0A++++%27%40%27%2C+x%2C+%27%2C+%27%2C+y%2C+%27%3A+gcd%28%27%2C+A%28x%29%2C+%27%2C+%27%2C+A%28y%29%2C+%27%29+%3D+%27%2C+gcd%28A%28x%29%2CA%28y%29%29%0A%5D%7D&inset=0.8&seq=OEIS+A171884.

The visualization stops with only a quarter of the screen filled in; the rest has been left black. But mousing over, only sequence values up to a few hundred have been used, while there are over 13 thousand entries known. So it should be able to fill in the whole screen. Thus, there seems to be some sort of early stopping bug.

However, it seems that approximately 13 thousand pixels have been filled. This coincidence suggests that the visualizer is only trying to fill in one pixel per sequence entry, whether or not it actually needs on sequence entry per pixel. Presumably, the Formula Grid visualizer should attempt to fill in every pixel, since even if one pixel requires a sequence value out of range, later pixels might end up depending on earlier sequence values and so we should see that information. (And there's really no way to tell whether a given pixel will compute successfully - trying to analyze the formulas given would be hopeless. The best you can do is just try to compute them.)

Lenguaje dominante
TypeScript
Estrellas
10
Forks
18
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de numberscope/frontscope

Todos los issues de numberscope/frontscope

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.