user-simulator 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ import numpy as np
2
+ import yaml
3
+ import random
4
+
5
+ # these are only examples of functions to create lists.
6
+
7
+ def number_list(min, max, step):
8
+ numberlist = np.arange(min, max, step)
9
+ return numberlist.tolist()
10
+
11
+
12
+ def random_list():
13
+ randomlist = np.random.randint(0, 10, 3)
14
+ return randomlist.tolist()
15
+
16
+
17
+ def shuffle_list(file):
18
+ with open(file, 'r', encoding="UTF-8") as f:
19
+ yaml_file = yaml.safe_load(f)
20
+ dic = list(yaml_file.keys())
21
+ yaml_list = yaml_file[dic[0]]
22
+ copy_list = yaml_list.copy()
23
+ random.shuffle(copy_list)
24
+ return copy_list
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: user-simulator
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: LLM-based user simulator for chatbot testing.
5
5
  Author: Alejandro Del Pozzo Escalera, Juan de Lara Jaramillo, Esther Guerra Sánchez
6
6
  License: MIT License
@@ -25,7 +25,7 @@ License: MIT License
25
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
26
  SOFTWARE.
27
27
  Project-URL: Homepage, https://github.com/satori-chatbots/user-simulator
28
- Requires-Python: >=3.12
28
+ Requires-Python: <3.13,>=3.8
29
29
  Description-Content-Type: text/markdown
30
30
  License-File: LICENSE.txt
31
31
  Requires-Dist: allpairspy>=2.5.1
@@ -1,3 +1,4 @@
1
+ data/list_functions/number_list.py,sha256=1BlyyjDc2gIghQTQNSkIP35lmk5eR9ADmwS1UGBX7ZQ,593
1
2
  metamorphic/__init__.py,sha256=BqyThH4lzS95P_YZ27b4K3rf5P9JgwHU9I3r99jSEiQ,135
2
3
  metamorphic/results.py,sha256=kKeud02cNpehVmHRAkVO-uf1rd-H7D8cAkSeiKmU8Jg,2040
3
4
  metamorphic/rule_utils.py,sha256=frm2IDxHEsYlvFVTQqFDEdfDVejNKtqhxreIOb7_Jrs,17978
@@ -39,9 +40,9 @@ user_sim/utils/show_logs.py,sha256=pqwksfYYFZEu3pb-4KJrV4OEaiAUrfc5-G1qz8akJmo,1
39
40
  user_sim/utils/token_cost_calculator.py,sha256=6jf8jqppq-Ao_pJJEdqvvUmI9aeDY-dYqqTHomqWEgc,12548
40
41
  user_sim/utils/url_management.py,sha256=TnV4Qv09SVmjXrEa2sqRCFiqr3tyzMkqAhs1XpR7U4I,2010
41
42
  user_sim/utils/utilities.py,sha256=IC6KlyZeRJOElOl-QfZLo1VPkWW6l_qjRHCazw4XZ-g,19774
42
- user_simulator-0.1.4.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
43
- user_simulator-0.1.4.dist-info/METADATA,sha256=4C2Oa-nf4CUw-0DsvPNa_FWbmE2PK_tUFeHF79SD3dc,31705
44
- user_simulator-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
45
- user_simulator-0.1.4.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
46
- user_simulator-0.1.4.dist-info/top_level.txt,sha256=IGlrGt_QHrM2G3Mlo76gMp8ArUR_F9k4RrzJd8YHpE4,34
47
- user_simulator-0.1.4.dist-info/RECORD,,
43
+ user_simulator-0.1.6.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
44
+ user_simulator-0.1.6.dist-info/METADATA,sha256=DDvTOCSE6c9fpvt0Y2FkWD2qpFObzhqepCWJQA_mjTs,31710
45
+ user_simulator-0.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
+ user_simulator-0.1.6.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
47
+ user_simulator-0.1.6.dist-info/top_level.txt,sha256=MWxB7cP3CckTVi4WWjejVAnJiPKwQSpGihrVfyPewGE,39
48
+ user_simulator-0.1.6.dist-info/RECORD,,
@@ -1,3 +1,4 @@
1
+ data
1
2
  metamorphic
2
3
  technologies
3
4
  user_sim