Files
povtornyy-ekzamen-graf-s-re…/README.md
T

77 lines
2.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Assignment: Самокорректирующийся агент
This repository contains a small commandline utility that prints all
metadata and UI labels required for the exam assignment
“Самокорректирующийся агент”.
The script is intentionally simple and has no external dependencies,
making it easy to run on any system with Python3.9+.
## Features
* **Plain text output** prints each required string on its own line.
* **JSON output** use the `--json` flag to get a machinereadable
representation of the data.
* **No external libraries** only the Python standard library is used.
## Installation
No installation is required.
Just clone the repository and run the script directly.
```bash
git clone https://git.brojs.ru/kuzakhmetovartur/ekzamen-samokorrektiruyuschiysya-agent.git
cd ekzamen-samokorrektiruyuschiysya-agent
```
## Usage
```bash
# Plain text (default)
python -m src.index
# JSON format
python -m src.index --json
```
The output will contain all strings listed in the assignment
requirements, including:
* Assignment title, version, deadline, status, etc.
* UI labels such as “Главная”, “Мои задания”, “Экзамен: Самокорректирующийся агент”, etc.
* Links and other metadata.
## Running the tests
The test suite uses the standard `unittest` framework.
```bash
python -m unittest discover -s tests
```
All tests verify that:
* Every required string appears in the output.
* The JSON output is wellformed and contains the expected keys.
* The script behaves correctly when called from Python code.
## Project structure
```
.
├── src
│ └── index.py # Main script
├── tests
│ └── test_index.py # Unit tests
├── README.md # This file
└── requirements.txt # Empty no external dependencies
```
## Requirements
* Python3.9 or newer
* No thirdparty packages
## License
This project is released under the MIT License. Feel free to use and
modify it as you wish.