Skip to content

Commit 637e009

Browse files
committed
working
1 parent 6442d34 commit 637e009

File tree

4 files changed

+30
-15
lines changed

4 files changed

+30
-15
lines changed

knit_space/tests/coding_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# knit_space/tests/coding_tests.py
22
from .base import AbstractQATest, QAItem, register_test
33
from .coding_problem_defs import ALL_CODING_PROBLEMS, CodingProblem
4-
from knit_space.utils.code_executor import CodeExecutor, CodeExecutionResult # Adjusted import
4+
from ..utils.code_executor import CodeExecutor, CodeExecutionResult # Adjusted import
55
import uuid
66
import re
77
from typing import Any, Dict, Iterator, List, Optional

knit_space/tests/medmcqa_obfuscated_choice_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def register_test(*args,**kwargs):
235235
def decorator(cls): return cls
236236
return decorator
237237
try:
238-
from knit_space.obscurers.char_obfuscator import CharObfuscator
238+
from ..obscurers.char_obfuscator import CharObfuscator
239239
globals()['CharObfuscator'] = CharObfuscator
240240
print("CharObfuscator loaded successfully for MedMCQA standalone __main__.")
241241
except ImportError as e:

knit_space/tests/mmlu_obfuscated_choice_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def decorator(cls): return cls
252252
# Explicitly import CharObfuscator for standalone __main__
253253
# This assumes char_obfuscator.py is in knit_space/obscurers/
254254
try:
255-
from knit_space.obscurers.char_obfuscator import CharObfuscator
255+
from ..obscurers.char_obfuscator import CharObfuscator
256256
# Make it globally available in this __main__ scope for the test class __init__
257257
globals()['CharObfuscator'] = CharObfuscator
258258
print("CharObfuscator loaded successfully for standalone __main__.")

pyproject.toml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,41 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ks-llm-ranker"
7-
version = "0.1.1"
7+
version = "0.1.4"
88
description = "A Python library for knit_space operations."
9-
readme = "README.md" # Assuming a README.md might exist or be added later
9+
readme = "README.md"
1010
requires-python = ">=3.8"
11-
license = {file = "LICENSE"} # Assuming MIT based on common practice, adjust if different
11+
license = {file = "LICENSE"}
1212
classifiers = [
1313
"Programming Language :: Python :: 3",
1414
"License :: OSI Approved :: MIT License",
1515
"Operating System :: OS Independent",
1616
]
1717

18-
[project.urls]
19-
"Homepage" = "https://github.com/example/knit-space" # Placeholder URL
18+
dependencies = [
19+
"beautifulsoup4==4.13.3",
20+
"cerebras-cloud-sdk==1.35.0",
21+
"chess==1.11.2",
22+
"cohere==5.14.0",
23+
"datasets==3.6.0",
24+
"Flask==3.1.1",
25+
"google-generativeai==0.8.5",
26+
"groq==0.25.0",
27+
"mistralai==1.7.1",
28+
"mpmath==1.3.0",
29+
"numpy==1.26.4",
30+
"openai==1.69.0",
31+
"Pillow==11.1.0",
32+
"requests==2.32.3",
33+
"together==1.4.6",
34+
"torch==2.7.0",
35+
"transformers==4.51.3",
36+
"yfinance==0.2.61"
37+
]
2038

21-
# Add dependencies here if any are discovered later, e.g.:
22-
# dependencies = [
23-
# "requests>=2.20.0",
24-
# ]
39+
[project.urls]
40+
Homepage = "https://github.com/C-you-know/Action-Based-LLM-Testing-Harness"
2541

2642
[tool.setuptools.packages.find]
27-
where = ["."] # look for packages in the current directory
28-
include = ["knit_space*"] # include all packages starting with knit_space
29-
exclude = ["knit_space.tests*"] # exclude tests from the package
43+
where = ["."]
44+
include = ["knit_space*"]

0 commit comments

Comments
 (0)