Skip to content

feat: Phase I I4 adapter stub -- OpenAMP output to external tool adapter with ADS- prefix, 10 target tools, dry-lab enforcement, 63 tests - #914

Merged
cschanhniem merged 1 commit into
mainfrom
feat/i4-adapter-stub
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/i4-adapter-stub

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Implements I4 from NEXT_100_PR_MAP: adapter stub module.

What

  • src/openamp_foundry/interop/adapter_stub.py: adapter stub with ADS- prefix
  • VALID_TARGET_TOOLS (10): ampscanner, campr3, dbaasp, dramp, hmmer, iamp2l, modlamp, peptide_ranker, propedia, rosetta_fold
  • VALID_OUTPUT_FORMATS (6): fasta, csv, json, tsv, pdb_sequence_list, sdf
  • VALID_ADAPTER_STATUSES (4): stub, partial, complete, deprecated
  • AdapterField (5 fields), AdapterStubRecord (9 fields), AdapterValidationResult
  • 10 validation rules: prefix, target_tool, output_format, status, dry_lab_only, disclaimer present, disclaimer mentions biological, version, implementation_notes, field mapping field checks
  • STUB_DISCLAIMER enforced; must mention biological activity not implied
  • format_adapter_stub_record() with field mapping table
  • 63 tests across 4 classes; BASELINE 7906→8158

Why

External labs use AMPScanner, modlamp, DRAMP etc. to validate candidates. An adapter stub with explicit field mappings, version tracking, and dry-lab enforcement means integration work can be reviewed before it creates data provenance gaps.

Disconfirming pass

  • dry_lab_only=False blocked
  • disclaimer without 'biological' blocked
  • Unknown tools blocked
  • Unknown output formats blocked
  • Empty field mapping source/target fields blocked

…ter with ADS- prefix, 10 target tools, dry-lab enforcement, 63 tests (#912)
@cschanhniem
cschanhniem merged commit edd62d4 into main Jul 10, 2026
0 of 2 checks passed
cschanhniem added a commit that referenced this pull request Jul 10, 2026
…checks each schema module has matching test file, 63 tests (#914) (#916)

Co-authored-by: OpenCode <opencode@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant