Devographics / Monorepo

Monorepo containing the State of JS apps
surveyform-sigma.vercel.app
Other
119 stars 50 forks source link

[results/js2023/meta_frameworks_ratios] runQuery Issue: Float cannot represent non numeric value: NaN #384

Closed PhilipHassialis closed 2 weeks ago

PhilipHassialis commented 2 weeks ago

Edition ID

js2023

Block ID

meta_frameworks_ratios

Filters:

{
  "options": {
    "showDefaultSeries": false,
    "enableYearSelect": false,
    "mode": "grid",
    "queryOnLoad": false,
    "cutoff": 0,
    "cutoffType": "percent",
    "limit": 0,
    "mergeOtherBuckets": false,
    "preventQuery": false
  },
  "filters": [
    {
      "year": 2023,
      "conditions": [
        {
          "fieldId": "country",
          "sectionId": "user_info",
          "operator": "eq",
          "value": "GRC"
        }
      ]
    }
  ]
}

Query:


query {
    surveys {
    state_of_js {
        js2023 {
        meta_frameworks {

        meta_frameworks_ratios_1: _items {
            id
            entity {
    name
    nameHtml
    nameClean
    alias
    description
    descriptionHtml
    descriptionClean
    id
    entityType
    example {
      label
      language
      code
      codeHighlighted
    }
    avatar {
      url
    }
    homepage {
      url
    }
    youtube {
      url
    }
    twitter {
      url
    }
    twitch {
      url
    }
    rss {
      url
    }
    blog {
        url
    }
    mastodon {
        url
    }
    github {
        url
    }
    npm {
        url
    }
    mdn {
        url
    }
    caniuse {
        url
    }
    resources {
        url
        title
    }
}

            responses(facet: _sentiment, filters: {user_info__country:{eq:GRC}}) {
            allEditions {
                editionId
year
                completion {
                    count
                    percentageSurvey
                    total
                }
                average
                percentiles {
                    p50
                }

    ratios {
      awareness
      interest
      usage
      retention
      positivity
    }

            }
            }
        }
        }
        }
    }
    }
}

Location

https://2023.stateofjs.com/en-US/libraries/meta-frameworks/

Timestamp

Fri Jun 21 2024 11:54:23 GMT+0300 (Eastern European Summer Time)

Error:

  {
  "message": "Float cannot represent non numeric value: NaN",
  "locations": [
    {
      "line": 86,
      "column": 7
    }
  ],
  "path": [
    "surveys",
    "state_of_js",
    "js2023",
    "meta_frameworks",
    "meta_frameworks_ratios_1",
    7,
    "responses",
    "allEditions",
    1,
    "ratios",
    "retention"
  ],
  "extensions": {
    "code": "INTERNAL_SERVER_ERROR",
    "exception": {
      "message": "Float cannot represent non numeric value: NaN"
    }
  }
}