Giter Site home page Giter Site logo

Comments (5)

AlexLandau avatar AlexLandau commented on September 4, 2024

Side note: the GdlCleaner transformation should fix both of these (along with a few other common problems), but this is certainly something we could add to validation. It would be easy enough to check.

from ggp-base.

samschreiber avatar samschreiber commented on September 4, 2024

Awesome, thanks! What I'd ultimately like is to have any game that passes validation be good enough to publish (permanently!) on a public game repository with no manual review. We're not there yet, but that's my ultimate goal.

from ggp-base.

AlexLandau avatar AlexLandau commented on September 4, 2024

I have this implemented, but a lot of the test case games violate this, and it's not clear whether they're meant to test cases of games written like this or not (e.g. in test case 1a). Which is to say, do I "fix" those game descriptions, or update the StaticValidatorTest to say they're supposed to fail?

from ggp-base.

samschreiber avatar samschreiber commented on September 4, 2024

Is the malformed GDL essential to what's being tested? If so, indicate that those test cases shouldn't pass the StaticValidator since they're deliberately malformed. Otherwise, if the malformed rules could be rewritten in a way that they validate properly, but still test what they need to test, they should be rewritten.

I definitely think we should have test cases that include malformed rules, to make sure our players can handle them; but that doesn't mean that all (or most) of the test cases have to include malformed GDL, since many test cases will be testing things unrelated to malformed GDL.

from ggp-base.

AlexLandau avatar AlexLandau commented on September 4, 2024

See #30

from ggp-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.