PolicyEngine / PolicyEngine/policyengine-api

Specify redis config

Open
#1,534 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18
Forks
33
Avg merge
23h 40m
Merged PRs (30d)
22

Description

To suppress this warning:

tests/python/test_analysis.py::TestAnalysis::test_post_prompt 132:C 24 May 19:30:52.391 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/python/test_analysis.py, especially TestAnalysis::test_post_prompt, and inspect how Redis is started for the test run. Confirm the Redis configuration path and update the test setup so the warning about a missing config file no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, redis
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.