Commit graph

318 commits

Author SHA1 Message Date
peregrinates
6c61ea4ce7
cleaned up variable names and added order reasoning 2025-07-13 11:52:04 -04:00
peregrinates
52365f642c
additional scripts for creating dataframes for analysis from the log files 2025-07-11 23:07:05 -04:00
peregrinates
00ce085e35
make a long form dataframe of each order in game from log data 2025-07-01 22:49:00 -04:00
Tyler Marques
0bd909b30b
Adding run with uv instructions
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-06-23 09:45:23 -07:00
Tyler Marques
46525efe6b
Merge pull request #43 from EveryInc/feature/uv-dependences
Repo cleanup and uv tool
2025-06-23 09:34:50 -07:00
Tyler Marques
d17672d258
Fixing some missing dependancies for lm_game.py
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-06-23 09:24:28 -07:00
Tyler Marques
a93a89f7cb
Bit of a cleanup
Moved all the files that don't need to be at top level to the
experiments folder.

Started using uv to init the project, should the install easier.
2025-06-23 09:18:20 -07:00
AlxAI
5b85b9f89e Create statistical_game_analysis.py 2025-06-23 08:53:51 -04:00
Tyler Marques
617ccdb1a0
Merge pull request #42 from EveryInc/experiment-runner
Experiment runner
2025-06-22 09:34:55 -07:00
Tyler Marques
4bc5774248
Merge pull request #41 from EveryInc/resuming-and-critical-state-analysis
add resuming support + critical state analysis mode
2025-06-22 09:33:39 -07:00
sam-paech
840c6b0ad9 add experiment runner 2025-06-22 18:05:07 +10:00
sam-paech
7d50b31e34 add resuming support + critical state analysis mode 2025-06-22 14:41:29 +10:00
AlxAI
477ffc144d failed sets, convoys, etc. analyzing csv's 2025-06-19 21:17:50 -04:00
AlxAI
3c879941bc Merge branch 'main' of https://github.com/EveryInc/AI_Diplomacy 2025-06-19 19:48:59 -04:00
AlxAI
adf2af00f3 add ability to check for convoys and suports 2025-06-19 19:48:58 -04:00
Tyler Marques
800ae57ef0
Merge pull request #40 from sam-paech/simplify-prompts
revamp diary summarisation
2025-06-19 15:11:06 -07:00
Tyler Marques
b652c032c4
Merge branch 'main' into simplify-prompts 2025-06-19 15:10:59 -07:00
sam-paech
a4855caaae add new args to main script: max_tokens & max_tokens_per_model 2025-06-20 05:58:47 +10:00
AlxAI
f29cf242e1 together AI client 2025-06-19 15:14:30 -04:00
Tyler Marques
1365d0e342
Turning off GH Actions for now, they are broken
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-06-19 08:20:08 -07:00
Tyler Marques
eb008bcf35
Merge pull request #39 from sam-paech/add_temperature_support
add temperature support
2025-06-19 08:17:25 -07:00
Tyler Marques
f1a80c5932
Merge pull request #38 from Tylermarques/main
Event based system
2025-06-19 08:16:03 -07:00
sam-paech
75fa2be5dc increase max_tokens to accommodate reasoning tokens 2025-06-19 15:47:39 +10:00
sam-paech
b405cf30c7 revamp diary consolidation; simplify negotiations prompt 2025-06-19 15:39:20 +10:00
sam-paech
f939dd9634 add temperature support, default temp=0, add random seed string to system prompt 2025-06-19 10:12:38 +10:00
AlxAI
c2aed87a69 Create csv_to_rl_json.py 2025-06-18 13:33:30 -04:00
Tyler Marques
af3e9c1393
Merge conflict resolved by accepting their changes 2025-06-16 10:13:55 -07:00
Tyler Marques
bad4ad37e3
FIX: Messages were triggering at the same time
Was calling the onMessageComplete function twice, fixed that
2025-06-16 09:39:30 -07:00
Tyler Marques
9333f531bd
WIP: Fixing no events in queue
Had a bug where we'd do down a path that didn't result in calling the
nextPhase, meaning we'd end up with zero events in the queue and then
just sit there. Wasn't great.
2025-06-16 09:39:30 -07:00
Tyler Marques
ef3e3a79fe
WIP: Mostly working version that uses the eventqueue
We've mostly got this working. Events get executed in the array of
events. We don't use setTimeout anymore thankfully. I'm not in love with
this system, it still isn't straight forward about what events happen
where, but I do at least now have an ability to better control the flow.
2025-06-16 09:39:30 -07:00
Tyler Marques
a929bf5ee6
WIP: Majority converted to event queue, continuing to work on others.
The bottom newsbar still needs conversion, as do numerous other pieces,
but we're working our way there. Attempting adding some tests with
Claude, but they aren't functioning yet, making them effectively
useless. Continuing to iterate.
2025-06-16 09:39:30 -07:00
Tyler Marques
2b52a9cbf9
WIP: An attempt at a completly event queue driven game.
This is a lot of Claude having at the code base, there is no human
review here yet. That is to come.
2025-06-16 09:39:30 -07:00
Tyler Marques
d454c68044
Cleanup of some lingering code
There is logic littered all over the place. We don't have some central
way of determining order for operations and it's driving me insane. This
needs a refactoring so we have a central way to control the order of
operations here.
2025-06-16 09:39:29 -07:00
Tyler Marques
e7a862aee8
Typefixes
Updating some typing errors, removing ports in docker-compose that
weren't used but were stopping others from using them.
2025-06-16 09:39:29 -07:00
Tyler Marques
b9a88e1c7d
Endgame correctly moves on
I believe this is a working version where we move to the next game after
a delay in the endgame modal. I still need to write tests for all of
this.
2025-06-16 09:39:29 -07:00
Tyler Marques
6f9c050741
WIP: Working on fixing moving from game to game 2025-06-16 09:39:29 -07:00
Tyler Marques
fd00131af2
FIX: SC History now works and correctly updates on phase move
The SVG paths weren't getting added to the chart. Should be fixed and
does work in later phases.
2025-06-16 09:39:29 -07:00
Tyler Marques
84536667f5
FIX: Rotating Display rotates, Diplo relations no longer doubles
The display wasn't rotating, and the diplomatic relations always doubled
when first starting a game. Fixed both bugs.
2025-06-16 09:39:29 -07:00
Tyler Marques
9836e9eb7e
Updating style to focus on 1080p display
The stream should be a 1080p display, so we'll focus on that style for
the moment.
2025-06-16 09:39:29 -07:00
Tyler Marques
b8a8f5a6f2
FIX: Map jump bug, leaderboard misname
Reintroducing the fix for the bug in tween.js (issue 677) that causes
the map to jump at the end of the tween.

