harness_name
stringclasses
56 values
github_repo
stringclasses
59 values
issue_title
stringlengths
1
728
issue_body
stringlengths
0
65k
issue_url
stringlengths
39
77
issue_created_at
int64
1,376B
1,768B
issue_closed_at
int64
1,382B
1,776B
is_related
float64
0
1
stage
float64
0
4
step
stringclasses
3 values
strategy
float64
1
6
root_cause_label
stringclasses
11 values
issue_comments
listlengths
0
76
issue_labels
listlengths
0
9
issue_cross_referenced
listlengths
0
23
ranx
AmenRa/ranx
Issue with MRR
Attempting to the MRR with your example and am getting a Typing error. System: - python 3.8.2 ``` from rank_eval import ndcg, mrr import numpy as np # Note that y_true does not need to be ordered # Integers are documents IDs, while floats are the true relevance scores y_true = np.array([[[12, 0.5], [25, 0...
https://github.com/AmenRa/ranx/issues/1
1,620,665,993,000
1,621,426,763,000
1
3
A
1
Validation Gap
[ "It works on my end.\r\n\r\nDo the other metrics raise the same error?", "Closing for inactivity. Feel free to reopen the issue." ]
null
null
ranx
AmenRa/ranx
bug: using built-in `type` function instead of type argument
It’s all in the title :) https://github.com/AmenRa/ranx/blob/f41e64d92e62a6ecb484f1271b481ec581aa05f9/ranx/run.py#L140
https://github.com/AmenRa/ranx/issues/10
1,643,126,681,000
1,643,127,231,000
1
3
A
1
Validation Gap
[ "Thank you. It should be fixed now (0.1.8). Closing." ]
null
null
ranx
AmenRa/ranx
set Report’s rounding_digits in compare
Hi, `compare` does not have a `rounding_digits` argument and thus always uses the default from `Report` (which is 4). Why is that? Also, would you like to add an option in Report to print results as percentages rather than ratios ?
https://github.com/AmenRa/ranx/issues/11
1,644,252,698,000
1,644,946,451,000
1
4
A
1
Unimplemented Feature Gap
[ "Hi Paul,\r\n\r\nI have chosen the number of digits based on the max number of digits I found in IR / SecSys papers for reporting performance scores. However, I was planning on adding an argument as you suggested, but it seems I forgot about it. My bad.\r\n\r\nRegarding using percentages instead of ratios, do you m...
null
null
ranx
AmenRa/ranx
[Feature Request] Benchmarking
**Is your feature request related to a problem? Please describe.** To claim "blazing-fast", it would be nice to have benchmarks against existing implementations. **Describe the solution you'd like** The implementation is benchmarked against some/all of the sources below: 1. naive [numpy implementation](https://gi...
https://github.com/AmenRa/ranx/issues/12
1,645,020,560,000
1,656,079,434,000
1
3
A
4
Unimplemented Feature Gap
[ "Hi, thank you for your interest in `ranx`!\r\n\r\nI compared `ranx` against `pytrec_eval` for my ECIR paper, you can re-run the benchmark using this [notebook](https://github.com/AmenRa/ranx/blob/master/dev/efficiency_test.ipynb).\r\n\r\nHere are the results reported in the ECIR paper that will be out in April:\r\...
null
null
ranx
AmenRa/ranx
[Feature Request] Reciprocal Rank Fusion
Hi, Thank you for this nice library. How would you go about implementing [Reciprocal Rank Fusion](https://plg.uwaterloo.ca/~gvcormac/cormack) in ranx? Thanks, Maxime.
https://github.com/AmenRa/ranx/issues/13
1,648,133,901,000
1,648,639,919,000
null
null
null
null
null
[ "Hi Maxime and thanks for your question,\r\n\r\nI plan to add many fusion methods to `ranx` this year, but I am currently busy with other projects.\r\n\r\nRight now, your best bet is to implement `RRF` with Python dictionaries and pass the resulting fused run to `ranx `.\r\n\r\nAlternatively, you can use an availab...
[ "enhancement" ]
[]
ranx
AmenRa/ranx
[Feature Request] from ranx import Report
**Is your feature request related to a problem? Please describe.** Hi! I’d like to be able to import Report so that I can load a previously saved report (output of `compare`) and tweak the runs. **Describe the solution you'd like** [`from .report import Report`](https://github.com/AmenRa/ranx/blob/master/ranx/__in...
https://github.com/AmenRa/ranx/issues/16
1,651,654,127,000
1,651,754,301,000
1
4
A
5
Unimplemented Feature Gap
[ "mmh actually it’s not straightforward to load the saved report into a new one. it would need something like a `from_dict` method that reverses `to_dict` (https://github.com/AmenRa/ranx/blob/master/ranx/report.py#L240) ", "Hi Paul,\r\n\r\nPlease, give me a more detailed description of the use case.\r\nWhat do you...
null
null
ranx
AmenRa/ranx
[BUG] win_tie_loss in Report.to_dict
**Describe the bug** When converting a Report to dict, you only keep one `metric` while iterating over `metrics` (overwriting the previous `metric` in each loop) https://github.com/AmenRa/ranx/blob/master/ranx/report.py#L315 **How to fix** replace the line above with: `d[m1]["win_tie_loss"][m2][metric] = self....
https://github.com/AmenRa/ranx/issues/17
1,652,965,102,000
1,652,966,212,000
1
4
A
5
Algorithmic Error
[ "Well spotted, thanks!\r\n\r\nFixed in `v0.1.14`." ]
null
null
ranx
AmenRa/ranx
[BUG] from_ir_datasets seems to be missing from Qrels
**Describe the bug** Qrels.from_ir_datasets("msmarco-document/dev") does not seem to work, it seems to have been removed by a commit 10 days ago. (https://github.com/AmenRa/ranx/commit/e0ca82c07392d90998b298515f48d0059c48c93d#)
https://github.com/AmenRa/ranx/issues/18
1,655,396,055,000
1,655,397,029,000
1
1
C
1
Unimplemented Feature Gap
[ "Hi and thank you very much for pointing it out.\r\nI must have used an old version of the code when I did the refactoring from the commit you mentioned, gotta check everything... :S\r\n\r\nI restored \"from_ir_datasets\" in `v0.2.4`.\r\n\r\nThanks again!", "Thanks a lot for this library, just came back after a w...
null
null
ranx
AmenRa/ranx
Why in Recall@k you divide on len(relevant), but not min(len(relevant), k)
The question about Recall@k arose when I looked at the best scores R@1 of Stanford Online Products dataset in paperswithcode https://paperswithcode.com/sota/metric-learning-on-stanford-online-products-1. This benchmark use R@1 metric to measure best models and approach in retrieval task in SOP dataset. Sop dataset has ...
https://github.com/AmenRa/ranx/issues/19
1,656,482,593,000
1,656,794,495,000
1
3
A
1
Documentation Deficiency
[ "Hi, that's an interesting question!\r\n\r\n`ranx` is built to reproduce [`trec_eval`](https://github.com/usnistgov/trec_eval)'s scores, as it is the standard evaluation library used in Information Retrieval research.\r\n`ranx`'s `recall@k` works as [`trec_eval`](https://github.com/usnistgov/trec_eval)'s `recall@k`...
null
null
ranx
AmenRa/ranx
Problem with r-precision
Hi, I tested your code and found that it was easy to use and integrate. Moreover, the results I got are fully coherent with those I previously obtained with a personal implementation of trec_eval and the computation of the measures is fast. This is clearly an interesting software and its presentation to the demo ses...
https://github.com/AmenRa/ranx/issues/2
1,638,262,771,000
1,638,382,547,000
1
3
A
1
Validation Gap
[ "Hi Oliver,\r\n\r\nThanks for your interest in `rank_eval` and the kind words.\r\n\r\nYesterday, when I did the last commit, I noticed something was off in the code there!\r\nI'm going to address the problem in the next few days and come back to you.\r\n\r\nThanks for your feedback.\r\n\r\nHave a good one,\r\n\r\nE...
null
null
ranx
AmenRa/ranx
Spearman, Kendall correlation functions
Hi! This lib is extremely good tool to have in arsenal, but I think it could be nice to have Spearman and Kendall correlation functions included to this package to evaluate ranking. Maybe not the most popular metrics, but sometimes they could come in handy. Best regards, Ivan Savchuk
https://github.com/AmenRa/ranx/issues/20
1,658,404,191,000
null
1
3
A
1
Unimplemented Feature Gap
[ "Hi and thanks for the kind words! :D\r\n\r\nKendall, Spearman, Pearson, and AP correlation metrics are already in my local branch and are coming soon!\r\n\r\nIf you haven't, please consider giving `ranx` a star. \r\n\r\nBest,\r\n\r\nElias", "Any update on this?", "Hi, sorry for the delay.\r\nI will work on thi...
null
null
ranx
AmenRa/ranx
Issues with MAP
null
https://github.com/AmenRa/ranx/issues/21
1,659,384,060,000
1,659,384,122,000
1
3
A
1
Others
[]
null
null
ranx
AmenRa/ranx
Problems with MAP
I understood that, when evaluating MAP@k, relevance judgment scores equal to 0 are ignored. In my case, I get a bit of a weird behaviour. I'm working on a balanced dataset with binary relevancy and define qrels by including both 1s and 0s documents. While ndcg@10 gives me results at about 0.7, MAP@10 is extremely ...
https://github.com/AmenRa/ranx/issues/22
1,659,384,145,000
1,661,764,404,000
1
3
A
1
Documentation Deficiency
[ "Hi Stefano,\r\n\r\nAlmost all the metrics ignore qrels with zero scores, including NDCG.\r\nSo the difference you get is not because of that.\r\n\r\nHowever, I think your results are entirely possible if you have many relevance judgments for each query.\r\nNote that the [Average Precision](https://amenra.github.io...
null
null
ranx
AmenRa/ranx
Why ranx is too slow in this simple example?
```python from ranx import Qrels from ranx import Run from ranx import evaluate qrels_dict = { "text_1": { "label_1": 1 }, "text_2":{ "label_2": 1, } } qrels = Qrels(qrels_dict, name="testing") run_dict = { "text_1": { "label_1": 1, "la...
https://github.com/AmenRa/ranx/issues/23
1,659,562,753,000
1,659,636,829,000
1
3
A
1
Documentation Deficiency
[ "Wow, it is taking forever in a real example with about 60k queries!\r\nAm I missing something?", "Hi, and thanks for your interest in `ranx`!\r\n\r\nI think you are missing that all [`numba`](https://numba.pydata.org)-based `ranx` functions need to be compiled the first time you use them (_there is a disclaimer ...
null
null
ranx
AmenRa/ranx
[Feature Request] infer run/qrels format from file extension in `from_file`
**Is your feature request related to a problem? Please describe.** I think it’s quite frustrating to have to specify the format of qrels/run (TREC or JSON). I often get exceptions if I forget to specify the 'trec' format because JSON is default. **Describe the solution you'd like** You could infer the format from ...
https://github.com/AmenRa/ranx/issues/24
1,660,302,528,000
1,661,770,516,000
1
1
B
1
Unimplemented Feature Gap
[ "Hi Paul,\r\n\r\nI agree with you, and I thought about it in the past.\r\n\r\nHowever, I plan to have a custom JSON-based file for `Run`s (_in addition to those already supported_) and using the sole file extension would not be enough/safe to infer the input file type.\r\nSo, do not bother opening a PR, as your cod...
null
null
ranx
AmenRa/ranx
[BUG] ttest_rel() got an unexpected keyword argument 'alternative' when using compare with stat_test="student"
**Describe the bug** Hi, I’m having an error when using `compare` with `stat_test="student"` (no problem when using the default "fisher"). ```py TypeError Traceback (most recent call last) <ipython-input-3-0369b81922de> in <module> 7 metrics=["map@100", "mrr@100", "ndcg@...
https://github.com/AmenRa/ranx/issues/25
1,661,533,569,000
1,661,767,603,000
1
3
B
1
Environment Incompatibility
[ "Hi, I suspect your `SciPy` version is lower than `1.6.0` (see [here](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_rel.html)).\r\n\r\nI will explicit the required `SciPy` version in `ranx`'s `setup` file so that this will not happen again.\r\n\r\nIn the meantime, updating your `SciPy` inst...
null
null
ranx
AmenRa/ranx
Qrels and Run query ids do not match
**Describe the bug** I am evaluating my test set against my algorithm recommendations, but it gives the error Qrels and Run query ids do not match **To Reproduce** Steps to reproduce the behavior: metrics = ["recall@10", "mrr@10","ndcg@10"] person_date_indexs = df_recs_train_top10['person_date_index'].unique()...
https://github.com/AmenRa/ranx/issues/27
1,663,436,358,000
1,664,264,221,000
1
3
A
1
Validation Gap
[ "Does your run contains all the elements on the qrel (and vice-versa)? I had this problem many times working with a dataset that had many queries that did not have relevance labels. It can also happen in the opposite sense (although rarer), if you have relevance data for a query that is not evaluated by your system...
null
null
ranx
AmenRa/ranx
Ranx pip installing failed
**Describe the bug** Error during pip install. **To Reproduce** `pip install ranx==0.3.2` **Bash output** ```python (xCoFormer) celso@capri:~/projects/xCoFormer$ pip install ranx==0.3.2 Collecting ranx==0.3.2 Using cached ranx-0.3.2-py3-none-any.whl (93 kB) Requirement already satisfied: numpy in /home/c...
https://github.com/AmenRa/ranx/issues/28
1,666,703,311,000
1,667,574,294,000
1
0
A
2
Environment Incompatibility
[ "Hi,\r\n\r\nI tried to reproduce the error, but the installation works on my end.\r\n\r\nBy reading your reported pip output, the error arises when installing [pyautocorpus](https://github.com/seanmacavaney/pyautocorpus).\r\n\r\nI suggest you to retry installing ranx. If it fails, try to install pyautocorpus.\r\nIf...
null
null
ranx
AmenRa/ranx
[Feature Request] relevance_level parameter
I was wondering if similar to trec_eval that we can specify the relevance_level, with -l parameter, this feature exists in ranx. If not that would be a useful feature for evaluation
https://github.com/AmenRa/ranx/issues/29
1,667,172,328,000
1,667,401,189,000
1
3
A
1
Unimplemented Feature Gap
[ "Dear Behrooz,\r\n\r\nThanks again for your interest in `ranx`! :)\r\n\r\nI added the requested feature in `v0.3.3`.\r\nI added two different ways to set relevance levels.\r\n\r\n__Qrels-wise__\r\nQrels now provides the `set_relevance_level` function: `qrels.set_relevance_level(rel_lvl)`.\r\nIt changes the document...
null
null
ranx
AmenRa/ranx
confusing variable
https://github.com/AmenRa/rank_eval/blob/master/rank_eval/meta_functions.py#L220 `control_metric_scores` could be defined outside the `for j` loop :)
https://github.com/AmenRa/ranx/issues/3
1,639,585,728,000
1,640,012,345,000
null
null
null
null
null
[ "Well spotted! Thank you for taking the time to review the code!\r\nI will fix it soon.", "Fixed. Closing." ]
[]
[]
ranx
AmenRa/ranx
[BUG] `MRR@1` is not equal `Recall@1`
**Describe the bug** `MRR@1` should be equal to `Recall@1`. However, these metrics diverge for the case below. **To Reproduce** ```python %%capture !pip install ranx from ranx import Qrels, Run, evaluate import pickle # download files from https://drive.google.com/drive/folders/1ZLyB6mKKiQsypw36nhdZ4dGqmF...
https://github.com/AmenRa/ranx/issues/30
1,667,567,334,000
1,667,571,934,000
1
3
A
1
Documentation Deficiency
[ "MRR@k is only equal to Recall@k if you have exactly one positive per query. Unfortunately, there are many meanings for Recall, but at least for trec eval (which ranx follows) it always uses positives_found/total_positives, even if k is smaller than the amount of positives you have. \r\n\r\nFor the other definition...
null
null
ranx
AmenRa/ranx
[BUG] Precision calculation incorrect?
**Describe the bug** In the below example, I would expect run1 to have a precision of 1.0 and I would expect both run2 and run3 to have precisions of 0.75, as 3 out of 4 returned documents are relevant. Instead the second query returns 0.5, and the third 0.25. Either there is a bug handling empty query results, or I h...
https://github.com/AmenRa/ranx/issues/31
1,669,067,501,000
1,669,111,309,000
1
3
A
1
Algorithmic Error
[ "It seems that if there is an empty query result in the run_dict, every query after it will always have a precision of 0.", "Hi @kaleko,\r\n\r\nThank you very much for the bug report and for providing a working example!\r\n`numba` was not raising a `ZeroDivisionError`, so I did not spot this issue before.\r\nI fi...
null
null
ranx
AmenRa/ranx
[Feature Request] custom fusion method in optimize_fusion
**Is your feature request related to a problem? Please describe.** Hi, you’ve done a great job implementing plenty of different fusion algorithms, but I think it will always be a bottleneck. What would you think about letting the user define their own training function? **Describe the solution you'd like** For ex...
https://github.com/AmenRa/ranx/issues/32
1,669,630,438,000
1,669,641,432,000
1
1
A
null
Unimplemented Feature Gap
[ "Hi Paul, \r\n\r\nAre you referring to this passage?\r\n`Finally, there are a few more details of exactly how to combine BM25 and DPR scores worth exploring. As a baseline, we tried using the raw scores directly in the linear combination (exactly as above). However, we noticed that the range of scores from DPR and ...
null
null
ranx
AmenRa/ranx
[Feature Request] optimize norm and method in optimize_fusion
**Is your feature request related to a problem? Please describe.** Instead of manually trying every possible fusion techniques, it’d be nice to be able to grid-search all of them, as `optimize_fusion` is already doing for fusion hyperparameters (e.g. weights in `wsum`). **Describe the solution you'd like** Allow t...
https://github.com/AmenRa/ranx/issues/33
1,669,649,259,000
1,669,655,121,000
null
null
null
null
null
[ "I am aware of that, but I think the users should be aware of the normalization strategies and fusion methods they are using.\r\nTherefore, I do not plan to add this feature any time soon." ]
[ "enhancement" ]
[]
ranx
AmenRa/ranx
[BUG] Could not find a version that satisfies the requirement ranx
**Describe the bug** Could not find a version that satisfies the requirement ranx (`pip3 install ranx`) ``` Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic pip 21.3.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6) ``` Error message: ``` ERROR: Could ...
https://github.com/AmenRa/ranx/issues/34
1,669,916,152,000
1,669,917,046,000
1
0
A
2
Documentation Deficiency
[ "This is not a bug, `ranx` requires Python >= 3.7.", "> This is not a bug, `ranx` requires Python >= 3.7.\r\n\r\nSorry, I could not find this requirement in the documentation.", "No problem.\r\nPython 3.7 is from mid-2018, that's why I did not write it down.\r\nYou can find all the requirements and dependencies...
null
null
ranx
AmenRa/ranx
ValueError: max() arg is an empty sequence
Hello, I'd like to determine what query is causing the following error and how to get around it: ```python Traceback (most recent call last): File "main.py", line 43, in perform_tasks eval(params) File "main.py", line 25, in eval eval_helper.perform_eval() File "/home/celso/projects/XMTC-Baseline...
https://github.com/AmenRa/ranx/issues/35
1,673,557,526,000
1,674,764,663,000
1
3
A
1
Validation Gap
[ "I suspect your `filtered_relevance_map` is not valid.\r\nCan you please post a print of it?", "> I suspect your `filtered_relevance_map` is not valid. Can you please post a print of it?\r\n`filtered_relevance_map`:\r\n![image](https://user-images.githubusercontent.com/11181748/212191503-35972428-772f-441f-a075-7...
null
null
ranx
AmenRa/ranx
question: why student rather than fisher stat test?
Hi, Just a quick question: I wondered what motivated the choice for changing the default value of the stat test to student instead of fisher https://github.com/AmenRa/ranx/commit/0dc8d9cf6b76ece0c8bccad267e2ce4f226127c3 (I almost published them as is before figuring it out :sweat_smile:). I thought that one of yo...
https://github.com/AmenRa/ranx/issues/37
1,675,422,396,000
1,675,431,502,000
null
null
null
null
null
[ "Hey, I got a pull request for fixing the docs today :D\r\n\r\nStudent's and Fisher's tests very often agree (always?), but Student's is immensely faster to compute.\r\nThat's why I changed the default stat test.\r\n\r\nThe paper you mentioned says the opposite. From the introduction:\r\n\r\n```\r\nStudent’s t, boo...
[]
[]
ranx
AmenRa/ranx
[Feature Request] Add interpolated recall-precision plot function
**Is your feature request related to a problem? Please describe.** First of all: This is a really nice library! It helps a lot! My request is regarding a recall-precision graphic. When I read TREC-related papers, they very often used the interpolated precision-recall-plot to visualize the performance of IR-Systems wh...
https://github.com/AmenRa/ranx/issues/38
1,676,289,654,000
1,682,961,184,000
1
4
A
1
Unimplemented Feature Gap
[ "Hi, thanks for the very detailed suggestion/request!\r\nI think this would be a nice addition to the library!\r\nI will take a look to the linked documents in the coming days.", "I found a really nice lecture on youtube, which explains the recall-precision plot really nice. It can be found here:\r\n\r\nhttps://y...
null
null
ranx
AmenRa/ranx
[BUG] Missing results causes AssertionError
Missing results causes AssertionError: Qrels and Run query ids do not match You should make `check_keys` optional in evaluate because sometimes queries do not return any results for lexical-based systems. https://github.com/AmenRa/ranx/blob/da0aa5246513acb87ec7ac7f516194fea464a2c1/ranx/meta/evaluate.py#L128
https://github.com/AmenRa/ranx/issues/39
1,681,504,378,000
1,681,725,582,000
1
3
A
1
Validation Gap
[ "Hi, I've added the `make_comparable` function to `Run` in v0.3.7.\r\n\r\n```python\r\nrun.make_comparable(qrels)\r\n```\r\n\r\nThe `run` will be modified based on the `qrels` passed as an argument.\r\nQuery results not appearing in `qrels` will be removed from `run` to avoid unpredictable behavior or other bugs.\r...
null
null
ranx
AmenRa/ranx
feature request: save Report.comparisons as JSON
Hi, It’d be nice to be able to save a Report comparisons as a JSON file. However, since it uses frozenset as keys, it is not JSON serializable. Maybe you could add a method in https://github.com/AmenRa/ranx/blob/master/ranx/frozenset_dict.py to convert the `_map` to a JSON serializable dict, i.e. with `str` keys...
https://github.com/AmenRa/ranx/issues/4
1,641,819,478,000
1,643,804,329,000
1
4
A
5
Validation Gap
[ "Hi, an export option for the Report class is already on my to-do list! :)\r\n\r\nI will come back with a proposal so that we can discuss it before I implement the functionality.", "Hey, sorry for the delay.\r\n\r\nThis is my proposal for the `Report.to_dict` function (I can add a `Report.save_as_json` function f...
null
null
ranx
AmenRa/ranx
PSP@k: Propensity-scored precision at k
I want to implement the propensity-scored precision at k (PSP@k) as defined above: $PSP@k = \frac{1}{k} \sum \frac{y_i}{p_i}$ where $p_i$ is the propensity of $y_i$ and $1 \leq i \leq k$. Therefore, how could I integrate this metric in ranx? **References**: [1] Zhang, J., Chang, W.C., Yu, H.F. and Dhillo...
https://github.com/AmenRa/ranx/issues/40
1,684,531,436,000
1,693,214,941,000
1
3
A
1
Unimplemented Feature Gap
[ "Hi, sorry for the delay.\r\n\r\nIs this metric similar to reciprocal rank except you average over the top k positions instead of considering only the first retrieved relevant?\r\nCould you please provide an example?", "See below an example from [pyxclib](https://github.com/kunaldahiya/pyxclib/blob/ae5410f1008074...
null
null
ranx
AmenRa/ranx
[Feature Request] Expose DCG as metric
In industry DCG (in both formulations) is a standard and widely used metric. I see it is already implemented as part of NDCG. Is it possible to expose it to the users as a real metric?
https://github.com/AmenRa/ranx/issues/41
1,686,797,462,000
1,686,902,292,000
1
3
A
1
Unimplemented Feature Gap
[ "Hi, `dcg` is now available among the other metrics.\r\nPlease, update your `ranx` installation to `v0.3.13` to use it.\r\n\r\nIf you use `ranx` to evaluate results for your scientific publication, please remember to cite the related papers. Also, `GitHub` stars are much appreciated.\r\n\r\nThank you,\r\n\r\nElias"...
null
null
ranx
AmenRa/ranx
[BUG] dcg and dcg_burges do not work in the compare function
**Describe the bug** when adding the newly available `dcg` or `dcg_burges` metric in the compare function I get this error: ``` report = compare( qrels=qrels, runs=runs, metrics=["recall@10","ndcg","rbp.90","rbp.50","dcg_burges"], max_p=0.05, # P-value threshold stat_test='student' ) ...
https://github.com/AmenRa/ranx/issues/42
1,687,478,029,000
1,687,595,854,000
1
3
A
1
Validation Gap
[ "I think metric labels are missing here: https://github.com/AmenRa/ranx/blob/cf7b00c829a223c988c080ab39562637527346ca/ranx/data_structures/report.py#L24C38-L24C38", "Yep, I forget about them. Thanks for pointing it out!\r\nFixed in `v0.3.14`" ]
null
null
ranx
AmenRa/ranx
[Feature Request] Use black to indent the code
**Is your feature request related to a problem? Please describe.** `black` https://pypi.org/project/black/ is the Uncompromising Code Formatter. You can install it, run `black` and it will format the code properly. How about using it for the project in order to make sure style is consistent?
https://github.com/AmenRa/ranx/issues/44
1,687,605,655,000
1,687,767,246,000
null
null
null
null
null
[ "Hi Diego, the code was already `black` formatted.\r\n\r\nThe inconsistency was because I initially forced 80 chars line length in my IDE.\r\nThen, I reverted it to 88 as suggested in `black` documentation but forgot to run `black` project-wise.\r\n\r\nNow code formatting should be consistent." ]
[ "enhancement" ]
[]
ranx
AmenRa/ranx
[BUG] RBP with multiple relevance levels
**Describe the bug** Given the formula of RBP of ``` \operatorname{RBP} = (1 - p) \cdot \sum_{i=1}^{d}{r_i \cdot p^{i - 1}} ``` where r_i is the reward/utility, RBP should support multiple relevance levels similar to DCG such that if max relevance level is 2 max rbp value should be 2
https://github.com/AmenRa/ranx/issues/45
1,688,168,471,000
1,689,700,603,000
1
3
A
1
Algorithmic Error
[ "Hi, thanks for pointing it out.\r\n\r\nI suspect I assumed it was a binary relevance metric because the example in the original paper does not account for graded relevance.\r\n\r\nI will fix it in the coming days.", "Looking at other implementations of RBP I also saw an option to normalize back to [0,1] by divid...
null
null
ranx
AmenRa/ranx
[Feature Request] Support gzipped files?
**Is your feature request related to a problem? Please describe.** trec files can be several megabytes, for example `run_*.trec` used for the examples are all more than 20Mb, but once compressed they become less than 10. That would make downloads faster and also loading the file in memory. **Describe the solution ...
https://github.com/AmenRa/ranx/issues/47
1,688,808,334,000
1,691,077,797,000
1
1
B
1
Unimplemented Feature Gap
[ "Both the suggestions sound good to me.\r\n\r\nYou can already save imported runs as highly compressed as `lz4` files with `run.save(\"save/path/run.lz4\")`. Under the hood they are `JSON` files.\r\nI did several tests a few months ago and they should be smaller and faster to extract than gzipped TREC files.\r\n\r\...
null
null
ranx
AmenRa/ranx
[Feature Request] memory issue / make Run more efficient
Hi Elias, **Is your feature request related to a problem? Please describe.** I've noticed that `Run` (and I guess also `Qrels`) consume a lot of memory (RAM) compared to standard python `dict`, e.g. a few GB instead of a few 100s of MB. This gets problematic for somewhat large datasets (e.g. 1M queries) **Descri...
https://github.com/AmenRa/ranx/issues/48
1,688,985,174,000
1,689,700,297,000
1
1
A
1
Resource Mishandling
[ "Dear Paul, \r\n\r\nThe issue is probably due to `numba` (I cannot do anything about that) and a [forced conversion](https://github.com/AmenRa/ranx/blob/7a55106c238d7e147ceb93d0201285b946ef366e/ranx/data_structures/common.py#L53) of the strings used as ids to `numba.types.unicode_type` that I introduced to avoid er...
null
null
ranx
AmenRa/ranx
question: relevance scores in Qrels
Why is the relevance score mandatory in [Qrels](https://github.com/AmenRa/ranx/blob/master/ranx/qrels.py)? I don’t see where you use it to compute the metrics https://github.com/AmenRa/ranx/blob/master/ranx/metrics.py Is there any way to make it optional? If not, would a filler value like `0` for all documents be...
https://github.com/AmenRa/ranx/issues/5
1,641,820,146,000
1,641,821,005,000
1
1
C
null
Documentation Deficiency
[ "Hi, if you only have a list of relevant document ids but no relevance judgment, you should use `1` as relevance judgment score.\r\n\r\n`0` relevance judgment scores are removed before computing metric scores to prevent miscomputations.\r\n\r\nAmong the implemented metrics only NDCG uses the relevance judgment scor...
null
null
ranx
AmenRa/ranx
Incorrect result for f1 score
Using f1 or _f1_parallel for all qrels and run gives incorrect output. But if I use _f1 on individual query case, it gives correct F1 score. using below 2 functions return 0 for 4 cases. Ideally it should only be 0 for 1 of all the 18 cases in _qrels & _run passed. ``` from ranx.metrics.f1 import _f1_parallel, _...
https://github.com/AmenRa/ranx/issues/50
1,690,473,152,000
1,691,077,714,000
1
3
A
1
Validation Gap
[ "Hi, it is very strange that `_f1` called on every query separately and `_f1_parallel` give different results.\r\n`_f1_parallel` is just a parallelized loop over `_f1` and the queries.\r\n\r\nCan you provide me your `qrels` and `run`?", "Hi, \r\nthanks for the quick response. \r\nHave attached the files here.\r\n...
null
null
ranx
AmenRa/ranx
Zero-scored documents
@mponza found a bug when computing recall and promise to document it next week, adding a reminder here for him. Something related to multiple documents having score zero.
https://github.com/AmenRa/ranx/issues/51
1,692,982,871,000
1,693,647,830,000
1
3
A
1
Algorithmic Error
[ "**Describe the bug**\r\n\r\nIf a model assigns to a set of documents zero scores, you can still have Recall@k = 1. I am not sure this behaviour is expected or not. \r\n\r\n\r\n**To reproduce**\r\n\r\n```python\r\nfrom ranx import Qrels, Run, evaluate\r\n\r\nqrels_dict = {\"q_1\": {\"d_0\": 1, \"d_1\": 1}}\r\n\r\nr...
null
null
ranx
AmenRa/ranx
[BUG] Misleading exception message on dataframe types
**Describe the bug** I'm using the library for the first time with a Pandas dataframe and ran into an exception that was misleading. **To Reproduce** Steps to reproduce the behavior: 1. Create a dataframe where the `id` column is of type `int64` e.g. `df['id'] = df.index + 1` 2. Create the qrel like this: ```...
https://github.com/AmenRa/ranx/issues/52
1,694,565,334,000
1,695,812,431,000
1
1
B
1
Validation Gap
[ "Hi, sorry for that!\r\nI probably copy-pasted or duplicated lines there.\r\nI will fix it in the next release.", "Fixed in `v0.3.17`.\r\n\r\nPlease, give `ranx` a star if you haven't yet." ]
null
null
ranx
AmenRa/ranx
[BUG] Issues when storing/loading Qrels from a dataframe and a parquet file.
**Describe the bug** Bug when reconstructing Qrels from a pandas dataframe. This bug affects also when reading a Qrel from a parquet file as the pandas to Qrels is used internally. Pandas version: 1.5.2 Ranx: last pip version **To Reproduce** Code: ```python from ranx import Qrels qrels = Qrels({'1':{'1':...
https://github.com/AmenRa/ranx/issues/53
1,694,599,266,000
1,695,983,091,000
1
1
C
1
Validation Gap
[ "Hi, thanks for reporting this issue.\r\nI will fix it in the next release.", "Hi, I cannot reproduce.\r\n\r\n`int64` is standard Python `int`.\r\n\r\nWith `ranx`:\r\n```python\r\nfrom ranx import Qrels\r\n\r\nqrels = Qrels({\"1\": {\"1\": 1}, \"2\": {\"2\": 1}})\r\ndf = qrels.to_dataframe()\r\n\r\ndf.dtypes[\"sc...
null
null
ranx
AmenRa/ranx
[Feature Request] Run.from_df and Run.from_parquet does not allow specifying run name
**Is your feature request related to a problem? Please describe.** I'm using Pandas dataframes, and comparing different embedding models. I'd like to be able to name my runs so when I compare them, the report shows something other than `run_1`, `run_2`. **Describe the solution you'd like** Allow `name` as a named ...
https://github.com/AmenRa/ranx/issues/54
1,695,755,230,000
1,695,812,443,000
1
1
A
null
Unimplemented Feature Gap
[ "Added in `v0.3.17`.\r\n\r\nPlease, give `ranx` a star if you haven't yet." ]
null
null
ranx
AmenRa/ranx
Question on rank aggregation usage
Thanks for your amazing work. I am very interested in this framework and try to use it to solve my rank aggregation problems. However, I am a little confused about the usage. For example, I have scores for several items under different ranking rules, as follows: ``` item | rank1 | rank2 | rank3 item1 | 0.4 | 0.8 ...
https://github.com/AmenRa/ranx/issues/55
1,696,853,745,000
1,696,856,901,000
null
null
null
null
null
[ "Hi, you can find an example on [Colab](https://colab.research.google.com/github/AmenRa/ranx/blob/master/notebooks/5_fusion.ipynb) and other information [here](https://amenra.github.io/ranx/fusion/).\r\n\r\nAs for your example, you could to something like this:\r\n\r\n```python\r\nfrom ranx import Run, fuse\r\n\r\n...
[]
[]
ranx
AmenRa/ranx
Getting "Segmentation fault (core dumped)" error
Hello, Thank you for your amazing work. I am trying to use supervised fusion methods like this: ```python best_params = optimize_fusion( qrels=qrels, runs=[run_4, run_5], norm='min-max', # Default value method='posfuse', metric="mrr@10", ) combined_run = fuse( runs=[run_4, run_5], norm='min-max', # ...
https://github.com/AmenRa/ranx/issues/56
1,696,966,605,000
1,701,158,002,000
1
2
A
1
Environment Incompatibility
[ "Hi and thanks for the kind words!\r\n\r\nCan you tell me the OS you are using and the version of `numba` installed?\r\nThe issue is probably related to `numba`, which is a library `ranx` heavily relies on.", "\r\nAt first I was using an Ubuntu remote server (Ubuntu 20.04.6 LTS). I was getting that error for mos...
null
null
ranx
AmenRa/ranx
[Feature Request] stddev statistic
It would be a good to additionally calculate the sample variance within the average of the metrics. Like `ndcg@50: 11, stddev: 2.8`
https://github.com/AmenRa/ranx/issues/57
1,697,116,316,000
1,701,159,671,000
1
3
B
2
Unimplemented Feature Gap
[ "Hi! Yes, I should add it.\r\n\r\nIn the mean time, you can compute it as follows:\r\n```python\r\nfrom ranx import Qrels, Run, evaluate\r\nimport numpy as np\r\n\r\nqrels_dict = { \"q_1\": { \"d_12\": 5, \"d_25\": 3 },\r\n \"q_2\": { \"d_11\": 6, \"d_22\": 1 } }\r\n\r\nrun_dict = { \"q_1\": { \"d_12\...
null
null
ranx
AmenRa/ranx
Couldn't find any documentation about Qrel and run score range
Hi, In the current api documentation I see some examples of how to structure `qrel` and `run` dicts, but there is no detail about what should be the range of `qrel` relevance score, I assume its 0 for non-relevant cases and 1 or more for graded relevance, but is there a upper limit to integer value? Similarly, f...
https://github.com/AmenRa/ranx/issues/58
1,699,176,600,000
1,699,517,744,000
1
1
B
1
Documentation Deficiency
[ "Hi and thanks for your question.\r\n\r\n`qrels` scores can be any integer, positive or negative.\r\nAll the implemented metrics but [`bpref`](https://amenra.github.io/ranx/metrics/#bpref) only considers relevant documents, i.e. discard all `qrels` < 1. You can change this threshold by adding `-ln` (`n` is a parame...
null
null
ranx
AmenRa/ranx
[Feature Request] Propensity-scored Metrics
**Is your feature request related to a problem? Please describe.** In some extremely challenging scenarios for information retrieval, items relevant to a query follow a long tail distribution. Thus, there are a few extremely frequent relevant items (head items) and many extremely rare relevant items (tail items). Si...
https://github.com/AmenRa/ranx/issues/59
1,701,705,077,000
null
1
3
A
1
Unimplemented Feature Gap
[ "Adding these new features to the context of my research would be very beneficial. Are there any updates on their development?", "Any progress here?", "Hi, I have no time to work on this at the moment.\r\nYou can implement it by yourself and make a PR if you want.", "> Hi, I have no time to work on this at th...
null
null
ranx
AmenRa/ranx
question: Comparing models with multiple runs
First of all, great work on this code. I have been looking for a definitive package to evaluate ranking models and I believe this is that package. My question is perhaps a bit out of the domain, but it could help others in the future. How would you deal with comparing 2 models where each has multiple runs (e.g., run...
https://github.com/AmenRa/ranx/issues/6
1,642,071,407,000
1,642,170,773,000
1
3
B
2
Unimplemented Feature Gap
[ "Hi and thanks for the kind words! :)\r\n\r\nThat's a tricky question.\r\nI actually don't have a _scientific_ answer, but your idea sounds reasonable to me.\r\n\r\nRight now `ranx` does not support what you say out of the box but it can probably be achieved using the \"low level\" function you find in the source c...
null
null
ranx
AmenRa/ranx
How do we compare different runs with multiple folds per run?
How do we compare different runs with multiple folds per run? For instance, assume we have 10-folds for `run_1`, ... `run_5`? ```python from ranx import compare # Compare different runs and perform Two-sided Paired Student's t-Test report = compare( qrels=qrels, runs=[run_1, run_2, run_3, run_4, run_...
https://github.com/AmenRa/ranx/issues/60
1,705,518,315,000
null
null
null
null
null
null
[ "Also, could you provide a simple explanation of how to interpret the report?\r\n```md\r\n# Model MAP@100 MRR@100 NDCG@10\r\n--- ------- -------- -------- ---------\r\na model_1 0.320ᵇ 0.320ᵇ 0.368ᵇᶜ\r\nb model_2 0.233 0.234 0.239\r\nc model_3 0.308ᵇ 0.309ᵇ 0....
[]
[]
ranx
AmenRa/ranx
[Question] About the correction among multiple hypotheses
I came across a point in the [Fuhr](https://www.sigir.org/wp-content/uploads/2018/01/p032.pdf) article where it talks about the need for additional correction for multiple hypotheses test (e.g., Bonferroni correction). Looking at the `paired_student_t_test` function code, it seems like the correction procedure is not t...
https://github.com/AmenRa/ranx/issues/61
1,706,173,425,000
1,719,856,597,000
1
3
B
2
Documentation Deficiency
[ "Hi and sorry for the delay.\r\n\r\nYou can apply Bonferroni correction by changing the `max_p` parameter of the `compare` function (Maximum p-value to consider an increment as statistically significant. Defaults to 0.01.).\r\n\r\nOtherwise, you can use the [Tukey's HSD Test](https://www.itl.nist.gov/div898/handboo...
null
null
ranx
AmenRa/ranx
[Question] How to compute precision for a retriever operating at passage-level
If the retriever is operating at passage / chunk-level and hence the retrieved results can have duplicate IDs as shown below: Top-10 retrieval list for each of the queries: ``` q_1: ['d_1', 'd_1', 'd_1', 'd_1', 'd_1', 'd_1', 'd_5', 'd_5', 'd_5', 'd_5'] q_2: ['d_4', 'd_4', 'd_4', 'd_4', 'd_2', 'd_2', 'd_6', 'd_6', '...
https://github.com/AmenRa/ranx/issues/63
1,709,487,806,000
1,719,856,185,000
1
3
A
1
Documentation Deficiency
[ "Hi and sorry for the delay.\r\n\r\nI suggest you use ids for passages OR perform a pooling operation on the scores for the passages for a given document, e.g. taking the maximum scores.\r\n\r\nHope it helps." ]
null
null
ranx
AmenRa/ranx
JIT compilation on serverless (i.e. Modal Labs)
I'm noticing that it takes a really long time to start up anything with ranx in a serverless setting, e.g. Modal Labs. I tried adding a step during the build process where I call the functions that need to be cached, but it doesn't seem to help. This is true even if I explicitly set the NUMBA_CACHE_DIR to a directory t...
https://github.com/AmenRa/ranx/issues/64
1,710,371,901,000
null
1
0
A
3
Documentation Deficiency
[ "Hi and sorry for the delay.\r\nUnfortunately, I cannot help with this.\r\nIf you find a solution, please post it here for others.\r\nThanks.", "@andersonbcdefg @AmenRa please check https://github.com/AmenRa/ranx/issues/75 " ]
null
null
ranx
AmenRa/ranx
I'm getting NaN for the BPref measurement
Not really sure what more information to provide. I'm new to ranx (and trec_eval, in general). I'm loading qrels and results trec files into a Qrels and Run, then simply oing: measurements = str(evaluate(qrels, run, ["mrr", "bpref", "precision@6", "precision@10", "precision@25", "ndcg", "ndcg@6", "recall@6", "r...
https://github.com/AmenRa/ranx/issues/66
1,721,850,519,000
1,721,888,130,000
1
3
A
1
Validation Gap
[ "Ok, this should help: The simple dict example produces it too:\r\n```\r\nfrom ranx import Qrels, Run, evaluate\r\n\r\nqrels_dict = { \"q_1\": { \"d_12\": 5, \"d_25\": 3 },\r\n \"q_2\": { \"d_11\": 6, \"d_22\": 1 } }\r\n\r\nrun_dict = { \"q_1\": { \"d_12\": 0.9, \"d_23\": 0.8, \"d_25\": 0.7,\r\n ...
null
null
ranx
AmenRa/ranx
[BUG] Run with one empty results error
**Describe the bug** A Run with only one empty results lead to ValueError May related to the issue here: https://github.com/AmenRa/ranx/issues/51 **To Reproduce** run = Run({"q_1": {}}) qrel = Qrels({"q_1": { 'reference_document': 1.0}})
https://github.com/AmenRa/ranx/issues/67
1,725,453,984,000
null
1
2
A
1
Validation Gap
[]
null
null
ranx
AmenRa/ranx
feature request: hits (or accuracy?)
Hi, @osf9018 mentioned it in #2 but I guess it’s better to create a specific issue. # Motivation It is often difficult to estimate the total number of relevant document for a query. For example, in Question Answering, if you have a large enough Knowledge Base, you can find the answer to your question in a surpr...
https://github.com/AmenRa/ranx/issues/7
1,642,089,121,000
1,643,734,956,000
1
3
A
1
Configuration Error
[ "Hi, I can add it to the pool of the provided metrics for sure! :)\r\n\r\nI'm just not confident about how I should call it.\r\nCould `success_rate` or `hit_rate` be appropriate?\r\nI can even call it `hits` and rename or hide the current `hits` metric.\r\n\r\nWhat do you think?", "hit_rate seems fine, as you wan...
null
null
ranx
AmenRa/ranx
Fisher's Randomization Test yields nondeterministic results
**Describe the bug** When running Fisher's Randomization Test multiple times using the same data and same parameters, the significance results vary between runs. This happens even when the random seed is fixed and also when just a single thread is used. **To Reproduce** Run `ranx.compare(qrels, runs, metrics=["pre...
https://github.com/AmenRa/ranx/issues/70
1,732,201,541,000
null
1
3
A
1
Algorithmic Error
[]
null
null
ranx
AmenRa/ranx
[Feature Request] Support for non-integer relevance labels
I would like to be able to use real-valued labels, and compute DCG and NDCG metrics that respect the differences in labels that at less than 1. So for example: - A document with relevance label = 1 would have Burges gain of `2**1 - 1 = 1.0` - But a document with relevance label = 1.9 would have Burges gain of `2**1.9 -...
https://github.com/AmenRa/ranx/issues/71
1,737,721,058,000
null
1
3
A
1
Unimplemented Feature Gap
[ "+1 for this. Continuous labels are produced from clickstream data, and may be used in some of these metrics." ]
null
null
ranx
AmenRa/ranx
[BUG] Crash when trying to make a Run comparable if numba JIT is disabled
**Describe the bug** Ranx is very very slow when I use it with many small Run and Qrels objects (e.g. to do question-by-question comparisons). This is likely because Ranx uses the Numba JIT compiler, which is optimized for few large objects with long compute times. (See previous issue: https://github.com/AmenRa/ranx/i...
https://github.com/AmenRa/ranx/issues/74
1,752,057,943,000
null
1
1
A
1
Validation Gap
[ "Thanks @milyenpabo I’ve also been thinking about supporting Ranx without Numba, by implementing the metrics using NumPy vectorized operations. I’d be curious to implement a parallel version of the metrics and then benchmark both Numba and non-Numba approaches across different collection sizes. My gut feeling is th...
null
null
ranx
AmenRa/ranx
[Feature Request] Make Numba Optional with Pure NumPy Fallbacks
Just pitching this idea to see if we would like to try this, also happy to develop it in a dev branch to see how we feel about it. But first I'd like to get your feelings about this strategy @AmenRa @milyenpabo and @andersonbcdefg. ## Problem Numba is currently a hard dependency that significantly impacts the user ex...
https://github.com/AmenRa/ranx/issues/75
1,754,514,651,000
null
null
null
null
null
null
[ "This seems like a good idea to me. After opening the issue you mentioned, I ended up just re-implementing the functionality I needed from this library in pure python or numpy.", "I see this may be beneficial for some use cases. However, it would be wise to first evaluate when this is the case before implementing...
[ "enhancement" ]
[ "https://github.com/AmenRa/ranx/issues/64", "https://github.com/AmenRa/ranx/pull/76" ]
ranx
AmenRa/ranx
Integer relevance score
Hi, Thank you for this nice library. Is there a fundamental reason why relevance score need to be integers in Qrels? Thanks.
https://github.com/AmenRa/ranx/issues/8
1,642,581,931,000
1,642,588,681,000
1
1
C
null
Architectural Constraint
[ "Hi and thank you! :)\r\n\r\nIn Information Retrieval, relevance score judgments can be binary or graded.\r\nTo the best of my knowledge, graded relevance score judgments are usually expressed as integers.\r\n\r\nMoreover, if I recall correctly, the choice of requiring integers was taken for similarity with [`trec_...
null
null
ranx
AmenRa/ranx
add an option to disable sort_dict_of_dict_by_value when adding results to a run
Hi -- guy with the weird feature requests here :sweat_smile: -- # Motivation You don’t want to ask, but, I have some use case where all the documents returned by my system have the same score, however the order matters! And, when you [`add_and_sort`](https://github.com/AmenRa/ranx/blob/master/ranx/run.py#L60) do...
https://github.com/AmenRa/ranx/issues/9
1,642,611,300,000
1,642,779,093,000
1
1
A
1
Unimplemented Feature Gap
[ "Hi Paul,\r\n\r\nThe rationale behind forcing sorting is to prevent the users to forget about it, which could cause a wrong evaluation.\r\n\r\nI thought about adding an option to avoid sorting to add_multi to avoid useless computation.\r\nYou could add queries to your `Run` / `Qrels` by batch, causing`ranx` to perf...
null
null
EvalAI
Cloud-CV/EvalAI
Create end point to get all the challenge host of a particular challenge host team
Create end point to get all the challenge host of a particular challenge host team Details about the endpoint: Url: /api/hosts/challenge_host_team/<challenge_host_team_id>/challenge_host Header: Authorization: Token Method: GET Response: status: HTTP_200_OK Support for pagination should be there.
https://github.com/Cloud-CV/EvalAI/issues/100
1,479,665,019,000
1,479,670,801,000
null
null
null
null
null
[ "Fixed via #110 \n" ]
[]
[ "https://github.com/Suryansh5545/EvalAI/pull/26" ]
EvalAI
Cloud-CV/EvalAI
Replace %s with string format {} across all str functions of models
This is a pretty simple task. Some part of the code base contains `%s` function(used for string formatting). It involves replacing all the occurrences of such `%s` with string format function `{}` everywhere in models of each app. For example one such case can be found in `challenges/models.py`, __LeaderBoard__ mode...
https://github.com/Cloud-CV/EvalAI/issues/1000
1,494,688,524,000
1,494,695,870,000
null
null
null
null
null
[ "I would be happy to help! Is anyone working on this?", "No, I don't think so. Please go ahead. :) ", "Okay, on it. Why are we doing it? Is the latter method more efficient than the other?", "For more reference, please see this http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format", ...
[ "easy_to_fix", "backend" ]
[ "https://github.com/Cloud-CV/EvalAI/pull/1001" ]
EvalAI
Cloud-CV/EvalAI
Add test cases for model string functions where ever missing.
Each model has a `__unicode__` function. This function is present in many of the models. Presently test cases are missing for some model's `unicode` functions. This task addresses the same issue. It first involves figuring out a list of all the models where its `__unicode__` function is present and its correspon...
https://github.com/Cloud-CV/EvalAI/issues/1002
1,494,696,221,000
1,496,571,343,000
null
null
null
null
null
[ "@isht3 : Are you willing to work on this ? This will give you a fair idea of how the models are organised and placed in apps.", "@TroJan I would love to! \r\n", "@isht3 : Sure, go ahead. Let me know if you need any help", "@TroJan A PR for each app would suffice, right?", "If we haven't declared a `__str_...
[ "easy_to_fix", "backend" ]
[ "https://github.com/Cloud-CV/EvalAI/issues/1006", "https://github.com/Cloud-CV/EvalAI/pull/1007", "https://github.com/Cloud-CV/EvalAI/pull/1016", "https://github.com/Cloud-CV/EvalAI/pull/1017", "https://github.com/Cloud-CV/EvalAI/pull/1018", "https://github.com/Cloud-CV/EvalAI/pull/1025", "https://githu...
EvalAI
Cloud-CV/EvalAI
Remove unused images from frontend directory
There are a lot of images that are not being used at all and are there in the repository. Can we please get rid of those images?
https://github.com/Cloud-CV/EvalAI/issues/1004
1,494,729,654,000
1,507,238,717,000
null
null
null
null
null
[ "Sure @deshraj, will do it.", "@deshraj @aka-jain mind if I take this up?", "Sure @the-dagger. ", "Can I take this up?", "@xamfy sure. :) \r\n", "@deshraj following are the images that should be removed:\r\n```\r\nchallenge-preview.png\r\ncloud-4.gif\r\ncloud3.png\r\ndash-challenge.png\r\nowl.png\r\nplan...
[ "enhancement", "easy_to_fix", "frontend", "critical" ]
[ "https://github.com/Cloud-CV/EvalAI/pull/1270" ]
EvalAI
Cloud-CV/EvalAI
Write integration tests for submission worker
Submission worker: Runs as a individual python process, has dependency on RabbitMQ and the main app server. ### How ?? I was thinking of starting submission worker via subprocess and then killing it later on via `process.kill`. This way the worker will start listening on queue and then we can publish a message wh...
https://github.com/Cloud-CV/EvalAI/issues/1005
1,494,770,575,000
1,536,711,357,000
1
2
A
3
Unimplemented Feature Gap
[ "@deshraj : let me know if you have any development here ?", "@TroJan sorry I have been busy with working on other stuff and hence didn't get time to work on this one. I am afraid that I won't be able to work on this for next 3 days. I will let you know once I have something. ", "@deshraj @dexter1691 : let me k...
null
null
EvalAI
Cloud-CV/EvalAI
Enhance EvalAI Wiki
Right now our documentation is not so enhanced and verbose, due to which process likes Developer Onboarding and Dev Environment Setup is not easy. We need to enrich it. This issue will actually list down the heading and brief description of what the pages should be about.
https://github.com/Cloud-CV/EvalAI/issues/1006
1,494,770,914,000
1,502,274,227,000
null
null
null
null
null
[ "Doc for setting up and running the testing suite is needed, right? Can I work on that?", "@isht3: Thanks for the help, just that presently @deshraj and I are exactly not clear of what all docs we need. I have opened this issue so that we can have the discussion over here and also everyone can give in their sugge...
[ "enhancement" ]
[]
EvalAI
Cloud-CV/EvalAI
Change path of storage of Evaluation Scripts
## Current behaviour Currently, the evaluation scripts are stored in the `submission_files` directory which should not happen ideally. ## Solution Modify the `RandomFile()` method such that the evaluation scripts should be uploaded in the `evaluation_scripts` directory instead of the `submission_files` directory...
https://github.com/Cloud-CV/EvalAI/issues/1009
1,495,174,464,000
1,499,897,582,000
1
0
A
3
Architectural Constraint
[ "@deshraj : Why is this required ?", "The `RandomFile()` definition sets the path of the uploaded file to be `submission_files/blah` and hence the evaluation scripts being uploaded are also stored in the submission_files. I hope I am clear now. " ]
null
null
EvalAI
Cloud-CV/EvalAI
Create endpoint for creating a ChallengeHost
Details about the endpoint: Url: /api/hosts/challenge_host_team/<challenge_host_team_id>/challenge_host Header: Authorization: Token Method: POST Response: status: HTTP_201_CREATED
https://github.com/Cloud-CV/EvalAI/issues/101
1,479,665,046,000
1,479,671,180,000
null
null
null
null
null
[ "Merged via #113 \n" ]
[]
[ "https://github.com/Suryansh5545/EvalAI/pull/26" ]
EvalAI
Cloud-CV/EvalAI
Notification toasts misplaced on the auth pages
On the new Signup and login page, the notification toast is misaligned and is not shown at the correct position.
https://github.com/Cloud-CV/EvalAI/issues/1010
1,495,231,887,000
1,496,773,498,000
null
null
null
null
null
[ "@deshraj I would like to work on this, could you please explain a bit more on what the issue is?", "@vedantrathore it seems like this has already been fixed by @aka-jain. Please feel free to take up any other issue. :) " ]
[ "bug", "easy_to_fix", "frontend" ]
[]
EvalAI
Cloud-CV/EvalAI
Auth form input field sizes are contracted.
Auth pages like login, signup etc have contracted input field. Need to expand them.
https://github.com/Cloud-CV/EvalAI/issues/1011
1,495,267,656,000
1,517,753,352,000
1
0
B
3
Documentation Deficiency
[ "Hey @aka-jain has this been resolved? I'd love to take it if it hasn't yet. ", "I think this is already resolved. Isn't it @aka-jain ?", "@aka-jain @deshraj Is this still an issue ? I think it is resolved.", "I am not sure. @aka-jain can you please reply to this thread? ", "This issue is resolved. Closing ...
null
null
EvalAI
Cloud-CV/EvalAI
Group all auth related files into single folder named as Auth
Pages that are part of Auth view should be grouped into a single folder under 'web' folder and named as 'auth'.
https://github.com/Cloud-CV/EvalAI/issues/1012
1,495,271,726,000
1,495,839,912,000
null
null
null
null
null
[ "Fixed with #1014 " ]
[ "enhancement", "easy_to_fix", "frontend" ]
[ "https://github.com/Cloud-CV/EvalAI/pull/1014" ]
EvalAI
Cloud-CV/EvalAI
Change the default remote for reviewing pull requests
Currently, the default remote is set to `upstream` for reviewing pull requests. We would ideally want to set it to `origin` by default since this is mainly used by the project maintainers.
https://github.com/Cloud-CV/EvalAI/issues/1019
1,495,758,146,000
1,496,290,082,000
null
null
null
null
null
[ "@deshraj : this is done I suppose. Can we close it ?", "Sure. Fixed in #1020 " ]
[ "enhancement", "easy_to_fix" ]
[]
EvalAI
Cloud-CV/EvalAI
Create endpoint to update a particular ChallengeHost details
Details about the endpoint: Url: /api/hosts/challenge_host_team/<challenge_host_team_id>/challenge_host/<challenge_host_id> Header: Authorization: Token Method: PUT/PATCH Response: status on success: HTTP_200_OK status on exception: HTTP_406_NOT_ACCEPTABLE status on Unauthorized access: HTTP_203_NON_AUTHORITAT...
https://github.com/Cloud-CV/EvalAI/issues/102
1,479,665,066,000
1,479,742,460,000
null
null
null
null
null
[ "Fixed in #116 " ]
[]
[ "https://github.com/Suryansh5545/EvalAI/pull/26" ]
EvalAI
Cloud-CV/EvalAI
Change LICENSE from GPL to BSD
GPL license restricts the use of EvalAI in a lot of ways. We would like to change the license to BSD and make it available for private companies to use it for hosting their internal challenges.
https://github.com/Cloud-CV/EvalAI/issues/1022
1,496,070,953,000
1,496,072,224,000
null
null
null
null
null
[]
[]
[]
EvalAI
Cloud-CV/EvalAI
Create endpoint to delete a ChallengeHost
Details about the endpoint: Url: /api/hosts/challenge_host_team/<challenge_host_team_id>/challenge_host/<challenge_host_id> Header: Authorization: Token Method: DELETE Response: status on success: HTTP_200_OK status on exception: HTTP_406_NOT_ACCEPTABLE status on Unauthorized access: HTTP_203_NON_AUTHORITATIVE...
https://github.com/Cloud-CV/EvalAI/issues/103
1,479,665,098,000
1,479,742,428,000
null
null
null
null
null
[ "Merged via #117 " ]
[]
[]
EvalAI
Cloud-CV/EvalAI
Add models for creating challenge using zip file.
The models must be defined in `apps/challenges/models.py`. **Fields:** - user: ForeignKey to User - challenge : OneToOneField to Challenge - zip_configuration: FileField - is_created: Boolean field - stdout_file: Filefield - stderr_file: Filefield
https://github.com/Cloud-CV/EvalAI/issues/1033
1,496,912,848,000
1,497,215,044,000
1
1
B
null
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Add serializers for creating challenge using zip file.
https://github.com/Cloud-CV/EvalAI/issues/1036
1,497,213,496,000
1,498,252,158,000
1
0
A
3
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Add API endpoint to create challenge by uploading zip file.
endpoint: `/challenges/zip/$` method: `POST` success: `200/OK` failure: `400/bad request` or `406/not acceptable` Input: The user must upload a zip file containing the `.yaml` file which describes the challenge configuration. The zip folder will also contain other necessary files which are required to create a ch...
https://github.com/Cloud-CV/EvalAI/issues/1038
1,497,269,471,000
1,499,894,955,000
1
1
B
3
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Create endpoint to get details about a particular ChallengeHostTeam
Details about the endpoint: Url: /api/hosts/challenge_host_team/<challenge_host_team_id>/ Header: Authorization: Token Method: GET Response: status on success: HTTP_200_OK status on exception: HTTP_406_NOT_ACCEPTABLE status on Unauthorized access: HTTP_203_NON_AUTHORITATIVE_INFORMATION
https://github.com/Cloud-CV/EvalAI/issues/104
1,479,665,813,000
1,479,666,623,000
null
null
null
null
null
[ "Merged via #105 \n" ]
[]
[ "https://github.com/Cloud-CV/EvalAI/pull/105" ]
EvalAI
Cloud-CV/EvalAI
RandomFileName class returns incorrect path when id is not provided.
**Bug:** The `RandomFileName` class in [base.utils](https://github.com/Cloud-CV/EvalAI/blob/master/apps/base/utils.py#L22) returns incorrect path when `id` is not provided in the path. **Fix:** The condition on the [line 28](https://github.com/Cloud-CV/EvalAI/blob/master/apps/base/utils.py#L28) needs to be changed t...
https://github.com/Cloud-CV/EvalAI/issues/1041
1,497,359,141,000
1,499,897,582,000
null
null
null
null
null
[ "Can you please explain this in more detail along with an example of where it is failing? \r\n\r\nAs per my understanding `and` perfectly makes sense as the string should be substituted with the value of `instance.id` if it exists. Still I want to know where am I missing?", "@taranjeet Yes you are correct `and` m...
[ "bug", "easy_to_fix", "backend" ]
[ "https://github.com/Cloud-CV/EvalAI/pull/1042" ]
EvalAI
Cloud-CV/EvalAI
Change color schemes for popup notifications
Default colors for popup notification doesn't looks good and also not matching with our theme colors. We need different colors for popup notification. @aka-jain : Assigning this to you. You have to share color codes only. Please choose colors according to notification category that's are given below 1. Success 2. Wa...
https://github.com/Cloud-CV/EvalAI/issues/1044
1,497,525,988,000
1,519,047,379,000
null
null
null
null
null
[ "Yeap, we have to redesign the whole notification system. I'm on it 👍", "cool. Let me know if you need helping hands. :grin: ", "@aka-jain I think using materialized toast would be a better idea as compared to the current toast we are using.\r\n\r\nhttps://material.angularjs.org/latest/demo/toast\r\n\r\nThe c...
[ "easy_to_fix", "frontend" ]
[]
EvalAI
Cloud-CV/EvalAI
Change the email verified template.
**Issue:**: The current `email verified` template is according to the old theme. **Fix**: We need to modify it according to the new theme that we are using it now. Old Template ![shot](https://user-images.githubusercontent.com/12206047/30498958-53c6c5d0-9a76-11e7-9bc6-d17d289fbc3e.png)
https://github.com/Cloud-CV/EvalAI/issues/1046
1,497,607,879,000
1,516,748,463,000
null
null
null
null
null
[ "Can I take this?", "@xamfy Sure go ahead!\r\n", "Since @xamfy seems to be inactive from a long time, @16116073 you can take this task up. Also, feel free to ask your doubts.", "Thanks for noticing @obtin. Closing this. " ]
[ "bug", "easy_to_fix", "frontend", "priority-high" ]
[]
EvalAI
Cloud-CV/EvalAI
Create UI for creating challenge using zip file.
https://github.com/Cloud-CV/EvalAI/issues/1049
1,497,773,054,000
1,499,896,343,000
1
4
A
5
Unimplemented Feature Gap
[ "Will you please provide a mockup for this first. ", "@aayusharora Please check the PR #1048 , I have shared the screenshot there." ]
null
null
EvalAI
Cloud-CV/EvalAI
Create UI for showing all submissions to challenge host.
https://github.com/Cloud-CV/EvalAI/issues/1051
1,497,808,380,000
1,500,762,869,000
1
4
A
5
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Create UI for showing the remaining submissions.
The UI should show the total number of remaining submissions for the challenge as well as for a particular day to the participants. Moreover, if the participant has exhausted the day's limit then a countdown clock must be displayed showing the remaining time for the next submissions.
https://github.com/Cloud-CV/EvalAI/issues/1052
1,497,969,656,000
1,501,634,974,000
1
4
A
5
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Add django import/export.
Add django-import-export to the `host`, `participants`, `jobs`, `challenges` app for easily exporting data.
https://github.com/Cloud-CV/EvalAI/issues/1053
1,498,114,379,000
1,498,134,594,000
1
0
A
2
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Create endpoint to get details about a particular ChallengeHost
Details about the endpoint: Url: /api/hosts/challenge_host_team/<challenge_host_team_id>/challenge_host/<challenge_host_id> Header: Authorization: Token Method: GET Response: status on success: HTTP_200_OK status on exception: HTTP_406_NOT_ACCEPTABLE status on Unauthorized access: HTTP_203_NON_AUTHORITATIVE_IN...
https://github.com/Cloud-CV/EvalAI/issues/106
1,479,666,082,000
1,479,742,189,000
null
null
null
null
null
[ "Merged via #114 " ]
[]
[]
EvalAI
Cloud-CV/EvalAI
Change the pagination limit in leaderboard
Currently, in the VQA challenge, only 10 entries are visible on the leaderboard and there is no pagination on the client side. To show all the entries of the leaderboard, there are two ways to do that: 1. Add a pagination on the client side 2. Show all the entries on a single page (involves adding a new Pagination Cl...
https://github.com/Cloud-CV/EvalAI/issues/1070
1,498,888,202,000
1,498,924,458,000
1
4
A
5
Unimplemented Feature Gap
[ "@deshraj Can we add the support for filtering the results on the basis of `participant team` as it will help the participants to be more specific and the overhead of searching team members manually will get reduced. Moreover, for showing all the results we can use pagination. What are your views about it ? ", "@...
null
null
EvalAI
Cloud-CV/EvalAI
Add the functionality to disable the Challenge
### Objective A challenge host should be able to delete the challenge using the UI. At the backend, set the flag `is_disabled` whenever a challenge host submits a request to delete the challenge.
https://github.com/Cloud-CV/EvalAI/issues/1080
1,499,434,857,000
1,520,836,136,000
1
1
A
null
Unimplemented Feature Gap
[ "Can i contribute to this?", "@rishabhja yes sure. Go ahead.", "Can you assign the issue to me?", "@deshraj: I would prefer that you call this issue as \"Add functionality to disable a Challenge\" since at the backend you are disabling the challenge. It does not make sense to introduce an inconsistency in act...
null
null
EvalAI
Cloud-CV/EvalAI
A challenge should not be published directly when challenge host creates it.
Once the `challenge_host `creates a challenge then it should not be published directly. **The administrator must approve the challenge before it is published.** **Solution:** Add a query parameter `approved_by_admin=True` in `get_all_challenges` api.
https://github.com/Cloud-CV/EvalAI/issues/1081
1,499,514,162,000
1,499,808,838,000
1
0
B
3
Unimplemented Feature Gap
[]
null
null
EvalAI
Cloud-CV/EvalAI
Add Challenge Phase list serializer.
This serializer is used to take input as a list of objects and then create the objects in the `challenge phase` table.
https://github.com/Cloud-CV/EvalAI/issues/1086
1,499,839,109,000
1,503,555,775,000
1
1
B
null
Unimplemented Feature Gap
[ "Closing this as we have already added all the required serializers." ]
null
null
EvalAI
Cloud-CV/EvalAI
Add APIs for challenge creation using UI.
The API's include: 1. API for creating challenge. 2. API for creating leader board. 3. API for creating challenge phase. 4. API for creating dataset split. 5. API for creating challenge phase split. Please add tests for the same.
https://github.com/Cloud-CV/EvalAI/issues/1087
1,499,839,273,000
1,505,239,719,000
null
null
null
null
null
[ "@RishabhJain2018 How is this coming through? Can I help?", "@isht3 I am working on this feature. Please feel free to take up any other unassigned issue. :)", "@RishabhJain2018 Okay, cool! :D" ]
[ "medium-difficulty", "backend", "new-feature" ]
[ "https://github.com/Cloud-CV/EvalAI/pull/1085" ]
EvalAI
Cloud-CV/EvalAI
Add ReadTheDocs badge and link in the README
Link: http://evalai.readthedocs.io/en/latest/
https://github.com/Cloud-CV/EvalAI/issues/1095
1,500,241,167,000
1,500,761,682,000
null
null
null
null
null
[]
[]
[ "https://github.com/Cloud-CV/EvalAI/pull/1104" ]
EvalAI
Cloud-CV/EvalAI
ValueError on deploying to staging server
Following is the error log when tried to run `python manage.py makemigrations` command using auto-deploy script. ```shell Migrations for 'challenges': apps/challenges/migrations/0029_auto_20170717_2208.py: - Alter field evaluation_script on challenge - Alter field stderr_file on challengeconfigura...
https://github.com/Cloud-CV/EvalAI/issues/1097
1,500,329,899,000
1,500,331,013,000
1
0
A
2
Validation Gap
[ "Sorry, my bad. The migration files are already created during the development and I just needed to run the migrate command. Working perfectly now. " ]
null
null
EvalAI
Cloud-CV/EvalAI
Add models to store challenge phase description file.
https://github.com/Cloud-CV/EvalAI/issues/1101
1,500,725,624,000
1,507,237,549,000
null
null
null
null
null
[ "Closing this one , as we plan to work on it later." ]
[]
[ "https://github.com/Cloud-CV/EvalAI/pull/1102" ]
EvalAI
Cloud-CV/EvalAI
Add ImportExportTimeStampedAdmin class to all apps admin.
https://github.com/Cloud-CV/EvalAI/issues/1103
1,500,743,288,000
1,501,636,186,000
null
null
null
null
null
[]
[]
[ "https://github.com/Cloud-CV/EvalAI/pull/1099" ]
EvalAI
Cloud-CV/EvalAI
Improve the check for if the user is a host of a challenge
Currently, at https://github.com/Cloud-CV/EvalAI/blob/master/apps/hosts/utils.py#L12 we only check if the user has created the challegne and based on that we allow the challenge host to see all the submissions (for example, see this https://github.com/Cloud-CV/EvalAI/blob/master/apps/challenges/views.py#L703). We would...
https://github.com/Cloud-CV/EvalAI/issues/1107
1,500,855,157,000
1,501,266,658,000
null
null
null
null
null
[ "@deshraj What if we have an API that takes `user` and `challenge_pk` as input and gives the result as true or false stating whether the user is challenge host or not. What do you say?", "@RishabhJain2018 : Even if we create api, this does not solve our purpose here. At the end, for this issue, you will be call...
[ "easy_to_fix", "backend", "critical", "new-feature" ]
[ "https://github.com/Cloud-CV/EvalAI/pull/1106" ]
EvalAI
Cloud-CV/EvalAI
Typo fix in participant.html
Please change from `Create Participaant Team` to `Create Participant Team` in [participant.html](https://github.com/Cloud-CV/EvalAI/blob/master/frontend/src/views/web/challenge/participate.html#L79)
https://github.com/Cloud-CV/EvalAI/issues/1108
1,501,079,321,000
1,501,799,551,000
null
null
null
null
null
[]
[ "bug", "enhancement", "easy_to_fix", "frontend" ]
[]