gemot 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gemot-0.1.0/.gitignore +23 -0
- gemot-0.1.0/LICENSE +21 -0
- gemot-0.1.0/PKG-INFO +262 -0
- gemot-0.1.0/README.md +181 -0
- gemot-0.1.0/pyproject.toml +426 -0
- gemot-0.1.0/src/gemot/__init__.py +103 -0
- gemot-0.1.0/src/gemot/ablations.py +321 -0
- gemot-0.1.0/src/gemot/agent/__init__.py +122 -0
- gemot-0.1.0/src/gemot/agent/barebones.py +459 -0
- gemot-0.1.0/src/gemot/agent/biocurator.py +250 -0
- gemot-0.1.0/src/gemot/agent/circuit_breaker.py +1037 -0
- gemot-0.1.0/src/gemot/agent/claude.py +142 -0
- gemot-0.1.0/src/gemot/agent/cli_mcp.py +335 -0
- gemot-0.1.0/src/gemot/agent/cli_process.py +224 -0
- gemot-0.1.0/src/gemot/agent/cli_tracing.py +530 -0
- gemot-0.1.0/src/gemot/agent/codex.py +169 -0
- gemot-0.1.0/src/gemot/agent/dedup.py +61 -0
- gemot-0.1.0/src/gemot/agent/driver.py +1981 -0
- gemot-0.1.0/src/gemot/agent/finish_gate.py +794 -0
- gemot-0.1.0/src/gemot/agent/fit_cost.py +113 -0
- gemot-0.1.0/src/gemot/agent/guards.py +991 -0
- gemot-0.1.0/src/gemot/agent/literature.py +166 -0
- gemot-0.1.0/src/gemot/agent/mcp_tools.py +72 -0
- gemot-0.1.0/src/gemot/agent/native_cli.py +202 -0
- gemot-0.1.0/src/gemot/agent/probe.py +230 -0
- gemot-0.1.0/src/gemot/agent/provider_refusals.py +90 -0
- gemot-0.1.0/src/gemot/agent/sandbox.py +317 -0
- gemot-0.1.0/src/gemot/agent/subagents.py +308 -0
- gemot-0.1.0/src/gemot/agent/thinking.py +392 -0
- gemot-0.1.0/src/gemot/agent/token_usage.py +309 -0
- gemot-0.1.0/src/gemot/agent/tools.py +224 -0
- gemot-0.1.0/src/gemot/agent/uniprot.py +133 -0
- gemot-0.1.0/src/gemot/analysis.py +1159 -0
- gemot-0.1.0/src/gemot/bio_cache.py +242 -0
- gemot-0.1.0/src/gemot/bio_sessions.py +512 -0
- gemot-0.1.0/src/gemot/biology_blinding.py +415 -0
- gemot-0.1.0/src/gemot/causal_constraints.py +709 -0
- gemot-0.1.0/src/gemot/experiments.py +750 -0
- gemot-0.1.0/src/gemot/explorer/__init__.py +13 -0
- gemot-0.1.0/src/gemot/explorer/__main__.py +59 -0
- gemot-0.1.0/src/gemot/explorer/archive.py +235 -0
- gemot-0.1.0/src/gemot/explorer/bundle.py +892 -0
- gemot-0.1.0/src/gemot/explorer/server.py +163 -0
- gemot-0.1.0/src/gemot/explorer/static/app.css +216 -0
- gemot-0.1.0/src/gemot/explorer/static/app.js +1027 -0
- gemot-0.1.0/src/gemot/explorer/templates/index.html +97 -0
- gemot-0.1.0/src/gemot/explorer/templates/run.html +43 -0
- gemot-0.1.0/src/gemot/fit_budget.py +240 -0
- gemot-0.1.0/src/gemot/infrastructure.py +206 -0
- gemot-0.1.0/src/gemot/metrics.py +794 -0
- gemot-0.1.0/src/gemot/models.py +418 -0
- gemot-0.1.0/src/gemot/neural_ode/__init__.py +7 -0
- gemot-0.1.0/src/gemot/neural_ode/__main__.py +332 -0
- gemot-0.1.0/src/gemot/neural_ode/config.py +103 -0
- gemot-0.1.0/src/gemot/neural_ode/distil.py +454 -0
- gemot-0.1.0/src/gemot/neural_ode/heldout.py +201 -0
- gemot-0.1.0/src/gemot/neural_ode/judge.py +154 -0
- gemot-0.1.0/src/gemot/neural_ode/problem.py +628 -0
- gemot-0.1.0/src/gemot/neural_ode/pysr_worker.py +168 -0
- gemot-0.1.0/src/gemot/neural_ode/regularise.py +104 -0
- gemot-0.1.0/src/gemot/neural_ode/route.py +451 -0
- gemot-0.1.0/src/gemot/neural_ode/stage.py +516 -0
- gemot-0.1.0/src/gemot/neural_ode/train.py +943 -0
- gemot-0.1.0/src/gemot/neural_ode/worker.py +64 -0
- gemot-0.1.0/src/gemot/omnipath_local.py +278 -0
- gemot-0.1.0/src/gemot/paths.py +144 -0
- gemot-0.1.0/src/gemot/prompts.py +2126 -0
- gemot-0.1.0/src/gemot/runner/__init__.py +98 -0
- gemot-0.1.0/src/gemot/runner/barebones.py +831 -0
- gemot-0.1.0/src/gemot/runner/cli.py +284 -0
- gemot-0.1.0/src/gemot/runner/clock.py +443 -0
- gemot-0.1.0/src/gemot/runner/drive.py +458 -0
- gemot-0.1.0/src/gemot/runner/endpoints.py +19 -0
- gemot-0.1.0/src/gemot/runner/failure.py +179 -0
- gemot-0.1.0/src/gemot/runner/judge.py +1115 -0
- gemot-0.1.0/src/gemot/runner/main.py +381 -0
- gemot-0.1.0/src/gemot/runner/provenance.py +431 -0
- gemot-0.1.0/src/gemot/runner/scoring.py +660 -0
- gemot-0.1.0/src/gemot/runner/server.py +168 -0
- gemot-0.1.0/src/gemot/sbgn.py +1315 -0
- gemot-0.1.0/src/gemot/scenario.py +596 -0
- gemot-0.1.0/src/gemot/simulate.py +210 -0
- gemot-0.1.0/src/gemot/structure_eval.py +369 -0
- gemot-0.1.0/src/gemot/sweep/__init__.py +55 -0
- gemot-0.1.0/src/gemot/sweep/__main__.py +66 -0
- gemot-0.1.0/src/gemot/sweep/array_task.sh +342 -0
- gemot-0.1.0/src/gemot/sweep/explorer_ctl.sh +65 -0
- gemot-0.1.0/src/gemot/sweep/explorer_server.sh +131 -0
- gemot-0.1.0/src/gemot/sweep/fit_pool_ctl.sh +221 -0
- gemot-0.1.0/src/gemot/sweep/fit_pool_server.sh +77 -0
- gemot-0.1.0/src/gemot/sweep/phoenix_ctl.sh +139 -0
- gemot-0.1.0/src/gemot/sweep/phoenix_server.sh +105 -0
- gemot-0.1.0/src/gemot/sweep/submit.py +568 -0
- gemot-0.1.0/src/gemot/tracing.py +974 -0
- gemot-0.1.0/src/gemot/wandb_logging.py +148 -0
- gemot-0.1.0/tests/conftest.py +222 -0
- gemot-0.1.0/tests/data/toy_v1/conditions.tsv +2 -0
- gemot-0.1.0/tests/data/toy_v1/conversion_reaction.xml +66 -0
- gemot-0.1.0/tests/data/toy_v1/measurements.tsv +7 -0
- gemot-0.1.0/tests/data/toy_v1/model.ant +13 -0
- gemot-0.1.0/tests/data/toy_v1/observables.tsv +2 -0
- gemot-0.1.0/tests/data/toy_v1/parameters.tsv +6 -0
- gemot-0.1.0/tests/data/toy_v1/problem.yaml +11 -0
- gemot-0.1.0/tests/test_abandoned_fit_runs_on.py +175 -0
- gemot-0.1.0/tests/test_ablations.py +234 -0
- gemot-0.1.0/tests/test_agent_tool_dispatch.py +265 -0
- gemot-0.1.0/tests/test_analysis_helpers.py +819 -0
- gemot-0.1.0/tests/test_barebones.py +1083 -0
- gemot-0.1.0/tests/test_billed_cost.py +197 -0
- gemot-0.1.0/tests/test_bio_cache.py +225 -0
- gemot-0.1.0/tests/test_bio_session_isolation.py +282 -0
- gemot-0.1.0/tests/test_bio_session_reopen.py +317 -0
- gemot-0.1.0/tests/test_bio_tool_discovery.py +68 -0
- gemot-0.1.0/tests/test_biocurator_ablation.py +165 -0
- gemot-0.1.0/tests/test_biocurator_input.py +359 -0
- gemot-0.1.0/tests/test_biocurator_tools.py +83 -0
- gemot-0.1.0/tests/test_biocurator_trim.py +144 -0
- gemot-0.1.0/tests/test_biology_blinding.py +484 -0
- gemot-0.1.0/tests/test_breaker_batches.py +156 -0
- gemot-0.1.0/tests/test_breaker_scope.py +266 -0
- gemot-0.1.0/tests/test_breaker_sole_editor.py +472 -0
- gemot-0.1.0/tests/test_builtin_tool_filter.py +149 -0
- gemot-0.1.0/tests/test_causal_constraints.py +506 -0
- gemot-0.1.0/tests/test_circuit_breaker_transport.py +185 -0
- gemot-0.1.0/tests/test_claude_transport.py +103 -0
- gemot-0.1.0/tests/test_cli_mcp.py +280 -0
- gemot-0.1.0/tests/test_cli_runner.py +238 -0
- gemot-0.1.0/tests/test_cli_tracing.py +375 -0
- gemot-0.1.0/tests/test_client_mcp_error.py +283 -0
- gemot-0.1.0/tests/test_codex_transport.py +243 -0
- gemot-0.1.0/tests/test_degraded_result.py +155 -0
- gemot-0.1.0/tests/test_diagnosis_never_compiles.py +210 -0
- gemot-0.1.0/tests/test_edit_reject_rate.py +350 -0
- gemot-0.1.0/tests/test_empty_subagent_report.py +361 -0
- gemot-0.1.0/tests/test_experiments_summary.py +240 -0
- gemot-0.1.0/tests/test_explorer_bundle_trace.py +224 -0
- gemot-0.1.0/tests/test_explorer_bundle_turns.py +67 -0
- gemot-0.1.0/tests/test_explorer_bundle_variants.py +221 -0
- gemot-0.1.0/tests/test_explorer_math.py +607 -0
- gemot-0.1.0/tests/test_finish_gate.py +1409 -0
- gemot-0.1.0/tests/test_fit_call_timeout.py +279 -0
- gemot-0.1.0/tests/test_fit_cost.py +123 -0
- gemot-0.1.0/tests/test_fit_pool.py +232 -0
- gemot-0.1.0/tests/test_fit_timeouts.py +307 -0
- gemot-0.1.0/tests/test_fix_pointers_arm.py +89 -0
- gemot-0.1.0/tests/test_hardcoded_constants.py +124 -0
- gemot-0.1.0/tests/test_heartbeat_timeout.py +473 -0
- gemot-0.1.0/tests/test_import_lightness.py +297 -0
- gemot-0.1.0/tests/test_imported_provenance.py +50 -0
- gemot-0.1.0/tests/test_indra_statements_arm.py +131 -0
- gemot-0.1.0/tests/test_infrastructure.py +395 -0
- gemot-0.1.0/tests/test_judge_call_timeout.py +165 -0
- gemot-0.1.0/tests/test_judge_null_delivery.py +99 -0
- gemot-0.1.0/tests/test_judge_reference_free.py +483 -0
- gemot-0.1.0/tests/test_judge_scored_version.py +259 -0
- gemot-0.1.0/tests/test_judge_scoring_scan.py +609 -0
- gemot-0.1.0/tests/test_judge_sigma_gate.py +562 -0
- gemot-0.1.0/tests/test_leaked_arguments.py +116 -0
- gemot-0.1.0/tests/test_mcp_tools.py +149 -0
- gemot-0.1.0/tests/test_metrics.py +189 -0
- gemot-0.1.0/tests/test_model_routing.py +320 -0
- gemot-0.1.0/tests/test_native_cli.py +606 -0
- gemot-0.1.0/tests/test_neural_ode_distil.py +161 -0
- gemot-0.1.0/tests/test_neural_ode_heldout.py +417 -0
- gemot-0.1.0/tests/test_neural_ode_judge.py +109 -0
- gemot-0.1.0/tests/test_neural_ode_problem.py +341 -0
- gemot-0.1.0/tests/test_neural_ode_regularise.py +62 -0
- gemot-0.1.0/tests/test_neural_ode_route.py +364 -0
- gemot-0.1.0/tests/test_neural_ode_stage.py +151 -0
- gemot-0.1.0/tests/test_neural_ode_train.py +323 -0
- gemot-0.1.0/tests/test_omnipath_local.py +53 -0
- gemot-0.1.0/tests/test_output_cap_handoff.py +208 -0
- gemot-0.1.0/tests/test_parameter_change_schema.py +132 -0
- gemot-0.1.0/tests/test_paths.py +49 -0
- gemot-0.1.0/tests/test_progress_signals_arm.py +251 -0
- gemot-0.1.0/tests/test_prompt_schema.py +45 -0
- gemot-0.1.0/tests/test_prompt_tracking.py +465 -0
- gemot-0.1.0/tests/test_provider_credit.py +74 -0
- gemot-0.1.0/tests/test_provider_refusals.py +177 -0
- gemot-0.1.0/tests/test_reasoning_roundtrip.py +141 -0
- gemot-0.1.0/tests/test_reasoning_runaway.py +299 -0
- gemot-0.1.0/tests/test_reference_handoff.py +91 -0
- gemot-0.1.0/tests/test_result_fields.py +277 -0
- gemot-0.1.0/tests/test_run_archive.py +245 -0
- gemot-0.1.0/tests/test_run_loop_no_model.py +926 -0
- gemot-0.1.0/tests/test_sandbox.py +181 -0
- gemot-0.1.0/tests/test_scenario.py +147 -0
- gemot-0.1.0/tests/test_scenario_reference_free.py +73 -0
- gemot-0.1.0/tests/test_scripted_build.py +53 -0
- gemot-0.1.0/tests/test_served_endpoints.py +355 -0
- gemot-0.1.0/tests/test_stall_pulses.py +305 -0
- gemot-0.1.0/tests/test_subagent_registry.py +140 -0
- gemot-0.1.0/tests/test_subagent_turn_limit.py +219 -0
- gemot-0.1.0/tests/test_sweep.py +692 -0
- gemot-0.1.0/tests/test_task_arg_guard.py +194 -0
- gemot-0.1.0/tests/test_teardown_keeps_verdict.py +207 -0
- gemot-0.1.0/tests/test_thinking.py +305 -0
- gemot-0.1.0/tests/test_token_accounting.py +437 -0
- gemot-0.1.0/tests/test_tool_descriptions.py +64 -0
- gemot-0.1.0/tests/test_tracing_setup.py +127 -0
- gemot-0.1.0/tests/test_tracing_span_inputs.py +1097 -0
- gemot-0.1.0/tests/test_uniprot.py +146 -0
- gemot-0.1.0/tests/test_validation_data.py +369 -0
- gemot-0.1.0/tests/test_wandb_logging.py +60 -0
gemot-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.eggs/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.venv/
|
|
10
|
+
venv/
|
|
11
|
+
.DS_Store
|
|
12
|
+
|
|
13
|
+
# AMICI-compiled model output
|
|
14
|
+
*_amici/
|
|
15
|
+
amici_models/
|
|
16
|
+
petab_mcp_amici/
|
|
17
|
+
|
|
18
|
+
# Provenance/version store written next to a problem
|
|
19
|
+
.petab_mcp/
|
|
20
|
+
|
|
21
|
+
# Local run state: the PEtabAgentBench checkout and the in-repo Phoenix working dir
|
|
22
|
+
examples/
|
|
23
|
+
.phoenix/
|
gemot-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fabian Fröhlich
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
gemot-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: gemot
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: An LLM agent panel, and its judge, that builds mechanistic models through the petab-mcp server.
|
|
5
|
+
Project-URL: Homepage, https://github.com/frohlich-lab/gemot
|
|
6
|
+
Project-URL: Repository, https://github.com/frohlich-lab/gemot
|
|
7
|
+
Author: Fabian Fröhlich
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: amici,mcp,parameter-estimation,petab,sbml,systems-biology
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
18
|
+
Requires-Python: >=3.12
|
|
19
|
+
Requires-Dist: amici>=1.2.0
|
|
20
|
+
Requires-Dist: antimony>=3.2
|
|
21
|
+
Requires-Dist: duckdb>=0.9
|
|
22
|
+
Requires-Dist: fides>=0.8.1
|
|
23
|
+
Requires-Dist: httpx2>=2.10
|
|
24
|
+
Requires-Dist: mcp<3,>=2.3
|
|
25
|
+
Requires-Dist: numpy>=1.23
|
|
26
|
+
Requires-Dist: pandas>=1.5
|
|
27
|
+
Requires-Dist: petab-mcp==0.1.1
|
|
28
|
+
Requires-Dist: petab>=0.10.0
|
|
29
|
+
Requires-Dist: pypesto[petab]>=0.5
|
|
30
|
+
Requires-Dist: python-libsbml>=5.19
|
|
31
|
+
Requires-Dist: scikit-learn>=1.4.2
|
|
32
|
+
Requires-Dist: scipy>=1.10
|
|
33
|
+
Requires-Dist: sympy>=1.10
|
|
34
|
+
Requires-Dist: uvicorn>=0.23
|
|
35
|
+
Provides-Extra: agent
|
|
36
|
+
Requires-Dist: deepagents==0.7.32; extra == 'agent'
|
|
37
|
+
Requires-Dist: langchain-openai<2,>=1.3; extra == 'agent'
|
|
38
|
+
Requires-Dist: langchain[mcp]<2,>=1.4.7; extra == 'agent'
|
|
39
|
+
Provides-Extra: dev
|
|
40
|
+
Requires-Dist: amici[jax]>=1.2.0; extra == 'dev'
|
|
41
|
+
Requires-Dist: arize-phoenix-otel>=0.16; extra == 'dev'
|
|
42
|
+
Requires-Dist: dask-jobqueue>=0.8.5; extra == 'dev'
|
|
43
|
+
Requires-Dist: deepagents==0.7.32; extra == 'dev'
|
|
44
|
+
Requires-Dist: fastmcp<5,>=4; extra == 'dev'
|
|
45
|
+
Requires-Dist: langchain-openai<2,>=1.3; extra == 'dev'
|
|
46
|
+
Requires-Dist: langchain[mcp]<2,>=1.4.7; extra == 'dev'
|
|
47
|
+
Requires-Dist: openinference-instrumentation-langchain>=0.1; extra == 'dev'
|
|
48
|
+
Requires-Dist: optax>=0.2; extra == 'dev'
|
|
49
|
+
Requires-Dist: petab-mcp[dask]; extra == 'dev'
|
|
50
|
+
Requires-Dist: petab-mcp[statements]==0.1.1; extra == 'dev'
|
|
51
|
+
Requires-Dist: petab-sciml>=0.0.3; extra == 'dev'
|
|
52
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
53
|
+
Requires-Dist: pytest-xdist>=3; extra == 'dev'
|
|
54
|
+
Requires-Dist: pytest>=7; extra == 'dev'
|
|
55
|
+
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
56
|
+
Provides-Extra: explorer
|
|
57
|
+
Requires-Dist: fastapi>=0.110; extra == 'explorer'
|
|
58
|
+
Requires-Dist: jinja2>=3.1; extra == 'explorer'
|
|
59
|
+
Requires-Dist: uvicorn>=0.23; extra == 'explorer'
|
|
60
|
+
Provides-Extra: harness
|
|
61
|
+
Requires-Dist: arize-phoenix-otel>=0.16; extra == 'harness'
|
|
62
|
+
Requires-Dist: arize-phoenix<22,>=21.0; extra == 'harness'
|
|
63
|
+
Requires-Dist: deepagents==0.7.32; extra == 'harness'
|
|
64
|
+
Requires-Dist: langchain-openai<2,>=1.3; extra == 'harness'
|
|
65
|
+
Requires-Dist: langchain[mcp]<2,>=1.4.7; extra == 'harness'
|
|
66
|
+
Requires-Dist: openinference-instrumentation-langchain>=0.1; extra == 'harness'
|
|
67
|
+
Requires-Dist: petab-mcp[dask]; extra == 'harness'
|
|
68
|
+
Requires-Dist: wandb>=0.18; extra == 'harness'
|
|
69
|
+
Provides-Extra: neural
|
|
70
|
+
Requires-Dist: amici[jax]>=1.2.0; extra == 'neural'
|
|
71
|
+
Requires-Dist: optax>=0.2; extra == 'neural'
|
|
72
|
+
Requires-Dist: petab-sciml>=0.0.3; extra == 'neural'
|
|
73
|
+
Provides-Extra: pool
|
|
74
|
+
Requires-Dist: petab-mcp[dask]; extra == 'pool'
|
|
75
|
+
Provides-Extra: statements
|
|
76
|
+
Requires-Dist: petab-mcp[statements]==0.1.1; extra == 'statements'
|
|
77
|
+
Provides-Extra: tracing
|
|
78
|
+
Requires-Dist: arize-phoenix-otel>=0.16; extra == 'tracing'
|
|
79
|
+
Requires-Dist: openinference-instrumentation-langchain>=0.1; extra == 'tracing'
|
|
80
|
+
Description-Content-Type: text/markdown
|
|
81
|
+
|
|
82
|
+
# gemot
|
|
83
|
+
|
|
84
|
+
[](https://github.com/frohlich-lab/gemot/actions/workflows/ci.yml)
|
|
85
|
+
[](https://pypi.org/project/gemot/)
|
|
86
|
+
[](https://github.com/frohlich-lab/gemot/blob/main/LICENSE)
|
|
87
|
+
|
|
88
|
+
## Disclaimer
|
|
89
|
+
|
|
90
|
+
Research software under active, rapid and heavy development: **use it at your own risk**. Its
|
|
91
|
+
command line, result fields and agent prompts change without notice. A run calls a hosted LLM
|
|
92
|
+
for hours and is billed by that provider. Its behaviour has been tuned and checked on benchmark
|
|
93
|
+
problems only, and it is not for clinical or regulatory use. It comes without warranty of any
|
|
94
|
+
kind; see the [LICENSE](https://github.com/frohlich-lab/gemot/blob/main/LICENSE).
|
|
95
|
+
|
|
96
|
+
## Overview
|
|
97
|
+
|
|
98
|
+
The agent harness built around [PEtab MCP](https://github.com/frohlich-lab/PEtab-MCP), an
|
|
99
|
+
MCP server that wraps a single
|
|
100
|
+
[PEtab v2](https://petab.readthedocs.io/en/latest/v2/documentation_data_format.html)
|
|
101
|
+
parameter-estimation problem and lets an LLM agent change the model only through one
|
|
102
|
+
constrained tool, with every change **scored** (fit and simulated), **versioned** and
|
|
103
|
+
**justified**.
|
|
104
|
+
|
|
105
|
+
gemot spawns that server as a subprocess, launches a panel of agent specialists
|
|
106
|
+
(mathematician, systems scientist, signal engineer) on it and then hands off to the
|
|
107
|
+
**judge**, which selects the best-scoring version and scores it against a true or published
|
|
108
|
+
reference — or, for a model-free data package with no reference, by an absolute goodness-of-fit
|
|
109
|
+
test. Phoenix tracing and the run explorer read the trace and version history this pipeline
|
|
110
|
+
leaves behind.
|
|
111
|
+
|
|
112
|
+
The zero-shot problems it drives — and the code that materializes them from the PEtab
|
|
113
|
+
Benchmark-Models collection and fits their reference bars — live in
|
|
114
|
+
[frohlich-lab/PEtabAgentBench](https://github.com/frohlich-lab/PEtabAgentBench). The Slurm sweep
|
|
115
|
+
tooling and the paper live in
|
|
116
|
+
[frohlich-lab/gemot_iclr_2026](https://github.com/frohlich-lab/gemot_iclr_2026), which mounts
|
|
117
|
+
those problems at `examples/` and installs gemot pinned to a commit. gemot finds that checkout
|
|
118
|
+
from the running script or the working directory, or from `PETAB_MCP_REPO_ROOT` (see
|
|
119
|
+
[`src/gemot/paths.py`](https://github.com/frohlich-lab/gemot/blob/main/src/gemot/paths.py)).
|
|
120
|
+
|
|
121
|
+
## Quickstart
|
|
122
|
+
|
|
123
|
+
### Installation and dependencies
|
|
124
|
+
|
|
125
|
+
Python 3.12+ and a C++ toolchain for AMICI (see [Troubleshooting](#troubleshooting)).
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
pip install gemot # gemot + the pinned server release
|
|
129
|
+
pip install "gemot[harness]" # + the deepagents panel and Phoenix tracing, for LLM-driven runs
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
The `indra_statements` arm builds models from INDRA statements and needs the `statements`
|
|
133
|
+
extra. No released pysb installs beside AMICI, so name its commit:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
pip install "gemot[harness,statements]" "pysb @ git+https://github.com/pysb/pysb.git@9fc6bcb118683ad851e0a4d5604abe646f77cae3"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
From a checkout, the `pins` group (pip >= 25.1) adds the unreleased commits PyPI refuses as
|
|
140
|
+
dependencies: pysb's, the neural route's petab-sciml, and petab's, which imports a problem of
|
|
141
|
+
thousands of experiments (Froehlich_CellSystems2018):
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
pip install -e '.[harness,statements]' --group pins
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
To work on the server and gemot together, install your server checkout over the pinned one
|
|
148
|
+
(and again after any later `pip install -e .`, which restores the pin):
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
pip install -e ../PEtab-MCP
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Running an example
|
|
155
|
+
|
|
156
|
+
The problems come from [PEtabAgentBench](https://github.com/frohlich-lab/PEtabAgentBench).
|
|
157
|
+
Check it out inside this repo at `examples/` so gemot finds it, then let the deepagents
|
|
158
|
+
panel build the synthetic predator–prey model through an OpenRouter-hosted model:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
git clone https://github.com/frohlich-lab/PEtabAgentBench.git examples
|
|
162
|
+
export OPENROUTER_API_KEY=sk-or-... # go to https://openrouter.ai/keys to get your key
|
|
163
|
+
python examples/predator_prey/run.py # --driver deepagents (default)
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
The full example can take at least an hour to run on a laptop, so you may want to track the
|
|
167
|
+
agent's progress via the Phoenix trace. To view this, serve Phoenix in a second terminal and
|
|
168
|
+
point the run at it:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
phoenix serve # UI at http://localhost:6006
|
|
172
|
+
export PHOENIX_COLLECTOR_ENDPOINT=http://localhost:6006 # in the run's terminal
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
The run exits `0` if the judge accepts the built model, writes its verdict to
|
|
176
|
+
`examples/predator_prey/work/result.json` and archives the run under
|
|
177
|
+
`examples/_runs_archive/`. The archive keeps each version's model, parameters, statements,
|
|
178
|
+
simulations, multistart (`optimization.json.gz`) and pyPESTO's HDF5 result.
|
|
179
|
+
|
|
180
|
+
`--model` picks another OpenRouter model, and `--driver scripted` builds the true model
|
|
181
|
+
without an LLM as a self-test of the pipeline.
|
|
182
|
+
|
|
183
|
+
### Codex and Claude CLI drivers
|
|
184
|
+
|
|
185
|
+
Run a native CLI agent for the whole task with `.[harness]` installed and the CLI authenticated:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
codex login
|
|
189
|
+
python examples/predator_prey/run.py --driver codex --model YOUR_CODEX_MODEL_ID
|
|
190
|
+
claude auth login
|
|
191
|
+
python examples/predator_prey/run.py --driver claude --model sonnet
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Each run starts one `codex exec` or `claude -p` session and supplies the task once. The CLI
|
|
195
|
+
owns its conversation, tool loop, prompt caching, and compaction. These drivers have no gemot
|
|
196
|
+
panel or finish gate. They use the shared scored PEtab MCP tools through a local gateway;
|
|
197
|
+
file/shell access and heldout judging tools are restricted to preserve benchmark blindness.
|
|
198
|
+
|
|
199
|
+
`--model` is required and passed directly to the CLI. No OpenRouter key is needed.
|
|
200
|
+
`--biocurator-model` is unavailable; `--recursion-limit` does not apply. Optional
|
|
201
|
+
`--max-wall-seconds` or `--codex-timeout` / `--claude-timeout` bounds the entire session.
|
|
202
|
+
|
|
203
|
+
Phoenix records observed native events and actual gateway tool calls under the run trace.
|
|
204
|
+
Codex usage is session aggregate; Claude additionally exposes response usage. Raw events are
|
|
205
|
+
archived as `work/codex_events.jsonl` or `work/claude_events.jsonl`. See
|
|
206
|
+
[CLI drivers](https://github.com/frohlich-lab/gemot/blob/main/docs/CLI_DRIVERS.md) for setup, trace limits, and the ChatGPT terms assessment.
|
|
207
|
+
|
|
208
|
+
## Project structure
|
|
209
|
+
|
|
210
|
+
[`gemot`](https://github.com/frohlich-lab/gemot/tree/main/src/gemot) (under `src/`); each
|
|
211
|
+
submodule is documented in its own docstrings.
|
|
212
|
+
|
|
213
|
+
- `gemot.runner` — cleanup → server → driver → judge, and the command line every example's
|
|
214
|
+
`run.py` drives.
|
|
215
|
+
- `gemot.agent` — the deepagents panel: tool curation, guards, finish gate, driver.
|
|
216
|
+
`--driver barebones` is the **null arm**: the same model, problem, libraries and compute,
|
|
217
|
+
but a stock deepagent with file tools and a sandboxed shell over the PEtab files on disk —
|
|
218
|
+
no server, no panel, no scored editing loop — asked to deliver a finished PEtab problem in
|
|
219
|
+
place, which the same judge then scores at its delivered parameter values (see
|
|
220
|
+
[`src/gemot/agent/barebones.py`](https://github.com/frohlich-lab/gemot/blob/main/src/gemot/agent/barebones.py)).
|
|
221
|
+
- `gemot.neural_ode` — the non-LLM model producer. It reads a PEtab problem's tables without
|
|
222
|
+
opening the shipped model, restates the problem as a PEtab SciML neural ODE, fits it
|
|
223
|
+
through AMICI's JAX backend, scores it against the example's held-out set, and distils the
|
|
224
|
+
field into Antimony rate laws with PySR for the same judge.
|
|
225
|
+
`python -m gemot.neural_ode fit|propose` runs either half.
|
|
226
|
+
- `gemot.explorer` — the run viewer over archived and in-flight runs (`python -m gemot.explorer`).
|
|
227
|
+
- `gemot.sweep` — the Slurm sweep driver for a checkout that pins gemot: one job array of runs
|
|
228
|
+
whose fits share one pool of SLURM workers, and the pool, trace collector and explorer as
|
|
229
|
+
service jobs (`python -m gemot.sweep`, [docs/SWEEP.md](https://github.com/frohlich-lab/gemot/blob/main/docs/SWEEP.md)).
|
|
230
|
+
- `gemot.analysis`, `gemot.ablations` — sweep analysis (`python -m gemot.analysis`) and the
|
|
231
|
+
registry of every switch that changes what a run does (`python -m gemot.ablations`).
|
|
232
|
+
- `gemot.causal_constraints` — what the `causal_constraints` arm records: the refusals per
|
|
233
|
+
constraint, the first version making them all, and how the judged model behaves on each
|
|
234
|
+
indirect constraint, read with the gain norms of Fröhlich et al., MSB 2023.
|
|
235
|
+
|
|
236
|
+
## Design notes
|
|
237
|
+
|
|
238
|
+
The principles gemot is built on are the server's — the single scored editing tool, the one
|
|
239
|
+
named score every gate reads, the versioned provenance. They are stated in the server's
|
|
240
|
+
[design notes](https://github.com/frohlich-lab/PEtab-MCP/blob/main/docs/DESIGN.md).
|
|
241
|
+
|
|
242
|
+
## Development
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
pip install -e '.[dev]' --group pins # dev adds pytest, the agent stack and every extra
|
|
246
|
+
pytest -n 3 # needs the full install (AMICI/pyPESTO are hard deps); PubMed is stubbed
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
A release is cut by publishing a GitHub release tagged `v<version>`, which the
|
|
250
|
+
[release workflow](https://github.com/frohlich-lab/gemot/blob/main/.github/workflows/release.yml)
|
|
251
|
+
uploads to PyPI. The version is `[project] version` in `pyproject.toml`.
|
|
252
|
+
|
|
253
|
+
## License
|
|
254
|
+
|
|
255
|
+
MIT; see [LICENSE](https://github.com/frohlich-lab/gemot/blob/main/LICENSE).
|
|
256
|
+
|
|
257
|
+
## Troubleshooting
|
|
258
|
+
|
|
259
|
+
AMICI compiles generated C++ and needs a toolchain: a C++ compiler, CMake, Ninja, and the
|
|
260
|
+
pip `swig` binary on `PATH`. AMICI ships only a source distribution, so it is built on install
|
|
261
|
+
(BLAS comes from the `scipy-openblas64` wheel, or Accelerate on macOS).
|
|
262
|
+
|
gemot-0.1.0/README.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# gemot
|
|
2
|
+
|
|
3
|
+
[](https://github.com/frohlich-lab/gemot/actions/workflows/ci.yml)
|
|
4
|
+
[](https://pypi.org/project/gemot/)
|
|
5
|
+
[](https://github.com/frohlich-lab/gemot/blob/main/LICENSE)
|
|
6
|
+
|
|
7
|
+
## Disclaimer
|
|
8
|
+
|
|
9
|
+
Research software under active, rapid and heavy development: **use it at your own risk**. Its
|
|
10
|
+
command line, result fields and agent prompts change without notice. A run calls a hosted LLM
|
|
11
|
+
for hours and is billed by that provider. Its behaviour has been tuned and checked on benchmark
|
|
12
|
+
problems only, and it is not for clinical or regulatory use. It comes without warranty of any
|
|
13
|
+
kind; see the [LICENSE](https://github.com/frohlich-lab/gemot/blob/main/LICENSE).
|
|
14
|
+
|
|
15
|
+
## Overview
|
|
16
|
+
|
|
17
|
+
The agent harness built around [PEtab MCP](https://github.com/frohlich-lab/PEtab-MCP), an
|
|
18
|
+
MCP server that wraps a single
|
|
19
|
+
[PEtab v2](https://petab.readthedocs.io/en/latest/v2/documentation_data_format.html)
|
|
20
|
+
parameter-estimation problem and lets an LLM agent change the model only through one
|
|
21
|
+
constrained tool, with every change **scored** (fit and simulated), **versioned** and
|
|
22
|
+
**justified**.
|
|
23
|
+
|
|
24
|
+
gemot spawns that server as a subprocess, launches a panel of agent specialists
|
|
25
|
+
(mathematician, systems scientist, signal engineer) on it and then hands off to the
|
|
26
|
+
**judge**, which selects the best-scoring version and scores it against a true or published
|
|
27
|
+
reference — or, for a model-free data package with no reference, by an absolute goodness-of-fit
|
|
28
|
+
test. Phoenix tracing and the run explorer read the trace and version history this pipeline
|
|
29
|
+
leaves behind.
|
|
30
|
+
|
|
31
|
+
The zero-shot problems it drives — and the code that materializes them from the PEtab
|
|
32
|
+
Benchmark-Models collection and fits their reference bars — live in
|
|
33
|
+
[frohlich-lab/PEtabAgentBench](https://github.com/frohlich-lab/PEtabAgentBench). The Slurm sweep
|
|
34
|
+
tooling and the paper live in
|
|
35
|
+
[frohlich-lab/gemot_iclr_2026](https://github.com/frohlich-lab/gemot_iclr_2026), which mounts
|
|
36
|
+
those problems at `examples/` and installs gemot pinned to a commit. gemot finds that checkout
|
|
37
|
+
from the running script or the working directory, or from `PETAB_MCP_REPO_ROOT` (see
|
|
38
|
+
[`src/gemot/paths.py`](https://github.com/frohlich-lab/gemot/blob/main/src/gemot/paths.py)).
|
|
39
|
+
|
|
40
|
+
## Quickstart
|
|
41
|
+
|
|
42
|
+
### Installation and dependencies
|
|
43
|
+
|
|
44
|
+
Python 3.12+ and a C++ toolchain for AMICI (see [Troubleshooting](#troubleshooting)).
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
pip install gemot # gemot + the pinned server release
|
|
48
|
+
pip install "gemot[harness]" # + the deepagents panel and Phoenix tracing, for LLM-driven runs
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The `indra_statements` arm builds models from INDRA statements and needs the `statements`
|
|
52
|
+
extra. No released pysb installs beside AMICI, so name its commit:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
pip install "gemot[harness,statements]" "pysb @ git+https://github.com/pysb/pysb.git@9fc6bcb118683ad851e0a4d5604abe646f77cae3"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
From a checkout, the `pins` group (pip >= 25.1) adds the unreleased commits PyPI refuses as
|
|
59
|
+
dependencies: pysb's, the neural route's petab-sciml, and petab's, which imports a problem of
|
|
60
|
+
thousands of experiments (Froehlich_CellSystems2018):
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
pip install -e '.[harness,statements]' --group pins
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
To work on the server and gemot together, install your server checkout over the pinned one
|
|
67
|
+
(and again after any later `pip install -e .`, which restores the pin):
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
pip install -e ../PEtab-MCP
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Running an example
|
|
74
|
+
|
|
75
|
+
The problems come from [PEtabAgentBench](https://github.com/frohlich-lab/PEtabAgentBench).
|
|
76
|
+
Check it out inside this repo at `examples/` so gemot finds it, then let the deepagents
|
|
77
|
+
panel build the synthetic predator–prey model through an OpenRouter-hosted model:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
git clone https://github.com/frohlich-lab/PEtabAgentBench.git examples
|
|
81
|
+
export OPENROUTER_API_KEY=sk-or-... # go to https://openrouter.ai/keys to get your key
|
|
82
|
+
python examples/predator_prey/run.py # --driver deepagents (default)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
The full example can take at least an hour to run on a laptop, so you may want to track the
|
|
86
|
+
agent's progress via the Phoenix trace. To view this, serve Phoenix in a second terminal and
|
|
87
|
+
point the run at it:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
phoenix serve # UI at http://localhost:6006
|
|
91
|
+
export PHOENIX_COLLECTOR_ENDPOINT=http://localhost:6006 # in the run's terminal
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
The run exits `0` if the judge accepts the built model, writes its verdict to
|
|
95
|
+
`examples/predator_prey/work/result.json` and archives the run under
|
|
96
|
+
`examples/_runs_archive/`. The archive keeps each version's model, parameters, statements,
|
|
97
|
+
simulations, multistart (`optimization.json.gz`) and pyPESTO's HDF5 result.
|
|
98
|
+
|
|
99
|
+
`--model` picks another OpenRouter model, and `--driver scripted` builds the true model
|
|
100
|
+
without an LLM as a self-test of the pipeline.
|
|
101
|
+
|
|
102
|
+
### Codex and Claude CLI drivers
|
|
103
|
+
|
|
104
|
+
Run a native CLI agent for the whole task with `.[harness]` installed and the CLI authenticated:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
codex login
|
|
108
|
+
python examples/predator_prey/run.py --driver codex --model YOUR_CODEX_MODEL_ID
|
|
109
|
+
claude auth login
|
|
110
|
+
python examples/predator_prey/run.py --driver claude --model sonnet
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Each run starts one `codex exec` or `claude -p` session and supplies the task once. The CLI
|
|
114
|
+
owns its conversation, tool loop, prompt caching, and compaction. These drivers have no gemot
|
|
115
|
+
panel or finish gate. They use the shared scored PEtab MCP tools through a local gateway;
|
|
116
|
+
file/shell access and heldout judging tools are restricted to preserve benchmark blindness.
|
|
117
|
+
|
|
118
|
+
`--model` is required and passed directly to the CLI. No OpenRouter key is needed.
|
|
119
|
+
`--biocurator-model` is unavailable; `--recursion-limit` does not apply. Optional
|
|
120
|
+
`--max-wall-seconds` or `--codex-timeout` / `--claude-timeout` bounds the entire session.
|
|
121
|
+
|
|
122
|
+
Phoenix records observed native events and actual gateway tool calls under the run trace.
|
|
123
|
+
Codex usage is session aggregate; Claude additionally exposes response usage. Raw events are
|
|
124
|
+
archived as `work/codex_events.jsonl` or `work/claude_events.jsonl`. See
|
|
125
|
+
[CLI drivers](https://github.com/frohlich-lab/gemot/blob/main/docs/CLI_DRIVERS.md) for setup, trace limits, and the ChatGPT terms assessment.
|
|
126
|
+
|
|
127
|
+
## Project structure
|
|
128
|
+
|
|
129
|
+
[`gemot`](https://github.com/frohlich-lab/gemot/tree/main/src/gemot) (under `src/`); each
|
|
130
|
+
submodule is documented in its own docstrings.
|
|
131
|
+
|
|
132
|
+
- `gemot.runner` — cleanup → server → driver → judge, and the command line every example's
|
|
133
|
+
`run.py` drives.
|
|
134
|
+
- `gemot.agent` — the deepagents panel: tool curation, guards, finish gate, driver.
|
|
135
|
+
`--driver barebones` is the **null arm**: the same model, problem, libraries and compute,
|
|
136
|
+
but a stock deepagent with file tools and a sandboxed shell over the PEtab files on disk —
|
|
137
|
+
no server, no panel, no scored editing loop — asked to deliver a finished PEtab problem in
|
|
138
|
+
place, which the same judge then scores at its delivered parameter values (see
|
|
139
|
+
[`src/gemot/agent/barebones.py`](https://github.com/frohlich-lab/gemot/blob/main/src/gemot/agent/barebones.py)).
|
|
140
|
+
- `gemot.neural_ode` — the non-LLM model producer. It reads a PEtab problem's tables without
|
|
141
|
+
opening the shipped model, restates the problem as a PEtab SciML neural ODE, fits it
|
|
142
|
+
through AMICI's JAX backend, scores it against the example's held-out set, and distils the
|
|
143
|
+
field into Antimony rate laws with PySR for the same judge.
|
|
144
|
+
`python -m gemot.neural_ode fit|propose` runs either half.
|
|
145
|
+
- `gemot.explorer` — the run viewer over archived and in-flight runs (`python -m gemot.explorer`).
|
|
146
|
+
- `gemot.sweep` — the Slurm sweep driver for a checkout that pins gemot: one job array of runs
|
|
147
|
+
whose fits share one pool of SLURM workers, and the pool, trace collector and explorer as
|
|
148
|
+
service jobs (`python -m gemot.sweep`, [docs/SWEEP.md](https://github.com/frohlich-lab/gemot/blob/main/docs/SWEEP.md)).
|
|
149
|
+
- `gemot.analysis`, `gemot.ablations` — sweep analysis (`python -m gemot.analysis`) and the
|
|
150
|
+
registry of every switch that changes what a run does (`python -m gemot.ablations`).
|
|
151
|
+
- `gemot.causal_constraints` — what the `causal_constraints` arm records: the refusals per
|
|
152
|
+
constraint, the first version making them all, and how the judged model behaves on each
|
|
153
|
+
indirect constraint, read with the gain norms of Fröhlich et al., MSB 2023.
|
|
154
|
+
|
|
155
|
+
## Design notes
|
|
156
|
+
|
|
157
|
+
The principles gemot is built on are the server's — the single scored editing tool, the one
|
|
158
|
+
named score every gate reads, the versioned provenance. They are stated in the server's
|
|
159
|
+
[design notes](https://github.com/frohlich-lab/PEtab-MCP/blob/main/docs/DESIGN.md).
|
|
160
|
+
|
|
161
|
+
## Development
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
pip install -e '.[dev]' --group pins # dev adds pytest, the agent stack and every extra
|
|
165
|
+
pytest -n 3 # needs the full install (AMICI/pyPESTO are hard deps); PubMed is stubbed
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
A release is cut by publishing a GitHub release tagged `v<version>`, which the
|
|
169
|
+
[release workflow](https://github.com/frohlich-lab/gemot/blob/main/.github/workflows/release.yml)
|
|
170
|
+
uploads to PyPI. The version is `[project] version` in `pyproject.toml`.
|
|
171
|
+
|
|
172
|
+
## License
|
|
173
|
+
|
|
174
|
+
MIT; see [LICENSE](https://github.com/frohlich-lab/gemot/blob/main/LICENSE).
|
|
175
|
+
|
|
176
|
+
## Troubleshooting
|
|
177
|
+
|
|
178
|
+
AMICI compiles generated C++ and needs a toolchain: a C++ compiler, CMake, Ninja, and the
|
|
179
|
+
pip `swig` binary on `PATH`. AMICI ships only a source distribution, so it is built on install
|
|
180
|
+
(BLAS comes from the `scipy-openblas64` wheel, or Accelerate on macOS).
|
|
181
|
+
|