Skip to content

Latest commit

 

History

159 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Track CSV Validation

MOCK / FICTIONAL - DEMONSTRATION ONLY - NOT FOR GxP USE

This repository is a bounded computerized system validation (CSV) exercise for SampleTrack Lite, a fictional sample and inventory tracking system in a pharmaceutical warehouse/distribution scenario.

It follows one validation thread from intended use through requirements, risk, frozen qualification, observed failures, controlled correction, traceability closure, and a final bounded decision.

It does not establish production validation, regulatory compliance, supplier qualification, or suitability for real GxP use.

Current bounded result

Exact qualified custom demonstration surrogate:

c3463a18b18c359d4d639055c4e3f6121df79f80

Final qualification evidence:

  • development and adversarial pressure tests: 20 / 20 PASS;
  • frozen OQ: 18 / 18 PASS;
  • URS traceability: 35 / 35 VERIFIED - PASS;
  • recorded validation deviations: 12 / 12 resolved;
  • final mock disposition: ACCEPTED FOR BOUNDED MOCK DEMONSTRATION USE;
  • production disposition: NOT APPROVED FOR GxP PRODUCTION USE.

The passing final run does not replace the failed executions that preceded it. The failure and correction lineage remains part of the validation record.

What the pressure test added

A separate pre-publication adversarial pass challenged behaviors beyond the original OQ examples. It found additional defects in stale verification state, status-change rationale, regulated read authorization, authentication ordering, malformed temperature handling, and one qualification-role mismatch.

Those findings were preserved as DEV-005 through DEV-010. A final source-to-URS pass then found DEV-011: receiving could complete without the distinct receipt date required by URS-002. Publication remained blocked until the corrected receipt-date successor passed 19 pressure tests and the unchanged OQ. A final requirement-level challenge then exposed DEV-012: denied completed-record deletion attempts were not audited. The terminal successor passed the expanded 20-test pressure suite and the unchanged 18-case frozen OQ.

Reproduce the demonstration

The surrogate uses Python's standard library and SQLite. No third-party Python package is required.

Development tests:

cd demo
python3 -m unittest discover -v

Run the automated OQ harness locally:

cd demo
python3 oq_runner.py \
  --output ../local-oq-output \
  --tester "local-reproduction" \
  --system-identity "local-working-copy" \
  --execution-id "LOCAL-OQ-001"

A local reproduction is useful behavioral evidence, but it is not the authoritative final qualification run. The final qualified candidate and evidence identities are recorded below and in the validation package.

Start here

Scenario boundary

SampleTrack Lite is treated as a fictional configured commercial product for the validation scenario. That Category 4 assumption belongs to the scenario and is not a claim about a real supplier product.

Canadian GMP and Health Canada computerized-system/storage guidance are the primary regulatory basis. Selected 21 CFR Part 11 controls are included as a conditional electronic-record/e-signature exercise overlay; U.S. legal applicability is not asserted.

The runnable Python/SQLite implementation in demo/ is a custom demonstration surrogate used to produce real execution evidence against the frozen protocol. It is not the fictional Category 4 supplier product.

Evidence chain

intended use
  -> regulatory / GxP impact
  -> user requirement
  -> risk
  -> verification depth
  -> frozen OQ
  -> observed failure
  -> deviation / correction / retest
  -> final execution evidence
  -> traceability closure
  -> bounded validation decision

Material failures remain visible after correction.

Final GitHub Actions execution:

  • run: 36947930824;
  • execution ID: OQ-CI-36947930824;
  • exact qualified commit: c3463a18b18c359d4d639055c4e3f6121df79f80;
  • evidence artifact SHA-256: 0ac0db89702f40c98204f65537e23950b04fb3b5348bc0c11d03ca54f4315749.

See the Validation Summary Report for residual limitations and the exact final decision.

Historical-record note

Some frozen or historical validation artifacts retain the wording used when the exercise was created. Those files are preserved because exact document identity is part of the evidence chain. Public-facing entry points use neutral demonstration language instead of rewriting frozen records after qualification.

License

The repository code and documentation are released under the MIT License.

About

Risk-based mock computerized system validation package with frozen OQ, preserved deviations, traceability, and a runnable SampleTrack surrogate.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors