You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently found several examples of outdated or buggy code snippets on the website (see #111, #109).
We should somehow avoid that and have a way to automatically catch that.
There are two cases. Case 1 is where the study contains a fully working config, like described in #111. There, we should load that example from code and have it in the study repo as one of the demos.
Case 2 is more difficult: when we have snippets. Those snippets often have shortcuts, e.g., "..." in them. I can't really see a good way to address this.
The text was updated successfully, but these errors were encountered:
For case 1: i think you could probably just have some sort of integration check that checks all of them to see if they pass the lint and maybe run? like this seems like a job for the CI rather than trying to merge everything into the demos
For case 2: trickier! when i've needed to do stuff like this in the past i've tagged things that i want to be under automation watch. One could imagine doing something like this in the types
And then extract the things marked with <fullExample> and check em. This means that the checking is opt-in, and you can specify things like what to check, like <fullExample:json> and so forth
We recently found several examples of outdated or buggy code snippets on the website (see #111, #109).
We should somehow avoid that and have a way to automatically catch that.
There are two cases. Case 1 is where the study contains a fully working config, like described in #111. There, we should load that example from code and have it in the study repo as one of the demos.
Case 2 is more difficult: when we have snippets. Those snippets often have shortcuts, e.g., "..." in them. I can't really see a good way to address this.
The text was updated successfully, but these errors were encountered: