Changes between Version 13 and Version 14 of Other/Summer/2024/lLM
- Timestamp:
- Jul 18, 2024, 6:31:11 PM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Other/Summer/2024/lLM
v13 v14 44 44 **What we did this week:** 45 45 1. **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 47 46 {{{#!python 48 47 def check_json(): … … 59 58 return 60 59 }}} 61 62 60 2. **Frontend Development**: 63 61 … … 65 63 66 64 Week 3 65 **Slideshow Link**:https://docs.google.com/presentation/d/14wa3S-AsHlxlYRIgaAETMUtxAuQyDLT258NQ9iMTzWw/edit#slide=id.gbd6c00e730_0_89 66 **What we did this week:** 67 1. **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. 67 68 69 70 {{{#!python 71 for 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 }}} 86 2. **Frontend Development**: 87 88 3. **Maestro Setup** 68 89 Week 4 69 90