Devographics / Devographics/Monorepo
[results/css2023/country_low_vs_high_income] runQuery Issue: Value "range_0_10" does not exist in "StateOfCssYearlySalaryID" enum. Did you mean the enum value "range_0_20", "range_20_40", "range_40_60", "range_60_80", or "range_80_100"?
- Dominant language
- TypeScript
- Stars
- 178
- Forks
- 55
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
### Edition ID
```
css2023
```
### Block ID
```
country_low_vs_high_income
```
### Filters:
```
{
"options": {
"showDefaultSeries": false,
"enableYearSelect": false,
"mode": "grid",
"queryOnLoad": false,
"cutoff": 1,
"cutoffType": "percent",
"limit": 20,
"mergeOtherBuckets": false,
"supportedModes": [
"grid",
"facet"
],
"preventQuery": false
},
"filters": [
{
"conditions": [
{
"fieldId": "yearly_salary",
"sectionId": "user_info",
"operator": "in",
"value": [
"range_0_10",
"range_10_30",
"range_30_50"
]
}
]
},
{
"conditions": [
{
"fieldId": "yearly_salary",
"sectionId": "user_info",
"operator": "in",
"value": [
"range_50_100",
"range_100_200",
"range_more_than_200"
]
}
]
}
]
}
```
### Query:
```
query {
surveys {
state_of_css {
css2023 {
user_info {
country_1: country {
id
comments {
currentEdition {
count
}
}
responses(filters: {user_info__yearly_salary:{in:[range_0_10,range_10_30,range_30_50]}}, parameters: {showNoAnswer:true,limit:20,cutoffPercent:1,facetCutoffPercent:1}) {
currentEdition {
_metadata {
axis1Sort {
property
order
}
axis2Sort {
property
order
}
}
completion {
count
percentageSurvey
total
}
average
percentiles {
p50
}
buckets {
count
id
percentageQuestion
percentageSurvey
hasInsufficientData
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
}
}
}
}
}
},
country_2: country {
id
comments {
currentEdition {
count
}
}
responses(filters: {user_info__yearly_salary:{in:[range_50_100,range_100_200,range_more_than_200]}}, parameters: {showNoAnswer:true,limit:20,cutoffPercent:1,facetCutoffPercent:1}) {
currentEdition {
_metadata {
axis1Sort {
property
order
}
axis2Sort {
property
order
}
}
completion {
count
percentageSurvey
total
}
average
percentiles {
p50
}
buckets {
count
id
percentageQuestion
percentageSurvey
hasInsufficientData
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
}
}
}
}
}
}
}
}
}
}
}
```
### Location
https://2023.stateofcss.com/en-US/demographics/?xField=yearly_salary&yField=years_of_experience&xSection=user_info&ySection=user_info&unit=percentage&respondentsPerDot=10&percentsPerDot=1&dotsPerLine=10&showCellCounts=true&showNoAnswer=false
### Timestamp
Wed Aug 12 2026 22:03:34 GMT+0545 (Nepal Time)
### Error:
```
{
"message": "Value \"range_0_10\" does not exist in \"StateOfCssYearlySalaryID\" enum. Did you mean the enum value \"range_0_20\", \"range_20_40\", \"range_40_60\", \"range_60_80\", or \"range_80_100\"?",
"locations": [
{
"line": 18,
"column": 63
}
],
"extensions": {
"code": "GRAPHQL_VALIDATION_FAILED"
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the repository for the country_low_vs_high_income block, yearly_salary, and StateOfCssYearlySalaryID to find the configuration or schema defining these filters. Reproduce the query from the issue or open the linked demographics URL, then update the stale salary values so the generated GraphQL query validates against the current enum; done means both salary groups load without GRAPHQL_VALIDATION_FAILED.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100