403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/aim-bots/__pycache__/extract_partner_persona.cpython-312.pyc
�

�tYj �
��dZddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZddlm
Z
ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZdddd	d
ddd
gd�ddd�dddgd�iZidd
�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:gd;�d<d=gd2d>gg�Z dBdCd?�Z!dDd@�Z"e#dAk(re"�yy)EuUExtract 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 musicu7your 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}tjdtj�}tjdtj�}|D]�}|d|d}}t|�rt|�s�$|j	|�r�6t|j
��dkDr�Sd}|j	|�r|dz
}|j	|�r|dz
}dt|j
��cxkrd	krnn|dz
}d
|j�vr|dz
}|j||f���|jd���t�}	g}
|D]i\}}|dj�d
d|dj�d
df}||	vr�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�rr0r4r:rDc�0�|dt|dd�fS)Nrr4rG)�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�_rOs
             rL�curate_partner_examplesrgms���
�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���JrNc�D�tj�}|jddd��|jdd��|j�}t	|j
�}tj|�}|std|����|d	}t|j
�}t|jd
d��}d}t||j
f|z|z�}td
|�dt�dt�d|�d�	�}	g}
g}|	D]@}td|���}
|
s�|
j|
�|j!t#|
||���B|D��cgc]
\}}||k(s�|��}}}t%||t&�}t)t*j-d�|D���}||j
f|z}t/|
|�}|jd�dk(r|j1dddddd��t3j4d�||d|dt7|�t7|�t9|d�t3j:|t=dt7|���t?|�d �	|�}tA|jB�|z}|jEd!d!�"�tFjI�}|j1|jK�D��cic]\}}|d
k7s�||��c}}�|j1tM|��|j1tO||��tQ||�|d#<|d$zjStUjV|d%�&��|d'zjStUjV|d%�&��|d(zjSd)|�d*|�d+��tYjZ|d,zd-d.�/�5}tUj\||�ddd�t_d0|�d1t7|��d2t7|��d3t7|d4��d5|jd��d6|jd7����ycc}}wcc}}w#1swY�oxYw)8N�
screennamer�?)�default�nargsz--outz/opt/aim-bots/personas)rkzNo partner meta for rr'�)�Conan0fTheNightr.z1SELECT id FROM conversations WHERE (from_account=z AND to_account=z) OR (from_account=z
) ORDER BY idz+SELECT content FROM conversations WHERE id=c3�8K�|]}t|�s�|���y�w)N)r)�.0�ms  rL�	<genexpr>zmain.<locals>.<genexpr>�s����%T�A��QR�AS�a�%T�s���
font_colorz#ff66cc�Arialz#408080�1z#000040�font)�	font_facers�	font_size�body_bgcolor�	html_wrap�*rr�(r))	�screen_namerr r�
message_count�
pair_count�examples�sample_messages�phrasesT)�parents�exist_ok�profile_htmlzpersona.jsonr0)�indentz
voice.jsonzbot.envzOSCAR_PASSWORD=z
PERSONA_DIR=z"
PROACTIVE_TARGET=conan0fthenight
z
pairs.json.gz�wtzutf-8)�encodingzExtracted Lydia (z): z msgs, z pairs, r�z curated examples, style � rw)0�argparse�ArgumentParser�add_argument�
parse_argsrri�PARTNER_META�get�
SystemExitr�tupler
rrrrW�extendrrr�list�dict�fromkeysr
�update�random�seedrJrg�sample�minrrre�mkdir�VOICE_TEMPLATE�copy�itemsrrr	�
write_text�json�dumps�gzip�open�dump�print)�parser�args�persona_key�meta�display�
account_id�alias_names�conan_names�
speaker_re�conv_ids�	raw_lines�all_entries�cid�content�speaker�text�persona_msgsr[�good_samples�appearance_names�
appearance�persona�out_dir�voice�k�v�fhs                           rL�mainr��s��
�
$�
$�
&�F�
����l�#��F�
����)A��B�����D��t���'�K����K�(�D���/��}�=�>�>��>�"�G�"�4�?�?�3�J�����!2�B�7�8�K�8�K�!�7�D�O�O�"<�{�"J�[�"X�Y�J���#��$4�X�J�?�!�
�"2�:�,�m�	M��H�
�I��K��Q��� K�C�5�Q�R��������!����-�g�z�;�O�P�Q�/:�T�]�W�d�W��=S�D�T�L�T���[�+�>�E���
�
�%T��%T�T�U�L�����1�K�?��#�I�/?�@�J��~�~�l�#�y�0���� �#��%��
�	��K�K��O�"����+�&��\�*��%�j�+�E�2�6�!�=�=��s�2�s�<�?P�7Q�R�"�<�0����G��4�8�8�n�{�*�G��M�M�$��M�.����!�E�	�L�L�4�:�:�<�J�4�1�a�1�8I�3I�!�Q�$�J�K�	�L�L��\�*�+�	�L�L��[�+�6�7�.�t�Z�@�E�.���~��)�)�$�*�*�W�Q�*G�H��|��'�'��
�
�5��(C�D��y��$�$�
�+��n�W�I�=a�b��
���7�_�,�d�W�	E����	�	�%����
�
�K�=��C��,=�+>�g�c�%�j�\�QY��w�z�"�#�
$�%�����-�.�a�
���{�0K�/L�	N���[U��@K���s$�
P
�P
�*
P
�8P
�P�P�__main__)r|)r[�
list[dict]r\�int�returnr�)r��None)$�__doc__�
__future__rr�r�r�r�rQ�
statistics�
subprocess�collectionsr�pathlibr�extract_side_personarrrr	r
rrr
rrrrrrrrr�r�rgr��__name__rmrNrL�<module>r�s���[�"����
�	����������(��$����
O�
(�


�M�8�
�R�(�*I�J�M'�)��V��F���b���c���"�	�
�)����
�����a���7���R���2���d������4���t�� �	�� �	�k�"�	���	���	�!�,�&�	�/�"�	�-�.��-��<%�PP�f�z���F�rN

Youez - 2016 - github.com/yon3zu
LinuXploit