Leaderboard name was used twice in the code base, once for the modal at
the beginning of games, and also for the rotating display in the bottom
left. I've removed the modal at the beggining of the game as its data is
stale and not updated yet. I've renamed the bottom left to
'rotatingDisplay' and the bottom right to 'leaderboard'.
2025-06-16 09:39:29 -07:00
Tyler Marques
d52753569b
Another fix for the turns getting stuck 2025-06-16 09:39:28 -07:00
AlxAI
77e7921b9c Support for o3-pro with openai responses api 2025-06-14 17:28:01 -04:00
Tyler Marques
5bf6914741
Cleanup of some lingering code
There is logic littered all over the place. We don't have some central
way of determining order for operations and it's driving me insane. This
needs a refactoring so we have a central way to control the order of
operations here.
2025-06-09 17:31:06 -07:00
Tyler Marques
2733e4acd1
Typefixes
Updating some typing errors, removing ports in docker-compose that
weren't used but were stopping others from using them.
2025-06-09 16:11:19 -07:00
Tyler Marques
5411f0bae7
Endgame correctly moves on
I believe this is a working version where we move to the next game after
a delay in the endgame modal. I still need to write tests for all of
this.
2025-06-09 14:25:18 -07:00
Tyler Marques
0316728bc6
WIP: Working on fixing moving from game to game 2025-06-09 09:39:47 -07:00
AlxAI
fbd92d91ba added rule context 2025-06-09 11:26:12 -04:00
Tyler Marques
c3cd8370a2
FIX: SC History now works and correctly updates on phase move
The SVG paths weren't getting added to the chart. Should be fixed and
does work in later phases.
2025-06-08 15:45:45 -07:00
Tyler Marques
1583503b62
FIX: Rotating Display rotates, Diplo relations no longer doubles
The display wasn't rotating, and the diplomatic relations always doubled
when first starting a game. Fixed both bugs.
2025-06-08 15:11:40 -07:00
AlxAI
f723d27472
Update README.md 2025-06-08 16:16:34 -04:00