Commit 17fe1d5
Dylan Huang
Aggregated metrics part 9 (pivot table UI) (#64)
* add --port arg to ep logs
* Fix WebSocketManager to reset broadcast task after cancellation
* simple tests work
* TODO: TestLogsServer
* TODO: TestLogsServerIntegration
* TODO: test HTML injection
- also test TestAsyncWebSocketOperations
* add logs server tests
* add port parameter testes
* use gpt-oss-120b to avoid rate limits
* point to port 8000 for dev
* woops
* fix "uvicorn eval_protocol.utils.logs_server:create_app --factory --reload"
* use gpt-oss-120b since less rate limiting (#57)
* Aggregated metrics part 7 (#58)
* use gpt-oss-120b for less rate limits and faster tests
* fix typeerror
* Refactor LogsServer event handling and improve integration tests
- Moved event_bus.start_listening() to the correct location in LogsServer to ensure it starts listening during the broadcast loop.
- Updated integration tests to use multiprocessing for server startup and improved health check validation.
- Enhanced test_create_app_factory to be asynchronous and added necessary imports for better clarity.
* Enhance test_create_app_factory to verify LogsServer start_loops call
- Updated the test_create_app_factory to mock and assert that the start_loops method of LogsServer is called during app creation.
- Ensured the test remains asynchronous and maintains clarity in its assertions.
* fix
* use active logger
* cohort -> experiment
* vite build
* Update model path in pytest configuration to use gpt-oss-120b for improved performance
* move ids under execution_metadata
* move pivot tab into its own component
* put flattened dataset into globalstate
* parameterize pivottab
* styling + add parameterization for aggregate method
* add tests for min and max aggregate methods
* add filter functionality
* Enhance pivot functionality by adding support for column totals using various aggregation methods (avg, count) and updating tests to validate these changes.
* styling
* support date in flatten json
* styling
* better description
* Update filter functionality to use 'contains' operator instead of '==' for improved filtering in PivotTab component.
* styling
* Implement global pivot configuration management in GlobalState and update PivotTab to utilize it, including loading, saving, and resetting functionality.
* DRY things
* consistently styling across inputs, button, select
* make sure we show all keys from all rows
* SearchableSelect
* searchableselect
* better styling
* Remove unused Select import from PivotTab component
* Add keyboard navigation and highlighting to SearchableSelect component
* OR / AND filters
* Enhance computePivot function to filter out records with undefined values in both row and column fields, and update tests to verify correct handling of such cases and row total calculations.1 parent 6045ee9 commit 17fe1d5
16 files changed
Lines changed: 10689 additions & 106 deletions
File tree
- vite-app/src
- components
- styles
- types
- util
- __snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
3 | 14 | | |
4 | 15 | | |
5 | 16 | | |
6 | 17 | | |
7 | 18 | | |
8 | 19 | | |
9 | 20 | | |
| 21 | + | |
| 22 | + | |
10 | 23 | | |
11 | 24 | | |
| 25 | + | |
| 26 | + | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
15 | 69 | | |
16 | 70 | | |
17 | 71 | | |
| |||
53 | 107 | | |
54 | 108 | | |
55 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
56 | 122 | | |
57 | 123 | | |
58 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 14 | | |
26 | 15 | | |
27 | 16 | | |
28 | | - | |
29 | | - | |
| 17 | + | |
| 18 | + | |
30 | 19 | | |
31 | 20 | | |
32 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 70 | | |
77 | 71 | | |
78 | 72 | | |
| |||
129 | 123 | | |
130 | 124 | | |
131 | 125 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 126 | + | |
159 | 127 | | |
160 | 128 | | |
161 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
0 commit comments