Updates and Results Talks and Posters Advice Ideas Important Figures Write-Ups Outreach How-To Funding Opportunities GENETIS
  GENETIS, Page 9 of 15  ELOG logo
ID Date Authordown Subject
  Draft   Thu May 28 15:11:35 2020 Alex PattonGENETIS Daily Update 5/28/2020
Name Today's Update Plans for Tomorrow
Alex M.

I wasn't available Thursday or Friday morning.

My goal on Friday is to help Alex P. more with finding the cause of the 0 effective volumes we're getting (and also the high effective volumes for small antennas).

Alex P.

Set up AraSim to use event read in, got 100 events generated from AraSim in the format of an EventReadIn file for AraSim so that way we have events that are realistic. Tried running and got a run up to the AraSim phase but had some problems with the proper call and order of argumetns. I looked through the AraOut files and thought I got it set up but got some "cannot open" errors I will deal with later. Then hopped on call with Julie, Eliot, and Leo to deal with a Git conflict Follow up on AraSim read in to get it functioning properly and then make sure to find events that pass for good antennas so that we can find errors in our 0 vEff antennas.
Eliot & Leo

 

 

Evelyn    
Ryan    

 

d

  59   Mon Jun 1 15:21:03 2020 Alex PattonDaily ELOG Update 6/1/2020
Name Today's Update Plans for Tomorrow
Alex M.

Spoke with Evelyn and Ryan about the paperclip antennas. They found the github repository with the files and a README so they're getting started on learning about the algorithm and testing out the scripts. Once they play with it and can get it running they'll start running it with different parameters for the selection methods (roulette vs tournament).


Also worked with Alex P. on figuring out the issue with the effective volumes coming out of AraSim. We have data from the eventReadIn function in AraSim for the small antennas and we don't see differences between the gains in these antennas and the actual bicone, but we still need to look at more of the quantities to compare that Amy told us about last week. We also came up with a new plot that might be interesting to look at. We think the plots look suspicious--I think it will be worthwhile to try rerunning with the same antennas but using a smaller grid spacing to see if the shape of the plots drastically changes.

Going to keep working with Alex P on resolving the small antenna effective volume issue. I'm also going to meet with Julie and Ben at 1 since Julie couldn't meet today.

Alex P.


Continued to test with the Ara 0 vEff problem. Ran individuals with feed through events and individuals that gave 0 vEff had zero individuals pass still where others had consistent number pass. Used diff command and looked at AraOutput files and saw no difference except saying which events passed. Difference lies in .dat files passed into them which are generated from uan. These files are 130,000+ lines so we made a program to graph that average gain over the frequencies for the individuals and ran it with our small antennas. Interestingly, the ones that failed had higher average gains consistently than some runs that passed. Also ran this program with the Actual Bicone and the results were pretty different from the bicone and these small antenna.
Next plan is to run our graphing code on a generation of previously large antennas generated to see if it makes any difference and maybe the problem is how these small antennas fitness scores get generated.
Eliot & Leo

 

 

Evelyn We were able to dig up the old paperclip code and make a new github repository with those files so we can work on it without breaking the originals.  Figure out how to run the paperclip code from our own machines 
Ryan Evelyn and I found the old paperclip repository on git, copied it over to our machines, and created a new repository to do our work on for the future. Create a dev branch and figure out how to run the algorithm.

 

  60   Tue Jun 2 13:42:21 2020 Alex PattonDaily GENETIS Update 6/2/20
Name Today's Update Plans for Tomorrow
Alex M.

Worked with Alex on trying to compare bicones to the ARA bicone. Met with Ben to give him some things to look over and told him to come to the meeting tomorrow at 1.

I might not be available all day tomorrow, but I should be good to come to the meeting at 1. Planning on doing a little bit of review of neural networks to get a feel of some of the stuff Julie is doing with Kai--I'm looking over notes and assignments from my ML class last fall. I also have a few things in the paper to fix up (namely citations, which I haven't been able to get to work).

Alex P.

Ran analysis with bigger antennas and saw that they match the actual bicone more than the smaller ones in their overall average gain patterns, reduced grid spacing and started a run to see if it will change the outputs for the small antennas since we know that XF's generation of the UAN is the difference between gains and individuals.  Observe results from the reduced grid spacing run and hopefully find some enlighting information to determine the next step. If not will try to find how to output electric field and compare that between our trials
Eliot & Leo

 

 

