Commit Graph

3 Commits

Author SHA1 Message Date
de3326ae85
fix: some KEY ERROR situation
- situation: in visualization tool, some False Negative case(receive
  adversarial instruction but return True(found)) will get the
  found_objid but None. So it will raise a Key error interrupt.

- Solution: found that there is a condition function in agent_obj.py
  return NOT_FOUND when detecting the found_objId is -1 but it doesn't
  detect None so that it always return FOUND when the found_objId is
  None. It doens't follow the rules. I add a new condition to check
  whether the found_objId is -1 or None

- Other: For run the testing scripts, the user can shoose to replace the
  exists output file.
2024-01-19 15:25:26 +08:00
b2dce6111e
feat: add new metric (found_sr & SSPL) 2023-12-11 14:34:45 +08:00
Shizhe Chen
747cf0587b init 2021-11-24 13:29:08 +01:00