Skip to content

Commit aebd458

Browse files
committed
fix: run tests
Signed-off-by: Louis Mandel <[email protected]>
1 parent aa951b7 commit aebd458

File tree

5 files changed

+5
-13
lines changed

5 files changed

+5
-13
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

tests/results/examples/react/demo.1.result

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,3 @@ Action:
2121
Observation: 460
2222
In the year 2025, it would be approximately 460 years ago that Henry Hudson was born.Action:
2323
[{"name": "Finish", "arguments": {"topic": "460"}}]
24-
25-
What is your query?
26-
27-
Is this a good answer[yes/no]?
28-
Enter/Paste your content. Ctrl-D to save it.
29-
Please provide an input: Program examples/prompt_library/gsm8k_cot.pdl requries updating its result on GitHub Actions
30-
Actual results: Answer the questions to the best of your abilities.
31-
32-
Result: {'answer': '1. Jacob earns $6 per hour.\n2. Jake earns thrice what Jacob does, so Jake earns 3 * $6 = $18 per hour.\n3. Jake works 8 hours a day, so he earns $18 * 8 = $144 per day.\n4. Jake works 5 days, so he earns $144 * 5 = $720 in 5 days.\nThe answer is $720.'}
33-
Program examples/prompt_library/gsm8k_rewoo.pdl requries updating its result on GitHub Actions
34-
Actual results: Result: {'answer': 'Jake earns $18 per hour. In 5 days, working 8 hours a day, Jake works 5 * 8 = 40 hours. Therefore, Jake earns 40 * $18 = $720 in 5 days.\n\nAnswer: $720'}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello world!Goodbye world!Hello and goodbye! It seems like you've greeted and bid farewell in quick succession. I'm here to help with any questions or tasks you have, so feel free to ask me anything. How can I assist you today?
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[('999', '888')]

tests/test_examples_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ class InputsType:
109109
/ "free_variables.pdl": InputsType(scope=PdlDict({"something": "ABC"})),
110110
pathlib.Path("tests")
111111
/ "data"
112-
/ "optimizer_gsmk8.pdl": InputsType(
112+
/ "optimizer_gsm8k.pdl": InputsType(
113113
scope=PdlDict(
114114
{
115-
"model": "ollama_chat/granite3.2:8b",
115+
"model": "watsonx_text/ibm/granite-3-8b-instruct",
116116
"prompt_pattern": "cot",
117117
"num_demonstrations": 0,
118118
"demonstrations": [],

0 commit comments

Comments
 (0)