anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: ibm/compliance-trestle
Issue: make docs-serve error on Red Hat 7

**Describe the bug**
make docs-serve fails on Red Hat 7.

**To Reproduce**
Steps to reproduce the behavior:
1. Find Red Hat 7 image
2. Clone compliance-trestle repo
3. Run: make develop
4. Run: git submodule update --init
5. Run: make docs-serve

**Expected behavior**
trestle docs webserver to run.

**Screenshots**
(venv.compliance-trestle) [degenaro@myhost compliance-trestle]$ make docs-serve
python ./scripts/website_automation.py
Traceback (most recent call last):
  File "./scripts/website_automation.py", line 87, in <module>
    md_txt(pathlib.Path('license'), pathlib.Path('docs/license.md'))
  File "./scripts/website_automation.py", line 74, in md_txt
    assert original.exists()
AssertionError
make: *** [docs-automation] Error 1

**Desktop (please complete the following information):**
 - OS: Red Hat Enterprise Linux Workstation 7.9 (64-bit)


Changed files:
scripts/website_automation.py

diff --git a/scripts/website_automation.py b/scripts/website_automation.py
index 26d10ec6..9a3aa95f 100644
--- a/scripts/website_automation.py
+++ b/scripts/website_automation.py
@@ -84,5 +84,5 @@ if __name__ == '__main__':
     structer = create_module_markdowns(pathlib.Path('trestle'), 'trestle', pathlib.Path('docs/api_reference'))
     update_mkdocs_meta(pathlib.Path('mkdocs.yml'), structer)
     # Ensure single source of truth for license file
-    md_txt(pathlib.Path('license'), pathlib.Path('docs/license.md'))
+    md_txt(pathlib.Path('LICENSE'), pathlib.Path('docs/license.md'))
     md_txt(pathlib.Path('DCO1.1.txt'), pathlib.Path('docs/contributing/DCO.md'))
Repository: ibm/compliance-trestle
Issue: trestle assemble is not generating files where expected.

**Describe the bug**
Trestle assemble is meant to inject content into dist/OSCAL_MODEL_PLURAL/object_name.{json, yml}

At this point it is not.

**To Reproduce**
trestle init
trestle create catalog -n my-catalog
trestel assemble catalog -n my-catalog
ls dist/catalogs/
(No file)

**Expected behavior**
trestle init
trestle create catalog -n my-catalog
trestel assemble catalog -n my-catalog
ls dist/catalogs/
my-catalog.json




Changed files:
trestle/core/commands/assemble.py, tests/trestle/core/commands/assemble_test.py

diff --git a/tests/trestle/core/commands/assemble_test.py b/tests/trestle/core/commands/assemble_test.py
index 65c54707..a77417ce 100644
--- a/tests/trestle/core/commands/assemble_test.py
+++ b/tests/trestle/core/commands/assemble_test.py
@@ -65,7 +65,7 @@ def test_assemble_catalog(testdata_dir: pathlib.Path, tmp_trestle_dir: pathlib.P
         assert rc == 0
 
     # Read assembled model
-    actual_model = Catalog.oscal_read(pathlib.Path('dist/catalog.json'))
+    actual_model = Catalog.oscal_read(pathlib.Path('dist/catalogs/mycatalog.json'))
     _, _, expected_model = load_distributed(mycatalog_dir / 'catalog.json')
 
     assert actual_model == expected_model
diff --git a/trestle/core/commands/assemble.py b/trestle/core/commands/assemble.py
index 04fbdbd8..d7c9f32e 100644
--- a/trestle/core/commands/assemble.py
+++ b/trestle/core/commands/assemble.py
@@ -181,7 +181,10 @@ class AssembleCmd(Command):
 
         # distributed load
         _, _, assembled_model = load_distributed(root_model_filepath)
-        assembled_model_filepath = trestle_root / const.TRESTLE_DIST_DIR / f'{model_alias}.{args.extension}'
+        plural_alias = model_alias if model_alias[-1] == 's' else model_alias + 's'
+        assembled_model_dir = trestle_root / const.TRESTLE_DIST_DIR / plural_alias
+
+        assembled_model_filepath = assembled_model_dir / f'{args.name}.{args.extension}'
 
         plan = Plan()
         plan.add_action(CreatePathAction(assembled_model_filepath, True))