test: validate executable knowledge syntax across libraries
This commit is contained in:
1 parent
b624084745
commit
fc7097bae4
11 files changed
+307
-17
No files matched your search
@@ -22,8 +22,14 @@ import sys:lib/sys.mq.md
|
||||
**task = > json.get value=`paths` key="task"**
|
||||
**skill = > json.get value=`paths` key="skill"**
|
||||
|
||||
> fs.remove_tree path=`mem`
|
||||
> fs.remove_tree path=`kb`
|
||||
1. > fs.exists path=`mem`
|
||||
> fs.remove_tree path=`mem`
|
||||
2. *
|
||||
**_ = 1**
|
||||
1. > fs.exists path=`kb`
|
||||
> fs.remove_tree path=`kb`
|
||||
2. *
|
||||
**_ = 1**
|
||||
> agent_memory_ensure memory_dir=`mem`
|
||||
|
||||
**ep1 = > agent_record_episode task=`task` status="ok" result="pong" mode="explore" skill=`skill` llm_calls=2 memory_dir=`mem`**
|
||||
|
||||
@@ -22,8 +22,14 @@ import sys:lib/sys.mq.md
|
||||
**kb = > json.get value=`paths` key="kb"**
|
||||
**task = > json.get value=`paths` key="task"**
|
||||
|
||||
> fs.remove_tree path=`mem`
|
||||
> fs.remove_tree path=`kb`
|
||||
1. > fs.exists path=`mem`
|
||||
> fs.remove_tree path=`mem`
|
||||
2. *
|
||||
**_ = 1**
|
||||
1. > fs.exists path=`kb`
|
||||
> fs.remove_tree path=`kb`
|
||||
2. *
|
||||
**_ = 1**
|
||||
> agent_memory_ensure memory_dir=`mem`
|
||||
|
||||
**ep1 = > agent_record_episode task=`task` status="ok" result="pong" mode="explore" llm_calls=2 memory_dir=`mem`**
|
||||
|
||||
@@ -24,7 +24,7 @@ H-Z-H on |0⟩ → |1⟩.
|
||||
|
||||
Ry(π) on |0⟩ → |1⟩.
|
||||
|
||||
**pi = > math.pi**
|
||||
**pi = math.pi**
|
||||
**ry = > quantum.circuit qubits=1**
|
||||
**ry = > `ry`.ry qubit=0 theta=`pi`**
|
||||
**rp = > `ry`.probabilities**
|
||||
|
||||
Reference in new issue
Block a user