--- title: SFOSR emoji: πŸƒ colorFrom: yellow colorTo: gray sdk: gradio sdk_version: 5.24.0 app_file: app.py pinned: false license: apache-2.0 short_description: SFOSR System --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference # SFOSR: БистСма Π€ΠΎΡ€ΠΌΠ°Π»ΡŒΠ½ΠΎΠΉ ΠžΡ†Π΅Π½ΠΊΠΈ Бмысла ΠΈ Π’Π΅Ρ€ΠΈΡ„ΠΈΠΊΠ°Ρ†ΠΈΠΈ This project implements core components of the SFOSR theory, including semantic analysis, contract verification, and proof construction using both input data and a knowledge base. ## Project Structure - `sfosr_core/`: Contains the main system logic (`integrated_sfosr.py`, `sfosr_database.py`). - `tests/`: Contains unit tests (`test_*.py`). - `docs/`: Contains documentation and theoretical papers related to SFOSR. - `archive/`: Contains archived materials (e.g., old databases). - `sfosr.db`: The main SQLite database containing concepts, vectors, rules, etc. - `requirements.txt`: Project dependencies. - `README.md`: This file. ## Installation (Currently, no external dependencies are required beyond standard Python libraries.) ```bash # It's recommended to use a virtual environment python -m venv venv source venv/bin/activate # On Windows use `venv\\Scripts\\activate` # Install dependencies (if any added later) pip install -r requirements.txt ``` ## Running Tests To run all tests, execute the following command from the project root directory: ```bash python -m unittest discover tests -v ``` ## Current Capabilities - Analyzes SFOSR structures for syntactic validity. - Verifies vectors against database concepts and predefined contracts. - Constructs proofs based on input vectors, prioritizing them first. - Integrates knowledge from the `sfosr.db` database into the proof process if input vectors are insufficient. - Supports inference rules: `chain_rule`, `causality_transfer`, `implication_causality_chain`, `part_of_transitivity`. - Correctly handles cyclic dependencies in proof paths. ## Known Limitations / Future Work Запуск `python integrated_sfosr.py` дСмонстрируСт ΠΎΠ±Ρ€Π°Π±ΠΎΡ‚ΠΊΡƒ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π° с построСниСм Π΄ΠΎΠΊΠ°Π·Π°Ρ‚Π΅Π»ΡŒΡΡ‚Π²Π° ΠΈ Π²Ρ‹Π²ΠΎΠ΄ΠΎΠΌ **ΠΎΡ†Π΅Π½ΠΎΠΊ достовСрности**. ## Π’ΠΊΠ»Π°Π΄ Π² ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ ΠŸΡ€ΠΈΠ³Π»Π°ΡˆΠ°Π΅ΠΌ заинтСрСсованных исслСдоватСлСй ΠΈ Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚Ρ‡ΠΈΠΊΠΎΠ² ΠΏΡ€ΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΠΈΡ‚ΡŒΡΡ ΠΊ Ρ€Π°Π·Π²ΠΈΡ‚ΠΈΡŽ SFOSR. ## ЛицСнзия ΠŸΡ€ΠΎΠ΅ΠΊΡ‚ SFOSR распространяСтся ΠΏΠΎΠ΄ Π»ΠΈΡ†Π΅Π½Π·ΠΈΠ΅ΠΉ MIT.