MCPcopy Create free account

hub / github.com/GoodStartLabs/AI_Diplomacy / functions

Functions2,689 in github.com/GoodStartLabs/AI_Diplomacy

↓ 1 callersFunctioncountries_aside_from
(a_country : str)
analysis/p1_make_longform_orders_data.py:332
↓ 1 callersFunctioncreateAnimateUnitsEvent
(phase: GamePhase, phaseIdx: number)
ai_animation/src/units/animate.ts:267
↓ 1 callersFunctioncreateArmy
(color: string)
ai_animation/src/units/create.ts:24
↓ 1 callersFunctioncreateBounceAnimation
(unitMesh: THREE.Group, attemptedDestination: ProvinceENUM)
ai_animation/src/units/animate.ts:182
↓ 1 callersFunctioncreateCameraPan
()
ai_animation/src/main.ts:71
↓ 1 callersFunctioncreateChatBubble
(message: MessageSchemaType)
ai_animation/src/components/chatBubble.ts:5
↓ 1 callersFunctioncreateChatWindows
()
ai_animation/src/domElements/chatWindows.ts:26
↓ 1 callersFunctioncreateCloseButton
* Creates a close button
ai_animation/src/components/momentModal.ts:412
↓ 1 callersFunctioncreateCloseButton
* Creates a close button
ai_animation/src/components/victoryModal.ts:270
↓ 1 callersMethodcreateContainer
()
ai_animation/src/debug/eventQueueDisplay.ts:17
↓ 1 callersFunctioncreateConversationArea
* Creates the conversation display area
ai_animation/src/components/momentModal.ts:387
↓ 1 callersFunctioncreateDialogueContainer
* Creates the main dialogue container
ai_animation/src/components/momentModal.ts:213
↓ 1 callersFunctioncreateDialogueOverlay
* Creates the main overlay element
ai_animation/src/components/momentModal.ts:204
↓ 1 callersFunctioncreateFleet
(color: string)
ai_animation/src/units/create.ts:44
↓ 1 callersMethodcreateGame
(parameters)
diplomacy/web/src/diplomacy/client/channel.js:83
↓ 1 callersFunctioncreateHoldAnimation
(unitMesh: THREE.Group)
ai_animation/src/units/animate.ts:238
↓ 1 callersFunctioncreateLabel
(font, provName: String, provinceData: Province)
ai_animation/src/map/labels.ts:4
↓ 1 callersFunctioncreateMessageEvents
(phase: GamePhase)
ai_animation/src/domElements/chatWindows.ts:160
↓ 1 callersFunctioncreateMomentEvent
(moment: Moment)
ai_animation/src/components/momentModal.ts:48
↓ 1 callersFunctioncreateNarratorAudioEvent
(phase: GamePhase)
ai_animation/src/speech.ts:65
↓ 1 callersMethodcreateOnResetCallback
(component, onChangeCallback, resetState)
diplomacy/web/src/gui/components/forms.jsx:44
↓ 1 callersMethodcreateOrdersTree
(possibleOrders, tree, locToTypes)
diplomacy/web/src/diplomacy/engine/game.js:148
↓ 1 callersMethodcreateRadio
(name, value, title, currentValue, onChange)
diplomacy/web/src/gui/components/forms.jsx:81
↓ 1 callersMethodcreateReset
(title, large, onReset)
diplomacy/web/src/gui/components/forms.jsx:58
↓ 1 callersFunctioncreateShield
()
ai_animation/src/units/animate.ts:47
↓ 1 callersFunctioncreateSpawnAnimation
(newUnitMesh: THREE.Group)
ai_animation/src/units/animate.ts:97
↓ 1 callersFunctioncreateStandingsBoardElements
* Create all DOM elements needed for the standings board
ai_animation/src/domElements/standingsBoard.ts:51
↓ 1 callersFunctioncreateStandingsElement
* Creates the final standings display
ai_animation/src/components/victoryModal.ts:212
↓ 1 callersFunctioncreateSupplyCenters
()
ai_animation/src/units/create.ts:74
↓ 1 callersFunctioncreateUpdateNewsBannerEvent
(phase: GamePhase)
ai_animation/src/components/newsBanner.ts:10
↓ 1 callersFunctioncreateUpdateUIEvent
(phase: GamePhase)
ai_animation/src/domElements.ts:34
↓ 1 callersFunctioncreateVictoryContainer
* Creates the main victory container
ai_animation/src/components/victoryModal.ts:98
↓ 1 callersFunctioncreateVictoryOverlay
* Creates the main overlay element
ai_animation/src/components/victoryModal.ts:61
↓ 1 callersFunctioncreate_active_order_percentage_charts
Create active order percentage chart (sorted by activity level)
diplomacy_unified_analysis_final.py:570
↓ 1 callersMethodcreate_analysis_prompt
Create the analysis prompt for a single turn
analyze_game_moments.py:258
↓ 1 callersFunctioncreate_comparison_heatmap
Create comparison heatmap for top models
diplomacy_unified_analysis_final.py:946
↓ 1 callersFunctioncreate_comprehensive_charts
Create all visualization charts
diplomacy_unified_analysis_final.py:261
↓ 1 callersMethodcreate_game_id
Create and return a game ID not already used by a game in server database.
diplomacy/server/server.py:827
↓ 1 callersFunctioncreate_high_quality_models_chart
Create focused visualization for models with substantial gameplay data
diplomacy_unified_analysis_final.py:397
↓ 1 callersFunctioncreate_model_evolution_chart
Create model evolution chart showing version improvements
diplomacy_unified_analysis_final.py:1202
↓ 1 callersFunctioncreate_order_distribution_charts
Create order distribution heatmap
diplomacy_unified_analysis_final.py:628
↓ 1 callersFunctioncreate_phase_game_counts
Create phase and game count comparison
diplomacy_unified_analysis_final.py:889
↓ 1 callersFunctioncreate_physical_dates_timeline
Create timeline showing model activity over actual dates
diplomacy_unified_analysis_final.py:817
↓ 1 callersFunctioncreate_power_distribution_analysis
Create power distribution analysis
diplomacy_unified_analysis_final.py:757
↓ 1 callersFunctioncreate_success_over_physical_time
Create success rate evolution over physical dates
diplomacy_unified_analysis_final.py:1116
↓ 1 callersFunctioncreate_success_rates_charts
Create success rate charts for all models
diplomacy_unified_analysis_final.py:492
↓ 1 callersFunctioncreate_summary_report
Create a comprehensive summary report
diplomacy_unified_analysis_final.py:1287
↓ 1 callersFunctioncreate_temporal_analysis
Create temporal analysis by decade
diplomacy_unified_analysis_final.py:680
↓ 1 callersMethodcreate_token
Return a new token guaranteed to not exist in this Users object.
diplomacy/server/users.py:140
↓ 1 callersFunctioncreate_unit_control_analysis
Create unit control analysis showing performance vs unit count
diplomacy_unified_analysis_final.py:1001
↓ 1 callersMethoddefaultPage
()
diplomacy/web/src/gui/pages/page.jsx:72
↓ 1 callersMethoddemote_moderator
Remove given username from allowed moderators.
diplomacy/server/server_game.py:411
↓ 1 callersMethoddemote_omniscient
Remove given username from allowed omniscient observers.
diplomacy/server/server_game.py:416
↓ 1 callersFunctiondeserialize_agent
Recreates an agent object from a dictionary. If *override_model_id* is provided (e.g. because the CLI argument ``--models`` was used whe
ai_diplomacy/game_logic.py:38
↓ 1 callersMethoddetect_lies_in_phase
Detect lies by comparing messages, diary entries, and actual orders
analyze_game_moments.py:403
↓ 1 callersMethoddisbandToString
(path)
diplomacy/web/src/gui/utils/order_building.js:124
↓ 1 callersMethoddisconnect_token
Remove given token.
diplomacy/server/users.py:238
↓ 1 callersMethoddisplayFirstPastPhase
()
diplomacy/web/src/gui/pages/content_game.jsx:834
↓ 1 callersFunctiondisplayInitialPhase
()
ai_animation/src/phase.ts:234
↓ 1 callersMethoddisplayLastPastPhase
()
diplomacy/web/src/gui/pages/content_game.jsx:838
↓ 1 callersMethodelement_type
Get values type.
diplomacy/utils/sorted_set.py:57
↓ 1 callersMethodexecute
Executes the communications between clients
diplomacy/daide/tests/test_daide_game.py:313
↓ 1 callersMethodexpand
* Expands the debug panel
ai_animation/src/debug/debugMenu.ts:91
↓ 1 callersFunctionextract_dom
Parse given node. :param node: (input) node to parse :param nb_indentation: (input) number of indentation to use for current node co
diplomacy/web/svg_to_react.py:270
↓ 1 callersFunctionextract_extra
Collect extra information from given node into output extra. :type extra: dict
diplomacy/web/svg_to_react.py:228
↓ 1 callersFunctionextract_models_from_csv
Extract ALL models from CSV file ONLY - this is the source of truth
diplomacy_unified_analysis_final.py:77
↓ 1 callersMethodextract_promises_from_message
Extract specific promises from a message
analyze_game_moments.py:443
↓ 1 callersMethodextract_relevant_diary_excerpt
Extract the most relevant part of diary related to the promise
analyze_game_moments.py:715
↓ 1 callersMethodextract_turn_data
Extract relevant data from a single turn/phase
analyze_game_moments.py:242
↓ 1 callersFunctionfindBestPowerPairForMoment
* Finds the best power pair for a given moment based on message count * @param moment - The moment to analyze * @returns Object with power1, power2,
ai_animation/src/debug/showRandomMoment.ts:116
↓ 1 callersFunctionfindNextMoment
* Finds the next moment chronologically after the current phase * @param currentPhaseName - Current phase name * @returns Next moment or null if non
ai_animation/src/debug/nextMoment.ts:85
↓ 1 callersFunctionfind_destination_info
Helper - finds information about the destination of a unit at a given phase. Operating on the `all_orders_ever` dataframe from overa
analysis/p1_make_longform_orders_data.py:231
↓ 1 callersFunctionfind_support_recipient_info
Helper - finds information about the recipient of a support action at a given phase. Operating on the `all_orders_ever` dataframe fr
analysis/p1_make_longform_orders_data.py:262
↓ 1 callersFunctionfind_supporting_country
Helper - finds which orders support a given unit and records the supporting powers. Operating on the `all_orders_ever` dataframe.
analysis/p1_make_longform_orders_data.py:184
↓ 1 callersFunctionfiterAndSortChatMessagesForPhase
(phase: GamePhase)
ai_animation/src/domElements/chatWindows.ts:147
↓ 1 callersMethodflatten
Flattens a sublist
diplomacy/engine/game.py:3991
↓ 1 callersFunctionflipImageDataVertically
(imageData, width, height)
ai_animation/src/domElements/chatWindows.ts:471
↓ 1 callersMethodfor_observer
Return True if this message is sent to observers.
diplomacy/engine/message.py:119
↓ 1 callersMethodfrom_bytes
Builds a request from DAIDE bytes :param daide_bytes: The bytes representation of a request :return: The DaideRequest built
diplomacy/daide/requests.py:28
↓ 1 callersMethodfrom_string
Converts a string representation `str_repr` of MyStringable to an instance of MyStringable.
diplomacy/utils/tests/test_parsing.py:45
↓ 1 callersMethodgameCreationButton
()
diplomacy/web/src/gui/pages/content_games.jsx:101
↓ 1 callersMethodgameTitle
(game)
diplomacy/web/src/gui/pages/content_game.jsx:196
↓ 1 callersMethodgenSyncCallback
(game)
diplomacy/web/src/diplomacy/client/connection.js:38
↓ 1 callersFunctiongenerateFaceIcon
(power)
ai_animation/src/domElements/chatWindows.ts:340
↓ 1 callersMethodgenerateTabAction
PROPERTIES * active: index of active menu (must be > menu.length). * highlights: dictionary mapping a menu indice to a highlight message
diplomacy/web/src/gui/components/tabs.jsx:28
↓ 1 callersFunctiongenerate_analysis_reports
(json_directory)
experiments/analyze_rl_json.py:406
↓ 1 callersMethodgenerate_narrative
Generate a narrative story of the game using phase summaries and top moments
analyze_game_moments.py:831
↓ 1 callersMethodgenerate_negotiation_diary_entry
Generates a diary entry summarizing negotiations and updates relationships. This method now includes comprehensive LLM interaction lo
ai_diplomacy/agent.py:466
↓ 1 callersMethodgenerate_order_diary_entry
Generates a diary entry reflecting on the decided orders.
ai_diplomacy/agent.py:696
↓ 1 callersMethodgenerate_phase_result_diary_entry
( self, game: "Game", game_history: "GameHistory", phase_summary: str, all_orders: Dict[str, List[str]
ai_diplomacy/agent.py:840
↓ 1 callersFunctiongenerate_rich_order_context
Dispatch to phase-specific builders and (optionally) append the condensed move summary. Args: include_full – emit the full ri
ai_diplomacy/possible_order_context.py:924
↓ 1 callersMethodgenerate_sync_callback
Generate callback to call when response to sync request is received for given game. :param game: game :return: a callback. :
diplomacy/client/connection.py:452
↓ 1 callersMethodget
(fieldName)
diplomacy/web/src/gui/components/table.jsx:28
↓ 1 callersMethodgetActionButtons
()
diplomacy/web/src/gui/utils/inline_game_view.jsx:88
↓ 1 callersMethodgetAvailableMaps
(parameters)
diplomacy/web/src/diplomacy/client/channel.js:87
↓ 1 callersFunctiongetAvailableProvinces
()
ai_animation/src/debug/provinceHighlight.ts:130
↓ 1 callersMethodgetBodyLines
(header, data, wrapper)
diplomacy/web/src/gui/components/table.jsx:88
↓ 1 callersMethodgetBodyRow
(header, row, rowIndex, wrapper)
diplomacy/web/src/gui/components/table.jsx:80
↓ 1 callersMethodgetBuildsCount
(powerName)
diplomacy/web/src/diplomacy/engine/game.js:533
↓ 1 callersMethodgetClassName
()
diplomacy/web/src/gui/components/layouts.jsx:21
← previousnext →901–1,000 of 2,689, ranked by callers