Changes between Version 13 and Version 14 of Other/Summer/2024/lLM


Ignore:
Timestamp:
Jul 18, 2024, 6:31:11 PM (4 months ago)
Author:
talati
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Other/Summer/2024/lLM

    v13 v14  
    4444**What we did this week:**
    45451. **Maestro Tracking** (GitHub Issue): We worked on creating an updatable JSON file for the experiment which could show the status of the experiment, as well as the specific Maestros that were running. The file can update in real time, as Maestros are turned on and off. This was accomplished by adding a check_json function to the file, app.py.
    46 
    4746{{{#!python
    4847def check_json():
     
    5958        return
    6059}}}
    61 
    62602. **Frontend Development**:
    6361
     
    6563
    6664Week 3
     65**Slideshow Link**:https://docs.google.com/presentation/d/14wa3S-AsHlxlYRIgaAETMUtxAuQyDLT258NQ9iMTzWw/edit#slide=id.gbd6c00e730_0_89
     66**What we did this week:**
     671. **Updatable JSON File** (GitHub Issue): We worked on fixing bugs in the updatable JSON file from last week. Previously, Maestros would be depicted as running without confirmation of the same, which led to issues with data collection. As a result, we added a function to verify Maestro activation.
    6768
     69
     70{{{#!python
     71for pi in selected_ids:
     72            # only adds the ones that just turned on their scripts
     73            if pi not in res["maestros"]: # Prevents duplicate IDs in the case of a disconnect
     74                res["maestros"].append(pi)
     75        with open("experiment.json", "w") as f:
     76            json.dump(res, f, indent=2)
     77}}}
     78
     79
     80{{{#!python
     81{
     82"status": "running",
     83"maestros": [1,6,19]
     84}
     85}}}
     862. **Frontend Development**:
     87
     883. **Maestro Setup**
    6889Week 4
    6990