Search results

  1. fukurou

    👨‍💻 dev active task

    next battle : the Algorithm class import java.util.ArrayList; // a step by step plan to achieve a goal public class Algorithm { private String goal; private String representation; private ArrayList<Mutatable> algParts = new ArrayList<>(); public Algorithm(String goal...
  2. fukurou

    👨‍💻 dev active task

    task review (GrimoireMemento): the code line to remove numbers did not work I had to fix it mutant = obj was omitted in the loadMutations method which resulted in an infinite while loop don't know why the AbsDictionaryDB was implemented when there is already an AbsDictionaryDBShadow class ready
  3. fukurou

    🐍 python Chii's python suit

    GrimoireMemento from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum import re ''' Failure types: - ok: no fail - requip: item should be added - cloudian: algorithm goes to stand by in its Dclass - fail: no input ''' class enumFail(Enum): fail =...
  4. fukurou

    👨‍💻 dev active task

  5. fukurou

    [MEDIA]

  6. fukurou

    [MEDIA]

  7. fukurou

    [MEDIA]

  8. fukurou

    🐍 python Chii's python suit

    PlayGround (not core class but high use in skills) this class helps with time related methods import datetime from datetime import timedelta import calendar from enum import Enum, auto class enumTimes(Enum): DATE = auto() DAY = auto() YEAR = auto() HOUR = auto() MINUTES =...
  9. fukurou

    🐍 python Chii's python suit

    Person class Person(): def __init__(self): self.name = "" self.active = False self.phone = "" self.skill = "" self.profession = "" self.jutsu = "hadouken" # location self.email = "" self.id = "" @property def...
  10. fukurou

    🐍 python Chii's python suit

    APVerbatim from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum ''' Failure types: - ok: no fail - requip: item should be added - cloudian: algorithm goes to stand by in its Dclass - fail: no input ''' class enumFail(Enum): fail = "fail" requip...
  11. fukurou

    🐍 python Chii's python suit

    APSay from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum ''' Failure types: - ok: no fail - requip: item should be added - cloudian: algorithm goes to stand by in its Dclass - fail: no input ''' class enumFail (Enum): fail = "fail" requip =...
  12. fukurou

    🐍 python Chii's python suit

    Mutatable from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum ''' ENUMFAIL CLASS ''' class enumFail(Enum): fail = "fail" # no input requip = "requip" # item should be added dequip = "dequip" cloudian = "cloudian" # algorithm goes to...
  13. fukurou

    🐍 python Chii's python suit

    AbsDictionaryDBShadow from abc import ABC, abstractmethod class AbsDictionaryDB(ABC): @abstractmethod def save(self, key: str, value: str): '''Returns action string''' pass @abstractmethod def load(self, key: str) -> str: '''TODO set to return null as...
  14. fukurou

    🐍 python Chii's python suit

    AbsDictionaryDB from abc import ABC, abstractmethod class AbsDictionaryDB(ABC): @abstractmethod def save(key: str, value: str): '''save to DB''' pass @abstractmethod def load(key: str) -> str: '''set to return "null" as default if key not found !!!'''...
  15. fukurou

    [MEDIA]

  16. fukurou

    👨‍💻 dev active task

    mock python classes for testing the GrimoireMemento : class t1(Mutatable, ABC): def mutation(self) -> Mutatable: print("t1 mutating into t2") return t2() def clone(self) -> Mutatable: print("t1 cloning another t1") return t1() class t2(Mutatable, ABC)...
  17. fukurou

    [MEDIA]

  18. fukurou

    👨‍💻 dev active task

    import java.util.Hashtable; public class GrimoireMemento { //class has been modified, only use chi adaptor for mutation objects to enable save load of final mutations private Hashtable<String, String> rootToAPNumDic = new Hashtable<>(); private Hashtable<String, Mutatable> APNumToObjDic...
  19. fukurou

    [MEDIA]

  20. fukurou

    [MEDIA]

Top