janus-llm 4.2.0__py3-none-any.whl → 4.3.5__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. janus/__init__.py +1 -1
  2. janus/__main__.py +1 -1
  3. janus/_tests/evaluator_tests/EvalReadMe.md +85 -0
  4. janus/_tests/evaluator_tests/incose_tests/incose_large_test.json +39 -0
  5. janus/_tests/evaluator_tests/incose_tests/incose_small_test.json +17 -0
  6. janus/_tests/evaluator_tests/inline_comment_tests/mumps_inline_comment_test.m +71 -0
  7. janus/_tests/test_cli.py +3 -2
  8. janus/cli/aggregate.py +135 -0
  9. janus/cli/cli.py +111 -0
  10. janus/cli/constants.py +43 -0
  11. janus/cli/database.py +289 -0
  12. janus/cli/diagram.py +178 -0
  13. janus/cli/document.py +174 -0
  14. janus/cli/embedding.py +122 -0
  15. janus/cli/llm.py +187 -0
  16. janus/cli/partition.py +125 -0
  17. janus/cli/self_eval.py +149 -0
  18. janus/cli/translate.py +183 -0
  19. janus/converter/__init__.py +1 -1
  20. janus/converter/_tests/test_translate.py +2 -0
  21. janus/converter/converter.py +129 -92
  22. janus/converter/document.py +21 -14
  23. janus/converter/evaluate.py +237 -4
  24. janus/converter/translate.py +3 -3
  25. janus/embedding/collections.py +1 -1
  26. janus/language/alc/_tests/alc.asm +3779 -0
  27. janus/language/alc/_tests/test_alc.py +1 -1
  28. janus/language/alc/alc.py +9 -4
  29. janus/language/binary/_tests/hello.bin +0 -0
  30. janus/language/block.py +47 -12
  31. janus/language/file.py +1 -1
  32. janus/language/mumps/_tests/mumps.m +235 -0
  33. janus/language/splitter.py +31 -23
  34. janus/language/treesitter/_tests/languages/fortran.f90 +416 -0
  35. janus/language/treesitter/_tests/languages/ibmhlasm.asm +16 -0
  36. janus/language/treesitter/_tests/languages/matlab.m +225 -0
  37. janus/language/treesitter/treesitter.py +9 -1
  38. janus/llm/models_info.py +26 -13
  39. janus/metrics/_tests/asm_test_file.asm +10 -0
  40. janus/metrics/_tests/mumps_test_file.m +6 -0
  41. janus/metrics/_tests/test_treesitter_metrics.py +1 -1
  42. janus/metrics/prompts/clarity.txt +8 -0
  43. janus/metrics/prompts/completeness.txt +16 -0
  44. janus/metrics/prompts/faithfulness.txt +10 -0
  45. janus/metrics/prompts/hallucination.txt +16 -0
  46. janus/metrics/prompts/quality.txt +8 -0
  47. janus/metrics/prompts/readability.txt +16 -0
  48. janus/metrics/prompts/usefulness.txt +16 -0
  49. janus/parsers/code_parser.py +4 -4
  50. janus/parsers/doc_parser.py +12 -9
  51. janus/parsers/eval_parsers/incose_parser.py +134 -0
  52. janus/parsers/eval_parsers/inline_comment_parser.py +112 -0
  53. janus/parsers/parser.py +7 -0
  54. janus/parsers/partition_parser.py +47 -13
  55. janus/parsers/reqs_parser.py +8 -5
  56. janus/parsers/uml.py +5 -4
  57. janus/prompts/prompt.py +2 -2
  58. janus/prompts/templates/README.md +30 -0
  59. janus/prompts/templates/basic_aggregation/human.txt +6 -0
  60. janus/prompts/templates/basic_aggregation/system.txt +1 -0
  61. janus/prompts/templates/basic_refinement/human.txt +14 -0
  62. janus/prompts/templates/basic_refinement/system.txt +1 -0
  63. janus/prompts/templates/diagram/human.txt +9 -0
  64. janus/prompts/templates/diagram/system.txt +1 -0
  65. janus/prompts/templates/diagram_with_documentation/human.txt +15 -0
  66. janus/prompts/templates/diagram_with_documentation/system.txt +1 -0
  67. janus/prompts/templates/document/human.txt +10 -0
  68. janus/prompts/templates/document/system.txt +1 -0
  69. janus/prompts/templates/document_cloze/human.txt +11 -0
  70. janus/prompts/templates/document_cloze/system.txt +1 -0
  71. janus/prompts/templates/document_cloze/variables.json +4 -0
  72. janus/prompts/templates/document_cloze/variables_asm.json +4 -0
  73. janus/prompts/templates/document_inline/human.txt +13 -0
  74. janus/prompts/templates/eval_prompts/incose/human.txt +32 -0
  75. janus/prompts/templates/eval_prompts/incose/system.txt +1 -0
  76. janus/prompts/templates/eval_prompts/incose/variables.json +3 -0
  77. janus/prompts/templates/eval_prompts/inline_comments/human.txt +49 -0
  78. janus/prompts/templates/eval_prompts/inline_comments/system.txt +1 -0
  79. janus/prompts/templates/eval_prompts/inline_comments/variables.json +3 -0
  80. janus/prompts/templates/micromanaged_mumps_v1.0/human.txt +23 -0
  81. janus/prompts/templates/micromanaged_mumps_v1.0/system.txt +3 -0
  82. janus/prompts/templates/micromanaged_mumps_v2.0/human.txt +28 -0
  83. janus/prompts/templates/micromanaged_mumps_v2.0/system.txt +3 -0
  84. janus/prompts/templates/micromanaged_mumps_v2.1/human.txt +29 -0
  85. janus/prompts/templates/micromanaged_mumps_v2.1/system.txt +3 -0
  86. janus/prompts/templates/multidocument/human.txt +15 -0
  87. janus/prompts/templates/multidocument/system.txt +1 -0
  88. janus/prompts/templates/partition/human.txt +22 -0
  89. janus/prompts/templates/partition/system.txt +1 -0
  90. janus/prompts/templates/partition/variables.json +4 -0
  91. janus/prompts/templates/pseudocode/human.txt +7 -0
  92. janus/prompts/templates/pseudocode/system.txt +7 -0
  93. janus/prompts/templates/refinement/fix_exceptions/human.txt +19 -0
  94. janus/prompts/templates/refinement/fix_exceptions/system.txt +1 -0
  95. janus/prompts/templates/refinement/format/code_format/human.txt +12 -0
  96. janus/prompts/templates/refinement/format/code_format/system.txt +1 -0
  97. janus/prompts/templates/refinement/format/requirements_format/human.txt +14 -0
  98. janus/prompts/templates/refinement/format/requirements_format/system.txt +1 -0
  99. janus/prompts/templates/refinement/hallucination/human.txt +13 -0
  100. janus/prompts/templates/refinement/hallucination/system.txt +1 -0
  101. janus/prompts/templates/refinement/reflection/human.txt +15 -0
  102. janus/prompts/templates/refinement/reflection/incose/human.txt +26 -0
  103. janus/prompts/templates/refinement/reflection/incose/system.txt +1 -0
  104. janus/prompts/templates/refinement/reflection/incose_deduplicate/human.txt +16 -0
  105. janus/prompts/templates/refinement/reflection/incose_deduplicate/system.txt +1 -0
  106. janus/prompts/templates/refinement/reflection/system.txt +1 -0
  107. janus/prompts/templates/refinement/revision/human.txt +16 -0
  108. janus/prompts/templates/refinement/revision/incose/human.txt +16 -0
  109. janus/prompts/templates/refinement/revision/incose/system.txt +1 -0
  110. janus/prompts/templates/refinement/revision/incose_deduplicate/human.txt +17 -0
  111. janus/prompts/templates/refinement/revision/incose_deduplicate/system.txt +1 -0
  112. janus/prompts/templates/refinement/revision/system.txt +1 -0
  113. janus/prompts/templates/refinement/uml/alc_fix_variables/human.txt +15 -0
  114. janus/prompts/templates/refinement/uml/alc_fix_variables/system.txt +2 -0
  115. janus/prompts/templates/refinement/uml/fix_connections/human.txt +15 -0
  116. janus/prompts/templates/refinement/uml/fix_connections/system.txt +2 -0
  117. janus/prompts/templates/requirements/human.txt +13 -0
  118. janus/prompts/templates/requirements/system.txt +2 -0
  119. janus/prompts/templates/retrieval/language_docs/human.txt +10 -0
  120. janus/prompts/templates/retrieval/language_docs/system.txt +1 -0
  121. janus/prompts/templates/simple/human.txt +16 -0
  122. janus/prompts/templates/simple/system.txt +3 -0
  123. janus/refiners/format.py +49 -0
  124. janus/refiners/refiner.py +143 -4
  125. janus/utils/enums.py +140 -111
  126. janus/utils/logger.py +2 -0
  127. {janus_llm-4.2.0.dist-info → janus_llm-4.3.5.dist-info}/METADATA +7 -7
  128. janus_llm-4.3.5.dist-info/RECORD +210 -0
  129. {janus_llm-4.2.0.dist-info → janus_llm-4.3.5.dist-info}/WHEEL +1 -1
  130. janus_llm-4.3.5.dist-info/entry_points.txt +3 -0
  131. janus/cli.py +0 -1343
  132. janus_llm-4.2.0.dist-info/RECORD +0 -113
  133. janus_llm-4.2.0.dist-info/entry_points.txt +0 -3
  134. {janus_llm-4.2.0.dist-info → janus_llm-4.3.5.dist-info}/LICENSE +0 -0
