Giter Club home page Giter Club logo

simiir's People

Contributors

leifos avatar maxwelld90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simiir's Issues

Error in running test

Hello,

I downloaded the framework and setup all required libraries. Trying to run the provided sample simulations:
python run_simiir.py ../example_sims/trec_bm25_simulation.xml
Throws an at the end of the simulation. The output of the command is:

`SIMULATION 'example_bm25_sim-367-smartuser'
Simulation Configuration:
Topic: 367
Search Interface: WhooshSearchInterface
whoosh_index_dir: ../example_data/index
implicit_or: True
model: 1

User Configuration (smartuser):
Query Generator: SmarterQueryGenerator
stopword_file: ../example_data/terms/stopwords.txt
Snippet Classifier: StochasticInformedTrecTextClassifier
qrel_file: ../example_data/qrels/trec2005.qrels.all
rprob: 0.75
nprob: 0.35
data_handler: 0
Document Classifier: StochasticInformedTrecTextClassifier
qrel_file: ../example_data/qrels/trec2005.qrels.all
rprob: 0.85
nprob: 0.25
data_handler: 0
Stopping Decision Maker: SequentialNonrelDecisionMakerSkip
nonrelevant_threshold: 3
SERP Impression: SimpleSERPImpression
qrel_file: ../example_data/qrels/trec2005.qrels.all
Logger: FixedCostLogger
time_limit: 600
query_cost: 10
document_cost: 20
snippet_cost: 3
serp_results_cost: 5
mark_document_cost: 3
Search Context: SearchContext
relevance_revision: 1

Results Summary:
Number of Queries Issued: 4
Number of Snippets Examined: 36
Number of Documents Examined: 20
Number of Documents Marked Relevant: 13
Number of Attractive SERPs Examined: 4
Number of Unattractive SERPs Examined: 0

Traceback (most recent call last):
File "run_simiir.py", line 50, in
main(sys.argv[1])
File "run_simiir.py", line 19, in main
for configuration in config_reader:
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/simulation_config_reader.py", line 59, in next
bg = SimulationComponentGenerator(self._config_dict['@id'], configuration_set)
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/component_generators/simulation_generator.py", line 33, in init
self.user = UserConfigReader(user_config_file).get_component_generator(self)
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/user_config_reader.py", line 16, in get_component_generator
return UserComponentGenerator(simulation_components, self._config_dict)
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/component_generators/user_generator.py", line 58, in init
components=[('search_context', self.search_context)])
File "/home/malshomary/Dev/wstud-user-simulation/simiir/simiir/config_readers/component_generators/base_generator.py", line 66, in _get_object_reference
reference = available_class1
TypeError: init() takes at least 3 arguments (2 given)`

However, I still see in the output folder the simulation results but still don't know if this error effect the output in anyway.

Thanks in advance for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.