Coder Social home page Coder Social logo

kazimierz-256 / eventcalculuswebapp Goto Github PK

View Code? Open in Web Editor NEW
3.0 6.0 2.0 18.48 MB

An application for reasoning about future events from user-provided possibly partially contradictory situation calculus. BSD-2-Clause license.

License: BSD 2-Clause "Simplified" License

Prolog 20.92% HTML 11.85% JavaScript 59.65% CSS 1.37% Perl 0.36% Gnuplot 5.85%
knowledge-representation knowledge-base reasoning logic-programming prolog pengines material-design javascript vuejs event-calculus

eventcalculuswebapp's Introduction

Event Calculus Web App

Knowledge representation and reasoning logic documentation (written in polish):

Event Calculus Documentation


Folder z treścią

Część frontowa i backendowa znajduje się w folderze apps/concurrent.

Uruchomienie serwera

swipl run.pl Login i hasło podałem na slacku
Otwieramy w przeglądarce http://localhost:3030/

Uruchomienie testów

swipl apps/concurrent/test/all_tests.pl

Tworzenie Pull Requestów itp

Do każdego feature'a/ poprawki tworzymy osobnego branch'a. Jak wasz branch jest gotowy do mergowania z masterem to robimy tak:

  1. git checkout branchname
  2. git merge master albo git rebase master, w zaleznosci od preferencji
  3. sprawdź, czy na pewno wszystkie testy przechodzą poprzez wywołanie swipl apps/concurrent/test/all_tests.pl
  4. git push origin branchname
  5. stwórz PR
  6. obejrz dokladnie wsystkie zmiany => czy to jest dokladnie to co chcesz zmienić?
  7. popros o review innej osoby
  8. poczekaj na approve
  9. możesz zrobic merge.

Docelowy styl kodowania:

https://arxiv.org/pdf/0911.2899.pdf

eventcalculuswebapp's People

Contributors

brooda avatar kazimierz-256 avatar kubaczyzniejewski avatar michalpiesio avatar nottakenvalidname avatar olabknbit avatar tpalayda avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eventcalculuswebapp's Issues

logic_tree_parsing:logic_tree_from_text does not parse fluents with `_` correctly

While I was working on #24, I tried to create a Domain from:

Domain_Text = 'BUY causes OWN_TV or not OWN_TV
        WATCH1 causes HAPPY if OWN_TV
        WATCH2 causes not HAPPY if not OWN_TV
        STEAL causes OWN_TV if not OWN_TV'

But logic_tree_parsing:logic_tree_from_text would fail and not return a valid "effect part" for the first line of domain (OWN_TV or not OWN_TV).
Renaming OWN_TV to OwnTv resolved the errors, but I think the parser should work for underscores.

Do you agree @kazimierz-256 ?

I tried debugging it, but it seems that it is not parsed correctly by the --> operator with which I am not familiar.

Interfejs przyjazny dla użytkownika

Mam nadzieję żę te zmiany w GUI polepszą odbiór przez prowadzącą:

  • powiększyć czcionkę
  • aplikacja ma być "starego typu" - taka, że wasza babcia by ją obsłużyła;). Rezygnujemy z dynamicznie dodawanych pól, na korzyść przycisków new (np dla akcji w scenariuszu) i save zeby potwierdzic. Ja to widze tak: Mamy nasz formularz, który wygląda mega podobnie do naszego, ale jest bardziej zbity i aby go edytować należy kliknąć przycisk edit przy danym polu. Po Kliknięciu przycisku edit pokazuje nam się pole do wpisania tekstu - jesli to domena akcji to tak jak jest teraz, jeśli akcje/obserwacje w scenariuszu to mamy dodatkowo przyciski "dodaj nowy", ktore powoduja wyskoczenie nowego pola, zamiast dynamicznego pojawiania sie nowego pola. Wazne zeby aktualnie edytowane pole wyroznialo sie jakos od juz wypelnionych pol. Na koniec edycji nalezy kliknac przycisk save, i tez widac ze on dziala (np tekst sie wyszarza czy cos).
  • aktualizacja vuejsowego stanu na onkeyup zamiast domyślne ondefocus czy onsubmit cokolwiek to jest
  • ukryć pole DEBUG
  • domyślnie pola powinny być prefilled historyjką simply czy tego typu prostą

Add new story

Soup spilling story:
PickUpL causes HoldingL and (HoldingR iff not Spilled)
PickUpR causes HoldingR and (HoldingL iff not Spilled)

...so it is possible to implement soup story

Update js prescribed story for warsaw standoff

Please update javascript prescribed story of warsaw standoff so that it is identical to the .pl one, if it is not already.

If they are identical, simply say so and close this issue.

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.