janus/utils/logger.py CHANGED
@@ -62,6 +62,8 @@ def create_logger(name: str) -> logging.Logger:
62
62
  rh = RichHandler()
63
63
  rh.addFilter(LogFilter())
64
64
  handlers = [rh]
65
+ if (log_file := os.environ.get("JANUSLOGFILE")) is not None:
66
+ handlers.append(logging.FileHandler(filename=log_file))
65
67
  logging.basicConfig(
66
68
  level=log_level,
67
69
  format=FORMAT,
@@ -1,21 +1,21 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: janus-llm
3
- Version: 4.2.0
3
+ Version: 4.3.5
4
4
  Summary: A transcoding library using LLMs.
5
- Home-page: https://github.com/janus-llm/janus-llm
6
5
  License: Apache 2.0
7
6
  Author: Michael Doyle
8
7
  Author-email: mdoyle@mitre.org
9
- Requires-Python: >=3.11,<3.12
8
+ Requires-Python: >=3.11,<3.13
10
9
  Classifier: License :: Other/Proprietary License
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
13
  Provides-Extra: all
14
14
  Provides-Extra: bedrock
15
15
  Provides-Extra: hf-local
16
16
  Requires-Dist: aenum (>=3.1.15,<4.0.0)
17
17
  Requires-Dist: boto3 (>=1.34.142,<2.0.0) ; extra == "bedrock" or extra == "all"
18
- Requires-Dist: chromadb (>=0.5.0,<0.6.0)
18
+ Requires-Dist: chromadb (>=0.5.21,<0.6.0)
19
19
  Requires-Dist: gitpython (>=3.1.32,<4.0.0)
20
20
  Requires-Dist: gpt4all (>=2.0.2,<3.0.0)
21
21
  Requires-Dist: langchain (>=0.2.0,<0.3.0)
@@ -30,12 +30,14 @@ Requires-Dist: openai (>=1.14.0,<2.0.0)
30
30
  Requires-Dist: pi-heif (>=0.20.0,<0.21.0)
31
31
  Requires-Dist: py-readability-metrics (>=1.4.5,<2.0.0)
32
32
  Requires-Dist: py-rouge (>=1.1,<2.0)
33
+ Requires-Dist: pybind11 (>=2.13.6,<3.0.0)
33
34
  Requires-Dist: pytesseract (>=0.3.13,<0.4.0)
34
35
  Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
35
36
  Requires-Dist: rich (>=13.7.1,<14.0.0)
36
37
  Requires-Dist: sacrebleu (>=2.4.1,<3.0.0)
37
38
  Requires-Dist: scikit-learn (>=1.5.2,<2.0.0)
38
39
  Requires-Dist: sentence-transformers (>=2.6.1,<3.0.0) ; extra == "hf-local" or extra == "all"
40
+ Requires-Dist: setuptools (>=75.6.0,<76.0.0)
39
41
  Requires-Dist: tesseract (>=0.1.3,<0.2.0)
40
42
  Requires-Dist: text-generation (>=0.6.0,<0.7.0)
41
43
  Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
@@ -101,8 +103,6 @@ Clone the repository:
101
103
  git clone git@github.com:janus-llm/janus-llm.git
102
104
  ```
103
105
 
104
- **NOTE**: Make sure you're using Python 3.10 or 3.11.
105
-
106
106
  Then, install the requirements:
107
107
 
108
108
  ```shell
@@ -0,0 +1,210 @@
1
+ janus/__init__.py,sha256=2-o8OirYdtEMQhfO5X6nIzP0AsdZHGY4PtRjBg33AFo,361
2
+ janus/__main__.py,sha256=Z1-R163-Ryac2kY1sKYfflqBl40nm-o54tlPjGiOP98,68
3
+ janus/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ janus/_tests/conftest.py,sha256=V7uW-oq3YbFiRPvrq15YoVVrA1n_83pjgiyTZ-IUGW8,963
5
+ janus/_tests/evaluator_tests/EvalReadMe.md,sha256=2TJavH0Kic7RPQoRqRqt51cUTQfhCy0-2Tnsv4-hlVQ,5678
6
+ janus/_tests/evaluator_tests/incose_tests/incose_large_test.json,sha256=_tiBnF_D8gI3n95wW9rtwemoZ_n7L1lDAszP9iDlifs,5895
7
+ janus/_tests/evaluator_tests/incose_tests/incose_small_test.json,sha256=KHizvtrEvRLrBw25q34I-qonDyFUSUpHpOpFhCmKjAo,2557
8
+ janus/_tests/evaluator_tests/inline_comment_tests/mumps_inline_comment_test.m,sha256=i2U_YymEFxpX9w9_5wN_bV4ZHzk8THyVdvhH-2Xildk,3490
9
+ janus/_tests/test_cli.py,sha256=Y1Gx17fBNTQWJGmjPff8bZgg5AnUY0fMWAHzQ0qwi08,4316
10
+ janus/cli/aggregate.py,sha256=VLv32jMTNruCMOdnzMeNpSilu3h95HosrfGrh3YACPk,4142
11
+ janus/cli/cli.py,sha256=-wBRRtjReFGyTUBZnXwGINFiWpi0X6prPQJWXVFt6bE,2684
12
+ janus/cli/constants.py,sha256=hqQY-laRMArNCN0eXrQjpQbVn_-RfPoaBn9mTnWrfvA,1029
13
+ janus/cli/database.py,sha256=EkLv_fJNlG6oKvCcEzezdHIChaJlPUl3AgeejJU4rW0,9540
14
+ janus/cli/diagram.py,sha256=qEJYGp66gs5v5BaC53eoqbRmxc5wecbqf0exS9JSDK4,5257
15
+ janus/cli/document.py,sha256=jA7FVGQNmktG-qmTrAdixocEX9LhHTTOdyc9YCEolgQ,5425
16
+ janus/cli/embedding.py,sha256=WBNtcWPrXB4VfzKjeB_fOUm945gzgGjF2XbZkGltgYY,4215
17
+ janus/cli/llm.py,sha256=LdtL0VmEMXS7usYRtFfsIe7q_OKyGziJZUykYtq8mSU,6343
18
+ janus/cli/partition.py,sha256=D3w7s1w9GogXMOeIHzZZJ1MHMmTJupOqdPB80zmXAi0,3647
19
+ janus/cli/self_eval.py,sha256=pZ7kDshISCfqOAqba5v56NhHnReXwxIsx0taRjAQIB4,4445
20
+ janus/cli/translate.py,sha256=UodCvTv2_x-7XT7hqKq4inF5NLEI3zfbVLNAVJzVYxo,5683
21
+ janus/converter/__init__.py,sha256=7oDRGUyVGhxyiZQDYoY7z6Vyokmu-06hm2RMMfo9adg,393
22
+ janus/converter/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ janus/converter/_tests/test_translate.py,sha256=1NxlQdWoKeMxmNCR4ka-asO6jcVbenJIv1VEpIDiSzU,5740
24
+ janus/converter/aggregator.py,sha256=MuAXMKmq6PuUo_w6ljyiuDn81Gk2dN-Ci7FVeLc6vhs,1966
25
+ janus/converter/converter.py,sha256=e7xWx2eXnv8TMRSm9jvhXOCggJMVjrAAQkKkquztLI8,27871
26
+ janus/converter/diagram.py,sha256=-wktVBPrSBgNIQfHIfa2bJNg6L9CYJQgrr9-xU8DFPw,1646
27
+ janus/converter/document.py,sha256=2eFWTrQvo9bhA9INLIwx7KJSgic1GtqO83IPREm5b_U,5156
28
+ janus/converter/evaluate.py,sha256=EjZyqvuUfoDsmOv95Mv6As3BUiD5jUzuRSi_aX1LuqI,9514
29
+ janus/converter/partition.py,sha256=ASvv4hAue44qHobO4kqr_tKr-eJsXCPPdD3NtNd9V-E,993
30
+ janus/converter/requirements.py,sha256=9tvQ40FZJtG8niIFn45gPQCgKKHVPPoFLinBv6RAqO4,2027
31
+ janus/converter/translate.py,sha256=64PouZ6nO95E-5YDRgZa5wA3TSgXkmHcND1qoSi1yzU,4232
32
+ janus/embedding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ janus/embedding/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ janus/embedding/_tests/test_collections.py,sha256=llg-JSuRRFhKkHFiWWSHEWV3iaT6Lwue0lp2tEml9io,2668
35
+ janus/embedding/_tests/test_database.py,sha256=BhsdCVz3eNZJN69y5XQcEajcBjPNF2pEM4qJGOEYRxU,1033
36
+ janus/embedding/_tests/test_vectorize.py,sha256=StnjQ46blp6tl9hIVfwnU9R8vf5GaMvcrUlz4lMqRP8,1984
37
+ janus/embedding/collections.py,sha256=SV0x5LsuN_GGu4UyUQlAVS_JfaSHLs-LCeBrUZXvDNA,5446
38
+ janus/embedding/database.py,sha256=WnH5Vq-uQaq8vxkNglNwlpaudGvXAekSA0j5cbUTQuo,3300
39
+ janus/embedding/embedding_models_info.py,sha256=ZV0Ve4_Zq_B_fnL3QohAQUHlRvQGg0minm3IbILL3vs,5078
40
+ janus/embedding/vectorize.py,sha256=s5DWrWuH0M9qYbLl4oqvwZzZo-ISjGU8Inc9KERQkSc,6449
41
+ janus/language/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
+ janus/language/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
+ janus/language/_tests/test_combine.py,sha256=sjVVPUg4LYkAmazXGUw_S1xPrzWm67_0tCxhjemNdtI,1843
44
+ janus/language/_tests/test_splitter.py,sha256=Hqexa39LLEXlK3ZUw7Zot4PUIACvye2vkq0Jaox0T10,373
45
+ janus/language/alc/__init__.py,sha256=j7vOMGhT1Vri6p8dsjSaY-fkO5uFn0sJ0nrNGGvcizM,42
46
+ janus/language/alc/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
+ janus/language/alc/_tests/alc.asm,sha256=dG_3G7THwLqb_2MSk92ObHca2bqUaFL6GFhT_6lf7XQ,207610
48
+ janus/language/alc/_tests/test_alc.py,sha256=8LKidOPJDlMonRBX9w8AVOKHhyR-O2srW4ntzw5rEEs,1018
49
+ janus/language/alc/alc.py,sha256=YteDO6DR5hnQULjI3j8Je-w05MH50ZARtXB66FqkZi4,7088
50
+ janus/language/binary/__init__.py,sha256=AlNAe12ZA366kcGSrQ1FJyOdbwxFqGBFkYR2K6yL818,51
51
+ janus/language/binary/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ janus/language/binary/_tests/hello.bin,sha256=SRcqx55Vm9GhstlNSA1jDm0AJCCPhP0XuqbHEabHVNo,33432
53
+ janus/language/binary/_tests/test_binary.py,sha256=cIKIxjj6kIY3rcxLwqUPESP9bxWrHqMHx9TNuICgfeQ,1724
54
+ janus/language/binary/binary.py,sha256=PHsVa8jcM7sW9aTboGRWXj6ewQznz0kVPNWtP4B9YPU,6555
55
+ janus/language/binary/reveng/decompile_script.py,sha256=veW51oJzuO-4UD3Er062jXZ_FYtTFo9OCkl82Z2xr6A,2182
56
+ janus/language/block.py,sha256=ob2sblvzn06jKodkQ2LvPR9fXVyuXSR1nhmbmDWn6TA,10543
57
+ janus/language/combine.py,sha256=egZRl1xZXAFXa2ZjjfqnNckc9uxuo6e1MJgkRrCgvd8,3650
58
+ janus/language/file.py,sha256=dh2S3owuDOAKaV-GopLmdezmZ4U_Fyp2pLyGmEf0-QU,581
59
+ janus/language/mumps/__init__.py,sha256=-Ou_wJ-JgHezfp1dub2_qCYNiK9wO-zo2MlqxM9qiwE,48
60
+ janus/language/mumps/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
+ janus/language/mumps/_tests/mumps.m,sha256=crk1eNlH72xqImRAczh82DmyZh1HY6OMQyDUR1WAAfc,10206
62
+ janus/language/mumps/_tests/test_mumps.py,sha256=YxnQkobM9VR_Zow2oLaZxZs8bPipvbFWSza4zlWbMi8,1010
63
+ janus/language/mumps/mumps.py,sha256=-eyafFN9IeUQMU7yEsICJDrDb5tkYV_EydqFCjcuM_o,7381
64
+ janus/language/mumps/patterns.py,sha256=fLbgEnPYYggfqTnBwXf0XbnlU3g_bM4tsmO1YHYv5Jw,2313
65
+ janus/language/naive/__init__.py,sha256=_Gq4inONyVYxe8WLB59d_69kqGbtF40BGKoJPnK4tZ0,258
66
+ janus/language/naive/basic_splitter.py,sha256=RM9pJK2YkHfb6_EFEV-dh_rLqkjS6v0cn3ASPf8A6Fg,459
67
+ janus/language/naive/chunk_splitter.py,sha256=ebRSbaJhDW-Hyr5__ukbdmAl6kQ1WWFqrq_SfCgHo6k,772
68
+ janus/language/naive/registry.py,sha256=8YQX1q0IdAm7t69-oC_00I-vfkdRnHuX-OD3KEjEIuU,294
69
+ janus/language/naive/simple_ast.py,sha256=YzeUJomVsnttJc8tI9eDROb2Hx9Vm9XKmOnLEp3TkzI,3112
70
+ janus/language/naive/tag_splitter.py,sha256=IXWMn9tBVUGAtzvQi89GhoZ6g7fPXk5MzO0kMCr2mb0,2045
71
+ janus/language/node.py,sha256=baoYFtapwBQqBtUN6EvHFYRkbR-EcEw1b3fQvH9zIAM,204
72
+ janus/language/splitter.py,sha256=ZpNIzv0ijbcH7EMnY8DIxAf0ji7-ym1iYJXS9ei_F78,17389
73
+ janus/language/treesitter/__init__.py,sha256=mUliw7ZJLZ8NkJKyUQMSoUV82hYXE0HvLHrEdGPJF4Q,43
74
+ janus/language/treesitter/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
+ janus/language/treesitter/_tests/languages/fortran.f90,sha256=wmCUC36dHyRGAVsRZTPItB3H-jpn1UpZR_5UJ_mhUs8,15379
76
+ janus/language/treesitter/_tests/languages/ibmhlasm.asm,sha256=JAPSH3iA5k5Rn1nnDRH2wgIhiDOXrxQzRbkhIdVtmsY,382
77
+ janus/language/treesitter/_tests/languages/matlab.m,sha256=N29hh2dgjHh1kFHxeOMgSrUiruH3vQl5R9WbSI_Xr-c,7522
78
+ janus/language/treesitter/_tests/test_treesitter.py,sha256=fmr_mFSja7vaCVu0TVyLDua3A94jMjY4AqSC5NqnOdQ,2179
79
+ janus/language/treesitter/treesitter.py,sha256=FdsBO8CEo6l9D77aHXns5jRSoZzkvrRGZFCW3oNw15c,7928
80
+ janus/llm/__init__.py,sha256=TKLYvnsWKWfxMucy-lCLQ-4bkN9ENotJZDywDEQmrKg,45
81
+ janus/llm/model_callbacks.py,sha256=cHRZBpYgAwiYbA2k0GQ7DBwBFQZJpEGMUBV3Q_5GTpU,7940
82
+ janus/llm/models_info.py,sha256=BZu7dOl5qm_VqYHogs1-9PRwqIV7mevzfJ-vkpzS8po,11073
83
+ janus/metrics/__init__.py,sha256=AsxtZJUzZiXJPr2ehPPltuYP-ddechjg6X85WZUO7mA,241
84
+ janus/metrics/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
+ janus/metrics/_tests/asm_test_file.asm,sha256=5QXVhXVCZKiaLO0I58yFKGAChcSC-8wOESUCBWcLbmM,231
86
+ janus/metrics/_tests/mumps_test_file.m,sha256=6q8og9c3qDkYR5NPEDCj3_uF0RxlAVC7-ud_AWYSnbs,88
87
+ janus/metrics/_tests/reference.py,sha256=hiaJPP9CXkvFBV_wL-gOe_BzELTw0nvB6uCxhxtIiE8,13
88
+ janus/metrics/_tests/target.py,sha256=hiaJPP9CXkvFBV_wL-gOe_BzELTw0nvB6uCxhxtIiE8,13
89
+ janus/metrics/_tests/test_bleu.py,sha256=k9hSSdGMITsTiXs-Aj4Q5t1_p2v2eD0O9m-vcRi2GKo,1652
90
+ janus/metrics/_tests/test_chrf.py,sha256=I6AB323mSNj9_0dRIgQdslN0OcQH2fzYxdep68d1LZU,2214
91
+ janus/metrics/_tests/test_file_pairing.py,sha256=8qB9xaZlaWmc6oAqQGYreRZLrZmrlVALcgtCz0Zp0uA,1892
92
+ janus/metrics/_tests/test_llm.py,sha256=foKsYM12E4hq4cWjrUDN3WCl9-ViiREgLhudcqRol7g,2977
93
+ janus/metrics/_tests/test_reading.py,sha256=iXu5SIo2-Opu7hgKcqCwfV-m6ZUSnEmHuXCXddOj1Vg,852
94
+ janus/metrics/_tests/test_rouge_score.py,sha256=dnP99nry-U5wyE-CiC0eQwm78IyScnmGQH3BeIEdmLY,2032
95
+ janus/metrics/_tests/test_similarity_score.py,sha256=tdzH_8hYb2h7fKxpd_a75di-GPnU_frZ0zn2aeYzkso,811
96
+ janus/metrics/_tests/test_treesitter_metrics.py,sha256=sp_IorshEHjkbsyNeuWMEs-KZKABB4n7A4XnTCySErM,4356
97
+ janus/metrics/bleu.py,sha256=UCrerEtEF5TadbY-vxbr5TQv67j8hrOCk8Q2C5OQXlw,1759
98
+ janus/metrics/chrf.py,sha256=c8AJLVUtzOezH0R7cJ9hwkLQCIHonm56TTYRTmYuBK4,1485
99
+ janus/metrics/cli.py,sha256=Duuw2RF47Z-t1pal0cg3L_-N_91rx29krirqtIwjYLY,157
100
+ janus/metrics/complexity_metrics.py,sha256=9sHxa9tY9IgdFC4grCmDSuu8Nkphm_FWbTecxgW78go,6574
101
+ janus/metrics/file_pairing.py,sha256=b0848gbDTqKVge-uGiujtHdsgcbkpJ04nWF2ul_gbCw,3749
102
+ janus/metrics/llm_metrics.py,sha256=nzzJMSnoZfgtzzltjoCu1l4-Qwuycd-V3z17AtStYdY,5700
103
+ janus/metrics/metric.py,sha256=ZQXz2LLXA3_WW6BluF8Q2LdJKYVWZLYmhO4Ai116ZPY,17168
104
+ janus/metrics/prompts/clarity.txt,sha256=UTo7a_E28a9JIto6wskQSUANPGdO6oPxf_3B2sqhgZw,328
105
+ janus/metrics/prompts/completeness.txt,sha256=5z4a_9a2ruToQnQiW6S02A_IYBIOgwg4KIWHXChA2Co,518
106
+ janus/metrics/prompts/faithfulness.txt,sha256=UdvfuW99_OsT7D7GhVQpG1StwnC3PFZwNbENS_Gev_c,460
107
+ janus/metrics/prompts/hallucination.txt,sha256=CX0MUxkWBE5Yxupg3ypdXykte9mwAuoGf2jVVtZGutI,487
108
+ janus/metrics/prompts/quality.txt,sha256=JqjKboSd4ueyEE0sg21Y-V9bxxu2li8a9ooGTUf02Vk,328
109
+ janus/metrics/prompts/readability.txt,sha256=shKvNxUZKtdoKkiA24XzE9XWseSCQFZDfxOGhUDBd-0,419
110
+ janus/metrics/prompts/usefulness.txt,sha256=DvZxJAbaRZ9R0K5KqADTt4BaJ0WLgyC5mxQ66xhIsJw,520
111
+ janus/metrics/reading.py,sha256=RyOSebENWPGD1m_-QfKM9v2vfNAQVkiZ2Oyynb2HrVI,3253
112
+ janus/metrics/rouge_score.py,sha256=XnA2ABAceIzzA_9rIYDaMtyD4pphHxXVwxaYvMcqZWE,2878
113
+ janus/metrics/similarity.py,sha256=NKd-m8hMB27i1_1CQkG5o7HrAK2wTr89B21Y36kqHiE,1630
114
+ janus/metrics/splitting.py,sha256=610ScHRvALwdkqA6YyGI-tr3a18_cUofldBxGYX0SwE,968
115
+ janus/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
+ janus/parsers/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
+ janus/parsers/_tests/test_code_parser.py,sha256=3ay5QpUPcynX_EJ-YLl3PR28poutUkT7qvyWUSQ7Too,928
118
+ janus/parsers/code_parser.py,sha256=m7iQgVO3f08JIux7EzG3oVDvdqpQkpU9SwnKSzn2aEo,857
119
+ janus/parsers/doc_parser.py,sha256=XVlzyMWYB_UUwNp5OQ0pxA-KP0ITCZT0CjpQN_mHbWQ,5957
120
+ janus/parsers/eval_parser.py,sha256=Gjh6aTZgpYd2ASJUEPMo4LpCL00cBmbOqc4KM3hy8x8,2922
121
+ janus/parsers/eval_parsers/incose_parser.py,sha256=udyK-24ocfrB1SzmggcERm73dBynrCj4MFSBV8k7YDM,4478
122
+ janus/parsers/eval_parsers/inline_comment_parser.py,sha256=QzKgzeWPhyIEkLxJBpeutSocSJjjXEcWRRS635bXEO8,3973
123
+ janus/parsers/parser.py,sha256=YwkiFthesUaxHngrt4v2lb_HYgKpusnlVgTMwi3WttE,1874
124
+ janus/parsers/partition_parser.py,sha256=2l4fERb7lf-RTKBTi-TZBys0kJXlzRJWeB8RHNzyTDs,5834
125
+ janus/parsers/reqs_parser.py,sha256=NHoHdJ4F50YDWhYmBQgypP05u6aCPl8NyWTuMX94M7s,2504
126
+ janus/parsers/uml.py,sha256=iB9j0gtaT4Zo4tYFCGQNRzXa6--wDCuw-sLeQk19kfc,3429
127
+ janus/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
+ janus/prompts/prompt.py,sha256=JPr6wvIu1ZpUtTa93WJxa3fbosswtIJqqOY5H8nE2XA,10586
129
+ janus/prompts/templates/README.md,sha256=IinD8XQT6HHq3gqrnIVui28cy1tRSkhwKX67VEzwZbM,1072
130
+ janus/prompts/templates/basic_aggregation/human.txt,sha256=Aw2Jip8rYHoA_vYXJ3ve81SwDubn-n6zFVj1Mh8gAwU,222
131
+ janus/prompts/templates/basic_aggregation/system.txt,sha256=8QgUYtx51aPJk-e7kHLfXKPPp2Y1YYfBmZwoXG0l2GQ,126
132
+ janus/prompts/templates/basic_refinement/human.txt,sha256=d_Yr8KKVD_xXpO4RzYKQzG_4T_Zce3qAiWl_roAF2H4,342
133
+ janus/prompts/templates/basic_refinement/system.txt,sha256=odlLG_ZOqd9TyJJ6e4S-1b-fLusrxLO3pZBem7iR3hQ,115
134
+ janus/prompts/templates/diagram/human.txt,sha256=P5WJd-_TzUMlaUjIZSH4o7pUCadmqWoY6GvZ-lv35hU,491
135
+ janus/prompts/templates/diagram/system.txt,sha256=cGepMHpxI4PX9hTmH-mDsqKZDKxSqjKzMbbWpHOyUpE,121
136
+ janus/prompts/templates/diagram_with_documentation/human.txt,sha256=_WeV70QDN3vS-4RVqSeri_vfxDmF_A-XGGG0GMAocIk,673
137
+ janus/prompts/templates/diagram_with_documentation/system.txt,sha256=cGepMHpxI4PX9hTmH-mDsqKZDKxSqjKzMbbWpHOyUpE,121
138
+ janus/prompts/templates/document/human.txt,sha256=vC9XGnEc8j47btq7-eRve0Et_AnLCwDdxJXWe_Hj5fM,911
139
+ janus/prompts/templates/document/system.txt,sha256=w1SUmICn6zuO2MVw_CoYVkDNeQddpwBOTAjnxjeGZ7E,83
140
+ janus/prompts/templates/document_cloze/human.txt,sha256=LY_2qsOORUsFZiC89tB-8rR8SGZTQ1j-Z7j2d4HtVDI,767
141
+ janus/prompts/templates/document_cloze/system.txt,sha256=w1SUmICn6zuO2MVw_CoYVkDNeQddpwBOTAjnxjeGZ7E,83
142
+ janus/prompts/templates/document_cloze/variables.json,sha256=DB5N72JXk7AXKSI1kdoCbLHv2pbDJZmTWZkuWIq7G3Q,1647
143
+ janus/prompts/templates/document_cloze/variables_asm.json,sha256=5wDJIG8adxbUGPj1_ol7H5Yh1qqDlQiXJOeLHgkaaa8,1065
144
+ janus/prompts/templates/document_inline/human.txt,sha256=k-tfS4YitYUZNTP0lvcc5_m1ZfWopVNeSZyQR9nX4yw,311
145
+ janus/prompts/templates/eval_prompts/incose/human.txt,sha256=LfEhRigC1ZJUKzBDQ5YOFjItS-kV_cxw_9V1_V0tzm4,3215
146
+ janus/prompts/templates/eval_prompts/incose/system.txt,sha256=aXj9BsUsH2DFXrltgHl7xzBGvnCsh034oWyDHXVaA3c,96
147
+ janus/prompts/templates/eval_prompts/incose/variables.json,sha256=c2gssz87ix-Sn5w5OL72TS22VE5T0Yd787L8qB0VW_w,3012
148
+ janus/prompts/templates/eval_prompts/inline_comments/human.txt,sha256=6DUkmzLOr-VC4FzWALSeC2q0NI8hmRhoh8ZeTeh7CB8,2280
149
+ janus/prompts/templates/eval_prompts/inline_comments/system.txt,sha256=VnKktVHYYMYrKroQpmG6EnykYO5qbosIvUFYZl14wsg,101
150
+ janus/prompts/templates/eval_prompts/inline_comments/variables.json,sha256=dpRv25tcV2xeDwki5C1qTmkU_nZC-0yWe1RVFpqz2Sc,2099
151
+ janus/prompts/templates/micromanaged_mumps_v1.0/human.txt,sha256=FCXlIlRYPnz8yFCFNIptlHjs5ZccoYO-xUay7VWph3s,1143
152
+ janus/prompts/templates/micromanaged_mumps_v1.0/system.txt,sha256=S5M82T21RGqG9TLnKdzW3596GQDumPrXnvWIJJMjwLU,133
153
+ janus/prompts/templates/micromanaged_mumps_v2.0/human.txt,sha256=aqVDRHzGBWzj1k-XhuNUcO5Yd4YCUdJbRJOJrbiw_nY,1433
154
+ janus/prompts/templates/micromanaged_mumps_v2.0/system.txt,sha256=S5M82T21RGqG9TLnKdzW3596GQDumPrXnvWIJJMjwLU,133
155
+ janus/prompts/templates/micromanaged_mumps_v2.1/human.txt,sha256=iwGAPJSFcvM9lgznXbY3DR0q-m8w598khI9oM67cgwA,1537
156
+ janus/prompts/templates/micromanaged_mumps_v2.1/system.txt,sha256=S5M82T21RGqG9TLnKdzW3596GQDumPrXnvWIJJMjwLU,133
157
+ janus/prompts/templates/multidocument/human.txt,sha256=powqjyML5O0e6SYqsWo5uP1qXRGGhvGXE1b0fX33txk,1033
158
+ janus/prompts/templates/multidocument/system.txt,sha256=w1SUmICn6zuO2MVw_CoYVkDNeQddpwBOTAjnxjeGZ7E,83
159
+ janus/prompts/templates/partition/human.txt,sha256=S4uciVFlm4gZL3YO9TDEb-N11Lec44sQC3SN4OgX9fM,990
160
+ janus/prompts/templates/partition/system.txt,sha256=MD5KwsIRyQFU1_V7fzBRTqJxoZMV95VzuVSDPNOFOz0,88
161
+ janus/prompts/templates/partition/variables.json,sha256=dt5x0_XDh2fqWC_NsLf1AxpTl9zUpZKGVp1R6QVIJEE,1124
162
+ janus/prompts/templates/pseudocode/human.txt,sha256=XIVNWyyHhqS1A9rpOKeGgjdX8mTIDACrKbqjYFWiVIA,136
163
+ janus/prompts/templates/pseudocode/system.txt,sha256=S-WYf2WVdEQ1H1R8TP1rxNJ0SpOirMWK-Dt14IiPQds,548
164
+ janus/prompts/templates/refinement/fix_exceptions/human.txt,sha256=fvDyV_gQe1QWHBZ2A9NnUJs-F__YdJmWXUKeFdPQhrg,520
165
+ janus/prompts/templates/refinement/fix_exceptions/system.txt,sha256=GQZ_N62DpmWif1MzjzJn4vflnKel8E1JrxS9oqdnZYA,300
166
+ janus/prompts/templates/refinement/format/code_format/human.txt,sha256=BoPy1KiHCF2Mj2f9lyBnEzkmMr_MoWlh94W9PwTG4h8,317
167
+ janus/prompts/templates/refinement/format/code_format/system.txt,sha256=n6JNRyP7viZ8uWl4okaxS5WYEcbn9KeY2mI1lgRU0qo,128
168
+ janus/prompts/templates/refinement/format/requirements_format/human.txt,sha256=l37YFwN8FjxVzGPKjWF__mkJvCfeXVRb59K0lBdNW-Y,542
169
+ janus/prompts/templates/refinement/format/requirements_format/system.txt,sha256=n6JNRyP7viZ8uWl4okaxS5WYEcbn9KeY2mI1lgRU0qo,128
170
+ janus/prompts/templates/refinement/hallucination/human.txt,sha256=IHKq_MkZzHkziftm3MgCpv3d0xI3OlcDVMCo5Xl08hk,394
171
+ janus/prompts/templates/refinement/hallucination/system.txt,sha256=d40nsPRts5-gmVZqJEOpVRpXdmjvGQdUP4xfDwb6eeU,319
172
+ janus/prompts/templates/refinement/reflection/human.txt,sha256=Pk-_bLwgsssBnqdiiaJ8eWGczqEeV52Bheqmyd4ihJg,601
173
+ janus/prompts/templates/refinement/reflection/incose/human.txt,sha256=Wj736N9qWij-SFVjlRkJtlCcxqcEvPvszCN9UKSfjdo,2564
174
+ janus/prompts/templates/refinement/reflection/incose/system.txt,sha256=XE5LMt1yY91vXEsjo_qLXvUdZai1KwlgO2bRJZSQe-E,364
175
+ janus/prompts/templates/refinement/reflection/incose_deduplicate/human.txt,sha256=b6OSu9AQBpfkBYiAM7uNIn0VAb2dodquL_snyfV4zNs,1012
176
+ janus/prompts/templates/refinement/reflection/incose_deduplicate/system.txt,sha256=XE5LMt1yY91vXEsjo_qLXvUdZai1KwlgO2bRJZSQe-E,364
177
+ janus/prompts/templates/refinement/reflection/system.txt,sha256=XE5LMt1yY91vXEsjo_qLXvUdZai1KwlgO2bRJZSQe-E,364
178
+ janus/prompts/templates/refinement/revision/human.txt,sha256=WTgqv41tQSW3VQmaMqQTKsV6E0sNyJ2BC_ah1a--u4U,414
179
+ janus/prompts/templates/refinement/revision/incose/human.txt,sha256=StuYwWg_rDXbzeDmn2tVlETMALQMdbQEe6jXNQGqHXg,419
180
+ janus/prompts/templates/refinement/revision/incose/system.txt,sha256=pcp0JVoITWYNmIUlEMoOts-sm3EmMEa3fiKEsII7TT0,332
181
+ janus/prompts/templates/refinement/revision/incose_deduplicate/human.txt,sha256=hsL1is9BksdGlhQZhkS8dyGmncB03xley_h-sD6cdWI,575
182
+ janus/prompts/templates/refinement/revision/incose_deduplicate/system.txt,sha256=pcp0JVoITWYNmIUlEMoOts-sm3EmMEa3fiKEsII7TT0,332
183
+ janus/prompts/templates/refinement/revision/system.txt,sha256=pcp0JVoITWYNmIUlEMoOts-sm3EmMEa3fiKEsII7TT0,332
184
+ janus/prompts/templates/refinement/uml/alc_fix_variables/human.txt,sha256=Ql_aur2ALwRxSIpnteavPC7Bpu0MIfefjn_FavXOQNg,739
185
+ janus/prompts/templates/refinement/uml/alc_fix_variables/system.txt,sha256=jx_4hZquDlDO4lfKwQFKP8nRovm1m9eKFqu33Qo3cv0,526
186
+ janus/prompts/templates/refinement/uml/fix_connections/human.txt,sha256=DzcyokC6t_8Ekh6005TuluQskMOBEon-7qdHF15Pn1k,706
187
+ janus/prompts/templates/refinement/uml/fix_connections/system.txt,sha256=Zd8U6KROgSAuMu1n_z-ejqmtA_yH2Y31ITxZei2Vigo,481
188
+ janus/prompts/templates/requirements/human.txt,sha256=kVC85yForqCQjzQjBZQ9exywkKGAsR5FqK2xjm2utJQ,467
189
+ janus/prompts/templates/requirements/system.txt,sha256=d6NpJ6TWoNTQewD6H7vpTvALTzDaeViR2WOi84U5RnA,117
190
+ janus/prompts/templates/retrieval/language_docs/human.txt,sha256=lnyYawdIiwbPUnqTqTnca1D7yw0Cn9p8gTOT-Czs4yE,522
191
+ janus/prompts/templates/retrieval/language_docs/system.txt,sha256=DpMMbmrJjFWHi9WAZyTkEwU4VVy4JbD0W1ISZ_GTiu0,428
192
+ janus/prompts/templates/simple/human.txt,sha256=RbrWKZYs-diljUXwoj5ozQD7rFyKgGxTk0SKmPrfDEI,723
193
+ janus/prompts/templates/simple/system.txt,sha256=kUTy-0Bi5lNNZNz2f5gFOvft898TMx2RlyHmp6XQofY,156
194
+ janus/refiners/format.py,sha256=zyx56v73pLQ0_ewoo3-PlOLxDu6cotls-M0_98Hv-lE,1664
195
+ janus/refiners/refiner.py,sha256=O1mQDM7zCz1CNirZlAiZsQnJDp_tBlHUYP3vbSk6vFQ,9198
196
+ janus/refiners/uml.py,sha256=ZFvFLxOdbolYuOmZh_8K6kiHCWKuudqP71sr_TammxM,866
197
+ janus/retrievers/retriever.py,sha256=n6MzoNZs0GJCH4eqQPS3gFlVHZ3eETr7FuHYbyPzTuo,3506
198
+ janus/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
199
+ janus/utils/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
200
+ janus/utils/_tests/test_logger.py,sha256=jkkvrCTKwsFCsZtmyuvc-WJ0rC7LJi2Z91sIe4IiKzA,2209
201
+ janus/utils/_tests/test_progress.py,sha256=Rs_u5PiGjP-L-o6C1fhwfE1ig8jYu9Xo9s4p8yPysl8,491
202
+ janus/utils/enums.py,sha256=o26C6xIqYSiC2areAGSAB4alP_uHfpKxNn5TnlZzlTI,29656
203
+ janus/utils/logger.py,sha256=vKofNjSvnXduvfkAWf1kkEES32tI7iI-bojfjIa3XoQ,2466
204
+ janus/utils/pdf_docs_reader.py,sha256=beMKHdYrFwg0m_i7n0OTJrut3sf4rEWFd7P_80A76WY,5140
205
+ janus/utils/progress.py,sha256=PIpcQec7SrhsfqB25LHj2CDDkfm9umZx90d9LZnAx6k,1469
206
+ janus_llm-4.3.5.dist-info/LICENSE,sha256=_j0st0a-HB6MRbP3_BW3PUqpS16v54luyy-1zVyl8NU,10789
207
+ janus_llm-4.3.5.dist-info/METADATA,sha256=IRLmrJ7U-Xb0Pota4K-u4esm6o6RQL8fSIE367sZdxA,4608
208
+ janus_llm-4.3.5.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
209
+ janus_llm-4.3.5.dist-info/entry_points.txt,sha256=rzOrXUSS0SNN8I-fKV0-IBoYLTCMXnZfMtu4HetlCkU,43
210
+ janus_llm-4.3.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.1
2
+ Generator: poetry-core 2.0.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ janus=janus.cli.cli:app
3
+