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.

git clone https://git.brojs.ru/kuzakhmetovartur/ekzamen-samokorrektiruyuschiysya-agent.git
cd ekzamen-samokorrektiruyuschiysya-agent

Usage

# 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.

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.

S
Description
BroJS: Экзамен: Самокорректирующийся агент
Readme MIT 128 KiB
Languages
Python 63.5%
JavaScript 22%
TypeScript 14.5%