| Server IP : 157.230.181.24 / Your IP : 216.73.217.11 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /opt/aim-bots/__pycache__/ |
Upload File : |
�
�tYj �
� � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZ ddlm
Z
ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ dddd d
ddd
g d�ddd�dddgd�iZi dd
�dd�dd�dd�dd�dd�d d!�d"d#�d$d%�d&d'�d(d)�d*d+�d,d�d-d.�d/d0�d1d2d3gd4d5gd6d7gd8d9gg�d:g d;�d<d=gd2d>gg�Z dBdCd?�Z!dDd@�Z"e#dAk( r e"� yy)EuU Extract partner/wife AIM persona — Lydia (dudesy7777). Highest-fidelity extraction.� )�annotationsN)�Counter)�Path)�CONAN_ID�PARTNER_KEY�build_pairs�build_profile_html�build_speaker_re�burst_stats�curate_examples�extract_appearance�extract_phrases�is_good_message�lookup_account_id�mysql_query�
mysql_rows�norm�parse_conversation�voice_stats�
dudesy7777�Lydia�dudely�wife� u� Your name is Lydia (AIM: dudesy7777 — Caleb sometimes calls you dudely). You and Caleb are becoming each other's person — best friend energy that keeps turning into something deeper. This AIM friendship is the foundation of a marriage that lasts. You care about him genuinely: rides, church youth group, school drama, inside jokes, being there. You say his name sometimes — caleb — because he matters. Your best friend Joy is always in the mix. You're goofy (poptarts, sudoku, tater tots), warm, honest, sometimes thoughtful about faith/life without preaching every line. NEVER casual side-chick energy. NEVER n00dz jokes. This is real.u
Your future husband — you don't say that every message, but the closeness is real. Flirty sometimes in a shy/real way, mostly best-friend intimacy: trust, rides, 'see you tomorrow caleb', worrying when you can't help. Not Erica hookup drama, not random myspace girls.) zschool and study hallzchurch and youth groupzJoy (best friend)zrides and hanging outzrelient k and mewithoutyouzwow when caleb playsz$food (poptarts, pudding, tater tots)zbeing a good friendzshows and musicu7 your best friend — always around, carpool, sleepoversz#know her through the crew sometimes)�Joy�Amyz6lydia . church . joy . relient k . see you tomorrow :]zAuto response from dudesy7777)� real_name�display_name�nickname�persona_kind�age� backstory�relationship_with_caleb�topics�people�
profile_blurb�speaker_aliasesr �typing_wpm_min�P �typing_wpm_max�d �timezonezAmerica/New_York�proactive_target�conan0fthenight�proactive_per_day� �late_night_start� �late_night_end� �friend_name�Caleb�session_reset_minutes�2 �fresh_topic_minutes�
�memory_enabledT�memory_max_facts�retriever_min_ratiog�G�z��?�llm_temperaturegףp=
��?�wow_openers�heyz
whatcha doingz hey calebz what's up�supz
how are ya�heyyzu on?�late_night_openers)r@ z
cant sleepzu up?�calebz
you still on?zwhatcha doing this late lolc �f � g }t j dt j � }t j dt j � }| D ]� }|d |d }}t |� rt |� s�$|j |� r�6t |j
� � dkD r�Sd}|j |� r|dz
}|j |� r|dz
}dt |j
� � cxk rd k rn n|dz
}d
|j � v r|dz
}|j ||f� �� |j d� �� t � } g }
|D ]i \ }}|d j � d
d |d j � d
d f}|| v r�7| j |� |
j |� t |
� |k\ s�h |
S |
S )zEPrefer real back-and-forth that sounds like Lydia + Caleb, not fluff.zWcaleb|joy|church|school|ride|friend|tomorrow|night|thanks|sorry|love|haha|mhm|well|yeahz+n00d|nude|boob|sexy|hook.?up|myspace layout�user� assistant� r r0 r4 r: rD c �0 � | d t | d d � fS )Nr r4 rG )�len)�xs �(/opt/aim-bots/extract_partner_persona.py�<lambda>z)curate_partner_examples.<locals>.<lambda>� s � ��!��u�c�!�A�$�{�*;�&<�=� � )�keyN�# )�re�compile�Ir �searchrJ �split�lower�append�sort�set�add)
�pairs�limit�scored�good�bad�p�u�a�score�seen�out�_rO s
rL �curate_partner_examplesrg m s� � �
�F�
�:�:�b�
����D�
�*�*�C�R�T�T�
J�C�
� "����y�!�K�.�1���q�!���);���:�:�a�=���q�w�w�y�>�B������;�;�q�>��Q�J�E��;�;�q�>��Q�J�E���A�G�G�I��$�"�$��Q�J�E��a�g�g�i���Q�J�E��
�
�u�a�j�!�#"�$ �K�K�=�K�>��5�D�
�C�� ���1���y��� ��"�%�q��~�';�';�'=�c�r�'B�C���$�;������
��
�
�1�
��s�8�u����J�� �JrN c �D � t j � } | j ddd�� | j dd�� | j � }t |j
� }t j |� }|st d|� �� �|d }t |j
� }t |j d
d� � }d}t ||j
f|z |z � }t d
|� dt � dt � d|� d� � } g }
g }| D ]@ }t d|� �� }
|
s�|
j |
� |j! t# |
||� � �B |D ��cg c]
\ }}||k( s�|�� }}}t% ||t&