Giter Club home page Giter Club logo

aind-planning's Issues

add path in test scripts

ModuleNotFoundError: No module named 'aimacode'

This line doesn't work.
sys.path.append(os.path.join(os.path.dirname(parent), "aimacode"))
Replace it by
sys.path.append(os.path.dirname(parent))

Instance variable gone after refactoring, but comments still indicate its presence

In the commit on Apr 19 there was a change named:

But comments in code on master branch still indicate its presence:
https://github.com/udacity/AIND-Planning/blob/master/my_planning_graph.py#L65

Instance variables calculated:
            literal: expr
                    fluent in its literal form including negative operator if applicable

This leads to confusion when implementing h_levelsum method in my_planning_graph.py as we need to perform goal checks at each level against the same PgNode_s instances. https://github.com/udacity/AIND-Planning/blob/master/my_planning_graph.py#L476

BTW I've even got code review rejected related to this issue as suggestion by the reviewer uses .literal in a conditional.

test_competing_needs_mutex looks confused.

na1 and na2 have empty precondition. How this test case can assert them competing_needs_mutex() == false, then mutexify(na3, and na4), then assert competing_needs_mutex() == true.

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.