Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/AI_Brain / tests/test_generators.py |
| Date | Not specified in source |
| Repository | Janady13/AI_Brain |
| Revision | 366ab848896ae49159cfb3f6c201b8c5a731e9c8 |
| Branch | codex/build-online-github-ani-hr4y0z |
| Path or archive member | tests/test_generators.py |
| Original SHA-256 | 28d861efee887b04a968e15a2323a3d552b9ff12c24aa3e7834dca0e50a8a15a |
| Git blob SHA | faa87ce63f6e54a95c0abf02e92f98d3322cc3ab |
| Reading-copy SHA-256 | 28d861efee887b04a968e15a2323a3d552b9ff12c24aa3e7834dca0e50a8a15a |
Every recorded occurrence
These 11 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-hr4y0z | 366ab848896ae49159cfb3f6c201b8c5a731e9c8 | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-i3cigl | 3a6e002311c48c27ffd41ef4a2a31c63947128cd | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani | 49db80a641b10ab62d16cc7643bd0b367f93951c | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-nbgsix | 840945d70b88674d8f40d330001cc63d871dc8e2 | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-jf5olo | c6653627c453ab428d665226167fa5f4aa05e9a5 | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-7nmb21 | d0f50071c85cddaaebbf9c4dd1313bd7676986da | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-hr4y0z | 366ab848896ae49159cfb3f6c201b8c5a731e9c8 | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-i3cigl | 3a6e002311c48c27ffd41ef4a2a31c63947128cd | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-nbgsix | 840945d70b88674d8f40d330001cc63d871dc8e2 | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani | 49db80a641b10ab62d16cc7643bd0b367f93951c | Open original |
| Janady13/AI_Brain / tests/test_generators.py | codex/build-online-github-ani-jf5olo | c6653627c453ab428d665226167fa5f4aa05e9a5 | Open original |
Recovered source transcript
Download complete source text ↓25 lines · 0.7 KB
import importlib
import pytest
@pytest.mark.parametrize(
"module_name, factory_name",
[
("daemon.seed_math_models", "gen_math_models"),
("daemon.seed_agents", "gen_agents"),
("daemon.seed_language", "gen_language"),
("daemon.seed_prophecy", "gen_prophecy"),
("daemon.seed_marketing", "gen_marketing"),
],
)
def test_generators_produce_unique_samples(module_name, factory_name):
module = importlib.import_module(module_name)
factory = getattr(module, factory_name)
sample = list(factory(50))
assert len(sample) == 50
assert len(set(sample)) == 50
assert all(isinstance(item, str) and item.strip() for item in sample)