Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_final_wealth_hist() sometimes breaks #73

Open
divilian opened this issue Jul 9, 2019 · 0 comments
Open

plot_final_wealth_hist() sometimes breaks #73

divilian opened this issue Jul 9, 2019 · 0 comments
Assignees
Labels
bug Something isn't working phase 1 For immediate future, probably CSSSA '19.

Comments

@divilian
Copy link
Owner

divilian commented Jul 9, 2019

The plot_final_wealth_hist() function sometimes breaks, because when it's "final"-ly plotted, most or all agents are dead. So it has (say) only zero or one wealth to plot a histogram for.

You can reproduce with:

SPECnet simulation parameters:
   animation_delay = 20
   init_sg_lvl = 50
   k = 2
   make_anims = false
   make_sim_plots = true
   max_iters = 250
   metabolic_rate = 5
   N = 50
   num_boot_samples = 1000
   openness = 0.0
   proto_threshold = 65
   random_seed = 12369
   salary = 10
   SF_degree = 2
   SF_edges = 40
   starvation_period = 80
   whichGraph = erdos_renyi
   white_noise_intensity = 25.0
   β = 0.2
   λ = 1

Consider: in the state of the project as of today, when is the appropriate place to generate this histogram?

@divilian divilian added bug Something isn't working phase 1 For immediate future, probably CSSSA '19. labels Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working phase 1 For immediate future, probably CSSSA '19.
Projects
None yet
Development

No branches or pull requests

2 participants