Comments (9)
Haven't found instances of this in the large 500 agents test SurfCoastShirePopulationSubgroupsTest
. The closest I got was this where it seems that ActNow
is happening before InitialResponse
but it is not (just logging is out of order in that timestep):
Time -0001 VisitorDaytime 417 : memory:-1:BELIEVED:DEPENDENTS_INFO:null
Time 50402 VisitorDaytime 417 : memory:50402:PERCEIVED:emergency_message:ADVICE,13 vehicles are attending to the fire north of Anglesea
Time 50402 VisitorDaytime 417 : memory:50402:BELIEVED:RESPONSE_BAROMETER_MESSAGES_CHANGED=0.1
Time 54002 VisitorDaytime 417 : memory:54002:PERCEIVED:emergency_message:WATCH_AND_ACT,Bushfire north of Anglesea not under control yet
Time 54002 VisitorDaytime 417 : memory:54002:BELIEVED:RESPONSE_BAROMETER_MESSAGES_CHANGED=0.2
Time 54011 VisitorDaytime 417 : memory:54011:PERCEIVED:field_of-view:sighted_embers
Time 54011 VisitorDaytime 417 : memory:54011:BELIEVED:RESPONSE_BAROMETER_FIELD_OF_VIEW_CHANGED=0.3
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:INITIAL_RESPONSE_THRESHOLD_BREACHED
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:FINAL_RESPONSE_THRESHOLD_BREACHED
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:INITIAL_AND_FINAL_RESPONSE_THRESHOLDS_BREACHED_TOGETHER
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:TRIGGER_INITIAL_RESPONSE_NOW
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:TRIGGER_FINAL_RESPONSE_NOW
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanGoHomeThenLeave=true
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanLeaveNow=true
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanDoNothing=true
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:GoalGotoEvacPlace|PlanGotoEvacPlace=true
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:GOTO_LOCATION:(NSP Surf Club, coords=759414.662987548,5729942.34603638)
Time 54011 VisitorDaytime 417 : memory:54011:ACTIONED:drive_to:(NSP Surf Club, coords=759414.662987548,5729942.34603638):25607m away
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:InitialResponse|PlanGotoDependentsIfNearby=false
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:InitialResponse|PlanGoHomeIfDependentsAfar=false
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:InitialResponse|PlanInitialResponseWithoutDependents=true
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:IS_PLAN_APPLICABLE:InitialResponse|PlanDoNothing=true
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:DONE_FOR_NOW
Time 54011 VisitorDaytime 417 : memory:54011:DECIDED:GOTO_LOCATION:(NSP Surf Club, coords=759414.662987548,5729942.34603638)
Time 54011 VisitorDaytime 417 : memory:54011:ACTIONED:drive_to:(NSP Surf Club, coords=759414.662987548,5729942.34603638):25607m away
Time 55509 VisitorDaytime 417 : memory:55509:PERCEIVED:arrived:4378-4380-4382-4384
Time 55509 VisitorDaytime 417 : memory:55509:BELIEVED:LAST_ENV_ACTION_STATE=PASSED
Time 55509 VisitorDaytime 417 : memory:55509:BELIEVED:DISTANCE_TO_LOCATION:(NSP Surf Club, coords=759414.662987548,5729942.34603638):0m
Time 55509 VisitorDaytime 417 : memory:55509:BELIEVED:SAFE
from ees.
MIght be this is no longer an issue but leaving open for now.
from ees.
From @osbornejr on August 26, 2018 4:7
Do you reproduce the output I posted above on the referenced commit? Even if it is unlikely, it is worrying that it can happen-- whatever process is going on the result is an agent ignoring their dependents.
from ees.
I just tried this. In that commit the random seed was not getting set correctly so the results are non-deterministic. I ran the test four times and got four slightly different logs but Resident 3
went to the dependents each time. Can't say I can reproduce this one. Can you @osbornejr?
from ees.
From @osbornejr on August 26, 2018 12:33
As of latest commit, am still getting this behaviour. Hard to pin down though because it doesn't happen every time or with the same resident every time. Here is a read out of resident 4 on one run:
Time -0001 Resident 4 : memory:-1:BELIEVED:DEPENDENTS_INFO:(Dependent, coords=778707.91,5745384.49), last visited at time=-1.0 Time 45002 Resident 4 : memory:45002:PERCEIVED:emergency_message:ADVICE,Emergency services are attending to a fire north of Anglesea Time 45002 Resident 4 : memory:45002:BELIEVED:RESPONSE_BAROMETER_MESSAGES_CHANGED=0.1 Time 50402 Resident 4 : memory:50402:PERCEIVED:emergency_message:ADVICE,13 vehicles are attending to the fire north of Anglesea Time 50402 Resident 4 : memory:50402:BELIEVED:RESPONSE_BAROMETER_MESSAGES_CHANGED=0.1 Time 52251 Resident 4 : memory:52251:PERCEIVED:field_of-view:sighted_embers Time 52251 Resident 4 : memory:52251:BELIEVED:RESPONSE_BAROMETER_FIELD_OF_VIEW_CHANGED=0.3 Time 52251 Resident 4 : memory:52251:DECIDED:INITIAL_RESPONSE_THRESHOLD_BREACHED Time 52251 Resident 4 : memory:52251:DECIDED:FINAL_RESPONSE_THRESHOLD_BREACHED Time 52251 Resident 4 : memory:52251:DECIDED:INITIAL_AND_FINAL_RESPONSE_THRESHOLDS_BREACHED_TOGETHER Time 52251 Resident 4 : memory:52251:DECIDED:TRIGGER_INITIAL_RESPONSE_NOW Time 52251 Resident 4 : memory:52251:DECIDED:TRIGGER_FINAL_RESPONSE_NOW Time 52251 Resident 4 : memory:52251:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanGoHomeThenLeave=false Time 52251 Resident 4 : memory:52251:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanLeaveNow=true Time 52251 Resident 4 : memory:52251:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanDoNothing=true Time 52251 Resident 4 : memory:52251:DECIDED:IS_PLAN_APPLICABLE:GoalGotoEvacPlace|PlanGotoEvacPlace=true Time 52251 Resident 4 : memory:52251:DECIDED:GOTO_LOCATION:(Torquay Foreshore, coords=790771.0,5752462.0) Time 52251 Resident 4 : memory:52251:ACTIONED:drive_to:(Torquay Foreshore, coords=790771.0,5752462.0):18408m away Time 53189 Resident 4 : memory:53189:PERCEIVED:arrived:41943-41945-41947-41949-41951-41953-41955-41957-41959-41961-41963-41965-41967-41969-41971 Time 53189 Resident 4 : memory:53189:BELIEVED:LAST_ENV_ACTION_STATE=PASSED Time 53189 Resident 4 : memory:53189:BELIEVED:DISTANCE_TO_LOCATION:(Torquay Foreshore, coords=790771.0,5752462.0):0m Time 53189 Resident 4 : memory:53189:BELIEVED:SAFE Time 53189 Resident 4 : memory:53189:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanGoHomeThenLeave=false Time 53189 Resident 4 : memory:53189:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanLeaveNow=true Time 53189 Resident 4 : memory:53189:DECIDED:IS_PLAN_APPLICABLE:ActNow|PlanDoNothing=true Time 53189 Resident 4 : memory:53189:DECIDED:IS_PLAN_APPLICABLE:GoalGotoEvacPlace|PlanGotoEvacPlace=true Time 53189 Resident 4 : memory:53189:DECIDED:GOTO_LOCATION:(Torquay Foreshore, coords=790771.0,5752462.0) Time 53189 Resident 4 : memory:53189:BELIEVED:DISTANCE_TO_LOCATION:(Torquay Foreshore, coords=790771.0,5752462.0):0m Time 53189 Resident 4 : memory:53189:BELIEVED:SAFE Time 64805 Resident 4 : memory:64805:PERCEIVED:field_of-view:sighted_embers Time 65710 Resident 4 : memory:65710:PERCEIVED:field_of-view:sighted_embers Time 66605 Resident 4 : memory:66605:PERCEIVED:field_of-view:sighted_embers Time 67511 Resident 4 : memory:67511:PERCEIVED:field_of-view:sighted_embers Time 68402 Resident 4 : memory:68402:PERCEIVED:field_of-view:sighted_embers Time 69318 Resident 4 : memory:69318:PERCEIVED:field_of-view:sighted_embers Time 70205 Resident 4 : memory:70205:PERCEIVED:field_of-view:sighted_embers Time 71109 Resident 4 : memory:71109:PERCEIVED:field_of-view:sighted_embers Time 72018 Resident 4 : memory:72018:PERCEIVED:field_of-view:sighted_embers Time 72916 Resident 4 : memory:72916:PERCEIVED:field_of-view:sighted_embers Time 73816 Resident 4 : memory:73816:PERCEIVED:field_of-view:sighted_embers Time 74710 Resident 4 : memory:74710:PERCEIVED:field_of-view:sighted_embers Time 75602 Resident 4 : memory:75602:PERCEIVED:field_of-view:sighted_embers Time 76507 Resident 4 : memory:76507:PERCEIVED:field_of-view:sighted_embers Time 77511 Resident 4 : memory:77511:PERCEIVED:field_of-view:sighted_embers
I then could not reproduce it on any subsequent runs. Apart from this issue, is the seed working properly? Even the previous commit was after the seed was meant to have been fixed, so this in itself is worrying.
from ees.
Try disabling congestion rerouting as that causes some non determinism too. I will look again too.
from ees.
@osbornejr could you check if this is an issue still or if this is resolvevd in the more recent BDI behaviour changes?
from ees.
As in #2 I don't know if this is something that I could test for confidently, rather it is something that needs to be looked out for in outputs? Particularly in this case, there could be some kind of check/warning posted if an agent with dependent does skip their InitialResponse?
from ees.
This issue is now outdated. The model now uses an updated behaviour model based on self-evacuation archetypes (see archetype
dir vs older bushfire
dir here).
from ees.
Related Issues (20)
- Tidy up diffusion model logs HOT 1
- Implement self-evacuation archetypes behaviours
- Support changing of log level at runtime
- Tests fail intermittently on Travis HOT 2
- Run should operate on generic models HOT 1
- Fire/Embers data not propagating correctly to agents HOT 1
- Update Surf Coast Shire populations to latest Archetypes based model HOT 1
- Cache initialised population for large input files
- Move EES to MATSim 12 HOT 1
- Allow PhoenixGridModel to take gzipped fire GeoJson as input
- Make archetypes based test results repeatable HOT 1
- Update release to use the latest archetypes based scenario
- Tidy up tests
- Use agentsoz dependencies as submodules HOT 4
- Generate evacuation metrics output file HOT 10
- MATSim agents in stuckAndAbort not properly handled
- Compilation error in jill submodule HOT 1
- Make ZoneID column name configurable HOT 1
- [Newbie] Running mvn package
- Change license from LGPL3 to MIT HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ees.