Evelyn We were able to find and run the old paperclip genetic algorithms, but we aren't completely sure how they work or what to do with the outputs. We also are not entirely sure which versions of the code to use, and were not able to find the code for a roulette algorithm.   To find the roulette algorithm, and to learn exactly how the code that we already have works.  
Ryan Found some executables for the paperclip algorithm and attempted to run them. Some worked, some did not, and we are currently still looking for any roulette algorithm and trying to figure out how to interpret the results.  Continue searching for the Roulette algorithm and find out how to interpret the results.

 

  61   Wed Jun 3 15:02:00 2020 Alex PattonDaily GENETIS Update 6/3/20
Name Today's Update Plans for Tomorrow
Alex M.

Talked with Alex about results from a run of small antennas where we decreased the grid spacing. The average gain plots look different, but I don't know yet if it's definitely resolved the problem because we're still getting a decent spread on the effective volumes. Helped Eliot and Leo with a git issue and talked to Evelyn and Ryan about paperclip. They were able to run and made some images, which is a good first step. I think they're going to start on making roulette an option since paperclip only uses tournament. 

Julie gave me some more details about using Karoo with ANITA data. 

I'll try installing Karoo and getting the old libraries that it needs. I should also try getting root to work on my personal space on OSC since I'll need that for the ANITA data (which I'm also going to need to find). I have a link to a dropbox with Oindree's stuff on blastfamy so I'll try looking there for hints.

Alex P.

Ran average gain on smaller grid spacing for small antennas and did see pattern closer to larger antenna rather than the small antenna with larger grid spacing, also set up AraSim to print out HGain which should be the effective heights, which should run the next iteration of the loop.  Compare HGain to find how th effective heights compare and make sure they do in fact differ between runs, also continue to see how grid spacing affects the small antenna and possibly run on a previous version which gave a zero vEff
Eliot & Leo

Forgot to do updates this week so this is entire week. We have the loop running with two chromosomes up through Part C. ie we edited xmacros and other related parts to run simulation/XF with an asym bicone. Part D shouldn't need any changes, and Part E/F will need some. 

Friday/through the weekend we will each do git on codecademy and next week we will implement changes in the fitness function and plottinf(Part E/F)

Evelyn    
Ryan    

 

  63   Fri Jun 5 14:29:56 2020 Alex PattonDaily GENETIS Update 6/5/20
Name Today's Update Plans for Monday
Alex M.

Helped Alex P try to figure out how to get data Amy was asking us to get for comparing antennas in AraSim. We've been stuck trying to figure out where all of the data is printed (there are a bunch of .cc files and quantities we aren't familiar with--for example, vmmhz in Report.cc sounds like the V/Mhz with the effective heights folded in, but we aren't sure). 

I worked on some things in the paper that were mentioned in the minutes from last week's meeting, but I didn't see Amy's comments til the GENETIS meeting. 

Monday morning Amy might stop by to talk to Alex and I about AraSim so we can try to find some of the info we haven't been able to print out. We'll also watch out for anything she posts in slack about it.

We'll present an outline of the paper at 12 on monday to the Ara group meeting to see if it needs to be an ARA paper or not. 

I'm also going to keep looking for how to use the automatic grid spacing (and I'm planning on enlisting Eliot and Leo's help in being able to look at models in XF to make sure XF is designing antennas correctly).

Alex P.

Worked with Alex to find the volts/MHz after folding in the effective heights. While doing this we noticed a possible bug in AraSim. Currently our settings have a blank value for SIMULATION_MODE and a documentation we found says the default should be 0 but inside of AraSim the default is actually 1. Now Report.cc only uses volts/MHz if the SIMULATION MODE is set equal to 0 so this could've been an oversight when making the setup file if someone assumed leaving it blank would be zero. After checking whether the simulation mode is intended or an oversight, we want to check on the Volts/MHz and then also work on automatically setting the grid spacing and possibly work on implementing a penalty in the fitness score for antennas that get too small.
Eliot & Leo

 

 

Evelyn    
Ryan    

 

  64   Mon Jun 8 15:16:16 2020 Alex PattonDaily GENETIS Update 6/8/20
Name Today's Update Plans for Tomorrow
Alex M.

Worked with Alex on finding the variables Amy suggested to us in AraSim. We found the Efield and max peak voltage variables and printed them, comparing three antennas: a small one with normal veffective (nonzero), a small on with 0 veffective, and the actual bicone. The electic field was the same for all antennas, but the peak voltages were all very low for the antenna with 0 veffective. Actually, after reinvestigating, it looks like the maximum peak voltages *were* the same between all the antennas.

I've been looking into using the automatic grid spacing in XF. I think I need to get a better understanding of XF, so I started playing with it to design things in the GUI. I want to be able to make a model using the xmacros that I can look at in the GUI so I can understand all of the functions being used. Since we've checked AraSim pretty extensively, we think that the issue is with XF. I think the grid spacing might be allowing small antennas to appear better than they are.

I think to investigate if the problem is in XF we should do a run of the same antenna with different grid spacing and look at the average gain plots. A preliminary test could be to try modeling a small antenna with a very large grid size--if that gives a very high gain, then it would suggest that the issue is with grid spacing being too large for small antennas.

I think I'll also keep playing with Karoo. I've been reviewing some ML material to refamiliarize myself and see if I can write a few simple programs. I got Karoo running on OSC last week but I don't really understand the outputs (using the practice dataset).

Alex P.

Worked through more with AraSim looking at Amy's suggestions she sent over the weekend. Was able to print the PeakV and the Electric Fields, the Electric Fields matched and were the same which is what should have happened and the PeakV varied depending on how well it detected the event. Also the trigger threshold is already printed so we looked at that too. We believe that AraSim is functioning properly so next we will look more into XF, and the grid spacing. ProGrid we think is the option from what we talked with Cade but we will continue to look further into it.
Eliot & Leo

 

 

Evelyn    
Ryan Was added as a collaborator to the paperclip repository on git hub and created a new dev branch and directory. Afterward, I started writing the new roulette algorithm. All changes have been pushed to the githhub repository.  Continue writing the roulette algorithm and start work on the github classes on Codecademy.  

 

  67   Thu Jun 11 15:14:33 2020 Alex PattonDaily Update 6/11/20
Name Today's Update Plans for Tomorrow
Alex M Helped Alex P look through AraSim some more. We wanted to keep trying to nail down whether or not the threshold was passed (the files said no before, but we wanted to try confirming by looking at the actual values). The files were big but from the values we saw none exceeded the threshold for the individuals with 0 effective volume. Amy has some more notes for the paper that I'll try to work on. I think we can try semi-running the loop to repeatedly pass in the same individuals and check the results with decreasing grid spacings from XF. 
Alex P Worked with Alex M today to continue to comb through AraSim. Did in fact find the proper place where it checks the trigger and started by printing out the values it compares. When we printed all values instead of just the values that passed we got files that were 5-7 GB and didn't even finish, and weren't told much useful information since the failures were just 0 or -nan. Started by trying to work backwards and see where the value in the trigger comes from, but after looking through multiple files trying to trace back there ended up being a lot of possibilities of where it could have come from so we started looking from the top down and to look where the gainfile's values are used since we now know where the ending is it might be easier to find the path to the end from the start now. Continue to look through AraSim and trace the gainfile's path to affecting the trigger conditions to see what values would make it pass. Also continuing to investigate the grid spacing's affect on the gain file's values might be worthwhile after we know more about how those values matter. I do have a doctor's appointment tomorrow so will have to leave early and won't make it for group meeting.
Eliot Finished the plotting software to work and plot everything we want. Entire loop now ~should~ run in its entirety with asymmetry. Looking to do a couple of test runs over the next few days. Worked on CodeCademy git lesson. Continue work on git lesson and try to get a OSC interactive job. Make a few small edits that might be helpful from a user perspective. 
Leo    
Evelyn    
Ryan    

 

  68   Mon Jun 15 15:52:45 2020 Alex PattonDaily Update 6/15/20
Name Today's Update Plans for Tomorrow
Alex M

Worked with Alex P on looking for the problem in AraSim. We looked in Report.cc where Amy suggested there was an inequality involving a variable called "Full_window" being compared to the trigger threshold. We followed this down to another function in Report.cc where Full_window is used and compared fdiode_real between individuals, which was identical. We then tried printing V_Total_forconvlv, which was different between indviduals, yielding either all 0s or -nans in the individual with 0 effective volume. 

Helped Ryan some more with working on the roulette algorithm in paperclip. We're going to take it step by step and start with getting a hang of the code with print statements and modifications to see how things work and adding in a function for the roulette algorithm that will simply select the individuals. Once we have that working, we can move onto the next step of properly implementing the roulette algorithm in the code in a manner similar to what we have in the bicone algorithm. 

I made some small edits in the paper, mostly just pulling some citations from the proceeding but I also think I fixed the format of the references so that the numbers look nicer.

Alex P and I will continue looking in AraSim for the cause of the error. I'll also take some more time to contnue making edits to the paper.
Alex P Made a generation with an indiviudal we know got a zero fitness score and reduced the grid spacing to see if it would have any affect, it might stay zero as we've done this on a generation before and it lowered all the results so the outliers might not be the zeroes but instead the normal scores with the small antenna. Talked with Amy about looking for errors and started testing what gets passed into the myconvlv function and found that the fdiodes are equal between individuals but the V_Total_forconvlv array was different, and the indiviudal that had zero had a lot more "nans" than the one the had a real score.  Continue investigating the source of where the changes in AraSim that allow for the zero fitness scores come from, marking off one variable at a time to find what makes the difference at each step
Eliot    
Leo    
Evelyn    
Ryan Ran into more issues attempting to write in the genes for the roulette algorithm for paperclips. So, I'm taking a new approach to attempt to write a roulette function into the existing paperclips evolution to see If I can get it to work before I try to implement the paperclips genes into the roulette algorithm. Continue writing and attempting to run the roulette function inside of paperclips.

 

  71   Thu Jun 18 14:33:32 2020 Alex PattonDaily Update 6/18/20
Name Update for Today Plans for tomorrow
Alex M

Alex P and I implemented the changes we discussed with Amy to Detector.cc. We're currently running a test to see how the grid spacing affects the gains from XF. We started with small antennas using a grid spacing of 0.01 and we're cutting down by factors of 2 each generation (until we see that the gains stop changing, then we'll do something of a binary search between the last two grid sizes to search for the largest reasonable size).

I also played around with the XF scripting more. My goal is to try to be able to edit the scripts we use to do help us check our results, like save images and load models for the antennas. I can currently run our macro script in XF by loading it in with 1 individual (using a generationDNA.csv file I moved to my user space). I can view and play with the model and it saves an image of it when I run the script (though the image doesn't give much detail). Hopefully this will lead to better understanding XF and being able to check our work and use the progrid option.

I'll continue with the grid space test tomorrow morning and try to play with XF a bit, but I haven't gotten to address many of Amy's comments on the paper from last week so I'll probably prioritize that while the loop is running the AraSim jobs.
Alex P After asking about the change to replacing negative gains with 0 in the lower frequencies, we implemented that and ran a few individuals through that. We started a normal large antenna run with that change but stopped in order to test the affect of grid spacing on small antennas. We ran a .01 grid spacing and then .005 grid spacing on the same individuals and will continue so on until we see no change in the results. Specifically checking the affects at the 300 MHz frequency but also overall results.  If this works we will find the proper grid spacing for an antenna's size and the next step will be to implement a feature to properly scale that with the antennas. If we still encounter the smaller antennas giving an abnormally high vEffective we will probably have to continue looking into what could be causing that. I won't be online most of tomorrow, I might check in at a few points but Alex M will handle running the tests instead.
Eliot    
Leo Did a run with 5 individ and 5 generations. It successful ran through the loop 5 times, but didn't seem to evolve. In particular, "GenerationDNA" wasn't changing throughout the 5 generations. Tomorrow, we plan to investigate where this error is coming from within the loop. As of now, we aren't sure whether this is part of the loop or GA. Also we are getting an error message about the file "AraOut_ActualBicone" but doesn't seem to stop the loop, so we want to check in about this as well.
Evelyn    
Ryan    

 

  Draft   Mon Jun 22 13:52:32 2020 Alex PattonDaily Update 6/22/20
Name Today's Update Plans for Tomorrow
Alex M

Worked with Alex to run XF with smaller grid spacing. We're down to 0.001 cm, but below that we were getting long times on the XF GUI that made it seem like it was hanging. I also investigated XF from a Pitzer desktop to see how to use the progrid setting. I can get the scripts to load--I checked that the original one is indeed making a bicone and that Eliot and Leo's makes an asymmetric bicone.

Helped Ryan some more with the paper clip. We're taking it step by step, so the next thing he'll want to do is make sure he can get the function for the roulette algorithm to be called correctly in the paperclip script and have the correct information passed to it (like the fitness scores).

I'm gonna continue investigating XF from the pitzer desktop to see how the progrid works. When Alex and I finish this generation of the loop, we'll try putting the progrid in an see what the results from XF are to compare it to the results frmo previous generations when we explicitly set the grid size.
Alex P Along with continuing runs of XF to find optimal grid spacing also looked through the HTML files in the XF directory to find the scripting documentation. Found where the PrOGrid options were along with the other features PrOGrid enables. Currently we have other variables that use our Grid Size as an input so we would have to find a way to replace those to work with what PrOGrid generates. Continue to check on status of grid size for our current runs and its affects, we might have found a cut off point so we can go back and find the optimal spacing for small sizes before swtiching to tests with large sizes. And possibly start experimenting with PrOGrid since we can compare the output it gives to an array of different grid spacings to see if it would need any tweeks.
Eliot Continued debugging the Loop to work with 2 chromosomes ie 5 parameters. Ran inside and outside the loop trying to find the error. Finally, we placed a number of flags throughout and determined the error to be within the GA. It is inside the roulette function. We will edit this tomorrow.  Edited the roulette selection as needed. There is also an error in tournament, but for now we turned it off and are focused on testing the updated roulette. 
Leo    
Evelyn    
Ryan Debugged the Roulette algorithm and have it running. But, I need to check the Gaussians against the paperclips tournament to refine it and make sure I can get a fitness score for the paperclips.  Get fitness scores for the paperclips and begin to compare to tournament.

 

  74   Tue Jun 23 14:37:07 2020 Alex PattonDaily Update 6/23/20
Name Today's Update Plans for Tomorrow
Alex M

Worked with Aelx P on running the loop with decreasing grid spacing. I also worked in the XF GUI some more and figured out how to make 3D gain plots (per Cade's suggestion) and tried comparing different grid sizes for a single antenna with proGrid on. 

Alex P and I are gonna meet with Cade tomorrow to talk about XF some more so we can figure out where progrid is having an impact and decide on what the best idea is for making sure we get the correct effective volumes out of AraSim.
Alex P Continued today running the loop and while we had the next level of smaller grid spacing running, tested how to get the PrOGrid working and managed to get a script that would work with it. We got rid of the grid size variable but kept cell size as a constant. Although there should also be an option to make cell size automatically set via PrOGrid and there are other options that you can enable PrOGrid to handle as well so we may need to mess with more to find which are valuable. Figure out how PrOGrid affects vEff compared to the variety of Grid sizes we've tested and also look at this for larger antennas too. Possibly tweek more settings too
Eliot    
Leo After testing the GA outside the loop with a initial generation, it was still giving the same "stoped" error. We thought it might be getting stuck in an infinite loop somewhere and decided to add a few flags to get a better idea of where. We found in was during a section that checks that Tourney_pop+Roulette_pop=NPOP but this was never achieved so it was getting stuck. This is because we had 5 individuals and had tournement proportion set to .5 with an NPOP of 5, so we think the GA didn't know what to do with 2.5 individuals in each. To fix this we changed tournement proportion to .4 so we would get 2 and 3 individuals in each. We then did a run and noticed that tournement was having some issues. So, we ran with tournement proportion at 0 and are going to fix tournement later. We ran, but our second generation was interupted in XF by someone else's run. We waited a few hours for people to finish and ran again at night. Check on results of last run to see what other errors need fixing. Also, check on tournement and try to fix those errors.
Evelyn    
Ryan    

 

  75   Thu Jun 25 15:22:50 2020 Alex PattonDaily Update 6/25/20
Name Today's Update Plans for Tomorrow
Alex M

Worked with Alex P on figuring out why we keep evolving towards small antennas. We think it's because the initial angle is so large, and the standard deviation of makes it more difficult to bring the antenna within the confines of the hole by mutating the angle than by mutating the the length. So we started a run with a much lower angle (pi/24 instead of pi/12) to see if that yields antennas which are longer with better effective volumes.

I also edited some more of the paper and added in a few citations, but I'd like to make sure that those citations are written correctly (for example, I couldn't find the eprint for all of them).

I'll keep this run going tomorrow and monitor it while I write some more in the paper. Now that we have a better understanding of the xmacros and can have debugged a lot, we can probably start a real run soon and I can write some more details in the PAEA section of the paper. Also, since I'm better acquainted with XF, I think I'll be able to get images of the bicones from there to put in the paper.
Alex P Running and ran into some errors with XF solver. Found a fix to it but came into a possible oversight. So I think one reason why we keep getting this trend towards lower antennas is that the initial thetas from the 0th generation in the GA are too large and that makes it so all the longer lengths end up making too wide antennas which get penalized and hence why it tends toward small because while we do have mutation to make different thetas it only varies by so much and I think the opening angles are just too large to start in the distribution. This doesn't fully solve why the small antenna tend to give higher results than expected but it still is a problem because it's causing all the larger gen 0 antenna to get a zero fitness score because they are almost always too large. Currently if all the mean values in the distribution were used to make gen 0, the outer radius would be way bigger than the hole by a factor of 2. Started run with change to the GA to have a lower theta as the mean in the distribution. Will see if this starts to favor the larger antennas. Possibly look more into why that XF solver error was being caused and effects of changing the spacing between cones on the bicone.
Eliot    
Leo Today we started work on adding seperation as a 4th gene. We updated the GA and tested it in a mini bash successfully. We then moved onto editing the Xmacros scripts and tested using a GUI.  Tomorrow we plan to move onto the fitness funciton and plotting scripts.
Evelyn    
Ryan    

 

  77   Mon Jun 29 15:57:41 2020 Alex PattonDaily Update 6/29/20
Name Today's Update Plans for Tomorrow
Alex M Worked with Alex P to look at the different gain patterns for antennas with different separation distances. We found that there wasn't a clear frequency where they started to agree--looking at the average frequency gain plots we sent on slack, they look very different. We're trying to resimulate them with some higher frequencies to see the pattern more clearly and find where they start to agree. I should be able to finish making those frequency plots in the morning. I think I'm going to try spending some time with Karoo tomorrow and see what Julie's been able to figure out.
Alex P Looking at differences between small antennas and how the spacing affected their gains to see where differences occurred and saw at 350 MHz is last one where bigger spacing is better and after that it seems like the smaller spacing is better at 366.7 MHz and above. We checked and it actually flips back and forth between which is better and couldn't find a real pattern there. Switched to make an average gain plot for each frequency to see a pattern in the average gain since the 3D graphs use color and sometimes it can be hard to tell by how much the differences are. Continue to work with the spacing to find which frequencies cause problems for antennas according to their sizes.
Eliot Implemented the option of an asymmetric radius within the GA. Now, our new gene (separation) is the only gene without the possible asymmetry. This is because an asymmetric separation wouldn't do anything as the separation in XF(ie its offset from the origin) does not constitue a physical significance in AraSim.  Leo and I will begin to implement the separation gene throughout the remainder of the loop.
Leo    
Ryan Continued working on the roulette function for paperclips1.0.1.cpp. Ran into some issues with returning an array. Debug the roulette function, maybe test if I get everything working and sent to the correct places.
Evelyn    
Ben    
Ethan    

 

  Draft   Thu Jul 2 15:03:39 2020 Alex PattonDaily Update 7/2/20
Name Today's Update Plans for Tomorrow
Alex M

Worked with Alex to change the roulette algorithm to implement a cut on the minimum length for the Antennas. Amy showed that we don't want to generate antennas which are shorter than 37.5 cm in length (for each cone, so a total of 75 cm all together) because anything shorter than that won't be reliably simulated in XF for our frequency range. To do this, we made the roulette algorithm reselect individuals in the 0th generation if they were below this length. When it's making new individuals for the next generation, we made it so that the algorithm doesn't apply mutations that would make the antenna smaller than the minimum length (but we may revisit this with other methods, like letting the individual die if its below that length).

Spoke to Ben about AREA. He can run it, but there are some errors, and it looks like the job was killed when we tried submitting it to the queue. We'll have to see if we can track down some of the errors.

Alex and I will try to run the loop using our changes to the roulette algorithm and see what the new individuals look like and if the effective volumes are reasonable.
Alex P Worked on converting the c++ programs I made for database to work with a variable amount of genes rather than just LRT. After that Amy met with Alex and me and discussed the proper length to limit the antennas to and then worked with Alex to put a clamp within the roulette algorithm on both the initial generation and the generation of lengths through mutation. Then deciding to just cut the individuals that have too low lengths and discussing how that would be implemented. Will continue to implement and test the changes to clamping the length by eliminating low length individuals and once that is sorted start working on being able to make our changes work on other branches too so we can start to merge.
Eliot    
Leo    
Evelyn    
Ryan    
Ben    
Ethan    

 

  83   Tue Jul 7 14:39:12 2020 Alex PattonDaily Update 7/7/20
Name Update for Today Plans for Tomorrow
Alex M

Found a bug while running the loop, fixed it and starting running again. Added a few things to the paper.

Alex and I will keep the loop running tomorrow. We're gonna try to meet with Eliot and Leo to work on implementing the bug fixes we've made into their version of the loop, then merge it with our branch. We need to add it to the database version too, and then after all of that we can merge with the master branch.
Alex P Now that length constraint is working properly ran a few generations and found a small error with the mutation calculation that allowed for the theta to go below zero, fixed that change and started a run to have a bugless run. Continue this run for 15 generations or so and then work on the merging process with Eliot and Leo's branch and then once that is working merge with master once we have confirmed the absence of bugs
Eliot    
Leo    
Evelyn    
Ryan    
Ben    
Ethan    

 

  84   Wed Jul 8 15:09:42 2020 Alex PattonDaily Update 7/8/20
Name Update for Today Plans for Tomorrow
Alex M

Continued the run from yesterday. Alex P and I applied the changes we made to the bash script for fixing the bugs we found in the simulation number to the database version. Once we get 15 generations of data for this run we'll start testing the database version. Once that works we'll have Eliot and Leo run their version with only 3 genes and if we get the same genes all around we'll be able to merge the asymmetric branch with the database branch and then merge with master. I also fixed up a bug I found in one of the plotting programs that meant it was missing the first individual, it should be good now.

Ryan and I talked a bit about how to apply crossover and mutation to the paperclip. I'm not sure that crossover makes sense, but I think it's possible. He's going to start by doing crossover of the chromosomes and then when that's working he can try crossing over the genes (this is where I'm not sure things make sense, but who knows). Then he can implement mutation in that function.

Julie and I spoke with Ben about AREA and started helping him siftt through all the files. We're going to meet with Ethan tomorrow to catch him up to speed and start reviewing the bash script that runs all of AREA.

Finish this run, test the database. I'll meet with Julie, Ben, and Ethan to talk about AREA. Also, Eliot and Leo found a potential issue in the roulette algorithm that I asked them to look at, so we might try making a fix in there and see if that allows our mutations to be more reasonable. Alex and I are going to have to meet with Eliot and Leo soon so we can all work together on merging our branches and resolving merge conflicts.

 

Alex P Made a version of my c++ programs that detect whether an individual matches the database and logs that/writes to the database in a way that allows the number of genes to be a variable so that it can be compatible with new antenna designs. Then set to fix the scripts that used the database to fix the error of the right simulation numbers while continuing the current run so that we can test if the database version gives the same results and then will start running the database version and make sure it is good before we merge. Run database test and if it has any differences or bugs from the original, fix those before we merge. Also have Eliot and Leo run thiers but with just three parameters so that we can test and make sure the accuracy between all versions is the same and none have bugs present before we merge.
Eliot    
Leo    
Evelyn    
Ryan    
Ben    
Ethan    

 

  Draft   Mon Jul 13 15:35:06 2020 Alex PattonDaily Update 7/13/20
Name Update Plans for Tomorrow
Alex M

 

 

Alex P

The name of this run is Data_Base_Test_7_10.

The name of the previous run we are comparing against is Length_Cutoff_Test_3.

 
Eliot    
Leo    
Evelyn    
Ryan    
Ben    
Ethan    

 

  89   Thu Jul 16 15:18:32 2020 Alex PattonDaily Update 7/16/20
Name Update Plans for Tomorrow
Alex M

(See below the table for a review of the past couple of days since ELOG has been down.)
We may have found what was causing the error in Eliot and Leo's version. They were getting 0 effective volumes. I edited their output macroskeletons to use pro grid (I figured it was the default setting, but it looks like not). This seems to have fixed the issue with their .uan files having all 0s and 180s for the phase and -300 gain. However, it wasn't writing to the vEffective.csv and fitnessScores.csv files correctly. We realized they may have needed to recompile. We did that and ran a preliminary tset, where we got some promising results. The effective volumes and fitness scores seem to have been read out and plotted correctly, but they didn't appear to match the previous two runs Alex P and I did. That might be because we were messing around with the save state sloppily. Currently, Eliot is rerunning from the beginning with the intention of seeing if it will go all the way through generation 0 smoothly. From there, we'll need to compare the effective volumes and fitness scores with the previous two runs Alex P and I did (although I can confirm that the generation 0 DNA matches). Then we'll need to let it run for a few more generations to make sure it evolves the same individuals those two previous runs evolved.

If it looks like these fixes worked and the effective volumes are being made correctly and the same individuals are evolved as in the previous two runs Alex P and I did, then we'll be ready to start merging. The first step will be to fix a merge conflict on the asymmetric bicone branch. Then, we'll have to carefully merge and resolve merge conflicts. The order should be that the asymmetric bicone branch merges onto the database branch, which will then merge onto the master branch. Once that's done, we'll be able to do a proper run.

Alex P Worked with Alex, Eliot, and Leo to fix an error on Eliot and Leo's branch since we got both the normal and database version working on the Alex's branch. Had some problems with 0 vEffectives and saw that XF was giving 0 gains so searched through for a while to see what was different and had to enable PrOGrid, and then that made the vEffectives nonzero but it still seemed like they might have been too high. Get Eliot/Leo's branch working hopefully have test run overnight that shows that and then merge tomorrow is the plan.
Eliot    
Leo Like both Alexs said, Eliot and I worked with them to get our version to get the same results as their version. The main problem we worked on were the 0 vEffectives and fitness scores. We realized that the fitness scores and vEffectives were printing to the terminal, but not to the plots or .csv files. We check the fitness function called in the loop and it turned out we compliled to a wrong version. After recompiling the fitness score correctly Eliot started a new run and it is currently running over night. Tomorrow, we will take a look at Eliot's run to see how it did and find any other areas that may cause for different results between our's and the Alexs' runs.
Evelyn    
Ryan    
Ben    
Ethan Worked with Ben on running AraSim and fixing errors it would output  

Review of the past two days (wrt the bicone loop) since ELOG has been down:
Alex P and I were able to fix errors in the database version of the loop. It now evolves the same individuals as the original version (when using seeds). We want to test the asymmetric version, but we ran into some errors. First, we needed to add in the cutoff length and the change in Detector.cc to set negative gains equal to 0. Once we did that, we tried running but found some more errors. Specifically, the effective volumes coming from AraSim were all 0. We may have fixed the error today, but we're waiting for the run to finish the 0th generation to be able to tell.

 

  112   Fri Oct 9 17:37:57 2020 Alex PattonDaily Update 10/9/20
Name Update Plans for Monday
Alex M

 

 
Alex P, Ryan, and Ben Got all functions finished and worked on adding them to main. We set up their calls and commented out the unfunctionalized code with a comment explaining what it was and what date it was commented out. Had to define new variables for limits on our mutation function now that our mutation function is uniformly distributed within a range rather than using standard deviations. Also created some more global variables for maximum outer radius and minimum length in order to have them more accessible. Finish up implementing and defining variables so that it can run the functions properly. Hoping to have it ready to test on monday.
Eliot    
Leo    
Evelyn    
Ethan .  
  113   Mon Oct 12 17:34:29 2020 Alex PattonDaily Update 10/12/20
Name Update Plans for Week
Alex M

 

 
Alex P, Ryan, and Ben Finished up writing the updated GA and got it compilable and then got some run time segmentation faults but managed to get all of those fixed. But once we got it running we encountered an error where a lot of the generationDNA ended up being 0,0,0. We looked through our functions and confirmed this was only happening with indiviudals developed through crossover and not mutation or reproduction Get this problem fixed in crossover and continue to test and make sure this works as intended but so far it is able to generate genDNA files and just has that one bug. The bug is also every other individual so we think we might have messed up how crossover generates two individuals from parents so it should hopefully be an easy fix.
Eliot    
Leo    
Evelyn    
Ethan .  
ELOG V3.1.5-fc6679b