simjecture 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.
- simjecture-0.1.0/.env.example +17 -0
- simjecture-0.1.0/.gitattributes +9 -0
- simjecture-0.1.0/.github/workflows/ci.yml +151 -0
- simjecture-0.1.0/.github/workflows/release.yml +43 -0
- simjecture-0.1.0/.gitignore +19 -0
- simjecture-0.1.0/.readthedocs.yaml +16 -0
- simjecture-0.1.0/CHANGELOG.md +57 -0
- simjecture-0.1.0/CITATION.cff +21 -0
- simjecture-0.1.0/CONTRIBUTING.md +36 -0
- simjecture-0.1.0/LICENSE +202 -0
- simjecture-0.1.0/NOTICE +6 -0
- simjecture-0.1.0/PKG-INFO +400 -0
- simjecture-0.1.0/README.md +368 -0
- simjecture-0.1.0/SECURITY.md +20 -0
- simjecture-0.1.0/THIRD_PARTY_NOTICES.md +16 -0
- simjecture-0.1.0/capabilities/warpx-cpu-26.07.json +30 -0
- simjecture-0.1.0/capabilities/warpx-cuda-openpmd-26.07.json +40 -0
- simjecture-0.1.0/demos/README.md +18 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/README.md +182 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/campaign_instruction.txt +7 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided/anchor_operator_validation.json +49 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided/gem_anchor_validation.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided/gem_collisionless.py +877 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided/prior_campaign_0002_audit_summary.json +88 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided/prior_campaign_0003_audit_summary.json +103 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided/prior_campaign_audit_summary.json +145 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/guided_commission.json +67 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/hypothesis.txt +1 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/plot_results.py +242 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/artifact_provenance.json +25122 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/claim_summary.md +70 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/guided_commissioning.json +95 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/hypothesis_ledger.json +3043 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/literature_searches.json +201 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/mvp_manifest.json +137 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/mvp_report.json +3910 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/transcript.jsonl +369 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000012.py +6 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000013.py +4 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000019.py +4 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000020.py +4 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000026.py +6 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000027.py +17 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000032.py +4 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000033.py +12 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000037.py +11 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000041.py +10 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000042.py +4 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000043.py +8 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/.acs/evidence_programs/iteration_000049.py +20 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/analyze_ensemble.py +519 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/analyze_manifest.json +19 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/commission_summary.json +409 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/ensemble_result.json +1335 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/run_p16_t1_s20260902/diagnostic_overview.svg +7431 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/run_p16_t1_s20260902/final_fields.npz +0 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/run_p16_t1_s20260902/warpx_used_inputs +184 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/run_p16_t20_s20260902/diagnostic_overview.svg +7431 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/run_p16_t20_s20260902/final_fields.npz +0 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/run_p16_t20_s20260902/warpx_used_inputs +184 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p16_t1_s20260902_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p16_t1_s20260903_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p16_t1_s20260904_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p16_t20_s20260902_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p16_t20_s20260903_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p16_t20_s20260904_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p8_t1_s20260902_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p8_t1_s20260903_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p8_t1_s20260904_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p8_t20_s20260902_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p8_t20_s20260903_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/campaign/summaries/p8_t20_s20260904_summary.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/design_pin.json +55 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/energy_reader.py +195 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fallback_solver_plan.json +45 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/commission_manifest.json +135 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/commission_output.json +1359 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/commission_output_wb.json +1359 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p16_t1_s20260902_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p16_t1_s20260903_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p16_t1_s20260904_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p16_t20_s20260902_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p16_t20_s20260903_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p16_t20_s20260904_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p8_t1_s20260902_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p8_t1_s20260903_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p8_t1_s20260904_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p8_t20_s20260902_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p8_t20_s20260903_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/fixtures/inp/p8_t20_s20260904_summary.json +188 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/gen_fixtures.py +196 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/guided/anchor_operator_validation.json +49 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/guided/gem_anchor_validation.json +601 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/guided/gem_collisionless.py +877 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/guided/prior_campaign_0002_audit_summary.json +88 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/guided/prior_campaign_0003_audit_summary.json +103 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/record/workspace/guided/prior_campaign_audit_summary.json +145 -0
- simjecture-0.1.0/demos/collisionless_gem_reconnection/verify_record.py +163 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/README.md +114 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/capture_tui.py +44 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/hypothesis.txt +1 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/plot_results.py +114 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/README.md +17 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/artifact_provenance.json +298 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/claim_summary.md +46 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/hypothesis_ledger.json +148 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/mvp_manifest.json +24 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/mvp_report.json +201 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/transcript.jsonl +87 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/analyze_results.py +42 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/calc_growth.py +40 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/linear_stability.py +96 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/mode_analysis.py +73 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/mode_analysis_results.json +208 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/pick_regime.py +64 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/regime_candidates.json +145 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/result_s1.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/result_s10.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/result_s10_dt025.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/result_s1_dt025.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/root_pattern_results.json +146 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/root_s10_dt0p025.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/root_s10_dt0p05.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/root_s1_dt0p025.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/root_s1_dt0p05.npz +0 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/simulate_gs.py +110 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/simulate_gs_dt025.py +68 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/simulate_gs_root.py +72 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/simulation_results.json +102 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/simulation_results_dt025.json +30 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/record/workspace/turing_diagnostic.py +108 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/reproduce.py +44 -0
- simjecture-0.1.0/demos/gray_scott_counterexample/verify_record.py +54 -0
- simjecture-0.1.0/docs/_static/demos/gem-ensemble-result.png +0 -0
- simjecture-0.1.0/docs/_static/demos/gem-reconnection-fields.png +0 -0
- simjecture-0.1.0/docs/_static/demos/gray-scott-completed-tui.svg +256 -0
- simjecture-0.1.0/docs/_static/demos/gray-scott-result.png +0 -0
- simjecture-0.1.0/docs/concepts/architecture.md +43 -0
- simjecture-0.1.0/docs/concepts/evidence-and-claims.md +34 -0
- simjecture-0.1.0/docs/conf.py +61 -0
- simjecture-0.1.0/docs/demos/collisionless-gem.md +123 -0
- simjecture-0.1.0/docs/demos/gray-scott.md +67 -0
- simjecture-0.1.0/docs/development/documentation.md +23 -0
- simjecture-0.1.0/docs/development/releasing.md +32 -0
- simjecture-0.1.0/docs/getting-started/first-run.md +64 -0
- simjecture-0.1.0/docs/getting-started/installation.md +81 -0
- simjecture-0.1.0/docs/getting-started/terminal-ui.md +119 -0
- simjecture-0.1.0/docs/how-to/add-a-capability.md +22 -0
- simjecture-0.1.0/docs/how-to/deploy-runtimes.md +73 -0
- simjecture-0.1.0/docs/how-to/guided-commissioning.md +32 -0
- simjecture-0.1.0/docs/index.md +94 -0
- simjecture-0.1.0/docs/reference/cli.md +43 -0
- simjecture-0.1.0/docs/reference/repository-map.md +19 -0
- simjecture-0.1.0/docs/requirements.txt +4 -0
- simjecture-0.1.0/docs/research/limitations.md +44 -0
- simjecture-0.1.0/docs/research/next-steps.md +29 -0
- simjecture-0.1.0/docs/research/run-0004.md +67 -0
- simjecture-0.1.0/docs/research/status.md +39 -0
- simjecture-0.1.0/environments/warpx-cpu.yml +8 -0
- simjecture-0.1.0/pyproject.toml +93 -0
- simjecture-0.1.0/schemas/AIStrategyDraft.schema.json +81 -0
- simjecture-0.1.0/schemas/ActionExecution.schema.json +39 -0
- simjecture-0.1.0/schemas/ActionFailureRecord.schema.json +41 -0
- simjecture-0.1.0/schemas/AttemptRecord.schema.json +97 -0
- simjecture-0.1.0/schemas/BlindedSearchReport.schema.json +601 -0
- simjecture-0.1.0/schemas/BlindedSearchRequest.schema.json +267 -0
- simjecture-0.1.0/schemas/CampaignAction.schema.json +87 -0
- simjecture-0.1.0/schemas/CampaignActionGraph.schema.json +142 -0
- simjecture-0.1.0/schemas/CampaignActionState.schema.json +337 -0
- simjecture-0.1.0/schemas/CampaignBudget.schema.json +21 -0
- simjecture-0.1.0/schemas/CampaignCheckpoint.schema.json +91 -0
- simjecture-0.1.0/schemas/CampaignState.schema.json +50 -0
- simjecture-0.1.0/schemas/CandidateEvaluation.schema.json +220 -0
- simjecture-0.1.0/schemas/CandidateResult.schema.json +97 -0
- simjecture-0.1.0/schemas/CapabilityManifest.schema.json +69 -0
- simjecture-0.1.0/schemas/Claim.schema.json +71 -0
- simjecture-0.1.0/schemas/CollisionalityIntervention.schema.json +41 -0
- simjecture-0.1.0/schemas/ControlDirective.schema.json +76 -0
- simjecture-0.1.0/schemas/DecisionRecord.schema.json +85 -0
- simjecture-0.1.0/schemas/DiscoveryPackage.schema.json +682 -0
- simjecture-0.1.0/schemas/DispatchAttempt.schema.json +74 -0
- simjecture-0.1.0/schemas/DomainDiagnosisSummary.schema.json +57 -0
- simjecture-0.1.0/schemas/DomainEvolutionSummary.schema.json +63 -0
- simjecture-0.1.0/schemas/DomainPluginMetadata.schema.json +90 -0
- simjecture-0.1.0/schemas/DomainRunSummary.schema.json +63 -0
- simjecture-0.1.0/schemas/DomainTemplateSummary.schema.json +39 -0
- simjecture-0.1.0/schemas/ExperimentSpec.schema.json +88 -0
- simjecture-0.1.0/schemas/ExternalReceipt.schema.json +55 -0
- simjecture-0.1.0/schemas/FreshSeedIntervention.schema.json +34 -0
- simjecture-0.1.0/schemas/HumanIntervention.schema.json +88 -0
- simjecture-0.1.0/schemas/HypothesisNode.schema.json +243 -0
- simjecture-0.1.0/schemas/KineticSufficiencyDiscoveryPackage.schema.json +816 -0
- simjecture-0.1.0/schemas/KineticSufficiencyHypothesisInput.schema.json +399 -0
- simjecture-0.1.0/schemas/KineticSufficiencyResult.schema.json +522 -0
- simjecture-0.1.0/schemas/KineticSufficiencySolveResult.schema.json +228 -0
- simjecture-0.1.0/schemas/LifecycleEvent.schema.json +37 -0
- simjecture-0.1.0/schemas/MVPGuidedCommissioningSpec.schema.json +79 -0
- simjecture-0.1.0/schemas/MatchedPairFormalPredicate.schema.json +49 -0
- simjecture-0.1.0/schemas/ModelCallProvenance.schema.json +88 -0
- simjecture-0.1.0/schemas/MultiActionCampaignReport.schema.json +453 -0
- simjecture-0.1.0/schemas/NormalizedResult.schema.json +46 -0
- simjecture-0.1.0/schemas/NumericalAssessment.schema.json +54 -0
- simjecture-0.1.0/schemas/NumericalDiagnostics.schema.json +58 -0
- simjecture-0.1.0/schemas/NumericalGate.schema.json +33 -0
- simjecture-0.1.0/schemas/ObservablePrediction.schema.json +66 -0
- simjecture-0.1.0/schemas/OutboxIntent.schema.json +71 -0
- simjecture-0.1.0/schemas/PICCaseResult.schema.json +294 -0
- simjecture-0.1.0/schemas/PICConfig.schema.json +137 -0
- simjecture-0.1.0/schemas/PICConfirmationAttempt.schema.json +388 -0
- simjecture-0.1.0/schemas/PICConfirmationDesign.schema.json +315 -0
- simjecture-0.1.0/schemas/PICConfirmationReport.schema.json +587 -0
- simjecture-0.1.0/schemas/PICMixtureCaseResult.schema.json +330 -0
- simjecture-0.1.0/schemas/PICNumericalConfig.schema.json +130 -0
- simjecture-0.1.0/schemas/PICSufficiencyResult.schema.json +630 -0
- simjecture-0.1.0/schemas/ParameterSpace.schema.json +164 -0
- simjecture-0.1.0/schemas/ParticleStatisticsIntervention.schema.json +41 -0
- simjecture-0.1.0/schemas/ProposalDraft.schema.json +427 -0
- simjecture-0.1.0/schemas/ProposalRecord.schema.json +708 -0
- simjecture-0.1.0/schemas/ProposalRequest.schema.json +144 -0
- simjecture-0.1.0/schemas/ProposalValidation.schema.json +30 -0
- simjecture-0.1.0/schemas/ProposedToolCall.schema.json +143 -0
- simjecture-0.1.0/schemas/QualifiedWarpXCampaignPackage.schema.json +2449 -0
- simjecture-0.1.0/schemas/QualifiedWarpXInstrument.schema.json +632 -0
- simjecture-0.1.0/schemas/ReferenceQualification.schema.json +42 -0
- simjecture-0.1.0/schemas/ResearchBudget.schema.json +39 -0
- simjecture-0.1.0/schemas/ResearchCampaignReport.schema.json +1020 -0
- simjecture-0.1.0/schemas/ResearchConclusion.schema.json +145 -0
- simjecture-0.1.0/schemas/ResearchDecision.schema.json +545 -0
- simjecture-0.1.0/schemas/ResearchEvidencePolicy.schema.json +35 -0
- simjecture-0.1.0/schemas/ResearchHypothesis.schema.json +128 -0
- simjecture-0.1.0/schemas/ResearchObservation.schema.json +272 -0
- simjecture-0.1.0/schemas/ResearchProblemContract.schema.json +314 -0
- simjecture-0.1.0/schemas/ResearchRelation.schema.json +51 -0
- simjecture-0.1.0/schemas/ResearchToolManifest.schema.json +86 -0
- simjecture-0.1.0/schemas/ResearchToolResult.schema.json +102 -0
- simjecture-0.1.0/schemas/RunEvidence.schema.json +77 -0
- simjecture-0.1.0/schemas/RunPlan.schema.json +68 -0
- simjecture-0.1.0/schemas/SearchStrategy.schema.json +204 -0
- simjecture-0.1.0/schemas/SheetThicknessIntervention.schema.json +41 -0
- simjecture-0.1.0/schemas/SubprocessResearchToolConfig.schema.json +164 -0
- simjecture-0.1.0/schemas/SymmetricMixtureCandidate.schema.json +30 -0
- simjecture-0.1.0/schemas/WarpXCalibrationPoint.schema.json +174 -0
- simjecture-0.1.0/schemas/WarpXCaseSummary.schema.json +132 -0
- simjecture-0.1.0/schemas/WarpXCompiledCase.schema.json +30 -0
- simjecture-0.1.0/schemas/WarpXConfirmationAttempt.schema.json +86 -0
- simjecture-0.1.0/schemas/WarpXConfirmationDesign.schema.json +150 -0
- simjecture-0.1.0/schemas/WarpXConfirmationFailure.schema.json +72 -0
- simjecture-0.1.0/schemas/WarpXConfirmationReport.schema.json +375 -0
- simjecture-0.1.0/schemas/WarpXConfirmationResolution.schema.json +39 -0
- simjecture-0.1.0/schemas/WarpXExecutionProfile.schema.json +60 -0
- simjecture-0.1.0/schemas/WarpXNumericalConfig.schema.json +156 -0
- simjecture-0.1.0/schemas/WarpXPairSummary.schema.json +169 -0
- simjecture-0.1.0/schemas/WarpXPhysicalConfig.schema.json +56 -0
- simjecture-0.1.0/schemas/WarpXPhysicsQualificationRecord.schema.json +585 -0
- simjecture-0.1.0/schemas/WarpXQualificationRecord.schema.json +86 -0
- simjecture-0.1.0/schemas/WarpXQualifiedScope.schema.json +198 -0
- simjecture-0.1.0/schemas/mvp/MVPAgentAction.schema.json +932 -0
- simjecture-0.1.0/schemas/mvp/MVPAgentReport.schema.json +423 -0
- simjecture-0.1.0/schemas/mvp/MVPClaim.schema.json +372 -0
- simjecture-0.1.0/schemas/mvp/MVPClaimLedger.schema.json +404 -0
- simjecture-0.1.0/scripts/postprocess_warpx_case.py +252 -0
- simjecture-0.1.0/scripts/probe_provider.py +141 -0
- simjecture-0.1.0/scripts/propose_hypothesis.py +78 -0
- simjecture-0.1.0/scripts/propose_search_strategy.py +61 -0
- simjecture-0.1.0/scripts/qualify_warpx.py +70 -0
- simjecture-0.1.0/scripts/qualify_warpx_physics.py +152 -0
- simjecture-0.1.0/scripts/run_admitted_proposal.py +60 -0
- simjecture-0.1.0/scripts/run_blinded_search.py +85 -0
- simjecture-0.1.0/scripts/run_qualified_warpx_campaign.py +126 -0
- simjecture-0.1.0/scripts/run_warpx_confirmation.py +81 -0
- simjecture-0.1.0/scripts/run_warpx_pair.py +196 -0
- simjecture-0.1.0/skills/warpx/SKILL.md +151 -0
- simjecture-0.1.0/skills/warpx/agents/openai.yaml +4 -0
- simjecture-0.1.0/skills/warpx/examples/implicit_em_smoke.py +74 -0
- simjecture-0.1.0/skills/warpx/examples/minimal_smoke.py +54 -0
- simjecture-0.1.0/skills/warpx/examples/openpmd_field_smoke.py +87 -0
- simjecture-0.1.0/skills/warpx/manifest.json +11 -0
- simjecture-0.1.0/skills/warpx/references/2d-xz-commissioning.md +145 -0
- simjecture-0.1.0/skills/warpx/references/cpu-launch-tuning.md +54 -0
- simjecture-0.1.0/skills/warpx/references/diagnostics.md +139 -0
- simjecture-0.1.0/skills/warpx/references/gpu-launch-tuning.md +79 -0
- simjecture-0.1.0/skills/warpx/references/local-cuda-deployment.md +87 -0
- simjecture-0.1.0/skills/warpx/references/numerical-risks.md +32 -0
- simjecture-0.1.0/skills/warpx/references/picmi-interface.md +118 -0
- simjecture-0.1.0/skills/warpx/references/resource-scaling.md +24 -0
- simjecture-0.1.0/skills/warpx/references/time-integration.md +58 -0
- simjecture-0.1.0/skills/warpx/scripts/benchmark_cpu_threads.py +207 -0
- simjecture-0.1.0/skills/warpx/scripts/benchmark_gpu.py +242 -0
- simjecture-0.1.0/skills/warpx/scripts/bootstrap_local_cuda.sh +82 -0
- simjecture-0.1.0/skills/warpx/scripts/probe_local_cuda.py +110 -0
- simjecture-0.1.0/skills/warpx/scripts/reduced_energy_budget.py +195 -0
- simjecture-0.1.0/skills/warpx/scripts/run_local_cuda.sh +39 -0
- simjecture-0.1.0/src/conjecture_solver/__init__.py +10 -0
- simjecture-0.1.0/src/conjecture_solver/__main__.py +4 -0
- simjecture-0.1.0/src/conjecture_solver/action_handlers.py +459 -0
- simjecture-0.1.0/src/conjecture_solver/adapters/__init__.py +7 -0
- simjecture-0.1.0/src/conjecture_solver/adapters/base.py +96 -0
- simjecture-0.1.0/src/conjecture_solver/adapters/fake.py +155 -0
- simjecture-0.1.0/src/conjecture_solver/adapters/pic.py +196 -0
- simjecture-0.1.0/src/conjecture_solver/adapters/warpx.py +1375 -0
- simjecture-0.1.0/src/conjecture_solver/autonomous_research.py +1071 -0
- simjecture-0.1.0/src/conjecture_solver/benchmarks/__init__.py +6 -0
- simjecture-0.1.0/src/conjecture_solver/benchmarks/electrostatic_pic.py +547 -0
- simjecture-0.1.0/src/conjecture_solver/benchmarks/kinetic_sufficiency.py +318 -0
- simjecture-0.1.0/src/conjecture_solver/campaign.py +406 -0
- simjecture-0.1.0/src/conjecture_solver/cli.py +963 -0
- simjecture-0.1.0/src/conjecture_solver/confirmation.py +287 -0
- simjecture-0.1.0/src/conjecture_solver/control.py +234 -0
- simjecture-0.1.0/src/conjecture_solver/deployment.py +874 -0
- simjecture-0.1.0/src/conjecture_solver/discovery.py +68 -0
- simjecture-0.1.0/src/conjecture_solver/domains/__init__.py +40 -0
- simjecture-0.1.0/src/conjecture_solver/domains/base.py +157 -0
- simjecture-0.1.0/src/conjecture_solver/domains/kinetic_sufficiency.py +521 -0
- simjecture-0.1.0/src/conjecture_solver/ledger.py +238 -0
- simjecture-0.1.0/src/conjecture_solver/lifecycle.py +131 -0
- simjecture-0.1.0/src/conjecture_solver/literature.py +494 -0
- simjecture-0.1.0/src/conjecture_solver/llm.py +228 -0
- simjecture-0.1.0/src/conjecture_solver/models.py +279 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_agent.py +3212 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_claims.py +1279 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_control.py +322 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_guidance.py +172 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_launch.py +1296 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_monitor.py +1487 -0
- simjecture-0.1.0/src/conjecture_solver/mvp_skills.py +538 -0
- simjecture-0.1.0/src/conjecture_solver/orchestration.py +578 -0
- simjecture-0.1.0/src/conjecture_solver/outbox.py +526 -0
- simjecture-0.1.0/src/conjecture_solver/parameters.py +394 -0
- simjecture-0.1.0/src/conjecture_solver/proposals.py +427 -0
- simjecture-0.1.0/src/conjecture_solver/research_tools.py +278 -0
- simjecture-0.1.0/src/conjecture_solver/schema_export.py +246 -0
- simjecture-0.1.0/src/conjecture_solver/search.py +1047 -0
- simjecture-0.1.0/src/conjecture_solver/semantics.py +146 -0
- simjecture-0.1.0/src/conjecture_solver/tui/__init__.py +7 -0
- simjecture-0.1.0/src/conjecture_solver/tui/app.py +202 -0
- simjecture-0.1.0/src/conjecture_solver/tui/claim_views.py +213 -0
- simjecture-0.1.0/src/conjecture_solver/tui/screens.py +1014 -0
- simjecture-0.1.0/src/conjecture_solver/warpx_analysis.py +184 -0
- simjecture-0.1.0/src/conjecture_solver/warpx_campaign.py +148 -0
- simjecture-0.1.0/src/conjecture_solver/warpx_confirmation.py +617 -0
- simjecture-0.1.0/tests/__init__.py +1 -0
- simjecture-0.1.0/tests/fixtures/fake_warpx_runner.py +59 -0
- simjecture-0.1.0/tests/test_adapter.py +41 -0
- simjecture-0.1.0/tests/test_autonomous_research.py +634 -0
- simjecture-0.1.0/tests/test_benchmark.py +42 -0
- simjecture-0.1.0/tests/test_campaign.py +115 -0
- simjecture-0.1.0/tests/test_control.py +190 -0
- simjecture-0.1.0/tests/test_deployment.py +297 -0
- simjecture-0.1.0/tests/test_domain_plugins.py +138 -0
- simjecture-0.1.0/tests/test_ledger.py +70 -0
- simjecture-0.1.0/tests/test_lifecycle.py +70 -0
- simjecture-0.1.0/tests/test_literature.py +134 -0
- simjecture-0.1.0/tests/test_llm.py +161 -0
- simjecture-0.1.0/tests/test_models.py +35 -0
- simjecture-0.1.0/tests/test_mvp_agent.py +4623 -0
- simjecture-0.1.0/tests/test_mvp_claims.py +38 -0
- simjecture-0.1.0/tests/test_mvp_control.py +88 -0
- simjecture-0.1.0/tests/test_mvp_monitor.py +975 -0
- simjecture-0.1.0/tests/test_mvp_pause.py +158 -0
- simjecture-0.1.0/tests/test_mvp_status_watch.py +414 -0
- simjecture-0.1.0/tests/test_orchestration.py +414 -0
- simjecture-0.1.0/tests/test_outbox.py +303 -0
- simjecture-0.1.0/tests/test_parameters.py +225 -0
- simjecture-0.1.0/tests/test_pic.py +184 -0
- simjecture-0.1.0/tests/test_proposals.py +286 -0
- simjecture-0.1.0/tests/test_recorded_demo.py +46 -0
- simjecture-0.1.0/tests/test_schema_export.py +19 -0
- simjecture-0.1.0/tests/test_search.py +231 -0
- simjecture-0.1.0/tests/test_semantics.py +98 -0
- simjecture-0.1.0/tests/test_tui.py +571 -0
- simjecture-0.1.0/tests/test_tui_claim_views.py +119 -0
- simjecture-0.1.0/tests/test_warpx.py +319 -0
- simjecture-0.1.0/tests/test_warpx_analysis.py +78 -0
- simjecture-0.1.0/tests/test_warpx_campaign.py +311 -0
- simjecture-0.1.0/tests/test_warpx_qualification.py +243 -0
- simjecture-0.1.0/tests/test_warpx_reduced_energy.py +93 -0
- simjecture-0.1.0/uv.lock +2047 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Never commit an actual credential. Export these in the shell or use a local
|
|
2
|
+
# untracked .env loader.
|
|
3
|
+
DEEPSEEK_API_KEY=
|
|
4
|
+
ACS_MODEL_PROVIDER=deepseek
|
|
5
|
+
|
|
6
|
+
# Official DeepSeek defaults. Override only with model IDs exposed by the
|
|
7
|
+
# selected provider.
|
|
8
|
+
ACS_DEFAULT_MODEL=deepseek-v4-flash
|
|
9
|
+
ACS_ESCALATION_MODEL=deepseek-v4-pro
|
|
10
|
+
|
|
11
|
+
# Optional legacy OpenAI-compatible proxy route. Leave both unset for the
|
|
12
|
+
# official provider above.
|
|
13
|
+
CP_API_KEY=
|
|
14
|
+
CP_API_BASE_URL=
|
|
15
|
+
# The MVP automatically changes route after repeated empty or transient responses.
|
|
16
|
+
# These are consecutive provider-failure bounds, not scientific turn limits.
|
|
17
|
+
ACS_MODEL_TIMEOUT_SECONDS=300
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Preserve autonomous run artifacts byte-for-byte, including model-authored
|
|
2
|
+
# formatting. Generated figures likewise need not satisfy source whitespace
|
|
3
|
+
# checks.
|
|
4
|
+
demos/gray_scott_counterexample/record/** -whitespace
|
|
5
|
+
demos/collisionless_gem_reconnection/record/** -whitespace
|
|
6
|
+
docs/_static/demos/*.svg -whitespace
|
|
7
|
+
|
|
8
|
+
*.npz binary
|
|
9
|
+
*.png binary
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
documentation:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
timeout-minutes: 10
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v7
|
|
17
|
+
- uses: actions/setup-python@v7
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.12"
|
|
20
|
+
- name: Install uv
|
|
21
|
+
run: python -m pip install uv
|
|
22
|
+
- name: Install documentation environment
|
|
23
|
+
run: uv sync --frozen --group docs
|
|
24
|
+
- name: Build documentation without warnings
|
|
25
|
+
run: uv run --group docs sphinx-build -W --keep-going -b html docs docs/_build/html
|
|
26
|
+
|
|
27
|
+
deterministic-core:
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
timeout-minutes: 15
|
|
30
|
+
steps:
|
|
31
|
+
- uses: actions/checkout@v7
|
|
32
|
+
- uses: actions/setup-python@v7
|
|
33
|
+
with:
|
|
34
|
+
python-version: "3.12"
|
|
35
|
+
- name: Install sandbox runtime
|
|
36
|
+
run: |
|
|
37
|
+
sudo apt-get update
|
|
38
|
+
sudo apt-get install --yes bubblewrap
|
|
39
|
+
if sysctl kernel.unprivileged_userns_clone > /dev/null 2>&1; then
|
|
40
|
+
sudo sysctl -w kernel.unprivileged_userns_clone=1
|
|
41
|
+
fi
|
|
42
|
+
if sysctl kernel.apparmor_restrict_unprivileged_userns > /dev/null 2>&1; then
|
|
43
|
+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
|
44
|
+
fi
|
|
45
|
+
bwrap --unshare-all --die-with-parent \
|
|
46
|
+
--ro-bind /usr /usr \
|
|
47
|
+
--ro-bind /lib /lib \
|
|
48
|
+
--ro-bind /lib64 /lib64 \
|
|
49
|
+
/usr/bin/true
|
|
50
|
+
- name: Install uv
|
|
51
|
+
run: python -m pip install uv
|
|
52
|
+
- name: Install locked environment
|
|
53
|
+
run: uv sync --frozen --extra tui
|
|
54
|
+
- name: Lint
|
|
55
|
+
run: uv run ruff check .
|
|
56
|
+
- name: Test
|
|
57
|
+
run: uv run pytest --cov=conjecture_solver --cov-report=term-missing
|
|
58
|
+
- name: Reproduce planted benchmark
|
|
59
|
+
run: uv run simjecture benchmark kinetic-sufficiency --assert-falsified
|
|
60
|
+
- name: Reproduce independent PIC benchmark
|
|
61
|
+
run: uv run simjecture benchmark electrostatic-pic --assert-falsified
|
|
62
|
+
- name: Run recoverable planted campaign
|
|
63
|
+
run: uv run simjecture campaign planted --ledger /tmp/acs-ci.sqlite3 --output /tmp/acs-artifact
|
|
64
|
+
- name: Verify discovery package
|
|
65
|
+
run: uv run simjecture package verify /tmp/acs-artifact/discovery_package.json
|
|
66
|
+
- name: Run PIC discovery campaign
|
|
67
|
+
run: uv run simjecture campaign pic --ledger /tmp/acs-pic-ci.sqlite3 --output /tmp/acs-pic-artifact
|
|
68
|
+
- name: Verify PIC discovery package
|
|
69
|
+
run: uv run simjecture package verify /tmp/acs-pic-artifact/discovery_package.json
|
|
70
|
+
- name: Run blinded search and independent confirmation
|
|
71
|
+
run: >-
|
|
72
|
+
uv run simjecture search blinded --offline-ai-fixture
|
|
73
|
+
--ledger /tmp/acs-blinded-ci.sqlite3
|
|
74
|
+
--output /tmp/acs-blinded-artifact
|
|
75
|
+
- name: Run budgeted multi-action campaign
|
|
76
|
+
run: >-
|
|
77
|
+
uv run simjecture orchestrate blinded --offline-ai-fixture
|
|
78
|
+
--ledger /tmp/acs-multi-action-ci.sqlite3
|
|
79
|
+
--output /tmp/acs-multi-action-artifact
|
|
80
|
+
- name: Verify committed schemas
|
|
81
|
+
run: uv run simjecture schemas --output schemas --check
|
|
82
|
+
- name: Verify recorded autonomous demos
|
|
83
|
+
run: |
|
|
84
|
+
uv run python demos/gray_scott_counterexample/verify_record.py
|
|
85
|
+
uv run python demos/collisionless_gem_reconnection/verify_record.py
|
|
86
|
+
|
|
87
|
+
warpx-instrument:
|
|
88
|
+
runs-on: ubuntu-latest
|
|
89
|
+
timeout-minutes: 25
|
|
90
|
+
defaults:
|
|
91
|
+
run:
|
|
92
|
+
shell: bash -leo pipefail {0}
|
|
93
|
+
steps:
|
|
94
|
+
- uses: actions/checkout@v7
|
|
95
|
+
- uses: mamba-org/setup-micromamba@v3
|
|
96
|
+
with:
|
|
97
|
+
environment-file: environments/warpx-cpu.yml
|
|
98
|
+
environment-name: acs-warpx-cpu-26-07
|
|
99
|
+
cache-environment: true
|
|
100
|
+
init-shell: bash
|
|
101
|
+
- name: Install project tooling
|
|
102
|
+
run: |
|
|
103
|
+
python -m pip install uv
|
|
104
|
+
uv sync --frozen
|
|
105
|
+
- name: Verify the deployable WarpX CPU capability
|
|
106
|
+
run: |
|
|
107
|
+
sudo apt-get update
|
|
108
|
+
sudo apt-get install --yes bubblewrap
|
|
109
|
+
if sysctl kernel.unprivileged_userns_clone > /dev/null 2>&1; then
|
|
110
|
+
sudo sysctl -w kernel.unprivileged_userns_clone=1
|
|
111
|
+
fi
|
|
112
|
+
if sysctl kernel.apparmor_restrict_unprivileged_userns > /dev/null 2>&1; then
|
|
113
|
+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
|
114
|
+
fi
|
|
115
|
+
mkdir -p .runtime
|
|
116
|
+
ln -s "$CONDA_PREFIX" .runtime/warpx-cpu
|
|
117
|
+
uv run simjecture doctor --profile warpx-cpu
|
|
118
|
+
- name: Compile restricted reference and candidate PICMI inputs
|
|
119
|
+
run: >-
|
|
120
|
+
uv run python scripts/qualify_warpx.py
|
|
121
|
+
--python "$CONDA_PREFIX/bin/python"
|
|
122
|
+
--work-directory /tmp/acs-warpx-qualification
|
|
123
|
+
--output /tmp/acs-warpx-qualification.json
|
|
124
|
+
- name: Qualify openPMD diagnostics and physics on the fixed matrix
|
|
125
|
+
run: >-
|
|
126
|
+
uv run python scripts/qualify_warpx_physics.py
|
|
127
|
+
--warpx-python "$CONDA_PREFIX/bin/python"
|
|
128
|
+
--work-root /tmp/acs-warpx-physics-qualification
|
|
129
|
+
--output /tmp/acs-warpx-physics-qualification.json
|
|
130
|
+
- name: Run the durable analytic-to-qualified-WarpX campaign
|
|
131
|
+
run: >-
|
|
132
|
+
uv run python scripts/run_qualified_warpx_campaign.py
|
|
133
|
+
/tmp/acs-warpx-physics-qualification.json
|
|
134
|
+
--offline-ai-fixture
|
|
135
|
+
--warpx-python "$CONDA_PREFIX/bin/python"
|
|
136
|
+
--work-root /tmp/acs-warpx-confirmation
|
|
137
|
+
--ledger /tmp/acs-qualified-warpx-campaign.sqlite3
|
|
138
|
+
--output /tmp/acs-qualified-warpx-campaign
|
|
139
|
+
- name: Verify qualified WarpX campaign package
|
|
140
|
+
run: >-
|
|
141
|
+
uv run simjecture package verify
|
|
142
|
+
/tmp/acs-qualified-warpx-campaign/qualified_warpx_campaign_package.json
|
|
143
|
+
- uses: actions/upload-artifact@v7
|
|
144
|
+
with:
|
|
145
|
+
name: warpx-instrument-records
|
|
146
|
+
path: |
|
|
147
|
+
/tmp/acs-warpx-qualification.json
|
|
148
|
+
/tmp/acs-warpx-physics-qualification.json
|
|
149
|
+
/tmp/acs-warpx-physics-qualification_results.json
|
|
150
|
+
/tmp/acs-qualified-warpx-campaign.sqlite3
|
|
151
|
+
/tmp/acs-qualified-warpx-campaign/
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
publish-pypi:
|
|
12
|
+
name: Publish Python distribution to PyPI
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
environment:
|
|
15
|
+
name: pypi
|
|
16
|
+
url: https://pypi.org/p/simjecture
|
|
17
|
+
permissions:
|
|
18
|
+
contents: read
|
|
19
|
+
id-token: write
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v7
|
|
22
|
+
- uses: actions/setup-python@v7
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.12"
|
|
25
|
+
- name: Install build frontend
|
|
26
|
+
run: python -m pip install uv
|
|
27
|
+
- name: Require the release tag to match the package version
|
|
28
|
+
run: |
|
|
29
|
+
python - <<'PY'
|
|
30
|
+
import os
|
|
31
|
+
import tomllib
|
|
32
|
+
|
|
33
|
+
with open("pyproject.toml", "rb") as stream:
|
|
34
|
+
version = tomllib.load(stream)["project"]["version"]
|
|
35
|
+
tag = os.environ["GITHUB_REF_NAME"]
|
|
36
|
+
expected = f"v{version}"
|
|
37
|
+
if tag != expected:
|
|
38
|
+
raise SystemExit(f"release tag {tag!r} does not match {expected!r}")
|
|
39
|
+
PY
|
|
40
|
+
- name: Build source and wheel distributions
|
|
41
|
+
run: uv build
|
|
42
|
+
- name: Publish with PyPI Trusted Publishing
|
|
43
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.env
|
|
2
|
+
.venv/
|
|
3
|
+
.runtime/
|
|
4
|
+
__pycache__/
|
|
5
|
+
*.py[cod]
|
|
6
|
+
.pytest_cache/
|
|
7
|
+
.ruff_cache/
|
|
8
|
+
.hypothesis/
|
|
9
|
+
.coverage
|
|
10
|
+
htmlcov/
|
|
11
|
+
docs/_build/
|
|
12
|
+
build/
|
|
13
|
+
dist/
|
|
14
|
+
*.egg-info/
|
|
15
|
+
*.sqlite3
|
|
16
|
+
*.sqlite3-shm
|
|
17
|
+
*.sqlite3-wal
|
|
18
|
+
artifacts/
|
|
19
|
+
data/
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
This project follows semantic versioning. Dates use ISO 8601.
|
|
4
|
+
|
|
5
|
+
## 0.1.0 — 2026-08-15
|
|
6
|
+
|
|
7
|
+
- Added a read-only MVP run monitor and headless `status` / `watch` commands.
|
|
8
|
+
A missing report is incomplete, not running. `watch` Ctrl-C stops the viewer
|
|
9
|
+
only.
|
|
10
|
+
- Added an optional Textual dashboard (`uv sync --extra tui`) that attaches to
|
|
11
|
+
a run directory, launches through `--hypothesis-file`, and can cancel a
|
|
12
|
+
verified child process. Audit artifacts remain authoritative; no fabricated
|
|
13
|
+
scientific completion percentage is shown.
|
|
14
|
+
- Added action-boundary pause/resume through `operator_input/control.json`,
|
|
15
|
+
headless `pause`/`resume`, and verified detach/reattach via supervisor
|
|
16
|
+
records. Pause does not use SIGSTOP and does not write a terminal report.
|
|
17
|
+
- Made resume replay every structured MVP option, enforce one runner per output
|
|
18
|
+
directory, and preserve the cumulative wall-time envelope across sessions.
|
|
19
|
+
Automatic replay refuses external writable/configuration paths rather than
|
|
20
|
+
trusting paths supplied by an imported run artifact.
|
|
21
|
+
- Bound attached-run controls to PID, process start time, exact command line,
|
|
22
|
+
and output directory. Stored hypothesis, instruction, and guided inputs are
|
|
23
|
+
contained and content-addressed; conflicting launches cannot overwrite them.
|
|
24
|
+
- Rendered hypotheses, claims, logs, and artifacts as literal terminal text,
|
|
25
|
+
moved cancellation waits off the UI thread, and corrected long-watch,
|
|
26
|
+
historical-heartbeat, and terminal-finish projections.
|
|
27
|
+
- Split the dashboard's flat claim list into a scientific hypothesis tree and
|
|
28
|
+
validation claims linked to the selected hypothesis. A complete audit-ledger
|
|
29
|
+
view remains available for every scientific, instrument, diagnostic, and
|
|
30
|
+
control claim.
|
|
31
|
+
- Projected provider token usage from durable assistant transcript records.
|
|
32
|
+
- Added the domain-neutral natural-language hypothesis sandbox.
|
|
33
|
+
- Added prospective evidence contracts, claim-level provenance, commissioned
|
|
34
|
+
capability execution, and guarded claim closure.
|
|
35
|
+
- Added durable model and simulator actions with restart and replay semantics.
|
|
36
|
+
- Added an optional release-pinned WarpX CPU/CUDA capability and diagnostic
|
|
37
|
+
skill system.
|
|
38
|
+
- Added analytic, electrostatic PIC, nonlinear Landau, reaction-diffusion, and
|
|
39
|
+
two-dimensional collisionless GEM evaluation records.
|
|
40
|
+
- Added curated Sphinx/MyST documentation, citation metadata, release licensing,
|
|
41
|
+
contribution guidance, and private-first publication infrastructure.
|
|
42
|
+
- Made JSON evidence validation treat equal finite integer and floating-point
|
|
43
|
+
values consistently while preserving Boolean type separation.
|
|
44
|
+
- Bounded capability runtime-integrity scans to standard package metadata roots,
|
|
45
|
+
avoiding repeated whole-runtime filesystem walks.
|
|
46
|
+
- Made sandboxed Python commands use the harness's locked interpreter and
|
|
47
|
+
read-only scientific package set, including NumPy, SciPy, Matplotlib, and
|
|
48
|
+
pandas, without exposing the host home or user site.
|
|
49
|
+
- Added idempotent `install` profiles and a read-only, JSON-capable `doctor` for
|
|
50
|
+
the core scientific stack and release-pinned WarpX CPU/CUDA capabilities.
|
|
51
|
+
- Added self-contained, integrity-checked Gray–Scott and collisionless GEM
|
|
52
|
+
records that can be inspected without an API key or simulator runtime.
|
|
53
|
+
|
|
54
|
+
This release is an auditable research prototype of the evidence harness and
|
|
55
|
+
recorded campaigns. It does not claim unrestricted scientific problem solving.
|
|
56
|
+
Independently confirmed new results, and use of the same tooling in further
|
|
57
|
+
simulation-gated fields, are the next step.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use this software, please cite the exact software version and Git commit."
|
|
3
|
+
title: "Simjecture"
|
|
4
|
+
type: software
|
|
5
|
+
version: 0.1.0
|
|
6
|
+
date-released: 2026-08-15
|
|
7
|
+
abstract: >-
|
|
8
|
+
An evidence-governed runtime for autonomous computational experimentation and
|
|
9
|
+
falsification over hypothesis trees.
|
|
10
|
+
authors:
|
|
11
|
+
- family-names: Zhu
|
|
12
|
+
given-names: Bowen
|
|
13
|
+
license: Apache-2.0
|
|
14
|
+
repository-code: "https://github.com/tomzhu0225/simjecture"
|
|
15
|
+
url: "https://github.com/tomzhu0225/simjecture"
|
|
16
|
+
keywords:
|
|
17
|
+
- autonomous science
|
|
18
|
+
- computational physics
|
|
19
|
+
- evidence provenance
|
|
20
|
+
- hypothesis testing
|
|
21
|
+
- scientific agents
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Contributions are welcome during the research-preview phase. Changes must keep
|
|
4
|
+
the distinction between scientific reasoning and infrastructure authority
|
|
5
|
+
explicit: agents may choose scientific details, while the harness controls
|
|
6
|
+
permissions, provenance, resource limits, and evidence eligibility.
|
|
7
|
+
|
|
8
|
+
## Development setup
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
uv sync --all-groups
|
|
12
|
+
uv run ruff check .
|
|
13
|
+
uv run pytest
|
|
14
|
+
uv run --group docs sphinx-build -W --keep-going -b html docs docs/_build/html
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Pull requests
|
|
18
|
+
|
|
19
|
+
- Keep each change scoped and explain which observed failure or public contract
|
|
20
|
+
motivates it.
|
|
21
|
+
- Add regression tests for harness behavior.
|
|
22
|
+
- Do not commit credentials, local runtime installations, raw multi-gigabyte
|
|
23
|
+
simulation output, or unpublished third-party material.
|
|
24
|
+
- Clearly label fixtures, commissioning output, discovery evidence, and held-out
|
|
25
|
+
confirmation evidence.
|
|
26
|
+
- Do not strengthen a scientific conclusion beyond the evidence contract and
|
|
27
|
+
recorded numerical qualification.
|
|
28
|
+
|
|
29
|
+
Generated schemas must remain synchronized:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
uv run simjecture schemas --output schemas --check
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
By contributing, you agree that your contribution is licensed under the Apache
|
|
36
|
+
License 2.0.
|
simjecture-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|