evolutia 0.1.3__tar.gz → 0.1.4__tar.gz

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.
Files changed (54) hide show
  1. evolutia-0.1.4/MANIFEST.in +3 -0
  2. {evolutia-0.1.3 → evolutia-0.1.4}/PKG-INFO +1 -1
  3. evolutia-0.1.4/evolutia/schemas/config.schema.json +210 -0
  4. evolutia-0.1.4/evolutia/validation/__init__.py +2 -0
  5. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia.egg-info/PKG-INFO +1 -1
  6. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia.egg-info/SOURCES.txt +2 -0
  7. {evolutia-0.1.3 → evolutia-0.1.4}/setup.py +2 -1
  8. evolutia-0.1.3/evolutia/validation/__init__.py +0 -1
  9. {evolutia-0.1.3 → evolutia-0.1.4}/LICENSE +0 -0
  10. {evolutia-0.1.3 → evolutia-0.1.4}/README.md +0 -0
  11. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/__init__.py +0 -0
  12. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/async_llm_providers.py +0 -0
  13. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/cache/__init__.py +0 -0
  14. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/cache/exercise_cache.py +0 -0
  15. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/cache/llm_cache.py +0 -0
  16. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/complexity_validator.py +0 -0
  17. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/config_manager.py +0 -0
  18. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/evolutia_engine.py +0 -0
  19. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/exam_generator.py +0 -0
  20. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/exceptions.py +0 -0
  21. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/exercise_analyzer.py +0 -0
  22. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/imports.py +0 -0
  23. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/llm_providers.py +0 -0
  24. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/material_extractor.py +0 -0
  25. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/__init__.py +0 -0
  26. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/consistency_validator.py +0 -0
  27. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/context_enricher.py +0 -0
  28. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/enhanced_variation_generator.py +0 -0
  29. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/rag_indexer.py +0 -0
  30. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/rag_manager.py +0 -0
  31. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/rag/rag_retriever.py +0 -0
  32. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/retry_utils.py +0 -0
  33. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/utils/__init__.py +0 -0
  34. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/utils/json_parser.py +0 -0
  35. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/utils/markdown_parser.py +0 -0
  36. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/utils/math_extractor.py +0 -0
  37. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/validation/args_validator.py +0 -0
  38. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/validation/config_validator.py +0 -0
  39. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia/variation_generator.py +0 -0
  40. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia.egg-info/dependency_links.txt +0 -0
  41. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia.egg-info/entry_points.txt +0 -0
  42. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia.egg-info/requires.txt +0 -0
  43. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia.egg-info/top_level.txt +0 -0
  44. {evolutia-0.1.3 → evolutia-0.1.4}/evolutia_cli.py +0 -0
  45. {evolutia-0.1.3 → evolutia-0.1.4}/setup.cfg +0 -0
  46. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_args_validator.py +0 -0
  47. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_cache.py +0 -0
  48. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_complexity_validator.py +0 -0
  49. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_config_discovery.py +0 -0
  50. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_config_validator.py +0 -0
  51. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_exercise_analyzer.py +0 -0
  52. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_exercise_analyzer_cache.py +0 -0
  53. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_json_robustness.py +0 -0
  54. {evolutia-0.1.3 → evolutia-0.1.4}/tests/test_math_extractor.py +0 -0
@@ -0,0 +1,3 @@
1
+ recursive-include evolutia/schemas *.json
2
+ include README.md
3
+ include LICENSE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evolutia
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Sistema automatizado para generar preguntas de examen desafiantes basadas en materiales didácticos existentes
5
5
  Home-page: https://github.com/glacy/evolutIA
6
6
  Author: Gerardo Lacy-Mora
