Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
seanzhou1996 opened this issue Sep 6, 2024 · 0 comments

Comments

@seanzhou1996
Copy link

Edition ID

js2023

Block ID

front_end_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": "HKG"
        }
      ]
    }
  ]
}

Query:


query {
  surveys {
  state_of_js {
      js2023 {
      front_end_frameworks {
          
      front_end_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:HKG}}, parameters: {cutoffPercent:0,facetCutoffPercent:0,limit:0}) {
          allEditions {
              editionId
year
              completion {
                  count
                  percentageSurvey
                  total
              }
              average
              percentiles {
                  p50
              }
              
  ratios {
    awareness
    interest
    usage
    retention
    positivity
  }

              
          }
          }
      }
      }
      }
  }
  }
}

Location

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

Timestamp

Fri Sep 06 2024 11:36:30 GMT+0800 (Hong Kong Standard Time)

Error:

{
"message": "Float cannot represent non numeric value: NaN",
"locations": [
  {
    "line": 83,
    "column": 7
  }
],
"path": [
  "surveys",
  "state_of_js",
  "js2023",
  "front_end_frameworks",
  "front_end_frameworks_ratios_1",
  1,
  "responses",
  "allEditions",
  1,
  "ratios",
  "awareness"
],
"extensions": {
  "code": "INTERNAL_SERVER_ERROR",
  "exception": {
    "message": "Float cannot represent non numeric value: NaN"
  }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant