modify docu
This commit is contained in:
@@ -30,7 +30,7 @@ class ReferenceModelAgentConfigTests(unittest.TestCase):
|
||||
"Do not implement parsers.",
|
||||
"Do not design C++ APIs",
|
||||
"Do not run Abaqus, Nastran, or any reference solver.",
|
||||
"Do not generate reference HDF5 files or deterministic CSV views.",
|
||||
"Do not generate or modify Abaqus reference CSV files.",
|
||||
"Do not compare solver results.",
|
||||
"Do not approve release readiness.",
|
||||
):
|
||||
@@ -41,17 +41,19 @@ class ReferenceModelAgentConfigTests(unittest.TestCase):
|
||||
|
||||
for required_text in (
|
||||
"FESA reference models use Abaqus input files.",
|
||||
"references/<feature-id>/<model-id>/",
|
||||
"reference/<model-id>/",
|
||||
"model.inp",
|
||||
"metadata.json",
|
||||
"reference.h5",
|
||||
"csv/displacements.csv",
|
||||
"csv/reactions.csv",
|
||||
"csv/element_forces.csv",
|
||||
"csv/stresses.csv",
|
||||
"<model-id>_displacements.csv",
|
||||
"<model-id>_reactions.csv",
|
||||
"<model-id>_internalforces.csv",
|
||||
"<model-id>_stresses.csv",
|
||||
):
|
||||
self.assertIn(required_text, instructions)
|
||||
|
||||
self.assertNotIn("reference" ".h5", instructions)
|
||||
self.assertNotIn("references/" "<feature-id>/<model-id>/", instructions)
|
||||
|
||||
def test_reference_model_agent_instructions_define_output_contract(self):
|
||||
instructions = AGENT_PATH.read_text(encoding="utf-8")
|
||||
|
||||
@@ -61,7 +63,7 @@ class ReferenceModelAgentConfigTests(unittest.TestCase):
|
||||
"Abaqus Input Requirements",
|
||||
"Artifact Bundle Contract",
|
||||
"Metadata JSON Contract",
|
||||
"Reference HDF5 and CSV View Requirements",
|
||||
"Abaqus Reference CSV Requirements",
|
||||
"Coverage Matrix",
|
||||
"Downstream Handoff",
|
||||
):
|
||||
@@ -76,10 +78,10 @@ class ReferenceModelAgentConfigTests(unittest.TestCase):
|
||||
"Abaqus Input Requirements",
|
||||
"Artifact Bundle Contract",
|
||||
"Metadata JSON Contract",
|
||||
"Reference HDF5 and CSV View Requirements",
|
||||
"Abaqus Reference CSV Requirements",
|
||||
"Coverage Matrix",
|
||||
"Downstream Handoff",
|
||||
"references/<feature-id>/<model-id>/",
|
||||
"reference/<model-id>/",
|
||||
):
|
||||
self.assertIn(required_text, guide)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user