How imayankss/reliability-aware-on-device-summarization works
This is an evidence-only research repository for studying whether a locally profiled summarization configuration can be selected—or whether the system should abstain—before summarizing a complete scientific paper. Its implemented workflow builds declared inputs, audits corpus eligibility and partitions, freezes policy and catalogue evidence, and runs controlled profiling; the README says held-out selector evaluation remains future work. The graph preserves the major documented stages and distinguishes runtime controls from policy, catalogue, and profiling work. Some subsystem links are documented only at README level because their source was not sampled.
Main entry points: dryrun.py Policy dry run · run_idle.py Idle controls · envelope.py Context envelope · text_audit.py Text audit
Components 30
Runtime feasibility
- Local runtime smoke
m3_runtime_feasibility/run_local.py
Execution and corpus controls
- Idle controls
m4_execution_control/run_idle.py - Readiness gate
m4_execution_control/m4_2/readiness.py - Contention controls
m4_execution_control/m4_3/native_process.py - Run records
m4_execution_control/records.py - Metadata acquisition
m5_data_audit/m5_2/acquire.py - Paper inventory
m5_data_audit/m5_2/metadata.py - Text audit
m5_data_audit/m5_3/text_audit.py - Grouped partitioning
m5_data_audit/m5_4/partition.py
Complete-paper policy
- Declared inputs
m6_complete_policy/m6_1/build_inputs.py - Token accounting
m6_complete_policy/m6_2/account.py - Context envelope
m6_complete_policy/m6_2_2/envelope.py - Route decisions
m6_complete_policy/m6_2_3/route.py - Execution plan
m6_complete_policy/m6_3/plan.py - Policy dry run
m6_complete_policy/m6_4/dryrun.py - Retry diagnostics
m6_complete_policy/m6_4_2/diagnose.py - Policy re-derivation
m6_complete_policy/m6_5/rederive.py - Policy orchestration
m6_complete_policy/m6_6/orchestrator.py
Annotation and catalogue
- Annotation protocol
m7_annotation_protocol/m7_1/prepare.py - Compatibility gate
m7_catalogue_compatibility/m7_2a/gate.py - Catalogue conversion
m7_catalogue_conversion/m7_2c3/convert.py - Catalogue runtime
m7_catalogue_runtime/m7_2d/drive.py - Frozen catalogue
m7_catalogue_freeze/m7_3/catalogue.py
Profiling evidence
- Profiling protocol
m8_profiling/m8_1/protocol.py - Profile inventory
m8_profiling/m8_2/inventory.py - Batch profiling
m8_profiling/m8_3a/run_batch.py - Profiling policy
m8_profiling/m8_r1/policy.py - Profiling records
m8_profiling/m8_r1/records.py - Measured evidence
m8_profiling/m8_r1/records.py
Other components
- Researcher
Connections 33
- Researcher → Local runtime smoke: checks route
README.md - Researcher → Metadata acquisition: audits corpus
README.md - Metadata acquisition → Paper inventory: builds inventory
m5_data_audit/m5_2/pipeline.py - Paper inventory → Text audit: audits text
README.md - Text audit → Grouped partitioning: supports partitions
README.md - Text audit → Declared inputs: builds from text
m6_complete_policy/m6_1/build_inputs.py - Grouped partitioning → Declared inputs: constrains inputs
- Declared inputs → Token accounting: accounts tokens
README.md - Token accounting → Context envelope: sets envelope
README.md - Context envelope → Route decisions: renders for routes
m6_complete_policy/m6_2_3/route.py - Context envelope → Execution plan: informs planning
m6_complete_policy/m6_3/plan.py - Route decisions → Frozen catalogue: uses catalogue
- Execution plan → Policy dry run: executes plan
m6_complete_policy/m6_4/dryrun.py - Context envelope → Policy dry run: renders prompts
m6_complete_policy/m6_4/dryrun.py - Readiness gate → Policy dry run: gates runs
m6_complete_policy/m6_4/dryrun.py - Idle controls → Policy dry run: provides snapshot
m6_complete_policy/m6_4/dryrun.py - Policy dry run → Retry diagnostics: feeds diagnosis
m6_complete_policy/m6_4_2/diagnose.py - Policy re-derivation → Policy orchestration: supports orchestration
m6_complete_policy/m6_6/orchestrator.py - Readiness gate → Policy orchestration: gates attempts
m6_complete_policy/m6_6/orchestrator.py - Idle controls → Local runtime smoke: runs in process
m4_execution_control/run_idle.py - Idle controls → Readiness gate: classifies snapshot
m6_complete_policy/m6_6/orchestrator.py - Idle controls → Run records: publishes records
- Contention controls → Profiling protocol: controls execution
- Annotation protocol → Compatibility gate: supports catalogue
README.md - Compatibility gate → Catalogue conversion: qualifies artifacts
README.md - Catalogue conversion → Catalogue runtime: precedes runtime checks
README.md - Catalogue runtime → Frozen catalogue: supports freeze
README.md - Frozen catalogue → Profiling protocol: profiles configurations
README.md - Profiling protocol → Profile inventory: defines inventory
README.md - Profile inventory → Batch profiling: organizes batches
- Profiling policy → Profiling records: binds records
m8_profiling/m8_r1/records.py - Batch profiling → Measured evidence: retains results
README.md - Profiling records → Measured evidence: records evidence
README.md