Skip to main content
edited body
Source Link

Challenges whose validity vancan only be judged based on an external source

Based on this discussion

Avoid writing challenges like "scrap"scrape this website" or "use this API" or reproduce some website. Things on the internet change or go down all the time. If this happens all answers will be invalidated.

Instead, try to fix the relaventrelevant parts in your code. "Send a API request matching this JSON schema to this URL". Even if the URL no longer exists or has changed, you can still validate if submissions send something matching the schema.

For something like scrapping you can do the same. Include a text like "Assume the response will be formatted like the following" and then include a HTML sample.

Of course, if you are straying from a real site anyways you could consider simplifying these resources. If they don't have to match a real site you could remove parts that don't add much fun to the actual golfing.

Challenges whose validity van only be judged based on an external source

Based on this discussion

Avoid writing challenges like "scrap this website" or "use this API" or reproduce some website. Things on the internet change or go down all the time. If this happens all answers will be invalidated.

Instead, try to fix the relavent parts in your code. "Send a API request matching this JSON schema to this URL". Even if the URL no longer exists or has changed, you can still validate if submissions send something matching the schema.

For something like scrapping you can do the same. Include a text like "Assume the response will be formatted like the following" and then include a HTML sample.

Of course, if you are straying from a real site anyways you could consider simplifying these resources. If they don't have to match a real site you could remove parts that don't add much fun to the actual golfing.

Challenges whose validity can only be judged based on an external source

Based on this discussion

Avoid writing challenges like "scrape this website" or "use this API" or reproduce some website. Things on the internet change or go down all the time. If this happens all answers will be invalidated.

Instead, try to fix the relevant parts in your code. "Send a API request matching this JSON schema to this URL". Even if the URL no longer exists or has changed, you can still validate if submissions send something matching the schema.

For something like scrapping you can do the same. Include a text like "Assume the response will be formatted like the following" and then include a HTML sample.

Of course, if you are straying from a real site anyways you could consider simplifying these resources. If they don't have to match a real site you could remove parts that don't add much fun to the actual golfing.

Source Link

Challenges whose validity van only be judged based on an external source

Based on this discussion

Avoid writing challenges like "scrap this website" or "use this API" or reproduce some website. Things on the internet change or go down all the time. If this happens all answers will be invalidated.

Instead, try to fix the relavent parts in your code. "Send a API request matching this JSON schema to this URL". Even if the URL no longer exists or has changed, you can still validate if submissions send something matching the schema.

For something like scrapping you can do the same. Include a text like "Assume the response will be formatted like the following" and then include a HTML sample.

Of course, if you are straying from a real site anyways you could consider simplifying these resources. If they don't have to match a real site you could remove parts that don't add much fun to the actual golfing.