@@ -0,0 +1,210 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Evolutia Configuration",
4
+ "description": "Configuration schema for Evolutia AI tool",
5
+ "type": "object",
6
+ "properties": {
7
+ "api": {
8
+ "type": "object",
9
+ "properties": {
10
+ "default_provider": {
11
+ "type": "string"
12
+ },
13
+ "openai": {
14
+ "$ref": "#/definitions/modelConfig"
15
+ },
16
+ "anthropic": {
17
+ "$ref": "#/definitions/modelConfig"
18
+ },
19
+ "gemini": {
20
+ "$ref": "#/definitions/modelConfig"
21
+ },
22
+ "local": {
23
+ "allOf": [
24
+ {
25
+ "$ref": "#/definitions/modelConfig"
26
+ },
27
+ {
28
+ "properties": {
29
+ "base_url": {
30
+ "type": "string"
31
+ }
32
+ }
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ "required": [
38
+ "default_provider"
39
+ ]
40
+ },
41
+ "paths": {
42
+ "type": "object",
43
+ "properties": {
44
+ "base_path": {
45
+ "type": "string"
46
+ },
47
+ "materials_directories": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "string"
51
+ }
52
+ }
53
+ },
54
+ "required": [
55
+ "materials_directories"
56
+ ]
57
+ },
58
+ "complexity": {
59
+ "type": "object",
60
+ "properties": {
61
+ "min_complexity_increase": {
62
+ "type": "number"
63
+ },
64
+ "min_improvements": {
65
+ "type": "integer"
66
+ },
67
+ "weights": {
68
+ "type": "object",
69
+ "patternProperties": {
70
+ "^.*$": {
71
+ "type": "number"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "exam": {
78
+ "type": "object",
79
+ "properties": {
80
+ "default": {
81
+ "type": "object",
82
+ "properties": {
83
+ "subject": {
84
+ "type": "string"
85
+ },
86
+ "points_per_exercise": {
87
+ "type": "integer"
88
+ },
89
+ "duration_hours": {
90
+ "type": "number"
91
+ }
92
+ }
93
+ },
94
+ "keywords": {
95
+ "type": "object",
96
+ "patternProperties": {
97
+ "^.*$": {
98
+ "type": "array",
99
+ "items": {
100
+ "type": "string"
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ },
107
+ "logging": {
108
+ "type": "object",
109
+ "properties": {
110
+ "level": {
111
+ "type": "string"
112
+ },
113
+ "format": {
114
+ "type": "string"
115
+ }
116
+ }
117
+ },
118
+ "rag": {
119
+ "type": "object",
120
+ "properties": {
121
+ "vector_store": {
122
+ "type": "object",
123
+ "properties": {
124
+ "type": {
125
+ "type": "string"
126
+ },
127
+ "persist_directory": {
128
+ "type": "string"
129
+ },
130
+ "collection_name": {
131
+ "type": "string"
132
+ }
133
+ },
134
+ "required": [
135
+ "type"
136
+ ]
137
+ },
138
+ "embeddings": {
139
+ "type": "object",
140
+ "properties": {
141
+ "provider": {
142
+ "type": "string"
143
+ },
144
+ "model": {
145
+ "type": "string"
146
+ },
147
+ "batch_size": {
148
+ "type": "integer"
149
+ }
150
+ },
151
+ "required": [
152
+ "provider",
153
+ "model"
154
+ ]
155
+ },
156
+ "retrieval": {
157
+ "type": "object",
158
+ "properties": {
159
+ "top_k": {
160
+ "type": "integer"
161
+ },
162
+ "similarity_threshold": {
163
+ "type": "number"
164
+ },
165
+ "use_metadata_filters": {
166
+ "type": "boolean"
167
+ }
168
+ }
169
+ },
170
+ "chunking": {
171
+ "type": "object",
172
+ "properties": {
173
+ "chunk_size": {
174
+ "type": "integer"
175
+ },
176
+ "chunk_overlap": {
177
+ "type": "integer"
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "required": [
185
+ "api",
186
+ "paths"
187
+ ],
188
+ "definitions": {
189
+ "modelConfig": {
190
+ "type": "object",
191
+ "properties": {
192
+ "model": {
193
+ "type": "string"
194
+ },
195
+ "temperature": {
196
+ "type": "number"
197
+ },
198
+ "max_tokens": {
199
+ "type": "integer"
200
+ },
201
+ "api_key": {
202
+ "type": "string"
203
+ }
204
+ },
205
+ "required": [
206
+ "model"
207
+ ]
208
+ }
209
+ }
210
+ }
@@ -0,0 +1,2 @@
1
+ from .config_validator import ConfigValidator, ConfigValidationError
2
+ from .args_validator import ArgsValidator
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evolutia
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Sistema automatizado para generar preguntas de examen desafiantes basadas en materiales didácticos existentes
5
5
  Home-page: https://github.com/glacy/evolutIA
6
6
  Author: Gerardo Lacy-Mora
@@ -1,4 +1,5 @@
1
1
  LICENSE
2
+ MANIFEST.in
2
3
  README.md
3
4
  evolutia_cli.py
4
5
  setup.py
@@ -31,6 +32,7 @@ evolutia/rag/enhanced_variation_generator.py
31
32
  evolutia/rag/rag_indexer.py
32
33
  evolutia/rag/rag_manager.py
33
34
  evolutia/rag/rag_retriever.py
35
+ evolutia/schemas/config.schema.json
34
36
  evolutia/utils/__init__.py
35
37
  evolutia/utils/json_parser.py
36
38
  evolutia/utils/markdown_parser.py
@@ -6,7 +6,8 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
6
 
7
7
  setup(
8
8
  name="evolutia",
9
- version="0.1.3",
9
+ version="0.1.4",
10
+ include_package_data=True,
10
11
  author="Gerardo Lacy-Mora",
11
12
  author_email="gerardolacymora@gmail.com",
12
13
  description="Sistema automatizado para generar preguntas de examen desafiantes basadas en materiales didácticos existentes",
@@ -1 +0,0 @@
1
- # Tests package for EvolutIA validation
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes